EnvVar class

EnvVar represents an environment variable present in a Container.


EnvVar.fromJson(Map _json)


hashCode → int
The hash code for this object. [...]
read-only, inherited
name ↔ String
Name of the environment variable. Must be a C_IDENTIFIER.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
value ↔ String
(Optional) Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
read / write
valueFrom EnvVarSource
(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Source for the environment variable's value. Cannot be used if value is not empty.
read / write


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


operator ==(Object other) → bool
The equality operator. [...]