Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::SpeechAdaptation::AdaptationPhraseSet (v0.6.0)

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

#inline_phrase_set=

definline_phrase_set=(value)->::Google::Cloud::Speech::V2::PhraseSet
Parameter
Returns

#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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.