SchemaSettingsResponse class

Settings for validating messages published against a schema.

Constructors

SchemaSettingsResponse({required Input<String> encoding, required Input<String> firstRevisionId, required Input<String> lastRevisionId, required Input<String> schema})
Creates a new SchemaSettingsResponse. encoding Optional. The encoding of messages validated against schema. firstRevisionId Optional. 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 Optional. 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 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.
const
SchemaSettingsResponse.fromMap(Map<String, dynamic> map)
factory

Properties

encoding → Input<String>
Optional. The encoding of messages validated against schema.
final
firstRevisionId → Input<String>
Optional. 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.
final
hashCode → int
The hash code for this object.
no setterinherited
lastRevisionId → Input<String>
Optional. 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.
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