Environment class
An Environment describes a collection of environment variables to set when executing Tasks.
Constructors
-
Environment({Input<
KMSEnvMap> ? encryptedVariables, Input<Map< ? secretVariables, Input<String, String> >Map< ? variables})String, String> > -
Creates a new Environment.
encryptedVariablesAn encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.secretVariablesA map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.variablesA map of environment variable names to values.const -
Environment.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
encryptedVariables
→ Input<
KMSEnvMap> ? -
An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretVariables
→ Input<
Map< ?String, String> > -
A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
final
-
variables
→ Input<
Map< ?String, String> > -
A map of environment variable names to values.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited