# Module pagers (2.9.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.2 (latest)](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.services.device_manager.pagers)
- [2.9.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.9.1/google.cloud.iot_v1.services.device_manager.pagers)
- [2.8.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.8.1/google.cloud.iot_v1.services.device_manager.pagers)
- [2.7.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.7.0/google.cloud.iot_v1.services.device_manager.pagers)
- [2.6.4](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.6.4/google.cloud.iot_v1.services.device_manager.pagers)
- [2.5.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.5.1/google.cloud.iot_v1.services.device_manager.pagers)
- [2.4.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.4.1/google.cloud.iot_v1.services.device_manager.pagers)
- [2.3.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.3.0/google.cloud.iot_v1.services.device_manager.pagers)
- [2.2.1](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.2.1/google.cloud.iot_v1.services.device_manager.pagers)
- [2.1.0](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.1.0/google.cloud.iot_v1.services.device_manager.pagers)
- [2.0.2](https://docs.cloud.google.com/python/docs/reference/cloudiot/2.0.2/google.cloud.iot_v1.services.device_manager.pagers)
- [1.0.2](https://docs.cloud.google.com/python/docs/reference/cloudiot/1.0.2/google.cloud.iot_v1.services.device_manager.pagers)
- [0.3.3](https://docs.cloud.google.com/python/docs/reference/cloudiot/0.3.3/google.cloud.iot_v1.services.device_manager.pagers)
API documentation for `iot_v1.services.device_manager.pagers` module.

## Classes

### [ListDeviceRegistriesAsyncPager](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.services.device_manager.pagers.ListDeviceRegistriesAsyncPager)

    ListDeviceRegistriesAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[
                google.cloud.iot_v1.types.device_manager.ListDeviceRegistriesResponse
            ],
        ],
        request: google.cloud.iot_v1.types.device_manager.ListDeviceRegistriesRequest,
        response: google.cloud.iot_v1.types.device_manager.ListDeviceRegistriesResponse,
        *,
        metadata: typing.Sequence[typing.Tuple[str, str]] = ()
    )

A pager for iterating through `list_device_registries` requests.

This class thinly wraps an initial
[ListDeviceRegistriesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDeviceRegistriesResponse) object, and
provides an `__aiter__` method to iterate through its
`device_registries` field.

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

All the usual [ListDeviceRegistriesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDeviceRegistriesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListDeviceRegistriesPager](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.services.device_manager.pagers.ListDeviceRegistriesPager)

    ListDeviceRegistriesPager(
        method: typing.Callable[
            [...], google.cloud.iot_v1.types.device_manager.ListDeviceRegistriesResponse
        ],
        request: google.cloud.iot_v1.types.device_manager.ListDeviceRegistriesRequest,
        response: google.cloud.iot_v1.types.device_manager.ListDeviceRegistriesResponse,
        *,
        metadata: typing.Sequence[typing.Tuple[str, str]] = ()
    )

A pager for iterating through `list_device_registries` requests.

This class thinly wraps an initial
[ListDeviceRegistriesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDeviceRegistriesResponse) object, and
provides an `__iter__` method to iterate through its
`device_registries` field.

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

All the usual [ListDeviceRegistriesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDeviceRegistriesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListDevicesAsyncPager](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)

    ListDevicesAsyncPager(
        method: typing.Callable[
            [...],
            typing.Awaitable[google.cloud.iot_v1.types.device_manager.ListDevicesResponse],
        ],
        request: google.cloud.iot_v1.types.device_manager.ListDevicesRequest,
        response: google.cloud.iot_v1.types.device_manager.ListDevicesResponse,
        *,
        metadata: typing.Sequence[typing.Tuple[str, str]] = ()
    )

A pager for iterating through `list_devices` requests.

This class thinly wraps an initial
[ListDevicesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDevicesResponse) object, and
provides an `__aiter__` method to iterate through its
`devices` field.

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

All the usual [ListDevicesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDevicesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListDevicesPager](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesPager)

    ListDevicesPager(
        method: typing.Callable[
            [...], google.cloud.iot_v1.types.device_manager.ListDevicesResponse
        ],
        request: google.cloud.iot_v1.types.device_manager.ListDevicesRequest,
        response: google.cloud.iot_v1.types.device_manager.ListDevicesResponse,
        *,
        metadata: typing.Sequence[typing.Tuple[str, str]] = ()
    )

A pager for iterating through `list_devices` requests.

This class thinly wraps an initial
[ListDevicesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDevicesResponse) object, and
provides an `__iter__` method to iterate through its
`devices` field.

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

All the usual [ListDevicesResponse](https://docs.cloud.google.com/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDevicesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.