Class: Google::Cloud::Speech::V2::CreateCustomClassRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V2::CreateCustomClassRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v2/cloud_speech.rb
Overview
Request message for the CreateCustomClass method.
Instance Attribute Summary collapse
-
#custom_class ⇒ ::Google::Cloud::Speech::V2::CustomClass
Required.
-
#custom_class_id ⇒ ::String
The ID to use for the CustomClass, which will become the final component of the CustomClass's resource name.
-
#parent ⇒ ::String
Required.
-
#validate_only ⇒ ::Boolean
If set, validate the request and preview the CustomClass, but do not actually create it.
Instance Attribute Details
#custom_class ⇒ ::Google::Cloud::Speech::V2::CustomClass
Returns Required. The CustomClass to create.
1687 1688 1689 1690 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1687 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_class_id ⇒ ::String
Returns The ID to use for the CustomClass, which will become the final component of the CustomClass's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
1687 1688 1689 1690 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1687 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The project and location where this CustomClass will be created.
The expected format is projects/{project}/locations/{location}
.
1687 1688 1689 1690 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1687 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#validate_only ⇒ ::Boolean
Returns If set, validate the request and preview the CustomClass, but do not actually create it.
1687 1688 1689 1690 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1687 class CreateCustomClassRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |