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.



1567
1568
1569
# File 'lib/google/apis/spanner_v1/classes.rb', line 1567

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:



1565
1566
1567
# File 'lib/google/apis/spanner_v1/classes.rb', line 1565

def key_range_infos
  @key_range_infos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1572
1573
1574
# File 'lib/google/apis/spanner_v1/classes.rb', line 1572

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