Module pagers (2.17.3)

API documentation for speech_v2.services.speech.pagers module.

Classes

ListCustomClassesAsyncPager

ListCustomClassesAsyncPager(
    method: Callable[
        [...],
        Awaitable[google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse],
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_custom_classes requests.

This class thinly wraps an initial ListCustomClassesResponse object, and provides an __aiter__ method to iterate through its custom_classes field.

If there are more pages, the __aiter__ method will make additional ListCustomClasses requests and continue to iterate through the custom_classes field on the corresponding responses.

All the usual ListCustomClassesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListCustomClassesPager

ListCustomClassesPager(
    method: Callable[
        [...], google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_custom_classes requests.

This class thinly wraps an initial ListCustomClassesResponse object, and provides an __iter__ method to iterate through its custom_classes field.

If there are more pages, the __iter__ method will make additional ListCustomClasses requests and continue to iterate through the custom_classes field on the corresponding responses.

All the usual ListCustomClassesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListPhraseSetsAsyncPager

ListPhraseSetsAsyncPager(
    method: Callable[
        [...],
        Awaitable[google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse],
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_phrase_sets requests.

This class thinly wraps an initial ListPhraseSetsResponse object, and provides an __aiter__ method to iterate through its phrase_sets field.

If there are more pages, the __aiter__ method will make additional ListPhraseSets requests and continue to iterate through the phrase_sets field on the corresponding responses.

All the usual ListPhraseSetsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListPhraseSetsPager

ListPhraseSetsPager(
    method: Callable[
        [...], google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_phrase_sets requests.

This class thinly wraps an initial ListPhraseSetsResponse object, and provides an __iter__ method to iterate through its phrase_sets field.

If there are more pages, the __iter__ method will make additional ListPhraseSets requests and continue to iterate through the phrase_sets field on the corresponding responses.

All the usual ListPhraseSetsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRecognizersAsyncPager

ListRecognizersAsyncPager(
    method: Callable[
        [...],
        Awaitable[google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse],
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListRecognizersRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_recognizers requests.

This class thinly wraps an initial ListRecognizersResponse object, and provides an __aiter__ method to iterate through its recognizers field.

If there are more pages, the __aiter__ method will make additional ListRecognizers requests and continue to iterate through the recognizers field on the corresponding responses.

All the usual ListRecognizersResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListRecognizersPager

ListRecognizersPager(
    method: Callable[
        [...], google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListRecognizersRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_recognizers requests.

This class thinly wraps an initial ListRecognizersResponse object, and provides an __iter__ method to iterate through its recognizers field.

If there are more pages, the __iter__ method will make additional ListRecognizers requests and continue to iterate through the recognizers field on the corresponding responses.

All the usual ListRecognizersResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.