REST Resource: projects.locations.schemas.schemaVersions

Resource: SchemaVersion

SchemaVersion is a version of the Schema which is created in SchemaGroup.

JSON representation
{
  "name": string,
  "displayName": string,
  "labels": {
    string: string,
    ...
  },
  "createTime": string,
  "schema": {
    object (DocumentSchema)
  }
}
Fields
name

string

Identifier. The resource name of the SchemaVersion. Format: projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schemaVersion}

displayName

string

Optional. The user-defined name of the SchemaVersion.

labels

map (key: string, value: string)

Optional. The Google Cloud labels for the SchemaVersion.

createTime

string (Timestamp format)

Output only. The time when the SchemaVersion 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".

schema

object (DocumentSchema)

Required. The schema of the SchemaVersion.

Methods

create

Creates a schema version.

delete

Deletes a schema version.

generate

Generates a schema version.

get

Gets a schema version.

list

Lists SchemaVersions.

patch

Updates a schema version.