SchemaSubject(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Subject defines the evolution scope of schemas as a holder of schema versions.
Attributes |
|
---|---|
Name | Description |
name |
str
The name of the subject. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}
or
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}
Subject name {subject} can contain the following:
- Up to 255 UTF-8 bytes.
- Allowed characters: letters (uppercase or lowercase),
numbers, and the following special characters: . ,
`- , _ , + , % `, and |
versions |
MutableSequence[str]
The versions of the subject. |