Cloud Bigtable Admin V2 API - Class Google::Cloud::Bigtable::Admin::V2::GcRule (v0.19.0)

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

#intersection=

def intersection=(value) -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection
Parameter
Returns

#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

#union=

def union=(value) -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union
Parameter
Returns