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

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.

Attributes

  • 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) - Specify whether the Secret must be defined

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.