Cloud Speech V1 Client - Class GetCustomClassRequest (1.8.0)

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

Message sent by the client for the GetCustomClass method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the custom class to retrieve. Format: projects/{project}/locations/{location}/customClasses/{custom_class}

getName

Required. The name of the custom class to retrieve. Format: projects/{project}/locations/{location}/customClasses/{custom_class}

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The name of the custom class to retrieve. Format: projects/{project}/locations/{location}/customClasses/{custom_class}

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this