Module pagers (1.4.0)

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

Classes

AggregatedListPager

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

A pager for iterating through aggregated_list requests.

This class thinly wraps an initial SubnetworkAggregatedList 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 SubnetworkAggregatedList 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.SubnetworkList],
    request: google.cloud.compute_v1.types.compute.ListSubnetworksRequest,
    response: google.cloud.compute_v1.types.compute.SubnetworkList,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list requests.

This class thinly wraps an initial SubnetworkList 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 SubnetworkList attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.

ListUsablePager

ListUsablePager(
    method: Callable[
        [...], google.cloud.compute_v1.types.compute.UsableSubnetworksAggregatedList
    ],
    request: google.cloud.compute_v1.types.compute.ListUsableSubnetworksRequest,
    response: google.cloud.compute_v1.types.compute.UsableSubnetworksAggregatedList,
    *,
    metadata: Sequence[Tuple[str, str]] = ()
)

A pager for iterating through list_usable requests.

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

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

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