# Module pagers (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8 API documentation for `compute_v1beta.services.routers.pagers` module.

## Classes

### [AggregatedListPager](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.services.routers.pagers.AggregatedListPager)

    AggregatedListPager(
        method: typing.Callable[
            [...], google.cloud.compute_v1beta.types.compute.RouterAggregatedList
        ],
        request: google.cloud.compute_v1beta.types.compute.AggregatedListRoutersRequest,
        response: google.cloud.compute_v1beta.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.services.routers.pagers.GetNatMappingInfoPager)

    GetNatMappingInfoPager(
        method: typing.Callable[
            [...], google.cloud.compute_v1beta.types.compute.VmEndpointNatMappingsList
        ],
        request: google.cloud.compute_v1beta.types.compute.GetNatMappingInfoRoutersRequest,
        response: google.cloud.compute_v1beta.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.services.routers.pagers.ListBgpRoutesPager)

    ListBgpRoutesPager(
        method: typing.Callable[
            [...], google.cloud.compute_v1beta.types.compute.RoutersListBgpRoutes
        ],
        request: google.cloud.compute_v1beta.types.compute.ListBgpRoutesRoutersRequest,
        response: google.cloud.compute_v1beta.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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.

### [ListNamedSetsPager](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.services.routers.pagers.ListNamedSetsPager)

    ListNamedSetsPager(
        method: typing.Callable[
            [...], google.cloud.compute_v1beta.types.compute.RoutersListNamedSets
        ],
        request: google.cloud.compute_v1beta.types.compute.ListNamedSetsRoutersRequest,
        response: google.cloud.compute_v1beta.types.compute.RoutersListNamedSets,
        *,
        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_named_sets` requests.

This class thinly wraps an initial
[RoutersListNamedSets](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.RoutersListNamedSets) object, and
provides an `__iter__` method to iterate through its
`result` field.

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

All the usual [RoutersListNamedSets](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.RoutersListNamedSets)
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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.services.routers.pagers.ListPager)

    ListPager(
        method: typing.Callable[
            [...], google.cloud.compute_v1beta.types.compute.RouterList
        ],
        request: google.cloud.compute_v1beta.types.compute.ListRoutersRequest,
        response: google.cloud.compute_v1beta.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.services.routers.pagers.ListRoutePoliciesPager)

    ListRoutePoliciesPager(
        method: typing.Callable[
            [...], google.cloud.compute_v1beta.types.compute.RoutersListRoutePolicies
        ],
        request: google.cloud.compute_v1beta.types.compute.ListRoutePoliciesRoutersRequest,
        response: google.cloud.compute_v1beta.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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](https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.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.