View Source GoogleApi.CloudFunctions.V1.Model.SecretVersion (google_api_cloud_functions v0.37.0)

Configuration for a single version.

Attributes

  • path (type: String.t, default: nil) - Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and path as /secret_foo would mount the secret value file at /etc/secrets/secret_foo.
  • version (type: String.t, default: nil) - Version of the secret (version number or the string 'latest'). It is preferable to use latest version with secret volumes as secret value changes are reflected immediately.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudFunctions.V1.Model.SecretVersion{
  path: String.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.