Environment class

An Environment describes a collection of environment variables to set when executing Tasks.

Constructors

Environment({KMSEnvMap? encryptedVariables, Map<String, String>? secretVariables, Map<String, String>? variables})
Environment.fromJson(Map json_)

Properties

encryptedVariables ↔ AgentKMSEnvMap?
An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretVariables ↔ Map<String, String>?
A map of environment variable names to Secret Manager secret names.
getter/setter pair
variables ↔ Map<String, String>?
A map of environment variable names to values.
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