Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataValue

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 of Metadata, including all types available in data schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MetadataValue

Returns a new instance of GoogleCloudAiplatformV1beta1MetadataValue.



26294
26295
26296
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26294

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Value of boolean type metadata. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


26266
26267
26268
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26266

def bool_value
  @bool_value
end

#datetime_valueString

Value of date time type metadata. Corresponds to the JSON property datetimeValue

Returns:

  • (String)


26272
26273
26274
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26272

def datetime_value
  @datetime_value
end

#float_valueFloat

Value of float type metadata. Corresponds to the JSON property floatValue

Returns:

  • (Float)


26277
26278
26279
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26277

def float_value
  @float_value
end

#int_valueFixnum

Value of int type metadata. Corresponds to the JSON property intValue

Returns:

  • (Fixnum)


26282
26283
26284
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26282

def int_value
  @int_value
end

#list_valueGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataList

List representation in metadata. Corresponds to the JSON property listValue



26287
26288
26289
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26287

def list_value
  @list_value
end

#str_valueString

Value of string type metadata. Corresponds to the JSON property strValue

Returns:

  • (String)


26292
26293
26294
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26292

def str_value
  @str_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26299
26300
26301
26302
26303
26304
26305
26306
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26299

def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @datetime_value = args[:datetime_value] if args.key?(:datetime_value)
  @float_value = args[:float_value] if args.key?(:float_value)
  @int_value = args[:int_value] if args.key?(:int_value)
  @list_value = args[:list_value] if args.key?(:list_value)
  @str_value = args[:str_value] if args.key?(:str_value)
end