SchemaSettingsResponse

data class SchemaSettingsResponse(val encoding: String, val firstRevisionId: String, val lastRevisionId: String, val schema: String)

Settings for validating messages published against a schema.

Constructors

Link copied to clipboard
fun SchemaSettingsResponse(encoding: String, firstRevisionId: String, lastRevisionId: String, schema: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The encoding of messages validated against schema.

Link copied to clipboard

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

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

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.