GoogleApi.CloudRun.V1alpha1.Model.SecretEnvSource (google_api_cloud_run v0.42.0) View Source

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.CloudRun.V1alpha1.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) - Cloud Run fully managed: not supported Cloud Run for Anthos: supported The Secret to select from.
  • optional (type: boolean(), default: nil) - Cloud Run fully managed: not supported Cloud Run for Anthos: supported Specify whether the Secret must be defined +optional

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.SecretEnvSource{
  localObjectReference:
    GoogleApi.CloudRun.V1alpha1.Model.LocalObjectReference.t(),
  name: String.t(),
  optional: boolean()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.