Class: Google::Apis::BigtableadminV2::Union
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::Union
- 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
-
#rules ⇒ Array<Google::Apis::BigtableadminV2::GcRule>
Delete cells which would be deleted by any element of
rules
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Union
constructor
A new instance of Union.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Union
Returns a new instance of Union.
3726 3727 3728 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rules ⇒ Array<Google::Apis::BigtableadminV2::GcRule>
Delete cells which would be deleted by any element of rules
.
Corresponds to the JSON property rules
3724 3725 3726 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3724 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3731 3732 3733 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3731 def update!(**args) @rules = args[:rules] if args.key?(:rules) end |