Module pagers (1.26.0)

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

Classes

AggregatedListPager

AggregatedListPager(
    method: typing.Callable[
        [...], google.cloud.compute_v1.types.compute.RouterAggregatedList
    ],
    request: google.cloud.compute_v1.types.compute.AggregatedListRoutersRequest,
    response: google.cloud.compute_v1.types.compute.RouterAggregatedList,
    *,
    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 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: typing.Callable[
        [...], google.cloud.compute_v1.types.compute.VmEndpointNatMappingsList
    ],
    request: google.cloud.compute_v1.types.compute.GetNatMappingInfoRoutersRequest,
    response: google.cloud.compute_v1.types.compute.VmEndpointNatMappingsList,
    *,
    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 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.

ListBgpRoutesPager

ListBgpRoutesPager(
    method: typing.Callable[
        [...], google.cloud.compute_v1.types.compute.RoutersListBgpRoutes
    ],
    request: google.cloud.compute_v1.types.compute.ListBgpRoutesRoutersRequest,
    response: google.cloud.compute_v1.types.compute.RoutersListBgpRoutes,
    *,
    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_bgp_routes requests.

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

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

All the usual RoutersListBgpRoutes 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: typing.Callable[[...], google.cloud.compute_v1.types.compute.RouterList],
    request: google.cloud.compute_v1.types.compute.ListRoutersRequest,
    response: google.cloud.compute_v1.types.compute.RouterList,
    *,
    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 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.

ListRoutePoliciesPager

ListRoutePoliciesPager(
    method: typing.Callable[
        [...], google.cloud.compute_v1.types.compute.RoutersListRoutePolicies
    ],
    request: google.cloud.compute_v1.types.compute.ListRoutePoliciesRoutersRequest,
    response: google.cloud.compute_v1.types.compute.RoutersListRoutePolicies,
    *,
    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_route_policies requests.

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

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

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