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 self.intersection(*rules) -> Google::Cloud::Bigtable::Admin::V2::GcRuleConstruct a GcRule that is an intersection of rules
- rules (Array<Google::Cloud::Bigtable::Admin::V2::GcRule>) — The component rules
.max_age
def self.max_age(value) -> Google::Cloud::Bigtable::Admin::V2::GcRuleConstruct a GcRule for max_age
- value (Google::Protobuf::Duration) — The max_age
.max_num_versions
def self.max_num_versions(value) -> Google::Cloud::Bigtable::Admin::V2::GcRuleConstruct a GcRule for max_num_versions
- value (Integer) — The max_num_versions
.union
def self.union(*rules) -> Google::Cloud::Bigtable::Admin::V2::GcRuleConstruct a GcRule that is a union of rules
- rules (Array<Google::Cloud::Bigtable::Admin::V2::GcRule>) — The component rules
#intersection
def intersection() -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection-
(::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection) — Delete cells that would be deleted by every nested rule.
Note: The following fields are mutually exclusive:
intersection,max_num_versions,max_age,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
#intersection=
def intersection=(value) -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection-
value (::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection) — Delete cells that would be deleted by every nested rule.
Note: The following fields are mutually exclusive:
intersection,max_num_versions,max_age,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection) — Delete cells that would be deleted by every nested rule.
Note: The following fields are mutually exclusive:
intersection,max_num_versions,max_age,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
#max_age
def max_age() -> ::Google::Protobuf::Duration-
(::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.
Note: The following fields are mutually exclusive:
max_age,max_num_versions,intersection,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
#max_age=
def max_age=(value) -> ::Google::Protobuf::Duration-
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.
Note: The following fields are mutually exclusive:
max_age,max_num_versions,intersection,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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.
Note: The following fields are mutually exclusive:
max_age,max_num_versions,intersection,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
#max_num_versions
def max_num_versions() -> ::Integer-
(::Integer) — Delete all cells in a column except the most recent N.
Note: The following fields are mutually exclusive:
max_num_versions,max_age,intersection,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
#max_num_versions=
def max_num_versions=(value) -> ::Integer-
value (::Integer) — Delete all cells in a column except the most recent N.
Note: The following fields are mutually exclusive:
max_num_versions,max_age,intersection,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Delete all cells in a column except the most recent N.
Note: The following fields are mutually exclusive:
max_num_versions,max_age,intersection,union. If a field in that set is populated, all other fields in the set will automatically be cleared.
#union
def union() -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union-
(::Google::Cloud::Bigtable::Admin::V2::GcRule::Union) — Delete cells that would be deleted by any nested rule.
Note: The following fields are mutually exclusive:
union,max_num_versions,max_age,intersection. If a field in that set is populated, all other fields in the set will automatically be cleared.
#union=
def union=(value) -> ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union-
value (::Google::Cloud::Bigtable::Admin::V2::GcRule::Union) — Delete cells that would be deleted by any nested rule.
Note: The following fields are mutually exclusive:
union,max_num_versions,max_age,intersection. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigtable::Admin::V2::GcRule::Union) — Delete cells that would be deleted by any nested rule.
Note: The following fields are mutually exclusive:
union,max_num_versions,max_age,intersection. If a field in that set is populated, all other fields in the set will automatically be cleared.