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.



3245
3246
3247
# File 'lib/google/apis/spanner_v1/classes.rb', line 3245

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:



3243
3244
3245
# File 'lib/google/apis/spanner_v1/classes.rb', line 3243

def key_range_infos
  @key_range_infos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3250
3251
3252
# File 'lib/google/apis/spanner_v1/classes.rb', line 3250

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