Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue

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

Memory metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MemoryMetadataValue

Returns a new instance of GoogleCloudAiplatformV1beta1MemoryMetadataValue.



25887
25888
25889
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25887

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Represents a boolean value. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


25868
25869
25870
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25868

def bool_value
  @bool_value
end

#double_valueFloat

Represents a double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


25874
25875
25876
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25874

def double_value
  @double_value
end

#string_valueString

Represents a string value. Corresponds to the JSON property stringValue

Returns:

  • (String)


25879
25880
25881
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25879

def string_value
  @string_value
end

#timestamp_valueString

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

Returns:

  • (String)


25885
25886
25887
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25885

def timestamp_value
  @timestamp_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25892
25893
25894
25895
25896
25897
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25892

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