Module pagers (1.22.0)

API documentation for securitycenter_v1beta1.services.security_center.pagers module.

Classes

GroupAssetsAsyncPager

GroupAssetsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsRequest,
    response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through group_assets requests.

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

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

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

GroupAssetsPager

GroupAssetsPager(
    method: Callable[
        [...],
        google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse,
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsRequest,
    response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupAssetsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through group_assets requests.

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

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

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

GroupFindingsAsyncPager

GroupFindingsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsRequest,
    response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through group_findings requests.

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

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

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

GroupFindingsPager

GroupFindingsPager(
    method: Callable[
        [...],
        google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse,
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsRequest,
    response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.GroupFindingsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through group_findings requests.

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

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

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

ListAssetsAsyncPager

ListAssetsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsRequest,
    response: google.cloud.securitycenter_v1beta1.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.

ListAssetsPager

ListAssetsPager(
    method: Callable[
        [...],
        google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsResponse,
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListAssetsRequest,
    response: google.cloud.securitycenter_v1beta1.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 __iter__ method to iterate through its list_assets_results field.

If there are more pages, the __iter__ 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.

ListFindingsAsyncPager

ListFindingsAsyncPager(
    method: Callable[
        [...],
        Awaitable[
            google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsRequest,
    response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_findings requests.

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

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

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

ListFindingsPager

ListFindingsPager(
    method: Callable[
        [...],
        google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse,
    ],
    request: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsRequest,
    response: google.cloud.securitycenter_v1beta1.types.securitycenter_service.ListFindingsResponse,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_findings requests.

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

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

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

ListSourcesAsyncPager

ListSourcesAsyncPager(
    method: Callable[
        [...],
        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: Sequence[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.

ListSourcesPager

ListSourcesPager(
    method: Callable[
        [...],
        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: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_sources requests.

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

If there are more pages, the __iter__ 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.