Class: Google::Apis::MonitoringV1::OpsAnalyticsQuery
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::OpsAnalyticsQuery
- 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
Preview: A query that produces an aggregated response and supporting data. This is a preview feature and may be subject to change before final release.
Instance Attribute Summary collapse
-
#sql ⇒ String
A SQL query to fetch time series, category series, or numeric series data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OpsAnalyticsQuery
constructor
A new instance of OpsAnalyticsQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OpsAnalyticsQuery
Returns a new instance of OpsAnalyticsQuery.
1230 1231 1232 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sql ⇒ String
A SQL query to fetch time series, category series, or numeric series data.
Corresponds to the JSON property sql
1228 1229 1230 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1228 def sql @sql end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1235 1236 1237 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1235 def update!(**args) @sql = args[:sql] if args.key?(:sql) end |