TopicSchemaSettingsArgs

data class TopicSchemaSettingsArgs(val encoding: Output<String>? = null, val schema: Output<String>) : ConvertibleToJava<TopicSchemaSettingsArgs>

Constructors

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

Properties

Link copied to clipboard
val encoding: Output<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
val schema: Output<String>

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.

Functions

Link copied to clipboard
open override fun toJava(): TopicSchemaSettingsArgs