Google Cloud Dialogflow V2 Client - Class ServiceDirectoryConfig (2.3.0)

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 \ Tool

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ service
string

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.

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
Design a Mobile Site
View Site in Mobile | Classic
Share by: