Module pagers (2.16.0)

API documentation for iam_admin_v1.services.iam.pagers module.

Classes

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, str]] = ()
)

A pager for iterating through list_roles requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through list_roles requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through list_service_accounts requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through list_service_accounts requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through query_grantable_roles requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through query_grantable_roles requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through query_testable_permissions requests.

This class thinly wraps an initial 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 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

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, str]] = ()
)

A pager for iterating through query_testable_permissions requests.

This class thinly wraps an initial 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 attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.