- 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
ListSourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)A pager for iterating through list_sources requests.
This class thinly wraps an initial
ListSourcesResponse object, and
provides an __aiter__ method to iterate through its
sources field.
If there are more pages, the __aiter__ method will make additional
ListSources requests and continue to iterate
through the sources field on the
corresponding responses.
All the usual ListSourcesResponse 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
ListSourcesAsyncPager
ListSourcesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse
],
],
request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesRequest,
response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListSourcesResponse,
*,
metadata: typing.Sequence[typing.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_v1beta1.types.ListSourcesRequest
The initial request object. |
response |
google.cloud.securitycenter_v1beta1.types.ListSourcesResponse
The initial response object. |
metadata |
Sequence[Tuple[str, str]]
Strings which should be sent along with the request as metadata. |