TopicSchemaSettings class

Constructors

TopicSchemaSettings({Input<String?>? encoding, Input<String?>? firstRevisionId, Input<String?>? lastRevisionId, 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
const
TopicSchemaSettings.fromMap(Map<String, dynamic> map)
factory

Properties

encoding → Input<String?>?
The encoding of messages validated against schema. Default value is ENCODING_UNSPECIFIED. Possible values are: ENCODING_UNSPECIFIED, JSON, BINARY.
final
firstRevisionId → Input<String?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
lastRevisionId → Input<String?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → Input<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited