Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Value
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Value
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Value is the value of the field.
Instance Attribute Summary collapse
-
#double_value ⇒ Float
A double value.
-
#int_value ⇒ Fixnum
An integer value.
-
#string_value ⇒ String
A string value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1Value
constructor
A new instance of GoogleCloudAiplatformV1Value.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1Value
Returns a new instance of GoogleCloudAiplatformV1Value.
33285 33286 33287 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#double_value ⇒ Float
A double value.
Corresponds to the JSON property doubleValue
33273 33274 33275 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33273 def double_value @double_value end |
#int_value ⇒ Fixnum
An integer value.
Corresponds to the JSON property intValue
33278 33279 33280 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33278 def int_value @int_value end |
#string_value ⇒ String
A string value.
Corresponds to the JSON property stringValue
33283 33284 33285 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33283 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33290 33291 33292 33293 33294 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 33290 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 |