TopicSchemaSettings

data class TopicSchemaSettings(val encoding: String? = null, val schema: String)

Constructors

Link copied to clipboard
constructor(encoding: String? = null, schema: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val encoding: String? = null

The encoding of messages validated against schema. Default value is ENCODING_UNSPECIFIED. Possible values are: ENCODING_UNSPECIFIED, JSON, BINARY.

Link copied to clipboard

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.