class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Value

Data type and value of a parameter.

Attributes

bool_value[RW]

Represents a boolean value. Corresponds to the JSON property `boolValue` @return [Boolean]

bool_value?[RW]

Represents a boolean value. Corresponds to the JSON property `boolValue` @return [Boolean]

double_value[RW]

Represents a double value. Corresponds to the JSON property `doubleValue` @return [Float]

int64_value[RW]

Represents an int64 value. Corresponds to the JSON property `int64Value` @return [Fixnum]

proto_value[RW]

Represents an 'Any' proto value. Corresponds to the JSON property `protoValue` @return [Hash<String,Object>]

string_value[RW]

Represents a string value. Corresponds to the JSON property `stringValue` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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