A pager for iterating through list_devices requests.
This class thinly wraps an initial
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
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class ListDevicesAsyncPager (2.9.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.2 (latest)](/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.9.1](/python/docs/reference/cloudiot/2.9.1/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.8.1](/python/docs/reference/cloudiot/2.8.1/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.7.0](/python/docs/reference/cloudiot/2.7.0/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.6.4](/python/docs/reference/cloudiot/2.6.4/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.5.1](/python/docs/reference/cloudiot/2.5.1/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.4.1](/python/docs/reference/cloudiot/2.4.1/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.3.0](/python/docs/reference/cloudiot/2.3.0/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.2.1](/python/docs/reference/cloudiot/2.2.1/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.1.0](/python/docs/reference/cloudiot/2.1.0/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [2.0.2](/python/docs/reference/cloudiot/2.0.2/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [1.0.2](/python/docs/reference/cloudiot/1.0.2/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager)\n- [0.3.3](/python/docs/reference/cloudiot/0.3.3/google.cloud.iot_v1.services.device_manager.pagers.ListDevicesAsyncPager) \n\n ListDevicesAsyncPager(\n method: typing.Callable[\n [...],\n typing.Awaitable[google.cloud.iot_v1.types.device_manager.ListDevicesResponse],\n ],\n request: google.cloud.iot_v1.types.device_manager.ListDevicesRequest,\n response: google.cloud.iot_v1.types.device_manager.ListDevicesResponse,\n *,\n metadata: typing.Sequence[typing.Tuple[str, str]] = ()\n )\n\nA pager for iterating through `list_devices` requests.\n\nThis class thinly wraps an initial\n[ListDevicesResponse](/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDevicesResponse) object, and\nprovides an `__aiter__` method to iterate through its\n`devices` field.\n\nIf there are more pages, the `__aiter__` method will make additional\n`ListDevices` requests and continue to iterate\nthrough the `devices` field on the\ncorresponding responses.\n\nAll the usual [ListDevicesResponse](/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.ListDevicesResponse)\nattributes are available on the pager. If multiple requests are made, only\nthe most recent response is retained, and thus used for attribute lookup.\n\nMethods\n-------\n\n### ListDevicesAsyncPager\n\n ListDevicesAsyncPager(\n method: typing.Callable[\n [...],\n typing.Awaitable[google.cloud.iot_v1.types.device_manager.ListDevicesResponse],\n ],\n request: google.cloud.iot_v1.types.device_manager.ListDevicesRequest,\n response: google.cloud.iot_v1.types.device_manager.ListDevicesResponse,\n *,\n metadata: typing.Sequence[typing.Tuple[str, str]] = ()\n )\n\nInstantiates the pager."]]