REST Resource: projects.locations.schemaRegistries.subjects.versions

Resource: SchemaVersion

Version of a schema.

JSON representation
{
  "subject": string,
  "version": integer,
  "id": integer,
  "schemaType": enum (SchemaType),
  "schema": string,
  "references": [
    {
      object (SchemaReference)
    }
  ]
}
Fields
subject

string

Required. The subject of the version.

version

integer

Required. The version ID

id

integer

Required. The schema ID.

schemaType

enum (SchemaType)

Optional. The schema type of the schema.

schema

string

Required. The schema payload.

references[]

object (SchemaReference)

Optional. The schema references used by the schema.

Methods

create

Register a new version under a given subject with the given schema.

delete

Delete a version of a subject.

get

Get a versioned schema (schema with subject/version) of a subject.

getSchema

Get the schema string only for a version of a subject.

list

Get all versions of a subject.