Method: projects.locations.recognizers.patch

Updates the Recognizer .

HTTP request

PATCH https://speech.googleapis.com/v2/{recognizer.name=projects/*/locations/*/recognizers/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
recognizer.name

string

Output only. Identifier. The resource name of the Recognizer. Format: projects/{project}/locations/{location}/recognizers/{recognizer} .

Query parameters

Parameters
updateMask

string ( FieldMask format)

The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire Recognizer resource.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .

validateOnly

boolean

If set, validate the request and preview the updated Recognizer, but do not actually update it.

Request body

The request body contains an instance of Recognizer .

Response body

If successful, the response body contains an instance of Operation .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview .

IAM Permissions

Requires the following IAM permission on the name resource:

  • speech.recognizers.update

For more information, see the IAM documentation .

Create a Mobile Website
View Site in Mobile | Classic
Share by: