Class: Google::Apis::MonitoringV3::QueryTimeSeriesRequest
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::QueryTimeSeriesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb
Overview
The QueryTimeSeries request.
Instance Attribute Summary collapse
-
#page_size ⇒ Fixnum
A positive number that is the maximum number of time_series_data to return.
-
#page_token ⇒ String
If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method.
-
#query ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryTimeSeriesRequest
constructor
A new instance of QueryTimeSeriesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QueryTimeSeriesRequest
Returns a new instance of QueryTimeSeriesRequest.
3070 3071 3072 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3070 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_size ⇒ Fixnum
A positive number that is the maximum number of time_series_data to return.
Corresponds to the JSON property pageSize
3055 3056 3057 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3055 def page_size @page_size end |
#page_token ⇒ String
If this field is not empty then it must contain the nextPageToken value
returned by a previous call to this method. Using this field causes the method
to return additional results from the previous method call.
Corresponds to the JSON property pageToken
3062 3063 3064 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3062 def page_token @page_token end |
#query ⇒ String
Required. The query in the Monitoring Query Language (https://cloud.google.com/
monitoring/mql/reference) format. The default time zone is in UTC.
Corresponds to the JSON property query
3068 3069 3070 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3068 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3075 3076 3077 3078 3079 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3075 def update!(**args) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @query = args[:query] if args.key?(:query) end |