Module pagers (1.36.0)

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

Classes

GroupAssetsAsyncPager

GroupAssetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse,
    *,
    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 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: typing.Callable[
        [...],
        google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse,
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupAssetsResponse,
    *,
    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 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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse,
    *,
    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 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: typing.Callable[
        [...],
        google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse,
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.GroupFindingsResponse,
    *,
    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 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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse,
    *,
    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_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: typing.Callable[
        [...],
        google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse,
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListAssetsResponse,
    *,
    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_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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse,
    *,
    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_findings requests.

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

If there are more pages, the __aiter__ method will make additional ListFindings requests and continue to iterate through the list_findings_results 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: typing.Callable[
        [...],
        google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse,
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListFindingsResponse,
    *,
    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_findings requests.

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

If there are more pages, the __iter__ method will make additional ListFindings requests and continue to iterate through the list_findings_results 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.

ListNotificationConfigsAsyncPager

ListNotificationConfigsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse
        ],
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse,
    *,
    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_notification_configs requests.

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

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

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

ListNotificationConfigsPager

ListNotificationConfigsPager(
    method: typing.Callable[
        [...],
        google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse,
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListNotificationConfigsResponse,
    *,
    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_notification_configs requests.

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

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

All the usual ListNotificationConfigsResponse 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: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse
        ],
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse,
    *,
    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_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: typing.Callable[
        [...],
        google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse,
    ],
    request: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesRequest,
    response: google.cloud.securitycenter_v1p1beta1.types.securitycenter_service.ListSourcesResponse,
    *,
    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_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.