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, IMessageReference documentation and code samples for the Dialogflow v3 API class Tool.Types.Authentication.Types.ServiceAccountAuthConfig.
Configuration for authentication using a service account.
Implements
IMessageToolTypesAuthenticationTypesServiceAccountAuthConfig, IEquatableToolTypesAuthenticationTypesServiceAccountAuthConfig, IDeepCloneableToolTypesAuthenticationTypesServiceAccountAuthConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 |
|