Method: projects.locations.phraseSets.patch

Updates the PhraseSet.

HTTP request

PATCH https://{endpoint}/v2/{*/locations/*/phraseSets/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters



Output only. Identifier. The resource name of the PhraseSet. Format: projects/{project}/locations/{location}/phraseSets/{phraseSet}.

Query parameters


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 PhraseSet resource.

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



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

Request body

The request body contains an instance of PhraseSet.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • speech.phraseSets.update

For more information, see the IAM documentation.