Class: Google::Cloud::Speech::V1::CreatePhraseSetRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1::CreatePhraseSetRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb
Overview
Message sent by the client for the CreatePhraseSet
method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#phrase_set ⇒ ::Google::Cloud::Speech::V1::PhraseSet
Required.
-
#phrase_set_id ⇒ ::String
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent resource where this phrase set will be created. Format:
projects/{project}/locations/{location}
Speech-to-Text supports three locations: global
, us
(US North America),
and eu
(Europe). If you are calling the speech.googleapis.com
endpoint, use the global
location. To specify a region, use a
regional endpoint
with matching us
or eu
location value.
47 48 49 50 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 47 class CreatePhraseSetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#phrase_set ⇒ ::Google::Cloud::Speech::V1::PhraseSet
Returns Required. The phrase set to create.
47 48 49 50 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 47 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 restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
47 48 49 50 |
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 47 class CreatePhraseSetRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |