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 v2 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `SecretVolume.Types.SecretVersion` class is 1.7.0, with the documentation also available for versions 1.0.0 through 1.6.0."],["This class, `SecretVolume.Types.SecretVersion`, provides configuration for a single secret version and is found within the `Google.Cloud.Functions.V2` namespace."],["It implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class."],["The class includes two constructors, a default constructor and one that takes another `SecretVersion` instance as a parameter to copy it."],["`SecretVersion` has properties for `Path`, specifying the relative path for the secret file, and `Version`, which denotes the version of the secret, with \"latest\" as a preferable option for immediate value updates."]]],[]]