Cloud Speech V2 Client - Class GetCustomClassRequest (1.19.1)

Reference documentation and code samples for the Cloud Speech V2 Client class GetCustomClassRequest.

Request message for the GetCustomClass method.

Generated from protobuf message google.cloud.speech.v2.GetCustomClassRequest

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CustomClass to retrieve. The expected format is projects/{project}/locations/{location}/customClasses/{custom_class}.

getName

Required. The name of the CustomClass to retrieve. The expected format is projects/{project}/locations/{location}/customClasses/{custom_class}.

Returns
Type Description
string

setName

Required. The name of the CustomClass to retrieve. The expected format is projects/{project}/locations/{location}/customClasses/{custom_class}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the CustomClass to retrieve. The expected format is projects/{project}/locations/{location}/customClasses/{custom_class}. Please see SpeechClient::customClassName() for help formatting this field.

Returns
Type Description
GetCustomClassRequest