Module pagers (1.2.0)

API documentation for essential_contacts_v1.services.essential_contacts_service.pagers module.

Classes

ComputeContactsAsyncPager

ComputeContactsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.essential_contacts_v1.types.service.ComputeContactsResponse
        ],
    ],
    request: google.cloud.essential_contacts_v1.types.service.ComputeContactsRequest,
    response: google.cloud.essential_contacts_v1.types.service.ComputeContactsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through compute_contacts requests.

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

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

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

ComputeContactsPager

ComputeContactsPager(
    method: Callable[
        [...], google.cloud.essential_contacts_v1.types.service.ComputeContactsResponse
    ],
    request: google.cloud.essential_contacts_v1.types.service.ComputeContactsRequest,
    response: google.cloud.essential_contacts_v1.types.service.ComputeContactsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through compute_contacts requests.

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

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

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

ListContactsAsyncPager

ListContactsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.essential_contacts_v1.types.service.ListContactsResponse
        ],
    ],
    request: google.cloud.essential_contacts_v1.types.service.ListContactsRequest,
    response: google.cloud.essential_contacts_v1.types.service.ListContactsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_contacts requests.

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

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

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

ListContactsPager

ListContactsPager(
    method: Callable[
        [...], google.cloud.essential_contacts_v1.types.service.ListContactsResponse
    ],
    request: google.cloud.essential_contacts_v1.types.service.ListContactsRequest,
    response: google.cloud.essential_contacts_v1.types.service.ListContactsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_contacts requests.

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

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

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