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

EnvVar represents an environment variable present in a Container.

Attributes

  • name (type: String.t, default: nil) - Required. Name of the environment variable.
  • value (type: String.t, default: nil) - Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run.
  • valueFrom (type: GoogleApi.Run.V1.Model.EnvVarSource.t, default: nil) - Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.