Interface Tool.Authentication.ServiceAccountAuthConfigOrBuilder (0.92.0)

public static interface Tool.Authentication.ServiceAccountAuthConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getServiceAccount()

public abstract String getServiceAccount()

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.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

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.

string service_account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceAccount.