Module pagers (2.12.0rc0)

API documentation for automl_v1.services.auto_ml.pagers module.

Classes

ListDatasetsAsyncPager

ListDatasetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[google.cloud.automl_v1.types.service.ListDatasetsResponse],
    ],
    request: google.cloud.automl_v1.types.service.ListDatasetsRequest,
    response: google.cloud.automl_v1.types.service.ListDatasetsResponse,
    *,
    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.automl_v1.types.service.ListDatasetsResponse
    ],
    request: google.cloud.automl_v1.types.service.ListDatasetsRequest,
    response: google.cloud.automl_v1.types.service.ListDatasetsResponse,
    *,
    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.

ListModelEvaluationsAsyncPager

ListModelEvaluationsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.automl_v1.types.service.ListModelEvaluationsResponse
        ],
    ],
    request: google.cloud.automl_v1.types.service.ListModelEvaluationsRequest,
    response: google.cloud.automl_v1.types.service.ListModelEvaluationsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_model_evaluations requests.

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

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

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

ListModelEvaluationsPager

ListModelEvaluationsPager(
    method: typing.Callable[
        [...], google.cloud.automl_v1.types.service.ListModelEvaluationsResponse
    ],
    request: google.cloud.automl_v1.types.service.ListModelEvaluationsRequest,
    response: google.cloud.automl_v1.types.service.ListModelEvaluationsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_model_evaluations requests.

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

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

All the usual ListModelEvaluationsResponse 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.automl_v1.types.service.ListModelsResponse]
    ],
    request: google.cloud.automl_v1.types.service.ListModelsRequest,
    response: google.cloud.automl_v1.types.service.ListModelsResponse,
    *,
    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 model field.

If there are more pages, the __aiter__ method will make additional ListModels requests and continue to iterate through the model 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.automl_v1.types.service.ListModelsResponse
    ],
    request: google.cloud.automl_v1.types.service.ListModelsRequest,
    response: google.cloud.automl_v1.types.service.ListModelsResponse,
    *,
    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 model field.

If there are more pages, the __iter__ method will make additional ListModels requests and continue to iterate through the model 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.