Dialogflow v3 API - Class Tool.Types.Authentication.Types.ServiceAccountAuthConfig (3.0.0)

public sealed class Tool.Types.Authentication.Types.ServiceAccountAuthConfig : IMessage<Tool.Types.Authentication.Types.ServiceAccountAuthConfig>, IEquatable<Tool.Types.Authentication.Types.ServiceAccountAuthConfig>, IDeepCloneable<Tool.Types.Authentication.Types.ServiceAccountAuthConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class Tool.Types.Authentication.Types.ServiceAccountAuthConfig.

Configuration for authentication using a service account.

Inheritance

object > Tool.Types.Authentication.Types.ServiceAccountAuthConfig

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ServiceAccountAuthConfig()

public ServiceAccountAuthConfig()

ServiceAccountAuthConfig(ServiceAccountAuthConfig)

public ServiceAccountAuthConfig(Tool.Types.Authentication.Types.ServiceAccountAuthConfig other)
Parameter
Name Description
other ToolTypesAuthenticationTypesServiceAccountAuthConfig

Properties

ServiceAccount

public string ServiceAccount { get; set; }

Required. The email address of the service account used to authenticate the tool call. Dialogflow uses this service account to exchange an access token and the access token is then sent in the Authorization header of the tool request.

The service account must have the roles/iam.serviceAccountTokenCreator role granted to the Dialogflow service agent.

Property Value
Type Description
string