Cloud Speech V1 Client - Class GetPhraseSetRequest (1.15.0)

Reference documentation and code samples for the Cloud Speech V1 Client class GetPhraseSetRequest.

Message sent by the client for the GetPhraseSet method.

Generated from protobuf message google.cloud.speech.v1.GetPhraseSetRequest

Namespace

Google \ Cloud \ Speech \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the phrase set to retrieve. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set} 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.

getName

Required. The name of the phrase set to retrieve. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set} 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.

Returns
TypeDescription
string

setName

Required. The name of the phrase set to retrieve. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set} 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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this