API documentation for policysimulator_v1.services.org_policy_violations_preview_service.pagers
module.
Classes
ListOrgPolicyViolationsAsyncPager
ListOrgPolicyViolationsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsResponse
],
],
request: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsRequest,
response: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsResponse,
*,
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_org_policy_violations
requests.
This class thinly wraps an initial
ListOrgPolicyViolationsResponse object, and
provides an __aiter__
method to iterate through its
org_policy_violations
field.
If there are more pages, the __aiter__
method will make additional
ListOrgPolicyViolations
requests and continue to iterate
through the org_policy_violations
field on the
corresponding responses.
All the usual ListOrgPolicyViolationsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListOrgPolicyViolationsPager
ListOrgPolicyViolationsPager(
method: typing.Callable[
[...],
google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsResponse,
],
request: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsRequest,
response: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsResponse,
*,
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_org_policy_violations
requests.
This class thinly wraps an initial
ListOrgPolicyViolationsResponse object, and
provides an __iter__
method to iterate through its
org_policy_violations
field.
If there are more pages, the __iter__
method will make additional
ListOrgPolicyViolations
requests and continue to iterate
through the org_policy_violations
field on the
corresponding responses.
All the usual ListOrgPolicyViolationsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListOrgPolicyViolationsPreviewsAsyncPager
ListOrgPolicyViolationsPreviewsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsPreviewsResponse
],
],
request: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsPreviewsRequest,
response: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsPreviewsResponse,
*,
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_org_policy_violations_previews
requests.
This class thinly wraps an initial
ListOrgPolicyViolationsPreviewsResponse object, and
provides an __aiter__
method to iterate through its
org_policy_violations_previews
field.
If there are more pages, the __aiter__
method will make additional
ListOrgPolicyViolationsPreviews
requests and continue to iterate
through the org_policy_violations_previews
field on the
corresponding responses.
All the usual ListOrgPolicyViolationsPreviewsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListOrgPolicyViolationsPreviewsPager
ListOrgPolicyViolationsPreviewsPager(
method: typing.Callable[
[...],
google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsPreviewsResponse,
],
request: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsPreviewsRequest,
response: google.cloud.policysimulator_v1.types.orgpolicy.ListOrgPolicyViolationsPreviewsResponse,
*,
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_org_policy_violations_previews
requests.
This class thinly wraps an initial
ListOrgPolicyViolationsPreviewsResponse object, and
provides an __iter__
method to iterate through its
org_policy_violations_previews
field.
If there are more pages, the __iter__
method will make additional
ListOrgPolicyViolationsPreviews
requests and continue to iterate
through the org_policy_violations_previews
field on the
corresponding responses.
All the usual ListOrgPolicyViolationsPreviewsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.