TopicSchemaSettings constructor

const TopicSchemaSettings({
  1. Input<String?>? encoding,
  2. Input<String?>? firstRevisionId,
  3. Input<String?>? lastRevisionId,
  4. required Input<String> schema,
})

Creates a new TopicSchemaSettings. 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 lastRevision 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 firstRevision or any revision created after. schema The name of the schema that messages published should be

Implementation

const TopicSchemaSettings({
  this.encoding,
  this.firstRevisionId,
  this.lastRevisionId,
  required this.schema,
});