# Google Cloud Dialogflow v2beta1 API - Enum Tool.Types.Authentication.Types.ServiceAgentAuthConfig.Types.ServiceAgentAuth (1.0.0-beta30)

1.0.0-beta30 (latest) 1.0.0-beta29

    public enum Tool.Types.Authentication.Types.ServiceAgentAuthConfig.Types.ServiceAgentAuth

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API enum Tool.Types.Authentication.Types.ServiceAgentAuthConfig.Types.ServiceAgentAuth.

Indicate the auth token type generated from the [Diaglogflow service
agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).

## Namespace

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

## Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `AccessToken` | Use [access token](https://cloud.google.com/docs/authentication/token-types#access) generated from service agent. This can be used to access other Google Cloud APIs after you grant required roles to `service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com`. |
| `IdToken` | Use [ID token](https://cloud.google.com/docs/authentication/token-types#id) generated from service agent. This can be used to access Cloud Function and Cloud Run after you grant Invoker role to `service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com`. |
| `Unspecified` | Service agent auth type unspecified. Default to ID_TOKEN. |