Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ServiceDirectoryConfig.
Configuration for tools using Service Directory.
Generated from protobuf message google.cloud.dialogflow.v2.Tool.ServiceDirectoryConfig
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service |
string
Required. The name of Service Directory service. Format: |
getService
Required. The name of Service Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
LocationID of the service directory must be the same as the location
of the tool.
| Returns | |
|---|---|
| Type | Description |
string |
|
setService
Required. The name of Service Directory service.
Format:
projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>.
LocationID of the service directory must be the same as the location
of the tool.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|