public sealed class WorkforceIdentityBasedOAuth2ClientID : IMessage<WorkforceIdentityBasedOAuth2ClientID>, IEquatable<WorkforceIdentityBasedOAuth2ClientID>, IDeepCloneable<WorkforceIdentityBasedOAuth2ClientID>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class WorkforceIdentityBasedOAuth2ClientID.
OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
[[["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 document provides reference documentation for the \u003ccode\u003eWorkforceIdentityBasedOAuth2ClientID\u003c/code\u003e class within the Google Cloud Backup and DR Service v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkforceIdentityBasedOAuth2ClientID\u003c/code\u003e class handles OAuth Client IDs for Workforce Identities, distinguishing between first-party (Google) and third-party (External) identities.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eWorkforceIdentityBasedOAuth2ClientID\u003c/code\u003e is \u003ccode\u003e2.1.0\u003c/code\u003e and there are 4 other previous versions that can be referenced.\u003c/p\u003e\n"],["\u003cp\u003eThis Class contains two output only properties, \u003ccode\u003eFirstPartyOauth2ClientId\u003c/code\u003e and \u003ccode\u003eThirdPartyOauth2ClientId\u003c/code\u003e, both of which are of the string type.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class WorkforceIdentityBasedOAuth2ClientID (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID) \n\n public sealed class WorkforceIdentityBasedOAuth2ClientID : IMessage\u003cWorkforceIdentityBasedOAuth2ClientID\u003e, IEquatable\u003cWorkforceIdentityBasedOAuth2ClientID\u003e, IDeepCloneable\u003cWorkforceIdentityBasedOAuth2ClientID\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class WorkforceIdentityBasedOAuth2ClientID.\n\nOAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p, \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkforceIdentityBasedOAuth2ClientID \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkforceIdentityBasedOAuth2ClientID](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkforceIdentityBasedOAuth2ClientID](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkforceIdentityBasedOAuth2ClientID](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.WorkforceIdentityBasedOAuth2ClientID), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### WorkforceIdentityBasedOAuth2ClientID()\n\n public WorkforceIdentityBasedOAuth2ClientID()\n\n### WorkforceIdentityBasedOAuth2ClientID(WorkforceIdentityBasedOAuth2ClientID)\n\n public WorkforceIdentityBasedOAuth2ClientID(WorkforceIdentityBasedOAuth2ClientID other)\n\nProperties\n----------\n\n### FirstPartyOauth2ClientId\n\n public string FirstPartyOauth2ClientId { get; set; }\n\nOutput only. First party OAuth Client ID for Google Identities.\n\n### ThirdPartyOauth2ClientId\n\n public string ThirdPartyOauth2ClientId { get; set; }\n\nOutput only. Third party OAuth Client ID for External Identity Providers."]]