Module pagers (2.17.0)

API documentation for monitoring_v3.services.notification_channel_service.pagers module.

Classes

ListNotificationChannelDescriptorsAsyncPager

ListNotificationChannelDescriptorsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsRequest,
    response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_notification_channel_descriptors requests.

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

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

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

ListNotificationChannelDescriptorsPager

ListNotificationChannelDescriptorsPager(
    method: typing.Callable[
        [...],
        google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse,
    ],
    request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsRequest,
    response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelDescriptorsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_notification_channel_descriptors requests.

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

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

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

ListNotificationChannelsAsyncPager

ListNotificationChannelsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsRequest,
    response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_notification_channels requests.

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

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

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

ListNotificationChannelsPager

ListNotificationChannelsPager(
    method: typing.Callable[
        [...],
        google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse,
    ],
    request: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsRequest,
    response: google.cloud.monitoring_v3.types.notification_service.ListNotificationChannelsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_notification_channels requests.

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

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

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