Class CreatePhraseSetRequest (2.12.0)

CreatePhraseSetRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message sent by the client for the CreatePhraseSet method.

Attributes

NameDescription
parent str
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_id str
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 be 4-63 characters, and valid characters are /a-z][0-9]-/.
phrase_set google.cloud.speech_v1p1beta1.types.PhraseSet
Required. The phrase set to create.