SchemaSettingsArgs

data class SchemaSettingsArgs(val encoding: Output<SchemaSettingsEncoding>? = null, val firstRevisionId: Output<String>? = null, val lastRevisionId: Output<String>? = null, val schema: Output<String>) : ConvertibleToJava<SchemaSettingsArgs>

Settings for validating messages published against a schema.

Constructors

Link copied to clipboard
fun SchemaSettingsArgs(encoding: Output<SchemaSettingsEncoding>? = null, firstRevisionId: Output<String>? = null, lastRevisionId: Output<String>? = null, schema: Output<String>)

Functions

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

Properties

Link copied to clipboard
val encoding: Output<SchemaSettingsEncoding>? = null

The encoding of messages validated against schema.

Link copied to clipboard
val firstRevisionId: Output<String>? = null

The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against last_revision or any revision created before.

Link copied to clipboard
val lastRevisionId: Output<String>? = null

The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against first_revision or any revision created after.

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.