Class: Google::Apis::BigtableadminV2::Union

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb

Overview

A GcRule which deletes cells matching any of the given rules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Union

Returns a new instance of Union.



2572
2573
2574
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2572

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rulesArray<Google::Apis::BigtableadminV2::GcRule>

Delete cells which would be deleted by any element of rules. Corresponds to the JSON property rules



2570
2571
2572
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2570

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2577
2578
2579
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2577

def update!(**args)
  @rules = args[:rules] if args.key?(:rules)
end