- 1.40.0 (latest)
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.1
- 1.33.1
- 1.32.1
- 1.31.0
- 1.30.1
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.1
- 1.25.0
- 1.24.1
- 1.23.2
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.1
- 1.18.2
- 1.17.0
- 1.16.2
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.1
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.2
- 1.4.0
- 1.3.1
- 1.2.0
- 1.1.0
- 1.0.0
- 0.7.3
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
ListAssetsAsyncPager(
method: Callable[
[...],
Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: Sequence[Tuple[str, str]] = ()
)A pager for iterating through list_assets requests.
This class thinly wraps an initial
ListAssetsResponse object, and
provides an __aiter__ method to iterate through its
list_assets_results field.
If there are more pages, the __aiter__ method will make additional
ListAssets requests and continue to iterate
through the list_assets_results field on the
corresponding responses.
All the usual ListAssetsResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
Methods
ListAssetsAsyncPager
ListAssetsAsyncPager(
method: Callable[
[...],
Awaitable[
google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse
],
],
request: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsRequest,
response: google.cloud.securitycenter_v1.types.securitycenter_service.ListAssetsResponse,
*,
metadata: Sequence[Tuple[str, str]] = ()
)Instantiates the pager.
| Parameters | |
|---|---|
| Name | Description |
method |
Callable
The method that was originally called, and which instantiated this pager. |
request |
google.cloud.securitycenter_v1.types.ListAssetsRequest
The initial request object. |
response |
google.cloud.securitycenter_v1.types.ListAssetsResponse
The initial response object. |
metadata |
Sequence[Tuple[str, str]]
Strings which should be sent along with the request as metadata. |