Class: Google::Cloud::Speech::V1::CreateCustomClassRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1::CreateCustomClassRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb
Overview
Message sent by the client for the CreateCustomClass
method.
Instance Attribute Summary collapse
-
#custom_class ⇒ ::Google::Cloud::Speech::V1::CustomClass
Required.
-
#custom_class_id ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#custom_class ⇒ ::Google::Cloud::Speech::V1::CustomClass
Returns Required. The custom class to create.
169 170 171 172 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 169 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_class_id ⇒ ::String
Returns Required. The ID to use for the custom class, which will become the final component of the custom class' resource name.
This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
169 170 171 172 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 169 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource where this custom class will be created. Format:
projects/{project}/locations/{location}/customClasses
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.
169 170 171 172 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 169 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |