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."],[[["This document provides reference information for the `SecretManagerSecret` class within the Google Cloud Build v1 API, specifically version 2.11.0, and outlines the class's purpose of pairing secret environment variables with Secret Manager versions."],["The `SecretManagerSecret` class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its integration with the .NET framework and Google Protobuf."],["The class has two constructors: a default one and another that takes a `SecretManagerSecret` object, likely for cloning purposes."],["`SecretManagerSecret` includes properties such as `Env`, which stores the name of the environment variable, and `VersionName`, which holds the resource name of the SecretVersion."],["The document lists all the other versions available of `SecretManagerSecret`, from version `2.15.0` (latest) all the way down to version `1.0.0`."]]],[]]