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, while the documentation also provides access to past versions, including version 1.4.0 which is discussed in more depth."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionality for message handling, equality checks, deep cloning, and buffer message operations."],["The class contains two properties, `Env` and `VersionName`, to designate the environment variable name and the secret version name respectively, and also the `VersionNameAsSecretVersionName` property, for typed view over the version name."]]],[]]