Module pagers (1.8.0)

API documentation for compute_v1.services.routers.pagers module.

Classes

AggregatedListPager

AggregatedListPager(
    method: Callable[[...], google.cloud.compute_v1.types.compute.RouterAggregatedList],
    request: google.cloud.compute_v1.types.compute.AggregatedListRoutersRequest,
    response: google.cloud.compute_v1.types.compute.RouterAggregatedList,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through aggregated_list requests.

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

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

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

GetNatMappingInfoPager

GetNatMappingInfoPager(
    method: Callable[
        [...], google.cloud.compute_v1.types.compute.VmEndpointNatMappingsList
    ],
    request: google.cloud.compute_v1.types.compute.GetNatMappingInfoRoutersRequest,
    response: google.cloud.compute_v1.types.compute.VmEndpointNatMappingsList,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through get_nat_mapping_info requests.

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

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

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

ListPager

ListPager(
    method: Callable[[...], google.cloud.compute_v1.types.compute.RouterList],
    request: google.cloud.compute_v1.types.compute.ListRoutersRequest,
    response: google.cloud.compute_v1.types.compute.RouterList,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list requests.

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

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

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