Class: Google::Apis::BigtableadminV2::ColumnFamily
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::ColumnFamily
- 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
-
#gc_rule ⇒ Google::Apis::BigtableadminV2::GcRule
Rule for determining which cells to delete during garbage collection.
-
#stats ⇒ Google::Apis::BigtableadminV2::ColumnFamilyStats
Approximate statistics related to a single column family within a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ColumnFamily
constructor
A new instance of ColumnFamily.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ColumnFamily
Returns a new instance of ColumnFamily.
675 676 677 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 675 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gc_rule ⇒ Google::Apis::BigtableadminV2::GcRule
Rule for determining which cells to delete during garbage collection.
Corresponds to the JSON property gcRule
665 666 667 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 665 def gc_rule @gc_rule end |
#stats ⇒ Google::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
673 674 675 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 673 def stats @stats end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
680 681 682 683 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 680 def update!(**args) @gc_rule = args[:gc_rule] if args.key?(:gc_rule) @stats = args[:stats] if args.key?(:stats) end |