Class SchemaSettings (2.9.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 google.pubsub_v1.types.Encoding
The encoding of messages validated against schema.