GetTopicSchemaSetting class
Constructors
-
GetTopicSchemaSetting({required Input<String> encoding, required Input<String> firstRevisionId, required Input<String> lastRevisionId, required Input<String> schema})
-
Creates a new GetTopicSchemaSetting.
encoding The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: "ENCODING_UNSPECIFIED", "JSON", "BINARY"
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
-
GetTopicSchemaSetting.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
encoding
→ Input<String>
-
The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values:
"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