View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretKeySelector (google_api_run v0.30.0)

SecretEnvVarSource represents a source for the value of an EnvVar.

Attributes

  • secret (type: String.t, default: nil) - Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.
  • version (type: String.t, default: nil) - The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretKeySelector{
  secret: String.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.