Reference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::CreatePhraseSetRequest.
Message sent by the client for the CreatePhraseSet
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
-
(::String) — 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), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
#parent=
def parent=(value) -> ::String
-
value (::String) — 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), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
-
(::String) — 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), andeu
(Europe). If you are calling thespeech.googleapis.com
endpoint, use theglobal
location. To specify a region, use a regional endpoint with matchingus
oreu
location value.
#phrase_set
def phrase_set() -> ::Google::Cloud::Speech::V1p1beta1::PhraseSet
- (::Google::Cloud::Speech::V1p1beta1::PhraseSet) — Required. The phrase set to create.
#phrase_set=
def phrase_set=(value) -> ::Google::Cloud::Speech::V1p1beta1::PhraseSet
- value (::Google::Cloud::Speech::V1p1beta1::PhraseSet) — Required. The phrase set to create.
- (::Google::Cloud::Speech::V1p1beta1::PhraseSet) — Required. The phrase set to create.
#phrase_set_id
def phrase_set_id() -> ::String
-
(::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 restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
#phrase_set_id=
def phrase_set_id=(value) -> ::String
-
value (::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 restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.
-
(::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 restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.