Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::SpeechAdaptation::AdaptationPhraseSet (v0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::SpeechAdaptation::AdaptationPhraseSet.
A biasing PhraseSet, which can be either a string referencing the name of an existing PhraseSets resource, or an inline definition of a PhraseSet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#inline_phrase_set
definline_phrase_set()->::Google::Cloud::Speech::V2::PhraseSet
Returns
- (::Google::Cloud::Speech::V2::PhraseSet) — An inline defined PhraseSet.
#inline_phrase_set=
definline_phrase_set=(value)->::Google::Cloud::Speech::V2::PhraseSet
Parameter
- value (::Google::Cloud::Speech::V2::PhraseSet) — An inline defined PhraseSet.
Returns
- (::Google::Cloud::Speech::V2::PhraseSet) — An inline defined PhraseSet.
#phrase_set
defphrase_set()->::String
Returns
- (::String) — The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.
#phrase_set=
defphrase_set=(value)->::String
Parameter
- value (::String) — The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.
Returns
- (::String) — The name of an existing PhraseSet resource. The user must have read access to the resource and it must not be deleted.