Module pagers (3.14.0)

API documentation for translate_v3.services.translation_service.pagers module.

Classes

ListAdaptiveMtDatasetsAsyncPager

ListAdaptiveMtDatasetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse
        ],
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_adaptive_mt_datasets requests.

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

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

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

ListAdaptiveMtDatasetsPager

ListAdaptiveMtDatasetsPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse,
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtDatasetsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_adaptive_mt_datasets requests.

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

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

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

ListAdaptiveMtFilesAsyncPager

ListAdaptiveMtFilesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_adaptive_mt_files requests.

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

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

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

ListAdaptiveMtFilesPager

ListAdaptiveMtFilesPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtFilesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_adaptive_mt_files requests.

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

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

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

ListAdaptiveMtSentencesAsyncPager

ListAdaptiveMtSentencesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_adaptive_mt_sentences requests.

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

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

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

ListAdaptiveMtSentencesPager

ListAdaptiveMtSentencesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse,
    ],
    request: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesRequest,
    response: google.cloud.translate_v3.types.adaptive_mt.ListAdaptiveMtSentencesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_adaptive_mt_sentences requests.

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

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

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

ListGlossariesAsyncPager

ListGlossariesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.translation_service.ListGlossariesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossariesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossariesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_glossaries requests.

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

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

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

ListGlossariesPager

ListGlossariesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.translation_service.ListGlossariesResponse,
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossariesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossariesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_glossaries requests.

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

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

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