SecretEnvVar class Null safety

Configuration for a secret environment variable.

It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable. Secret value is not a part of the configuration. Secret values are only fetched when a new clone starts.

Constructors

SecretEnvVar({String? key, String? projectId, String? secret, String? version})
SecretEnvVar.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
key String?
Name of the environment variable.
read / write
projectId String?
Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secret String?
Name of the secret in secret manager (not the full resource name).
read / write
version String?
Version of the secret (version number or the string 'latest'). [...]
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