class Google::Apis::SpannerV1::KeyRangeInfo
A message representing information for a key range (possibly one key).
Attributes
The list of context values for this key range. Corresponds to the JSON property `contextValues` @return [Array<Google::Apis::SpannerV1::ContextValue>]
The index of the end key in indexed_keys. Corresponds to the JSON property `endKeyIndex` @return [Fixnum]
A message representing a user-facing string whose value may need to be translated before being displayed. Corresponds to the JSON property `info` @return [Google::Apis::SpannerV1::LocalizedString]
The number of keys this range covers. Corresponds to the JSON property `keysCount` @return [Fixnum]
A message representing a user-facing string whose value may need to be translated before being displayed. Corresponds to the JSON property `metric` @return [Google::Apis::SpannerV1::LocalizedString]
The index of the start key in indexed_keys. Corresponds to the JSON property `startKeyIndex` @return [Fixnum]
The time offset. This is the time since the start of the time interval. Corresponds to the JSON property `timeOffset` @return [String]
A message representing a user-facing string whose value may need to be translated before being displayed. Corresponds to the JSON property `unit` @return [Google::Apis::SpannerV1::LocalizedString]
The value of the metric. Corresponds to the JSON property `value` @return [Float]
Public Class Methods
# File lib/google/apis/spanner_v1/classes.rb, line 1885 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 1890 def update!(**args) @context_values = args[:context_values] if args.key?(:context_values) @end_key_index = args[:end_key_index] if args.key?(:end_key_index) @info = args[:info] if args.key?(:info) @keys_count = args[:keys_count] if args.key?(:keys_count) @metric = args[:metric] if args.key?(:metric) @start_key_index = args[:start_key_index] if args.key?(:start_key_index) @time_offset = args[:time_offset] if args.key?(:time_offset) @unit = args[:unit] if args.key?(:unit) @value = args[:value] if args.key?(:value) end