Topic class Null safety

A topic resource.

Constructors

Topic({String? kmsKeyName, Map<String, String>? labels, String? messageRetentionDuration, MessageStoragePolicy? messageStoragePolicy, String? name, bool? satisfiesPzs, SchemaSettings? schemaSettings})
Topic.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
kmsKeyName String?
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic.
read / write
labels Map<String, String>?
See Creating and managing labels.
read / write
messageRetentionDuration String?
Indicates the minimum duration to retain a message after it is published to the topic.
read / write
messageStoragePolicy MessageStoragePolicy?
Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored.
read / write
name String?
The name of the topic.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
satisfiesPzs bool?
Reserved for future use.
read / write
schemaSettings SchemaSettings?
Settings for validating messages published against a schema.
read / write

Methods

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

Operators

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