Class: Google::Apis::MonitoringV1::QuerySeriesRequest
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::QuerySeriesRequest
- 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
QuerySeries holds all parameters of the Prometheus upstream API for querying series.
Instance Attribute Summary collapse
-
#end ⇒ String
The end time to evaluate the query for.
-
#start ⇒ String
The start time to evaluate the query for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QuerySeriesRequest
constructor
A new instance of QuerySeriesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QuerySeriesRequest
Returns a new instance of QuerySeriesRequest.
1765 1766 1767 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1765 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ String
The end time to evaluate the query for. Either floating point UNIX seconds or
RFC3339 formatted timestamp.
Corresponds to the JSON property end
1757 1758 1759 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1757 def end @end end |
#start ⇒ String
The start time to evaluate the query for. Either floating point UNIX seconds
or RFC3339 formatted timestamp.
Corresponds to the JSON property start
1763 1764 1765 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1763 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1770 1771 1772 1773 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1770 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |