Class: Google::Apis::SpannerV1::IndexedKeyRangeInfos

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb

Overview

A message representing a (sparse) collection of KeyRangeInfos for specific key buckets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IndexedKeyRangeInfos

Returns a new instance of IndexedKeyRangeInfos.



1896
1897
1898
# File 'lib/google/apis/spanner_v1/classes.rb', line 1896

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

Instance Attribute Details

#key_range_infosHash<String,Google::Apis::SpannerV1::KeyRangeInfos>

A (sparse) mapping from key bucket index to the KeyRangeInfos for that key bucket. Corresponds to the JSON property keyRangeInfos

Returns:



1894
1895
1896
# File 'lib/google/apis/spanner_v1/classes.rb', line 1894

def key_range_infos
  @key_range_infos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1901
1902
1903
# File 'lib/google/apis/spanner_v1/classes.rb', line 1901

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