class Google::Apis::CloudmonitoringV2beta2::WriteTimeseriesRequest
The request of cloudmonitoring.timeseries.write
Attributes
common_labels[RW]
The label's name. Corresponds to the JSON property `commonLabels` @return [Hash<String,String>]
timeseries[RW]
Provide time series specific labels and the data points for each time series. The labels in timeseries and the #common_labels should form a complete list of labels that required by the metric. Corresponds to the JSON property `timeseries` @return [Array<Google::Apis::CloudmonitoringV2beta2::TimeseriesPoint>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 647 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 652 def update!(**args) @common_labels = args[:common_labels] if args.key?(:common_labels) @timeseries = args[:timeseries] if args.key?(:timeseries) end