com.google.pubsub.v1.pubsub.SchemaSettings
See theSchemaSettings companion object
final case class SchemaSettings(schema: String, encoding: Encoding, firstRevisionId: String, lastRevisionId: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[SchemaSettings]
Settings for validating messages published against a schema.
Attributes
- encoding
The encoding of messages validated against
schema
.- firstRevisionId
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.
- lastRevisionId
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.
- schema
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.- Companion:
- object
- Source:
- SchemaSettings.scala
- Graph
- Supertypes
- trait Updatable[SchemaSettings]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any