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.
Property Value
Type
Description
System.String
Version
public string Version { get; set; }
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"]],[["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."],[[["This document outlines the `SecretVersion` class, which is used to configure a single version of a secret for use within Google Cloud Functions."],["`SecretVersion` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enabling it to be used in a variety of contexts."],["The class has two constructors, one default and one that takes another `SecretVersion` object to copy from, allowing for easy instantiation and duplication."],["`SecretVersion` includes two properties, `Path` and `Version`, which define the relative file path where the secret value will be mounted and the specific version of the secret to be used, respectively."],["There is a list of versions provided, ranging from 1.1.0 to the latest 2.7.0, with each of them offering access to their own documentation."]]],[]]