Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema
- 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
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Description of the Metadata Schema Corresponds to the JSON property
description. -
#name ⇒ String
Output only.
-
#schema ⇒ String
Required.
-
#schema_type ⇒ String
The type of the MetadataSchema.
-
#schema_version ⇒ String
The version of the MetadataSchema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MetadataSchema
constructor
A new instance of GoogleCloudAiplatformV1beta1MetadataSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MetadataSchema
Returns a new instance of GoogleCloudAiplatformV1beta1MetadataSchema.
16874 16875 16876 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16874 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this MetadataSchema was created.
Corresponds to the JSON property createTime
16840 16841 16842 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16840 def create_time @create_time end |
#description ⇒ String
Description of the Metadata Schema
Corresponds to the JSON property description
16845 16846 16847 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16845 def description @description end |
#name ⇒ String
Output only. The resource name of the MetadataSchema.
Corresponds to the JSON property name
16850 16851 16852 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16850 def name @name end |
#schema ⇒ String
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
16859 16860 16861 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16859 def schema @schema end |
#schema_type ⇒ String
The type of the MetadataSchema. This is a property that identifies which
metadata types will use the MetadataSchema.
Corresponds to the JSON property schemaType
16865 16866 16867 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16865 def schema_type @schema_type end |
#schema_version ⇒ String
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
16872 16873 16874 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16872 def schema_version @schema_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16879 16880 16881 16882 16883 16884 16885 16886 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16879 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 |