Class: Google::Cloud::Speech::V2::CreateRecognizerRequest

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 CreateRecognizer method.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The project and location where this Recognizer will be created. The expected format is projects/{project}/locations/{location}.

Returns:

  • (::String)

    Required. The project and location where this Recognizer will be created. The expected format is projects/{project}/locations/{location}.



44
45
46
47
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 44

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

#recognizer::Google::Cloud::Speech::V2::Recognizer

Returns Required. The Recognizer to create.

Returns:



44
45
46
47
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 44

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

#recognizer_id::String

Returns The ID to use for the Recognizer, which will become the final component of the Recognizer'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 Recognizer, which will become the final component of the Recognizer's resource name.

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



44
45
46
47
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 44

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

#validate_only::Boolean

Returns If set, validate the request and preview the Recognizer, but do not actually create it.

Returns:

  • (::Boolean)

    If set, validate the request and preview the Recognizer, but do not actually create it.



44
45
46
47
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 44

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