public sealed class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials : IMessage<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IEquatable<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IDeepCloneable<RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class RemoteRepositoryConfig.Types.UpstreamCredentials.Types.UsernamePasswordCredentials.
The Secret Manager key version that holds the password to access the
remote repository. Must be in the format of
projects/{project}/secrets/{secret}/versions/{version}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eUsernamePasswordCredentials\u003c/code\u003e class within the Google Cloud Artifact Registry v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUsernamePasswordCredentials\u003c/code\u003e class is used to store username and password credentials for accessing remote repositories and implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.9.0, and the page lists documentation for all versions down to 1.0.0, each linking to the \u003ccode\u003eUsernamePasswordCredentials\u003c/code\u003e class within that respective version.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one and another that takes an existing \u003ccode\u003eUsernamePasswordCredentials\u003c/code\u003e object as a parameter, and also contains properties for setting and getting the \u003ccode\u003eUsername\u003c/code\u003e and \u003ccode\u003ePasswordSecretVersion\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from object and has inherited members such as GetHashCode, GetType and ToString.\u003c/p\u003e\n"]]],[],null,[]]