class Google::Apis::MonitoringV3::LabelValue

A label value.

Attributes

bool_value[RW]

A bool label value. Corresponds to the JSON property `boolValue` @return [Boolean]

bool_value?[RW]

A bool label value. Corresponds to the JSON property `boolValue` @return [Boolean]

int64_value[RW]

An int64 label value. Corresponds to the JSON property `int64Value` @return [Fixnum]

string_value[RW]

A string label value. Corresponds to the JSON property `stringValue` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 1935
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 1940
def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @int64_value = args[:int64_value] if args.key?(:int64_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end