public sealed class SecretVolume.Types.SecretVersion : IMessage<SecretVolume.Types.SecretVersion>, IEquatable<SecretVolume.Types.SecretVersion>, IDeepCloneable<SecretVolume.Types.SecretVersion>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v1 API class SecretVolume.Types.SecretVersion.
Relative path of the file under the mount path where the secret value for
this version is fetched and made available. For example, setting the
mount_path as '/etc/secrets' and path as /secret_foo mounts the
secret value file at /etc/secrets/secret_foo.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eSecretVolume.Types.SecretVersion\u003c/code\u003e class within the Google Cloud Functions v1 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretVolume.Types.SecretVersion\u003c/code\u003e class represents the configuration for a single version of a secret, providing control over how and where the secret's value is made accessible within a mounted file system.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePath\u003c/code\u003e property specifies the file's relative location under the mount path, and the \u003ccode\u003eVersion\u003c/code\u003e property indicates the secret's version, with "latest" being the recommended value for dynamic updates.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also contains a version history, going from 2.7.0 (latest) down to 1.1.0, with links to the respective version's class documentation.\u003c/p\u003e\n"]]],[],null,[]]