Module pagers (1.5.0)

API documentation for servicedirectory_v1.services.registration_service.pagers module.

Classes

ListEndpointsAsyncPager

ListEndpointsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse
        ],
    ],
    request: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsRequest,
    response: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_endpoints requests.

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

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

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

ListEndpointsPager

ListEndpointsPager(
    method: Callable[
        [...],
        google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse,
    ],
    request: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsRequest,
    response: google.cloud.servicedirectory_v1.types.registration_service.ListEndpointsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_endpoints requests.

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

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

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

ListNamespacesAsyncPager

ListNamespacesAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse
        ],
    ],
    request: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesRequest,
    response: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_namespaces requests.

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

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

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

ListNamespacesPager

ListNamespacesPager(
    method: Callable[
        [...],
        google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse,
    ],
    request: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesRequest,
    response: google.cloud.servicedirectory_v1.types.registration_service.ListNamespacesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_namespaces requests.

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

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

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

ListServicesAsyncPager

ListServicesAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse
        ],
    ],
    request: google.cloud.servicedirectory_v1.types.registration_service.ListServicesRequest,
    response: google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_services requests.

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

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

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

ListServicesPager

ListServicesPager(
    method: Callable[
        [...],
        google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse,
    ],
    request: google.cloud.servicedirectory_v1.types.registration_service.ListServicesRequest,
    response: google.cloud.servicedirectory_v1.types.registration_service.ListServicesResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_services requests.

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

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

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