Class: Google::Cloud::Speech::V2::CreateCustomClassRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#custom_class::Google::Cloud::Speech::V2::CustomClass

Returns Required. The CustomClass to create.

Returns:



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]-/.

Returns:

  • (::String)

    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}.

Returns:

  • (::String)

    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.

Returns:

  • (::Boolean)

    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