Cloud Firestore Admin V1 API - Class Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta (v1.12.1)

Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta.

Information about a TTL configuration change.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#change_type

def change_type() -> ::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType
Returns

#change_type=

def change_type=(value) -> ::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType
Parameter
Returns

#expiration_offset

def expiration_offset() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.

#expiration_offset=

def expiration_offset=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.
Returns
  • (::Google::Protobuf::Duration) — The offset, relative to the timestamp value in the TTL-enabled field, used determine the document's expiration time.