Class: Google::Apis::MonitoringV3::QueryTimeSeriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb

Overview

The QueryTimeSeries response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QueryTimeSeriesResponse

Returns a new instance of QueryTimeSeriesResponse.



3969
3970
3971
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3969

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

Instance Attribute Details

#next_page_tokenString

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3951
3952
3953
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3951

def next_page_token
  @next_page_token
end

#partial_errorsArray<Google::Apis::MonitoringV3::Status>

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response. Corresponds to the JSON property partialErrors



3957
3958
3959
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3957

def partial_errors
  @partial_errors
end

#time_series_dataArray<Google::Apis::MonitoringV3::TimeSeriesData>

The time series data. Corresponds to the JSON property timeSeriesData



3962
3963
3964
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3962

def time_series_data
  @time_series_data
end

#time_series_descriptorGoogle::Apis::MonitoringV3::TimeSeriesDescriptor

A descriptor for the labels and points in a time series. Corresponds to the JSON property timeSeriesDescriptor



3967
3968
3969
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3967

def time_series_descriptor
  @time_series_descriptor
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3974
3975
3976
3977
3978
3979
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3974

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
  @time_series_data = args[:time_series_data] if args.key?(:time_series_data)
  @time_series_descriptor = args[:time_series_descriptor] if args.key?(:time_series_descriptor)
end