Class: Google::Cloud::Speech::V1p1beta1::CreatePhraseSetRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The parent resource where this phrase set will be created. Format: {api_version}/projects/{project}/locations/{location}/phraseSets.

Returns:

  • (::String)

    Required. The parent resource where this phrase set will be created. Format: {api_version}/projects/{project}/locations/{location}/phraseSets



40
41
42
43
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb', line 40

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

#phrase_set::Google::Cloud::Speech::V1p1beta1::PhraseSet

Returns Required. The phrase set to create.

Returns:



40
41
42
43
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb', line 40

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

#phrase_set_id::String

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

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



40
41
42
43
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.rb', line 40

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