class Google::Apis::ServicecontrolV1::AttributeValue

The allowed types for [VALUE] in a `[KEY]:` attribute.

Attributes

bool_value[RW]

A Boolean value represented by `true` or `false`. Corresponds to the JSON property `boolValue` @return [Boolean]

bool_value?[RW]

A Boolean value represented by `true` or `false`. Corresponds to the JSON property `boolValue` @return [Boolean]

int_value[RW]

A 64-bit signed integer. Corresponds to the JSON property `intValue` @return [Fixnum]

string_value[RW]

Represents a string that might be shortened to a specified length. Corresponds to the JSON property `stringValue` @return [Google::Apis::ServicecontrolV1::TruncatableString]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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