Class: Google::Apis::MonitoringV1::TimeSeriesTable

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TimeSeriesTable

Returns a new instance of TimeSeriesTable.



2640
2641
2642
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2640

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#column_settingsArray<Google::Apis::MonitoringV1::ColumnSettings>

Optional. The list of the persistent column settings for the table. Corresponds to the JSON property columnSettings



2628
2629
2630
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2628

def column_settings
  @column_settings
end

#data_setsArray<Google::Apis::MonitoringV1::TableDataSet>

Required. The data displayed in this table. Corresponds to the JSON property dataSets



2633
2634
2635
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2633

def data_sets
  @data_sets
end

#metric_visualizationString

Optional. Store rendering strategy Corresponds to the JSON property metricVisualization

Returns:

  • (String)


2638
2639
2640
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2638

def metric_visualization
  @metric_visualization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2645
2646
2647
2648
2649
# File 'lib/google/apis/monitoring_v1/classes.rb', line 2645

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