public sealed class SecretVersion : IMessage<SecretVolume.Types.SecretVersion>, IEquatable<SecretVolume.Types.SecretVersion>, IDeepCloneable<SecretVolume.Types.SecretVersion>, IBufferMessage, IMessage
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 of the secret (version number or the string 'latest'). It is
preferrable 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 webpage details the \u003ccode\u003eSecretVersion\u003c/code\u003e class, which is used for configuring a single version of a secret in Google Cloud Functions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretVersion\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Functions.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Functions.V1.dll\u003c/code\u003e assembly, with the latest version being 2.7.0 and version 1.3.0 being the version for the current document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretVersion\u003c/code\u003e 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, allowing for specific interactions and operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a parameterless one, \u003ccode\u003eSecretVersion()\u003c/code\u003e, and another, \u003ccode\u003eSecretVersion(SecretVolume.Types.SecretVersion other)\u003c/code\u003e, that takes another \u003ccode\u003eSecretVersion\u003c/code\u003e object as input, along with two properties: \u003ccode\u003ePath\u003c/code\u003e, to describe the file path, and \u003ccode\u003eVersion\u003c/code\u003e, which represents the version of the secret.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple prior versions of the documentation listed, ranging from 1.1.0 to 2.6.0, with the latest version being listed as 2.7.0.\u003c/p\u003e\n"]]],[],null,[]]