Class: Google::Cloud::Speech::V1p1beta1::CreateCustomClassRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb

Overview

Message sent by the client for the CreateCustomClass method.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_class::Google::Cloud::Speech::V1p1beta1::CustomClass

Returns Required. The custom class to create.

Returns:



136
137
138
139
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb', line 136

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 be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Returns:

  • (::String)

    Required. The ID to use for the custom class, which will become the final component of the custom class' resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.



136
137
138
139
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb', line 136

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: {api_version}/projects/{project}/locations/{location}/customClasses.

Returns:

  • (::String)

    Required. The parent resource where this custom class will be created. Format: {api_version}/projects/{project}/locations/{location}/customClasses



136
137
138
139
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb', line 136

class CreateCustomClassRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end