Class: Google::Apis::MonitoringV1::TableDataSet
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::TableDataSet
- 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
Groups a time series query definition with table options.
Instance Attribute Summary collapse
-
#min_alignment_period ⇒ String
Optional.
-
#table_display_options ⇒ Google::Apis::MonitoringV1::TableDisplayOptions
Table display options that can be reused.
-
#table_template ⇒ String
Optional.
-
#time_series_query ⇒ Google::Apis::MonitoringV1::TimeSeriesQuery
TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableDataSet
constructor
A new instance of TableDataSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableDataSet
Returns a new instance of TableDataSet.
1433 1434 1435 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1433 def initialize(**args) update!(**args) end |
Instance Attribute Details
#min_alignment_period ⇒ String
Optional. The lower bound on data point frequency for this data set,
implemented by specifying the minimum alignment period to use in a time series
query For example, if the data is published once every 10 minutes, the
min_alignment_period should be at least 10 minutes. It would not make sense to
fetch and align data at one minute intervals.
Corresponds to the JSON property minAlignmentPeriod
1413 1414 1415 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1413 def min_alignment_period @min_alignment_period end |
#table_display_options ⇒ Google::Apis::MonitoringV1::TableDisplayOptions
Table display options that can be reused.
Corresponds to the JSON property tableDisplayOptions
1418 1419 1420 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1418 def @table_display_options end |
#table_template ⇒ String
Optional. A template string for naming TimeSeries in the resulting data set.
This should be a string with interpolations of the form $label_name, which
will resolve to the label's value i.e. "$resource.labels.project_id."
Corresponds to the JSON property tableTemplate
1425 1426 1427 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1425 def table_template @table_template end |
#time_series_query ⇒ Google::Apis::MonitoringV1::TimeSeriesQuery
TimeSeriesQuery collects the set of supported methods for querying time series
data from the Stackdriver metrics API.
Corresponds to the JSON property timeSeriesQuery
1431 1432 1433 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1431 def time_series_query @time_series_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1438 1439 1440 1441 1442 1443 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1438 def update!(**args) @min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period) @table_display_options = args[:table_display_options] if args.key?(:table_display_options) @table_template = args[:table_template] if args.key?(:table_template) @time_series_query = args[:time_series_query] if args.key?(:time_series_query) end |