public sealed class SecretVersion : IMessage<SecretVolume.Types.SecretVersion>, IEquatable<SecretVolume.Types.SecretVersion>, IDeepCloneable<SecretVolume.Types.SecretVersion>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Functions v2beta API class SecretVolume.Types.SecretVersion.
Configuration for a single version.
Implements
IMessage<SecretVolume.Types.SecretVersion>, IEquatable<SecretVolume.Types.SecretVersion>, IDeepCloneable<SecretVolume.Types.SecretVersion>, IBufferMessage, IMessageNamespace
Google.Cloud.Functions.V2BetaAssembly
Google.Cloud.Functions.V2Beta.dll
Constructors
SecretVersion()
public SecretVersion()
SecretVersion(SecretVolume.Types.SecretVersion)
public SecretVersion(SecretVolume.Types.SecretVersion other)
Parameter | |
---|---|
Name | Description |
other | SecretVolume.Types.SecretVersion |
Properties
Path
public string Path { get; set; }
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 |
String |
Version
public string Version { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |