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-04-09 UTC."],[[["The `SecretManagerSecret` class in the Google Cloud Build v1 API allows pairing a secret environment variable with a specific version in Secret Manager."],["This class has a list of versions ranging from the latest, 2.15.0, down to 1.0.0, which users can access for the SecretManagerSecret class."],["The `SecretManagerSecret` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering functionalities for message handling, comparison, deep cloning, and buffered message operations."],["Key properties of `SecretManagerSecret` include `Env` (environment variable name) and `VersionName` (resource name of the SecretVersion), alongside a `VersionNameAsSecretVersionName` property providing a typed view of the version name."]]],[]]