Module pagers (0.12.0) Stay organized with collections Save and categorize content based on your preferences.
API documentation forrun_v2.services.tasks.pagers module.
Classes
ListTasksAsyncPager
ListTasksAsyncPager(method:typing.Callable[[...],typing.Awaitable[google.cloud.run_v2.types.task.ListTasksResponse]],request:google.cloud.run_v2.types.task.ListTasksRequest,response:google.cloud.run_v2.types.task.ListTasksResponse,*,retry:typing.Optional[typing.Union[google.api_core.retry.retry_unary_async.AsyncRetry,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 throughlist_tasks requests.
This class thinly wraps an initialListTasksResponse object, andprovides an__aiter__ method to iterate through itstasks field.
If there are more pages, the__aiter__ method will make additionalListTasks requests and continue to iteratethrough thetasks field on thecorresponding responses.
All the usualListTasksResponseattributes are available on the pager. If multiple requests are made, onlythe most recent response is retained, and thus used for attribute lookup.
ListTasksPager
ListTasksPager(method:typing.Callable[[...],google.cloud.run_v2.types.task.ListTasksResponse],request:google.cloud.run_v2.types.task.ListTasksRequest,response:google.cloud.run_v2.types.task.ListTasksResponse,*,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 throughlist_tasks requests.
This class thinly wraps an initialListTasksResponse object, andprovides an__iter__ method to iterate through itstasks field.
If there are more pages, the__iter__ method will make additionalListTasks requests and continue to iteratethrough thetasks field on thecorresponding responses.
All the usualListTasksResponseattributes are available on the pager. If multiple requests are made, onlythe most recent response is retained, and thus used for attribute lookup.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.