Resource: MetadataSchema
Instance of a general MetadataSchema.
name
string
Output only. The resource name of the MetadataSchema.
schemaVersion
string
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.
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
schemaType
enum ( MetadataSchemaType
)
The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
createTime
string ( Timestamp
format)
Output only. timestamp when this MetadataSchema was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z"
and "2014-10-02T15:01:23.045123456Z"
.
description
string
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. |