public sealed class OAuthCredential : IMessage<OAuthCredential>, IEquatable<OAuthCredential>, IDeepCloneable<OAuthCredential>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class OAuthCredential.
Represents an OAuth token of the account that authorized the Connection,
and associated metadata.
[[["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 `OAuthCredential` class in the Google Cloud Build v2 API represents an OAuth token and its associated metadata for authorizing a connection."],["This class is part of the `Google.Cloud.CloudBuild.V2` namespace within the `Google.Cloud.CloudBuild.V2.dll` assembly."],["`OAuthCredential` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It includes properties like `OauthTokenSecretVersion`, which stores the Secret Manager resource path of the OAuth token, and `Username`, which contains the username linked to the token."],["The latest version of the `OAuthCredential` API class is 1.4.0, with the current documentation relating to version 1.0.0 and covering versions 1.0.0, 1.1.0, 1.2.0, 1.3.0, and 1.4.0."]]],[]]