@@ -187,7 +187,15 @@ async def create_phrase_set(
187187 parent (:class:`str`):
188188 Required. The parent resource where this phrase set will
189189 be created. Format:
190- {api_version}/projects/{project}/locations/{location}/phraseSets
190+
191+ ``projects/{project}/locations/{location}/phraseSets``
192+
193+ Speech-to-Text supports three locations: ``global``,
194+ ``us`` (US North America), and ``eu`` (Europe). If you
195+ are calling the ``speech.googleapis.com`` endpoint, use
196+ the ``global`` location. To specify a region, use a
197+ `regional endpoint </speech-to-text/docs/endpoints>`__
198+ with matching ``us`` or ``eu`` location value.
191199
192200 This corresponds to the ``parent`` field
193201 on the ``request`` instance; if ``request`` is provided, this
@@ -280,7 +288,15 @@ async def get_phrase_set(
280288 name (:class:`str`):
281289 Required. The name of the phrase set to retrieve.
282290 Format:
283- {api_version}/projects/{project}/locations/{location}/phraseSets/{phrase_set}
291+
292+ ``projects/{project}/locations/{location}/phraseSets/{phrase_set}``
293+
294+ Speech-to-Text supports three locations: ``global``,
295+ ``us`` (US North America), and ``eu`` (Europe). If you
296+ are calling the ``speech.googleapis.com`` endpoint, use
297+ the ``global`` location. To specify a region, use a
298+ `regional endpoint </speech-to-text/docs/endpoints>`__
299+ with matching ``us`` or ``eu`` location value.
284300
285301 This corresponds to the ``name`` field
286302 on the ``request`` instance; if ``request`` is provided, this
@@ -351,9 +367,17 @@ async def list_phrase_set(
351367 The request object. Message sent by the client for the
352368 `ListPhraseSet` method.
353369 parent (:class:`str`):
354- Required. The parent, which owns this
355- collection of phrase set. Format:
356- projects/{project}/locations/{location}
370+ Required. The parent, which owns this collection of
371+ phrase set. Format:
372+
373+ ``projects/{project}/locations/{location}``
374+
375+ Speech-to-Text supports three locations: ``global``,
376+ ``us`` (US North America), and ``eu`` (Europe). If you
377+ are calling the ``speech.googleapis.com`` endpoint, use
378+ the ``global`` location. To specify a region, use a
379+ `regional endpoint </speech-to-text/docs/endpoints>`__
380+ with matching ``us`` or ``eu`` location value.
357381
358382 This corresponds to the ``parent`` field
359383 on the ``request`` instance; if ``request`` is provided, this
@@ -437,7 +461,15 @@ async def update_phrase_set(
437461
438462 The phrase set's ``name`` field is used to identify the
439463 set to be updated. Format:
440- {api_version}/projects/{project}/locations/{location}/phraseSets/{phrase_set}
464+
465+ ``projects/{project}/locations/{location}/phraseSets/{phrase_set}``
466+
467+ Speech-to-Text supports three locations: ``global``,
468+ ``us`` (US North America), and ``eu`` (Europe). If you
469+ are calling the ``speech.googleapis.com`` endpoint, use
470+ the ``global`` location. To specify a region, use a
471+ `regional endpoint </speech-to-text/docs/endpoints>`__
472+ with matching ``us`` or ``eu`` location value.
441473
442474 This corresponds to the ``phrase_set`` field
443475 on the ``request`` instance; if ``request`` is provided, this
@@ -518,7 +550,8 @@ async def delete_phrase_set(
518550 `DeletePhraseSet` method.
519551 name (:class:`str`):
520552 Required. The name of the phrase set to delete. Format:
521- {api_version}/projects/{project}/locations/{location}/phraseSets/{phrase_set}
553+
554+ ``projects/{project}/locations/{location}/phraseSets/{phrase_set}``
522555
523556 This corresponds to the ``name`` field
524557 on the ``request`` instance; if ``request`` is provided, this
@@ -585,7 +618,15 @@ async def create_custom_class(
585618 parent (:class:`str`):
586619 Required. The parent resource where this custom class
587620 will be created. Format:
588- {api_version}/projects/{project}/locations/{location}/customClasses
621+
622+ ``projects/{project}/locations/{location}/customClasses``
623+
624+ Speech-to-Text supports three locations: ``global``,
625+ ``us`` (US North America), and ``eu`` (Europe). If you
626+ are calling the ``speech.googleapis.com`` endpoint, use
627+ the ``global`` location. To specify a region, use a
628+ `regional endpoint </speech-to-text/docs/endpoints>`__
629+ with matching ``us`` or ``eu`` location value.
589630
590631 This corresponds to the ``parent`` field
591632 on the ``request`` instance; if ``request`` is provided, this
@@ -682,7 +723,8 @@ async def get_custom_class(
682723 name (:class:`str`):
683724 Required. The name of the custom class to retrieve.
684725 Format:
685- {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class}
726+
727+ ``projects/{project}/locations/{location}/customClasses/{custom_class}``
686728
687729 This corresponds to the ``name`` field
688730 on the ``request`` instance; if ``request`` is provided, this
@@ -759,7 +801,15 @@ async def list_custom_classes(
759801 parent (:class:`str`):
760802 Required. The parent, which owns this collection of
761803 custom classes. Format:
762- {api_version}/projects/{project}/locations/{location}/customClasses
804+
805+ ``projects/{project}/locations/{location}/customClasses``
806+
807+ Speech-to-Text supports three locations: ``global``,
808+ ``us`` (US North America), and ``eu`` (Europe). If you
809+ are calling the ``speech.googleapis.com`` endpoint, use
810+ the ``global`` location. To specify a region, use a
811+ `regional endpoint </speech-to-text/docs/endpoints>`__
812+ with matching ``us`` or ``eu`` location value.
763813
764814 This corresponds to the ``parent`` field
765815 on the ``request`` instance; if ``request`` is provided, this
@@ -843,7 +893,15 @@ async def update_custom_class(
843893
844894 The custom class's ``name`` field is used to identify
845895 the custom class to be updated. Format:
846- {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class}
896+
897+ ``projects/{project}/locations/{location}/customClasses/{custom_class}``
898+
899+ Speech-to-Text supports three locations: ``global``,
900+ ``us`` (US North America), and ``eu`` (Europe). If you
901+ are calling the ``speech.googleapis.com`` endpoint, use
902+ the ``global`` location. To specify a region, use a
903+ `regional endpoint </speech-to-text/docs/endpoints>`__
904+ with matching ``us`` or ``eu`` location value.
847905
848906 This corresponds to the ``custom_class`` field
849907 on the ``request`` instance; if ``request`` is provided, this
@@ -929,7 +987,15 @@ async def delete_custom_class(
929987 name (:class:`str`):
930988 Required. The name of the custom class to delete.
931989 Format:
932- {api_version}/projects/{project}/locations/{location}/customClasses/{custom_class}
990+
991+ ``projects/{project}/locations/{location}/customClasses/{custom_class}``
992+
993+ Speech-to-Text supports three locations: ``global``,
994+ ``us`` (US North America), and ``eu`` (Europe). If you
995+ are calling the ``speech.googleapis.com`` endpoint, use
996+ the ``global`` location. To specify a region, use a
997+ `regional endpoint </speech-to-text/docs/endpoints>`__
998+ with matching ``us`` or ``eu`` location value.
933999
9341000 This corresponds to the ``name`` field
9351001 on the ``request`` instance; if ``request`` is provided, this
0 commit comments