Class: Google::Cloud::Speech::V2::CreatePhraseSetRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V2::CreatePhraseSetRequest
- 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
-
#parent ⇒ ::String
Required.
-
#phrase_set ⇒ ::Google::Cloud::Speech::V2::PhraseSet
Required.
-
#phrase_set_id ⇒ ::String
The ID to use for the PhraseSet, which will become the final component of the PhraseSet's resource name.
-
#validate_only ⇒ ::Boolean
If set, validate the request and preview the PhraseSet, but do not actually create it.
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}
.
1837 1838 1839 1840 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1837 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.
1837 1838 1839 1840 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1837 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]-/.
1837 1838 1839 1840 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1837 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.
1837 1838 1839 1840 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1837 class CreatePhraseSetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |