class Google::Apis::BigtableadminV2::GcRule
Rule for determining which cells to delete during garbage collection.
Attributes
intersection[RW]
A GcRule
which deletes cells matching all of the given rules. Corresponds to the JSON property `intersection` @return [Google::Apis::BigtableadminV2::Intersection]
max_age[RW]
Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity. Corresponds to the JSON property `maxAge` @return [String]
max_num_versions[RW]
Delete all cells in a column except the most recent N. Corresponds to the JSON property `maxNumVersions` @return [Fixnum]
union[RW]
A GcRule
which deletes cells matching any of the given rules. Corresponds to the JSON property `union` @return [Google::Apis::BigtableadminV2::Union]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigtableadmin_v2/classes.rb, line 953 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigtableadmin_v2/classes.rb, line 958 def update!(**args) @intersection = args[:intersection] if args.key?(:intersection) @max_age = args[:max_age] if args.key?(:max_age) @max_num_versions = args[:max_num_versions] if args.key?(:max_num_versions) @union = args[:union] if args.key?(:union) end