Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2MemoryLayerMemoryConfig

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

Configuration of a memory layer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleBigtableAdminV2MemoryLayerMemoryConfig

Returns a new instance of GoogleBigtableAdminV2MemoryLayerMemoryConfig.



1843
1844
1845
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1843

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

Instance Attribute Details

#storage_size_gibFixnum

Output only. Reporting the current size of the memory layer in GiB. Corresponds to the JSON property storageSizeGib

Returns:

  • (Fixnum)


1841
1842
1843
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1841

def storage_size_gib
  @storage_size_gib
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1848
1849
1850
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1848

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