Class: Google::Cloud::Speech::V2::CreatePhraseSetRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

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

Returns:

  • (::String)

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



1816
1817
1818
1819
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1816

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

#phrase_set::Google::Cloud::Speech::V2::PhraseSet

Returns Required. The PhraseSet to create.

Returns:



1816
1817
1818
1819
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1816

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

#phrase_set_id::String

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

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



1816
1817
1818
1819
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1816

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

#validate_only::Boolean

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

Returns:

  • (::Boolean)

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



1816
1817
1818
1819
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1816

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