Class SchemaSettings (2.3.0)

SchemaSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for validating messages published against a schema.

Attributes

NameDescription
schema str
Required. The name of the schema that messages published should be validated against. Format is projects/{project}/schemas/{schema}. The value of this field will be _deleted-schema_ if the schema has been deleted.
encoding .gp_schema.Encoding
The encoding of messages validated against schema.