2.26.0 (latest) 2.25.0 2.24.1 2.23.0 2.22.0 2.21.0 2.20.0 2.19.1 2.18.3 2.17.0 2.16.1 2.15.2 2.14.3 2.13.0 2.12.1 2.11.2 2.10.0 2.9.0 2.8.2 2.7.0 2.6.2 2.5.1 2.4.0 2.3.2 2.2.0 2.1.0 2.0.0 1.0.3 0.3.2 0.2.0 API documentation for `iam_admin_v1.services.iam.pagers` module.

## Classes

### [ListRolesAsyncPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.ListRolesAsyncPager)

    ListRolesAsyncPager(
        method: typing.Callable[
            [...], typing.Awaitable[google.cloud.iam_admin_v1.types.iam.ListRolesResponse]
        ],
        request: google.cloud.iam_admin_v1.types.iam.ListRolesRequest,
        response: google.cloud.iam_admin_v1.types.iam.ListRolesResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `list_roles` requests.

This class thinly wraps an initial
[ListRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListRolesResponse) object, and
provides an `__aiter__` method to iterate through its
`roles` field.

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

All the usual [ListRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListRolesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListRolesPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.ListRolesPager)

    ListRolesPager(
        method: typing.Callable[
            [...], google.cloud.iam_admin_v1.types.iam.ListRolesResponse
        ],
        request: google.cloud.iam_admin_v1.types.iam.ListRolesRequest,
        response: google.cloud.iam_admin_v1.types.iam.ListRolesResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `list_roles` requests.

This class thinly wraps an initial
[ListRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListRolesResponse) object, and
provides an `__iter__` method to iterate through its
`roles` field.

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

All the usual [ListRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListRolesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListServiceAccountsAsyncPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.ListServiceAccountsAsyncPager)

    ListServiceAccountsAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.iam_admin_v1.types.iam.ListServiceAccountsResponse
            ],
        ],
        request: google.cloud.iam_admin_v1.types.iam.ListServiceAccountsRequest,
        response: google.cloud.iam_admin_v1.types.iam.ListServiceAccountsResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `list_service_accounts` requests.

This class thinly wraps an initial
[ListServiceAccountsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListServiceAccountsResponse) object, and
provides an `__aiter__` method to iterate through its
`accounts` field.

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

All the usual [ListServiceAccountsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListServiceAccountsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListServiceAccountsPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.ListServiceAccountsPager)

    ListServiceAccountsPager(
        method: typing.Callable[
            [...], google.cloud.iam_admin_v1.types.iam.ListServiceAccountsResponse
        ],
        request: google.cloud.iam_admin_v1.types.iam.ListServiceAccountsRequest,
        response: google.cloud.iam_admin_v1.types.iam.ListServiceAccountsResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `list_service_accounts` requests.

This class thinly wraps an initial
[ListServiceAccountsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListServiceAccountsResponse) object, and
provides an `__iter__` method to iterate through its
`accounts` field.

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

All the usual [ListServiceAccountsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.ListServiceAccountsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [QueryGrantableRolesAsyncPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.QueryGrantableRolesAsyncPager)

    QueryGrantableRolesAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.iam_admin_v1.types.iam.QueryGrantableRolesResponse
            ],
        ],
        request: google.cloud.iam_admin_v1.types.iam.QueryGrantableRolesRequest,
        response: google.cloud.iam_admin_v1.types.iam.QueryGrantableRolesResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `query_grantable_roles` requests.

This class thinly wraps an initial
[QueryGrantableRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryGrantableRolesResponse) object, and
provides an `__aiter__` method to iterate through its
`roles` field.

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

All the usual [QueryGrantableRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryGrantableRolesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [QueryGrantableRolesPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.QueryGrantableRolesPager)

    QueryGrantableRolesPager(
        method: typing.Callable[
            [...], google.cloud.iam_admin_v1.types.iam.QueryGrantableRolesResponse
        ],
        request: google.cloud.iam_admin_v1.types.iam.QueryGrantableRolesRequest,
        response: google.cloud.iam_admin_v1.types.iam.QueryGrantableRolesResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `query_grantable_roles` requests.

This class thinly wraps an initial
[QueryGrantableRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryGrantableRolesResponse) object, and
provides an `__iter__` method to iterate through its
`roles` field.

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

All the usual [QueryGrantableRolesResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryGrantableRolesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [QueryTestablePermissionsAsyncPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.QueryTestablePermissionsAsyncPager)

    QueryTestablePermissionsAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.iam_admin_v1.types.iam.QueryTestablePermissionsResponse
            ],
        ],
        request: google.cloud.iam_admin_v1.types.iam.QueryTestablePermissionsRequest,
        response: google.cloud.iam_admin_v1.types.iam.QueryTestablePermissionsResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary_async.AsyncRetry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `query_testable_permissions` requests.

This class thinly wraps an initial
[QueryTestablePermissionsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryTestablePermissionsResponse) object, and
provides an `__aiter__` method to iterate through its
`permissions` field.

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

All the usual [QueryTestablePermissionsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryTestablePermissionsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [QueryTestablePermissionsPager](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.services.iam.pagers.QueryTestablePermissionsPager)

    QueryTestablePermissionsPager(
        method: typing.Callable[
            [...], google.cloud.iam_admin_v1.types.iam.QueryTestablePermissionsResponse
        ],
        request: google.cloud.iam_admin_v1.types.iam.QueryTestablePermissionsRequest,
        response: google.cloud.iam_admin_v1.types.iam.QueryTestablePermissionsResponse,
        *,
        retry: typing.Optional[
            typing.Union[
                google.api_core.retry.retry_unary.Retry,
                google.api_core.gapic_v1.method._MethodDefault,
            ]
        ] = _MethodDefault._DEFAULT_VALUE,
        timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
        metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
    )

A pager for iterating through `query_testable_permissions` requests.

This class thinly wraps an initial
[QueryTestablePermissionsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryTestablePermissionsResponse) object, and
provides an `__iter__` method to iterate through its
`permissions` field.

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

All the usual [QueryTestablePermissionsResponse](https://docs.cloud.google.com/python/docs/reference/iam/latest/google.cloud.iam_admin_v1.types.QueryTestablePermissionsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.