SchemaConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
SchemaConfig represents configuration for a schema registry or a specific subject.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
compatibility |
google.cloud.managedkafka_schemaregistry_v1.types.SchemaConfig.CompatibilityType
Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value. This field is a member of oneof _ _compatibility .
|
normalize |
bool
Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value. This field is a member of oneof _ _normalize .
|
alias |
str
Optional. The subject to which this subject is an alias of. Only applicable for subject config. |
Classes
CompatibilityType
CompatibilityType(value)
Compatibility type of the schemas.