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-03-24 UTC."],[[["The `SecretManagerCredential` class in the Google Cloud Data Loss Prevention v2 API represents a credential using a username and a password stored within a Secret Manager resource."],["The latest version of the `SecretManagerCredential` class is 4.16.0, with numerous previous versions available, ranging from 2.15.0 to 4.15.0."],["`SecretManagerCredential` implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class requires a `PasswordSecretVersionName` and a `Username`, both of which are strings."],["The secret manager has associated costs that should be taken into consideration as indicated by the warning."]]],[]]