Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema

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

Instance of a general MetadataSchema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MetadataSchema

Returns a new instance of GoogleCloudAiplatformV1beta1MetadataSchema.



10937
10938
10939
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10937

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when this MetadataSchema was created. Corresponds to the JSON property createTime

Returns:

  • (String)


10903
10904
10905
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10903

def create_time
  @create_time
end

#descriptionString

Description of the Metadata Schema Corresponds to the JSON property description

Returns:

  • (String)


10908
10909
10910
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10908

def description
  @description
end

#nameString

Output only. The resource name of the MetadataSchema. Corresponds to the JSON property name

Returns:

  • (String)


10913
10914
10915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10913

def name
  @name
end

#schemaString

Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by title in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 MetadataSchema Object Corresponds to the JSON property schema

Returns:

  • (String)


10922
10923
10924
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10922

def schema
  @schema
end

#schema_typeString

The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema. Corresponds to the JSON property schemaType

Returns:

  • (String)


10928
10929
10930
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10928

def schema_type
  @schema_type
end

#schema_versionString

The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+.+.+$, which would allow to order/ compare different versions. Example: 1.0.0, 1.0.1, etc. Corresponds to the JSON property schemaVersion

Returns:

  • (String)


10935
10936
10937
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10935

def schema_version
  @schema_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10942
10943
10944
10945
10946
10947
10948
10949
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10942

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @schema = args[:schema] if args.key?(:schema)
  @schema_type = args[:schema_type] if args.key?(:schema_type)
  @schema_version = args[:schema_version] if args.key?(:schema_version)
end