Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig.
Checkpoint configuration to enable sequential (cursor-based) polling.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#iterator_strategy
def iterator_strategy() -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::IteratorStrategy-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::IteratorStrategy) — Use progress tokens provided by the API.
Note: The following fields are mutually exclusive:
iterator_strategy,none_strategy,latest_timestamp_strategy,latest_record_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#iterator_strategy=
def iterator_strategy=(value) -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::IteratorStrategy-
value (::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::IteratorStrategy) — Use progress tokens provided by the API.
Note: The following fields are mutually exclusive:
iterator_strategy,none_strategy,latest_timestamp_strategy,latest_record_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::IteratorStrategy) — Use progress tokens provided by the API.
Note: The following fields are mutually exclusive:
iterator_strategy,none_strategy,latest_timestamp_strategy,latest_record_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#latest_record_strategy
def latest_record_strategy() -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestRecordStrategy-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestRecordStrategy) — Track the highest record ID to fetch only new records next.
Note: The following fields are mutually exclusive:
latest_record_strategy,none_strategy,latest_timestamp_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#latest_record_strategy=
def latest_record_strategy=(value) -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestRecordStrategy-
value (::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestRecordStrategy) — Track the highest record ID to fetch only new records next.
Note: The following fields are mutually exclusive:
latest_record_strategy,none_strategy,latest_timestamp_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestRecordStrategy) — Track the highest record ID to fetch only new records next.
Note: The following fields are mutually exclusive:
latest_record_strategy,none_strategy,latest_timestamp_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#latest_timestamp_strategy
def latest_timestamp_strategy() -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestTimestampStrategy-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestTimestampStrategy) — Track the timestamp of the newest record to fetch newer ones next.
Note: The following fields are mutually exclusive:
latest_timestamp_strategy,none_strategy,latest_record_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#latest_timestamp_strategy=
def latest_timestamp_strategy=(value) -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestTimestampStrategy-
value (::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestTimestampStrategy) — Track the timestamp of the newest record to fetch newer ones next.
Note: The following fields are mutually exclusive:
latest_timestamp_strategy,none_strategy,latest_record_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::LatestTimestampStrategy) — Track the timestamp of the newest record to fetch newer ones next.
Note: The following fields are mutually exclusive:
latest_timestamp_strategy,none_strategy,latest_record_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#none_strategy
def none_strategy() -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::NoneStrategy-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::NoneStrategy) — Fetch all available data in one go without tracking progress.
Note: The following fields are mutually exclusive:
none_strategy,latest_timestamp_strategy,latest_record_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
#none_strategy=
def none_strategy=(value) -> ::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::NoneStrategy-
value (::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::NoneStrategy) — Fetch all available data in one go without tracking progress.
Note: The following fields are mutually exclusive:
none_strategy,latest_timestamp_strategy,latest_record_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Chronicle::V1::CustomAPICheckpointConfig::NoneStrategy) — Fetch all available data in one go without tracking progress.
Note: The following fields are mutually exclusive:
none_strategy,latest_timestamp_strategy,latest_record_strategy,iterator_strategy. If a field in that set is populated, all other fields in the set will automatically be cleared.