public sealed class Pipeline.Types.Destination.Types.AuthenticationConfig : IMessage<Pipeline.Types.Destination.Types.AuthenticationConfig>, IEquatable<Pipeline.Types.Destination.Types.AuthenticationConfig>, IDeepCloneable<Pipeline.Types.Destination.Types.AuthenticationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class Pipeline.Types.Destination.Types.AuthenticationConfig.
Represents a config used to authenticate message requests.
[[["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\u003eAuthenticationConfig\u003c/code\u003e class within the Google Cloud Eventarc V1 API, which is used to configure authentication for message requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthenticationConfig\u003c/code\u003e class is part of a nested structure: \u003ccode\u003ePipeline.Types.Destination.Types\u003c/code\u003e, and it includes different authentication methods.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which suggests its capabilities in handling messages, comparisons, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthenticationConfig\u003c/code\u003e class supports Google OIDC tokens and OAuth tokens as authentication methods for requests.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is available for multiple versions of the API, ranging from 1.0.0 to the latest version 2.6.0, providing a historical record of its evolution.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class Pipeline.Types.Destination.Types.AuthenticationConfig (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig) \n\n public sealed class Pipeline.Types.Destination.Types.AuthenticationConfig : IMessage\u003cPipeline.Types.Destination.Types.AuthenticationConfig\u003e, IEquatable\u003cPipeline.Types.Destination.Types.AuthenticationConfig\u003e, IDeepCloneable\u003cPipeline.Types.Destination.Types.AuthenticationConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class Pipeline.Types.Destination.Types.AuthenticationConfig.\n\nRepresents a config used to authenticate message requests. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Pipeline.Types.Destination.Types.AuthenticationConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Pipeline](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline)[Types](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types)[Destination](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination)[Types](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types)[AuthenticationConfig](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Pipeline](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline)[Types](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types)[Destination](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination)[Types](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types)[AuthenticationConfig](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Pipeline](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline)[Types](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types)[Destination](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination)[Types](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types)[AuthenticationConfig](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig), [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.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### AuthenticationConfig()\n\n public AuthenticationConfig()\n\n### AuthenticationConfig(AuthenticationConfig)\n\n public AuthenticationConfig(Pipeline.Types.Destination.Types.AuthenticationConfig other)\n\nProperties\n----------\n\n### AuthenticationMethodDescriptorCase\n\n public Pipeline.Types.Destination.Types.AuthenticationConfig.AuthenticationMethodDescriptorOneofCase AuthenticationMethodDescriptorCase { get; }\n\n### GoogleOidc\n\n public Pipeline.Types.Destination.Types.AuthenticationConfig.Types.OidcToken GoogleOidc { get; set; }\n\nOptional. This authenticate method will apply Google OIDC tokens\nsigned by a GCP service account to the requests.\n\n### OauthToken\n\n public Pipeline.Types.Destination.Types.AuthenticationConfig.Types.OAuthToken OauthToken { get; set; }\n\nOptional. If specified, an [OAuth\ntoken](https://developers.google.com/identity/protocols/OAuth2) will\nbe generated and attached as an `Authorization` header in the HTTP\nrequest.\n\nThis type of authorization should generally only be used when calling\nGoogle APIs hosted on \\*.googleapis.com."]]