Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryMetadataValue

Inherits:
Object
  • Object
show all
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

Memory metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1MemoryMetadataValue

Returns a new instance of GoogleCloudAiplatformV1MemoryMetadataValue.



20589
20590
20591
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20589

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Boolean value. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


20570
20571
20572
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20570

def bool_value
  @bool_value
end

#double_valueFloat

Double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


20576
20577
20578
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20576

def double_value
  @double_value
end

#string_valueString

String value. Corresponds to the JSON property stringValue

Returns:

  • (String)


20581
20582
20583
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20581

def string_value
  @string_value
end

#timestamp_valueString

Timestamp value. When filtering on timestamp values, only the seconds field will be compared. Corresponds to the JSON property timestampValue

Returns:

  • (String)


20587
20588
20589
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20587

def timestamp_value
  @timestamp_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20594
20595
20596
20597
20598
20599
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20594

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