Class: Google::Apis::BigtableadminV2::ColumnFamily

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 set of columns within a table which share a common configuration.

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) ⇒ ColumnFamily

Returns a new instance of ColumnFamily.


518
519
520
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 518

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

Instance Attribute Details

#gc_ruleGoogle::Apis::BigtableadminV2::GcRule

Rule for determining which cells to delete during garbage collection. Corresponds to the JSON property gcRule


516
517
518
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 516

def gc_rule
  @gc_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


523
524
525
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 523

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