public sealed class OAuthCredentials : IMessage<OAuthCredentials>, IEquatable<OAuthCredentials>, IDeepCloneable<OAuthCredentials>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class OAuthCredentials.
[[["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-09-04 UTC."],[],[],null,["# Data Analytics API with Gemini v1beta API - Class OAuthCredentials (1.0.0-beta01)\n\n public sealed class OAuthCredentials : IMessage\u003cOAuthCredentials\u003e, IEquatable\u003cOAuthCredentials\u003e, IDeepCloneable\u003cOAuthCredentials\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Analytics API with Gemini v1beta API class OAuthCredentials.\n\nRepresents OAuth credentials. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OAuthCredentials \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OAuthCredentials](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OAuthCredentials](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OAuthCredentials](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials), [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.GeminiDataAnalytics.V1Beta](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.GeminiDataAnalytics.V1Beta.dll\n\nConstructors\n------------\n\n### OAuthCredentials()\n\n public OAuthCredentials()\n\n### OAuthCredentials(OAuthCredentials)\n\n public OAuthCredentials(OAuthCredentials other)\n\nProperties\n----------\n\n### KindCase\n\n public OAuthCredentials.KindOneofCase KindCase { get; }\n\n### Secret\n\n public OAuthCredentials.Types.SecretBased Secret { get; set; }\n\nSecret-based OAuth credentials.\n\n### Token\n\n public OAuthCredentials.Types.TokenBased Token { get; set; }\n\nToken-based OAuth credentials."]]