public sealed class SecretManagerCredential : IMessage<SecretManagerCredential>, IEquatable<SecretManagerCredential>, IDeepCloneable<SecretManagerCredential>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class SecretManagerCredential.
A credential consisting of a username and password, where the password is
stored in a Secret Manager resource.
Note: Secret Manager charges
apply.
[[["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."],[[["This page provides reference documentation for the `SecretManagerCredential` class within the Google Cloud Data Loss Prevention (DLP) v2 API for .NET, detailing its functionality for managing credentials with passwords stored in Secret Manager."],["The `SecretManagerCredential` class, as part of the `Google.Cloud.Dlp.V2` namespace, implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version of this class is available in version 4.16.0, and documentation is provided for versions all the way back to version 2.15.0."],["The class includes properties for `PasswordSecretVersionName` and `Username`, representing the Secret Manager resource path for the password and the associated username, respectively."],["The `SecretManagerCredential` class can be constructed using a default constructor, or by using a constructor that creates a copy of an existing instance."]]],[]]