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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Union

Returns a new instance of Union



1618
1619
1620
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1618

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



1616
1617
1618
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1616

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1623
1624
1625
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1623

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