public sealed class SecretManagerSecret : IMessage<SecretManagerSecret>, IEquatable<SecretManagerSecret>, IDeepCloneable<SecretManagerSecret>, IBufferMessage, IMessage
Pairs a secret environment variable with a SecretVersion in Secret Manager.
Implements
IMessage<SecretManagerSecret>, IEquatable<SecretManagerSecret>, IDeepCloneable<SecretManagerSecret>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
SecretManagerSecret()
public SecretManagerSecret()
SecretManagerSecret(SecretManagerSecret)
public SecretManagerSecret(SecretManagerSecret other)
Parameter | |
---|---|
Name | Description |
other | SecretManagerSecret |
Properties
Env
public string Env { get; set; }
Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
Property Value | |
---|---|
Type | Description |
String |
VersionName
public string VersionName { get; set; }
Resource name of the SecretVersion. In format: projects//secrets//versions/*
Property Value | |
---|---|
Type | Description |
String |
VersionNameAsSecretVersionName
public SecretVersionName VersionNameAsSecretVersionName { get; set; }
SecretVersionName-typed view over the VersionName resource name property.
Property Value | |
---|---|
Type | Description |
SecretVersionName |