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.
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.
[[["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."],[[["The `SecretManagerSecret` class in the Cloud Build v1 API allows pairing a secret environment variable with a specific version in Secret Manager."],["The latest version of the documentation provided is 2.15.0, with multiple prior versions available, ranging from 1.0.0 to 2.14.0."],["The `SecretManagerSecret` class inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`SecretManagerSecret` objects can be constructed using a default constructor or by providing another `SecretManagerSecret` object, allowing for easy instantiation and cloning."],["It has properties, such as `Env` which is the name of the variable, and `VersionName` which references the secret version, and `VersionNameAsSecretVersionName`, which is a typed view over the resource name."]]],[]]