Method: projects.locations.phraseSets.get

Get a phrase set.

HTTP request

GET https://speech.googleapis.com/v1/{name=projects/*/locations/*/phraseSets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the phrase set to retrieve. Format:

projects/{project}/locations/{location}/phraseSets/{phraseSet}

Speech-to-Text supports three locations: global, us (US North America), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.

Authorization requires the following IAM permission on the specified resource name:

  • speech.phraseSets.get

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.