View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2SecretKeySelector (quiqup_google_api_run v0.28.0)

SecretEnvVarSource represents a source for the value of an EnvVar.

attributes

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 value or an integer for a specific version.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

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

Link to this section Functions

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

Unwrap a decoded JSON object into its complex fields.