Class: Google::Apis::SpannerV1::KeyRangeInfos
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::KeyRangeInfos
- 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 list of specific information for multiple key ranges.
Instance Attribute Summary collapse
-
#infos ⇒ Array<Google::Apis::SpannerV1::KeyRangeInfo>
The list individual KeyRangeInfos.
-
#total_size ⇒ Fixnum
The total size of the list of all KeyRangeInfos.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyRangeInfos
constructor
A new instance of KeyRangeInfos.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeyRangeInfos
Returns a new instance of KeyRangeInfos.
1881 1882 1883 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#infos ⇒ Array<Google::Apis::SpannerV1::KeyRangeInfo>
The list individual KeyRangeInfos.
Corresponds to the JSON property infos
1872 1873 1874 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1872 def infos @infos end |
#total_size ⇒ Fixnum
The total size of the list of all KeyRangeInfos. This may be larger than the
number of repeated messages above. If that is the case, this number may be
used to determine how many are not being shown.
Corresponds to the JSON property totalSize
1879 1880 1881 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1879 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1886 1887 1888 1889 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 1886 def update!(**args) @infos = args[:infos] if args.key?(:infos) @total_size = args[:total_size] if args.key?(:total_size) end |