Module pagers (2.23.0)

API documentation for speech_v1.services.adaptation.pagers module.

Classes

ListCustomClassesAsyncPager

ListCustomClassesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse
        ],
    ],
    request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesRequest,
    response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse,
    *,
    metadata: typing.Sequence[typing.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: typing.Callable[
        [...],
        google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse,
    ],
    request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesRequest,
    response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse,
    *,
    metadata: typing.Sequence[typing.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.

ListPhraseSetAsyncPager

ListPhraseSetAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse
        ],
    ],
    request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetRequest,
    response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_phrase_set requests.

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

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

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

ListPhraseSetPager

ListPhraseSetPager(
    method: typing.Callable[
        [...],
        google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse,
    ],
    request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetRequest,
    response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_phrase_set requests.

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

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

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