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 Google Cloud Build v1 API allows pairing a secret environment variable with a specific version in Secret Manager."],["Version 2.15.0 is the latest available version, with a comprehensive history of versions ranging from 1.0.0 to 2.15.0, all of which are linked to the SecretManagerSecret."],["The `SecretManagerSecret` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, within the `Google.Protobuf` namespace."],["This class includes properties such as `Env` and `VersionName`, allowing users to specify the environment variable name and the SecretVersion resource name, respectively."],["The `VersionNameAsSecretVersionName` property provides a typed view of the `VersionName` property, using the `SecretVersionName` type."]]],[]]