# Eventarc v1 API - Class Pipeline.Types.Destination.Types.AuthenticationConfig (2.9.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.8.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.7.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.6.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig)

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Pipeline.Types.Destination.Types.AuthenticationConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Pipeline](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types)[AuthenticationConfig](https://docs.cloud.google.com/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types)[AuthenticationConfig](https://docs.cloud.google.com/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types)[Destination](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types)[AuthenticationConfig](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Eventarc.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)

## Assembly

Google.Cloud.Eventarc.V1.dll

## Constructors

### AuthenticationConfig()

    public AuthenticationConfig()

### AuthenticationConfig(AuthenticationConfig)

    public AuthenticationConfig(Pipeline.Types.Destination.Types.AuthenticationConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipelinehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig` |

## Properties

### AuthenticationMethodDescriptorCase

    public Pipeline.Types.Destination.Types.AuthenticationConfig.AuthenticationMethodDescriptorOneofCase AuthenticationMethodDescriptorCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipelinehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig.AuthenticationMethodDescriptorOneofCase` |   |

### GoogleOidc

    public Pipeline.Types.Destination.Types.AuthenticationConfig.Types.OidcToken GoogleOidc { get; set; }

Optional. This authenticate method will apply Google OIDC tokens
signed by a Google Cloud service account to the requests.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipelinehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig.Types.OidcToken` |   |

### OauthToken

    public Pipeline.Types.Destination.Types.AuthenticationConfig.Types.OAuthToken OauthToken { get; set; }

Optional. If specified, an [OAuth
token](https://developers.google.com/identity/protocols/OAuth2) will
be generated and attached as an `Authorization` header in the HTTP
request.

This type of authorization should generally only be used when calling
Google APIs hosted on \*.googleapis.com.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipelinehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destinationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.Pipeline.Types.Destination.Types.AuthenticationConfig.Types.OAuthToken` |   |