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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ColumnFamily

Returns a new instance of ColumnFamily.



646
647
648
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 646

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



636
637
638
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 636

def gc_rule
  @gc_rule
end

#statsGoogle::Apis::BigtableadminV2::ColumnFamilyStats

Approximate statistics related to a single column family within a table. This information may change rapidly, interpreting these values at a point in time may already preset out-of-date information. Everything below is approximate, unless otherwise specified. Corresponds to the JSON property stats



644
645
646
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 644

def stats
  @stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



651
652
653
654
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 651

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