Class: Google::Apis::MonitoringV1::QuerySeriesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ QuerySeriesRequest

Returns a new instance of QuerySeriesRequest.



1093
1094
1095
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1093

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

Instance Attribute Details

#endString

The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. Corresponds to the JSON property end

Returns:

  • (String)


1085
1086
1087
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1085

def end
  @end
end

#startString

The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp. Corresponds to the JSON property start

Returns:

  • (String)


1091
1092
1093
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1091

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1098
1099
1100
1101
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1098

def update!(**args)
  @end = args[:end] if args.key?(:end)
  @start = args[:start] if args.key?(:start)
end