Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Value

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Value is the value of the field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Value

Returns a new instance of GoogleCloudAiplatformV1beta1Value.



30305
30306
30307
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30305

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#double_valueFloat

A double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


30293
30294
30295
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30293

def double_value
  @double_value
end

#int_valueFixnum

An integer value. Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


30298
30299
30300
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30298

def int_value
  @int_value
end

#string_valueString

A string value. Corresponds to the JSON property stringValue

Returns:

  • (String)


30303
30304
30305
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30303

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30310
30311
30312
30313
30314
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30310

def update!(**args)
  @double_value = args[:double_value] if args.key?(:double_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end