View Source GoogleApi.Run.V1.Model.SecretEnvSource (google_api_run v0.26.1)

Not supported by Cloud Run SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.


  • localObjectReference (type: GoogleApi.Run.V1.Model.LocalObjectReference.t, default: nil) - This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead.
  • name (type: String.t, default: nil) - The Secret to select from.
  • optional (type: boolean(), default: nil) - (Optional) Specify whether the Secret must be defined

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Run.V1.Model.SecretEnvSource{
  localObjectReference: GoogleApi.Run.V1.Model.LocalObjectReference.t() | nil,
  name: String.t() | nil,
  optional: boolean() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.