public sealed class SecretManagerSecret : IMessage<SecretManagerSecret>, IEquatable<SecretManagerSecret>, IDeepCloneable<SecretManagerSecret>, IBufferMessage, IMessage
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 webpage details the `SecretManagerSecret` class within the `Google.Cloud.CloudBuild.V1` namespace, which is part of the Google Cloud Build .NET library."],["The `SecretManagerSecret` class is used to pair a secret environment variable with a specific version of a secret stored in Google Cloud's Secret Manager."],["The latest version of `SecretManagerSecret` is 2.15.0, and the page lists available versions from 1.0.0 up to the latest, providing links to each version's documentation."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which add specific behaviors and functionalities to the class."],["The class has two constructors, `SecretManagerSecret()` and `SecretManagerSecret(SecretManagerSecret)`, and three properties: `Env`, `VersionName`, and `VersionNameAsSecretVersionName`, detailing the name of the environment variable and the secret version in Google Cloud."]]],[]]