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.
encodingOptional. The encoding of messages validated againstschema.firstRevisionIdOptional. 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.lastRevisionIdOptional. 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.schemaThe name of the schema that messages published should be validated against. Format isprojects/{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