A pager for iterating through list_events requests.
This class thinly wraps an initial
ListEventsResponse object, and
provides an __iter__ method to iterate through its
events field.
If there are more pages, the __iter__ method will make additional
ListEvents requests and continue to iterate
through the events field on the
corresponding responses.
All the usual ListEventsResponse
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
Designation of what errors, if any, should be retried.
timeout
float
The timeout for this request.
metadata
Sequence[Tuple[str, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type str, but for metadata keys ending with the suffix -bin, the corresponding values must be of type bytes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class ListEventsPager (0.1.11)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.11 (latest)](/python/docs/reference/google-cloud-servicehealth/latest/google.cloud.servicehealth_v1.services.service_health.pagers.ListEventsPager)\n- [0.1.10](/python/docs/reference/google-cloud-servicehealth/0.1.10/google.cloud.servicehealth_v1.services.service_health.pagers.ListEventsPager) \n\n ListEventsPager(\n method: typing.Callable[\n [...], google.cloud.servicehealth_v1.types.event_resources.ListEventsResponse\n ],\n request: google.cloud.servicehealth_v1.types.event_resources.ListEventsRequest,\n response: google.cloud.servicehealth_v1.types.event_resources.ListEventsResponse,\n *,\n retry: typing.Optional[\n typing.Union[\n google.api_core.retry.retry_unary.Retry,\n google.api_core.gapic_v1.method._MethodDefault,\n ]\n ] = _MethodDefault._DEFAULT_VALUE,\n timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,\n metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()\n )\n\nA pager for iterating through `list_events` requests.\n\nThis class thinly wraps an initial\n[ListEventsResponse](/python/docs/reference/google-cloud-servicehealth/latest/google.cloud.servicehealth_v1.types.ListEventsResponse) object, and\nprovides an `__iter__` method to iterate through its\n`events` field.\n\nIf there are more pages, the `__iter__` method will make additional\n`ListEvents` requests and continue to iterate\nthrough the `events` field on the\ncorresponding responses.\n\nAll the usual [ListEventsResponse](/python/docs/reference/google-cloud-servicehealth/latest/google.cloud.servicehealth_v1.types.ListEventsResponse)\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### ListEventsPager\n\n ListEventsPager(\n method: typing.Callable[\n [...], google.cloud.servicehealth_v1.types.event_resources.ListEventsResponse\n ],\n request: google.cloud.servicehealth_v1.types.event_resources.ListEventsRequest,\n response: google.cloud.servicehealth_v1.types.event_resources.ListEventsResponse,\n *,\n retry: typing.Optional[\n typing.Union[\n google.api_core.retry.retry_unary.Retry,\n google.api_core.gapic_v1.method._MethodDefault,\n ]\n ] = _MethodDefault._DEFAULT_VALUE,\n timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,\n metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()\n )\n\nInstantiate the pager."]]