Module pagers (0.2.1)

API documentation for cloudcontrolspartner_v1.services.cloud_controls_partner_core.pagers module.

Classes

ListAccessApprovalRequestsAsyncPager

ListAccessApprovalRequestsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.cloudcontrolspartner_v1.types.access_approval_requests.ListAccessApprovalRequestsResponse
        ],
    ],
    request: google.cloud.cloudcontrolspartner_v1.types.access_approval_requests.ListAccessApprovalRequestsRequest,
    response: google.cloud.cloudcontrolspartner_v1.types.access_approval_requests.ListAccessApprovalRequestsResponse,
    *,
    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_access_approval_requests requests.

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

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

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

ListAccessApprovalRequestsPager

ListAccessApprovalRequestsPager(
    method: typing.Callable[
        [...],
        google.cloud.cloudcontrolspartner_v1.types.access_approval_requests.ListAccessApprovalRequestsResponse,
    ],
    request: google.cloud.cloudcontrolspartner_v1.types.access_approval_requests.ListAccessApprovalRequestsRequest,
    response: google.cloud.cloudcontrolspartner_v1.types.access_approval_requests.ListAccessApprovalRequestsResponse,
    *,
    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_access_approval_requests requests.

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

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

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

ListCustomersAsyncPager

ListCustomersAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.cloudcontrolspartner_v1.types.customers.ListCustomersResponse
        ],
    ],
    request: google.cloud.cloudcontrolspartner_v1.types.customers.ListCustomersRequest,
    response: google.cloud.cloudcontrolspartner_v1.types.customers.ListCustomersResponse,
    *,
    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_customers requests.

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

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

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

ListCustomersPager

ListCustomersPager(
    method: typing.Callable[
        [...],
        google.cloud.cloudcontrolspartner_v1.types.customers.ListCustomersResponse,
    ],
    request: google.cloud.cloudcontrolspartner_v1.types.customers.ListCustomersRequest,
    response: google.cloud.cloudcontrolspartner_v1.types.customers.ListCustomersResponse,
    *,
    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_customers requests.

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

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

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

ListWorkloadsAsyncPager

ListWorkloadsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.cloudcontrolspartner_v1.types.customer_workloads.ListWorkloadsResponse
        ],
    ],
    request: google.cloud.cloudcontrolspartner_v1.types.customer_workloads.ListWorkloadsRequest,
    response: google.cloud.cloudcontrolspartner_v1.types.customer_workloads.ListWorkloadsResponse,
    *,
    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_workloads requests.

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

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

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

ListWorkloadsPager

ListWorkloadsPager(
    method: typing.Callable[
        [...],
        google.cloud.cloudcontrolspartner_v1.types.customer_workloads.ListWorkloadsResponse,
    ],
    request: google.cloud.cloudcontrolspartner_v1.types.customer_workloads.ListWorkloadsRequest,
    response: google.cloud.cloudcontrolspartner_v1.types.customer_workloads.ListWorkloadsResponse,
    *,
    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_workloads requests.

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

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

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