Module pagers (2.19.4)

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

Classes

ListMetricDescriptorsAsyncPager

ListMetricDescriptorsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsRequest,
    response: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_metric_descriptors requests.

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

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

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

ListMetricDescriptorsPager

ListMetricDescriptorsPager(
    method: typing.Callable[
        [...],
        google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse,
    ],
    request: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsRequest,
    response: google.cloud.monitoring_v3.types.metric_service.ListMetricDescriptorsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_metric_descriptors requests.

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

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

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

ListMonitoredResourceDescriptorsAsyncPager

ListMonitoredResourceDescriptorsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsRequest,
    response: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_monitored_resource_descriptors requests.

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

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

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

ListMonitoredResourceDescriptorsPager

ListMonitoredResourceDescriptorsPager(
    method: typing.Callable[
        [...],
        google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse,
    ],
    request: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsRequest,
    response: google.cloud.monitoring_v3.types.metric_service.ListMonitoredResourceDescriptorsResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_monitored_resource_descriptors requests.

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

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

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

ListTimeSeriesAsyncPager

ListTimeSeriesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse
        ],
    ],
    request: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest,
    response: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_time_series requests.

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

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

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

ListTimeSeriesPager

ListTimeSeriesPager(
    method: typing.Callable[
        [...], google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse
    ],
    request: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesRequest,
    response: google.cloud.monitoring_v3.types.metric_service.ListTimeSeriesResponse,
    *,
    metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)

A pager for iterating through list_time_series requests.

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

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

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