Class CustomAPIPagination (0.6.4)

CustomAPIPagination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Pagination strategy for the request.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
none google.cloud.chronicle_v1.types.CustomAPIPagination.NonePagination
Fetch data in a single request without paging. This field is a member of oneof_ pagination_strategy.
token google.cloud.chronicle_v1.types.CustomAPIPagination.TokenPagination
Use tokens (custom keys) to get the next page of data. This field is a member of oneof_ pagination_strategy.
link google.cloud.chronicle_v1.types.CustomAPIPagination.LinkPagination
Follow links provided in the response to get more data. This field is a member of oneof_ pagination_strategy.
offset google.cloud.chronicle_v1.types.CustomAPIPagination.OffsetPagination
Skip a set number of records to get the next set. This field is a member of oneof_ pagination_strategy.
page_number google.cloud.chronicle_v1.types.CustomAPIPagination.PageNumberPagination
Go to the next page number (e.g., page 2). This field is a member of oneof_ pagination_strategy.

Classes

LinkPagination

LinkPagination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Follow links provided in the response to get more data.

NonePagination

NonePagination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Fetch data in a single request without paging.

OffsetPagination

OffsetPagination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Skip a set number of records to get the next set.

PageNumberPagination

PageNumberPagination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Go to the next page number (e.g., page 2).

TokenPagination

TokenPagination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Use tokens (custom keys) to get the next page of data.