Cloud Speech-to-Text V1 API - Class Google::Cloud::Speech::V1::CreatePhraseSetRequest (v0.12.0)

Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::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
Returns
  • (::String) — Required. The parent resource where this phrase set will be created. Format:

    projects/{project}/locations/{location}/phraseSets

    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.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource where this phrase set will be created. Format:

    projects/{project}/locations/{location}/phraseSets

    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.

Returns
  • (::String) — Required. The parent resource where this phrase set will be created. Format:

    projects/{project}/locations/{location}/phraseSets

    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.

#phrase_set

def phrase_set() -> ::Google::Cloud::Speech::V1::PhraseSet
Returns

#phrase_set=

def phrase_set=(value) -> ::Google::Cloud::Speech::V1::PhraseSet
Parameter
Returns

#phrase_set_id

def phrase_set_id() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.