Cloud Build v1 API - Class SecretManagerSecret (2.3.0)

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.

Inheritance

object > SecretManagerSecret

Namespace

GoogleCloudGoogle.Cloud.CloudBuildV1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

SecretManagerSecret()

public SecretManagerSecret()

SecretManagerSecret(SecretManagerSecret)

public SecretManagerSecret(SecretManagerSecret other)
Parameter
NameDescription
otherSecretManagerSecret

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
TypeDescription
string

VersionName

public string VersionName { get; set; }

Resource name of the SecretVersion. In format: projects//secrets//versions/*

Property Value
TypeDescription
string

VersionNameAsSecretVersionName

public SecretVersionName VersionNameAsSecretVersionName { get; set; }

SecretVersionName-typed view over the VersionName resource name property.

Property Value
TypeDescription
SecretVersionName