Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::UpdateCustomClassRequest.
Message sent by the client for the UpdateCustomClass
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_class
def custom_class() -> ::Google::Cloud::Speech::V1::CustomClass
-
(::Google::Cloud::Speech::V1::CustomClass) — Required. The custom class to update.
The custom class's
name
field is used to identify the custom class to be updated. Format:projects/{project}/locations/{location}/customClasses/{custom_class}
Speech-to-Text supports three locations:
global
,us
(US North America), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
#custom_class=
def custom_class=(value) -> ::Google::Cloud::Speech::V1::CustomClass
-
value (::Google::Cloud::Speech::V1::CustomClass) — Required. The custom class to update.
The custom class's
name
field is used to identify the custom class to be updated. Format:projects/{project}/locations/{location}/customClasses/{custom_class}
Speech-to-Text supports three locations:
global
,us
(US North America), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
-
(::Google::Cloud::Speech::V1::CustomClass) — Required. The custom class to update.
The custom class's
name
field is used to identify the custom class to be updated. Format:projects/{project}/locations/{location}/customClasses/{custom_class}
Speech-to-Text supports three locations:
global
,us
(US North America), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
- value (::Google::Protobuf::FieldMask) — The list of fields to be updated.
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.