Class: Google::Apis::MonitoringV1::TimeSeriesTable
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::TimeSeriesTable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb
Overview
A table that displays time series data.
Instance Attribute Summary collapse
-
#column_settings ⇒ Array<Google::Apis::MonitoringV1::ColumnSettings>
Optional.
-
#data_sets ⇒ Array<Google::Apis::MonitoringV1::TableDataSet>
Required.
-
#metric_visualization ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeSeriesTable
constructor
A new instance of TimeSeriesTable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimeSeriesTable
Returns a new instance of TimeSeriesTable.
2639 2640 2641 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_settings ⇒ Array<Google::Apis::MonitoringV1::ColumnSettings>
Optional. The list of the persistent column settings for the table.
Corresponds to the JSON property columnSettings
2627 2628 2629 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2627 def column_settings @column_settings end |
#data_sets ⇒ Array<Google::Apis::MonitoringV1::TableDataSet>
Required. The data displayed in this table.
Corresponds to the JSON property dataSets
2632 2633 2634 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2632 def data_sets @data_sets end |
#metric_visualization ⇒ String
Optional. Store rendering strategy
Corresponds to the JSON property metricVisualization
2637 2638 2639 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2637 def metric_visualization @metric_visualization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2644 2645 2646 2647 2648 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2644 def update!(**args) @column_settings = args[:column_settings] if args.key?(:column_settings) @data_sets = args[:data_sets] if args.key?(:data_sets) @metric_visualization = args[:metric_visualization] if args.key?(:metric_visualization) end |