class Google::Apis::CloudmonitoringV2beta2::MetricDescriptorLabelDescriptor
A label in a metric is a description of this metric, including the key of this description (what the description is), and the value for this description.
Attributes
description[RW]
Label description. Corresponds to the JSON property `description` @return [String]
key[RW]
Label key. Corresponds to the JSON property `key` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 292 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 297 def update!(**args) @description = args[:description] if args.key?(:description) @key = args[:key] if args.key?(:key) end