Resource: MetadataSchema
Instance of a general MetadataSchema.
namestring
Output only. The resource name of the MetadataSchema.
schemaVersionstring
The version of the MetadataSchema. The version's format must match the following regular expression: ^[0-9]+[.][0-9]+[.][0-9]+$, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
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
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
Output only. timestamp when this MetadataSchema was created.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
descriptionstring
description of the metadata Schema
| JSON representation |
|---|
{
"name": string,
"schemaVersion": string,
"schema": string,
"schemaType": enum ( |
MetadataSchemaType
Describes the type of the MetadataSchema.
| Enums | |
|---|---|
METADATA_SCHEMA_TYPE_UNSPECIFIED |
Unspecified type for the MetadataSchema. |
ARTIFACT_TYPE |
A type indicating that the MetadataSchema will be used by Artifacts. |
EXECUTION_TYPE |
A typee indicating that the MetadataSchema will be used by Executions. |
CONTEXT_TYPE |
A state indicating that the MetadataSchema will be used by Contexts. |
Methods |
|
|---|---|
|
Creates a MetadataSchema. |
|
Retrieves a specific MetadataSchema. |
|
Lists MetadataSchemas. |