Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ServiceAccountAuthConfig (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ServiceAccountAuthConfig.

Configuration for authentication using a service account.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#service_account

def service_account() -> ::String
Returns
  • (::String) — 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.

#service_account=

def service_account=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.