GoogleApi.Run.V1.Model.EnvVarSource (google_api_run v0.23.2) View Source

Cloud Run fully managed: not supported Cloud Run for Anthos: supported EnvVarSource represents a source for the value of an EnvVar.

Attributes

  • configMapKeyRef (type: GoogleApi.Run.V1.Model.ConfigMapKeySelector.t, default: nil) - (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Selects a key of a ConfigMap.
  • secretKeyRef (type: GoogleApi.Run.V1.Model.SecretKeySelector.t, default: nil) - (Optional) Cloud Run fully managed: supported. Selects a key (version) of a secret in Secret Manager. Cloud Run for Anthos: supported. Selects a key of a secret in the pod's namespace.

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.EnvVarSource{
  configMapKeyRef: GoogleApi.Run.V1.Model.ConfigMapKeySelector.t() | nil,
  secretKeyRef: GoogleApi.Run.V1.Model.SecretKeySelector.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.