public sealed class OAuthCredentials.Types.TokenBased : IMessage<OAuthCredentials.Types.TokenBased>, IEquatable<OAuthCredentials.Types.TokenBased>, IDeepCloneable<OAuthCredentials.Types.TokenBased>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class OAuthCredentials.Types.TokenBased.
[[["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.Types.TokenBased (1.0.0-beta01)\n\n public sealed class OAuthCredentials.Types.TokenBased : IMessage\u003cOAuthCredentials.Types.TokenBased\u003e, IEquatable\u003cOAuthCredentials.Types.TokenBased\u003e, IDeepCloneable\u003cOAuthCredentials.Types.TokenBased\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Analytics API with Gemini v1beta API class OAuthCredentials.Types.TokenBased.\n\nRead more about Looker access tokens here:\n\u003chttps://developers.looker.com/api/advanced-usage/looker-api-oauth\u003e \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OAuthCredentials.Types.TokenBased \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)[Types](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials.Types)[TokenBased](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials.Types.TokenBased), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OAuthCredentials](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials)[Types](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials.Types)[TokenBased](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials.Types.TokenBased), [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)[Types](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials.Types)[TokenBased](/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1Beta/latest/Google.Cloud.GeminiDataAnalytics.V1Beta.OAuthCredentials.Types.TokenBased), [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### TokenBased()\n\n public TokenBased()\n\n### TokenBased(TokenBased)\n\n public TokenBased(OAuthCredentials.Types.TokenBased other)\n\nProperties\n----------\n\n### AccessToken\n\n public string AccessToken { get; set; }\n\nRequired. The name of the secret containing the access token."]]