Module pagers (2.18.0)

API documentation for monitoring_v3.services.group_service.pagers module.

Classes

ListGroupMembersAsyncPager

ListGroupMembersAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.group_service.ListGroupMembersRequest,
    response: google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_group_members requests.

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

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

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

ListGroupMembersPager

ListGroupMembersPager(
    method: typing.Callable[
        [...], google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse
    ],
    request: google.cloud.monitoring_v3.types.group_service.ListGroupMembersRequest,
    response: google.cloud.monitoring_v3.types.group_service.ListGroupMembersResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_group_members requests.

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

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

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

ListGroupsAsyncPager

ListGroupsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.group_service.ListGroupsResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.group_service.ListGroupsRequest,
    response: google.cloud.monitoring_v3.types.group_service.ListGroupsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_groups requests.

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

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

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

ListGroupsPager

ListGroupsPager(
    method: typing.Callable[
        [...], google.cloud.monitoring_v3.types.group_service.ListGroupsResponse
    ],
    request: google.cloud.monitoring_v3.types.group_service.ListGroupsRequest,
    response: google.cloud.monitoring_v3.types.group_service.ListGroupsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_groups requests.

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

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

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