Secret class

A Secret is a logical secret whose value and versions can be accessed.

A Secret is made up of zero or more SecretVersions that represent the secret data.

Constructors

Secret({Map<String, String>? annotations, String? createTime, CustomerManagedEncryption? customerManagedEncryption, String? etag, String? expireTime, Map<String, String>? labels, String? name, Replication? replication, Rotation? rotation, List<Topic>? topics, String? ttl, Map<String, String>? versionAliases, String? versionDestroyTtl})
Secret.fromJson(Map json_)

Properties

annotations Map<String, String>?
Custom metadata about the secret.
getter/setter pair
createTime String?
The time at which the Secret was created.
getter/setter pair
customerManagedEncryption CustomerManagedEncryption?
The customer-managed encryption configuration of the Regionalised Secrets.
getter/setter pair
etag String?
Etag of the currently stored Secret.
getter/setter pair
expireTime String?
Timestamp in UTC when the Secret is scheduled to expire.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
The labels assigned to this Secret.
getter/setter pair
name String?
The resource name of the Secret in the format projects / * /secrets / * .
getter/setter pair
replication Replication?
The replication policy of the secret data attached to the Secret.
getter/setter pair
rotation Rotation?
Rotation policy attached to the Secret.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topics List<Topic>?
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions.
getter/setter pair
ttl String?
Input only.
getter/setter pair
versionAliases Map<String, String>?
Mapping from version alias to version name.
getter/setter pair
versionDestroyTtl String?
Secret Version TTL after destruction request This is a part of the Delayed secret version destroy feature.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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