Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::GcRule.
Rule for determining which cells to delete during garbage collection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#intersection
def intersection() -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection
Returns
- (::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection) — Delete cells that would be deleted by every nested rule.
#intersection=
def intersection=(value) -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection
Parameter
- value (::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection) — Delete cells that would be deleted by every nested rule.
Returns
- (::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection) — Delete cells that would be deleted by every nested rule.
#max_age
def max_age() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.
#max_age=
def max_age=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.
Returns
- (::Google::Protobuf::Duration) — Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.
#max_num_versions
def max_num_versions() -> ::Integer
Returns
- (::Integer) — Delete all cells in a column except the most recent N.
#max_num_versions=
def max_num_versions=(value) -> ::Integer
Parameter
- value (::Integer) — Delete all cells in a column except the most recent N.
Returns
- (::Integer) — Delete all cells in a column except the most recent N.
#union
def union() -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union
Returns
- (::Google::Cloud::Bigtable::Admin::V2::GcRule::Union) — Delete cells that would be deleted by any nested rule.
#union=
def union=(value) -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union
Parameter
- value (::Google::Cloud::Bigtable::Admin::V2::GcRule::Union) — Delete cells that would be deleted by any nested rule.
Returns
- (::Google::Cloud::Bigtable::Admin::V2::GcRule::Union) — Delete cells that would be deleted by any nested rule.