Class CustomAPICheckpointConfig (0.6.4)

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

Checkpoint configuration to enable sequential (cursor-based) polling.

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_strategy google.cloud.chronicle_v1.types.CustomAPICheckpointConfig.NoneStrategy
Fetch all available data in one go without tracking progress. This field is a member of oneof_ strategy.
latest_timestamp_strategy google.cloud.chronicle_v1.types.CustomAPICheckpointConfig.LatestTimestampStrategy
Track the timestamp of the newest record to fetch newer ones next. This field is a member of oneof_ strategy.
latest_record_strategy google.cloud.chronicle_v1.types.CustomAPICheckpointConfig.LatestRecordStrategy
Track the highest record ID to fetch only new records next. This field is a member of oneof_ strategy.
iterator_strategy google.cloud.chronicle_v1.types.CustomAPICheckpointConfig.IteratorStrategy
Use progress tokens provided by the API. This field is a member of oneof_ strategy.

Classes

IteratorStrategy

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

Use progress tokens provided by the API.

LatestRecordStrategy

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

Track the highest record ID to fetch only new records next.

LatestTimestampStrategy

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

Track the timestamp of the newest record to fetch newer ones next.

NoneStrategy

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

Fetch all available data in one go without tracking progress.