Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ServiceAgentAuthConfig.
Config for auth using Dialogflow service agent.
Generated from protobuf message google.cloud.dialogflow.v2.Tool.Authentication.ServiceAgentAuthConfig
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Tool \ AuthenticationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_agent_auth |
int
Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header. |
getServiceAgentAuth
Optional. Indicate the auth token type generated from the Diglogflow service agent.
The generated token is sent in the Authorization header.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ServiceAgentAuth. |
setServiceAgentAuth
Optional. Indicate the auth token type generated from the Diglogflow service agent.
The generated token is sent in the Authorization header.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ServiceAgentAuth. |
| Returns | |
|---|---|
| Type | Description |
$this |
|