class Google::Apis::CloudmonitoringV2beta2::TimeseriesDescriptor
TimeseriesDescriptor identifies a single time series.
Attributes
labels[RW]
The label's name. Corresponds to the JSON property `labels` @return [Hash<String,String>]
metric[RW]
The name of the metric. Corresponds to the JSON property `metric` @return [String]
project[RW]
The Developers Console project number to which this time series belongs. Corresponds to the JSON property `project` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 567 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 572 def update!(**args) @labels = args[:labels] if args.key?(:labels) @metric = args[:metric] if args.key?(:metric) @project = args[:project] if args.key?(:project) end