GoogleApi.Run.V1.Model.EnvVar (google_api_run v0.24.5) View Source

EnvVar represents an environment variable present in a Container.

Attributes

  • name (type: String.t, default: nil) - Name of the environment variable. Must be a C_IDENTIFIER.
  • value (type: String.t, default: nil) - (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 "".
  • valueFrom (type: GoogleApi.Run.V1.Model.EnvVarSource.t, default: nil) - (Optional) Source for the environment variable's value. Only supports secret_key_ref. Source for the environment variable's value. Cannot be used if value is not empty.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Run.V1.Model.EnvVar{
  name: String.t() | nil,
  value: String.t() | nil,
  valueFrom: GoogleApi.Run.V1.Model.EnvVarSource.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.