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
- (::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType) — Specifies how the TTL configuration is changing.
#change_type=
def change_type=(value) -> ::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType) — Specifies how the TTL configuration is changing.
Returns
- (::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType) — Specifies how the TTL configuration is changing.
#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.