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 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
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."],[[["The `SecretVersion` class within the Cloud Functions v1 API represents the configuration for a specific version of a secret."],["The latest version of this API is 2.7.0, and it provides a history of versions back to 1.1.0."],["`SecretVersion` implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `Path` property defines the relative location of the secret value file within the mount path, and the `Version` property specifies the version of the secret to use."],["There are 2 constructors to create a `SecretVersion`, one without any parameters and another which accepts a `SecretVolume.Types.SecretVersion` as a parameter."]]],[]]