Module pagers (1.18.0)

API documentation for aiplatform_v1.services.index_endpoint_service.pagers module.

Classes

ListIndexEndpointsAsyncPager

ListIndexEndpointsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.aiplatform_v1.types.index_endpoint_service.ListIndexEndpointsResponse
        ],
    ],
    request: google.cloud.aiplatform_v1.types.index_endpoint_service.ListIndexEndpointsRequest,
    response: google.cloud.aiplatform_v1.types.index_endpoint_service.ListIndexEndpointsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_index_endpoints requests.

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

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

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

ListIndexEndpointsPager

ListIndexEndpointsPager(
    method: Callable[
        [...],
        google.cloud.aiplatform_v1.types.index_endpoint_service.ListIndexEndpointsResponse,
    ],
    request: google.cloud.aiplatform_v1.types.index_endpoint_service.ListIndexEndpointsRequest,
    response: google.cloud.aiplatform_v1.types.index_endpoint_service.ListIndexEndpointsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_index_endpoints requests.

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

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

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