Module pagers (3.17.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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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.

ListDatasetsAsyncPager

ListDatasetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse
        ],
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListDatasetsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_datasets requests.

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

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

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

ListDatasetsPager

ListDatasetsPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListDatasetsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListDatasetsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_datasets requests.

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

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

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

ListExamplesAsyncPager

ListExamplesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.automl_translation.ListExamplesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListExamplesRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListExamplesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_examples requests.

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

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

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

ListExamplesPager

ListExamplesPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.automl_translation.ListExamplesResponse
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListExamplesRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListExamplesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_examples requests.

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

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

All the usual ListExamplesResponse 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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    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.

ListGlossaryEntriesAsyncPager

ListGlossaryEntriesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse
        ],
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_glossary_entries requests.

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

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

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

ListGlossaryEntriesPager

ListGlossaryEntriesPager(
    method: typing.Callable[
        [...],
        google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse,
    ],
    request: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesRequest,
    response: google.cloud.translate_v3.types.translation_service.ListGlossaryEntriesResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_glossary_entries requests.

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

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

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

ListModelsAsyncPager

ListModelsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.translate_v3.types.automl_translation.ListModelsResponse
        ],
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListModelsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListModelsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary_async.AsyncRetry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_models requests.

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

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

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

ListModelsPager

ListModelsPager(
    method: typing.Callable[
        [...], google.cloud.translate_v3.types.automl_translation.ListModelsResponse
    ],
    request: google.cloud.translate_v3.types.automl_translation.ListModelsRequest,
    response: google.cloud.translate_v3.types.automl_translation.ListModelsResponse,
    *,
    retry: typing.Optional[
        typing.Union[
            google.api_core.retry.retry_unary.Retry,
            google.api_core.gapic_v1.method._MethodDefault,
        ]
    ] = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_models requests.

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

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

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