public sealed class SecretManagerSecret : IMessage<SecretManagerSecret>, IEquatable<SecretManagerSecret>, IDeepCloneable<SecretManagerSecret>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class SecretManagerSecret.
Pairs a secret environment variable with a SecretVersion in Secret Manager.
Implements
IMessageSecretManagerSecret, IEquatableSecretManagerSecret, IDeepCloneableSecretManagerSecret, 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 |