class Google::Apis::CloudlatencytestV2::StringValue

Attributes

label[RW]

Corresponds to the JSON property `label` @return [String]

value[RW]

Corresponds to the JSON property `value` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/cloudlatencytest_v2/classes.rb, line 188
def update!(**args)
  @label = args[:label] if args.key?(:label)
  @value = args[:value] if args.key?(:value)
end