Class: Google::Apis::SpannerV1::IndexedKeyRangeInfos
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::IndexedKeyRangeInfos
- 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
-
#key_range_infos ⇒ Hash<String,Google::Apis::SpannerV1::KeyRangeInfos>
A (sparse) mapping from key bucket index to the KeyRangeInfos for that key bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IndexedKeyRangeInfos
constructor
A new instance of IndexedKeyRangeInfos.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_infos ⇒ Hash<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
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 |