Class: Google::Apis::SpannerV1::VisualizationData
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::VisualizationData
- 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
Instance Attribute Summary collapse
-
#data_source_end_token ⇒ String
The token signifying the end of a data_source.
-
#data_source_separator_token ⇒ String
The token delimiting a datasource name from the rest of a key in a data_source.
-
#diagnostic_messages ⇒ Array<Google::Apis::SpannerV1::DiagnosticMessage>
The list of messages (info, alerts, ...) Corresponds to the JSON property
diagnosticMessages
. -
#end_key_strings ⇒ Array<String>
We discretize the entire keyspace into buckets.
-
#has_pii ⇒ Boolean
(also: #has_pii?)
Whether this scan contains PII.
-
#indexed_keys ⇒ Array<String>
Keys of key ranges that contribute significantly to a given metric Can be thought of as heavy hitters.
-
#key_separator ⇒ String
The token delimiting the key prefixes.
-
#key_unit ⇒ String
The unit for the key: e.g.
-
#metrics ⇒ Array<Google::Apis::SpannerV1::Metric>
The list of data objects for each metric.
-
#prefix_nodes ⇒ Array<Google::Apis::SpannerV1::PrefixNode>
The list of extracted key prefix nodes used in the key prefix hierarchy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VisualizationData
constructor
A new instance of VisualizationData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VisualizationData
Returns a new instance of VisualizationData.
5255 5256 5257 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_end_token ⇒ String
The token signifying the end of a data_source.
Corresponds to the JSON property dataSourceEndToken
5203 5204 5205 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5203 def data_source_end_token @data_source_end_token end |
#data_source_separator_token ⇒ String
The token delimiting a datasource name from the rest of a key in a data_source.
Corresponds to the JSON property dataSourceSeparatorToken
5208 5209 5210 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5208 def data_source_separator_token @data_source_separator_token end |
#diagnostic_messages ⇒ Array<Google::Apis::SpannerV1::DiagnosticMessage>
The list of messages (info, alerts, ...)
Corresponds to the JSON property diagnosticMessages
5213 5214 5215 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5213 def @diagnostic_messages end |
#end_key_strings ⇒ Array<String>
We discretize the entire keyspace into buckets. Assuming each bucket has an
inclusive keyrange and covers keys from k(i) ... k(n). In this case k(n) would
be an end key for a given range. end_key_string is the collection of all such
end keys
Corresponds to the JSON property endKeyStrings
5221 5222 5223 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5221 def end_key_strings @end_key_strings end |
#has_pii ⇒ Boolean Also known as: has_pii?
Whether this scan contains PII.
Corresponds to the JSON property hasPii
5226 5227 5228 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5226 def has_pii @has_pii end |
#indexed_keys ⇒ Array<String>
Keys of key ranges that contribute significantly to a given metric Can be
thought of as heavy hitters.
Corresponds to the JSON property indexedKeys
5233 5234 5235 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5233 def indexed_keys @indexed_keys end |
#key_separator ⇒ String
The token delimiting the key prefixes.
Corresponds to the JSON property keySeparator
5238 5239 5240 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5238 def key_separator @key_separator end |
#key_unit ⇒ String
The unit for the key: e.g. 'key' or 'chunk'.
Corresponds to the JSON property keyUnit
5243 5244 5245 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5243 def key_unit @key_unit end |
#metrics ⇒ Array<Google::Apis::SpannerV1::Metric>
The list of data objects for each metric.
Corresponds to the JSON property metrics
5248 5249 5250 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5248 def metrics @metrics end |
#prefix_nodes ⇒ Array<Google::Apis::SpannerV1::PrefixNode>
The list of extracted key prefix nodes used in the key prefix hierarchy.
Corresponds to the JSON property prefixNodes
5253 5254 5255 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5253 def prefix_nodes @prefix_nodes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 5260 def update!(**args) @data_source_end_token = args[:data_source_end_token] if args.key?(:data_source_end_token) @data_source_separator_token = args[:data_source_separator_token] if args.key?(:data_source_separator_token) @diagnostic_messages = args[:diagnostic_messages] if args.key?(:diagnostic_messages) @end_key_strings = args[:end_key_strings] if args.key?(:end_key_strings) @has_pii = args[:has_pii] if args.key?(:has_pii) @indexed_keys = args[:indexed_keys] if args.key?(:indexed_keys) @key_separator = args[:key_separator] if args.key?(:key_separator) @key_unit = args[:key_unit] if args.key?(:key_unit) @metrics = args[:metrics] if args.key?(:metrics) @prefix_nodes = args[:prefix_nodes] if args.key?(:prefix_nodes) end |