Google Cloud Dialogflow V2 Client - Class Action (2.3.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Action.

Configuration of a Connection operation for the tool to use.

Generated from protobuf message google.cloud.dialogflow.v2.Tool.ConnectorTool.Action

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Tool \ ConnectorTool

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ connection_action_id
string

ID of a Connection action for the tool to use.

↳ entity_operation
Action\EntityOperation

Entity operation configuration for the tool to use.

↳ input_fields
array

Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.

↳ output_fields
array

Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.

getConnectionActionId

ID of a Connection action for the tool to use.

Returns
Type
Description
string

hasConnectionActionId

setConnectionActionId

ID of a Connection action for the tool to use.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getEntityOperation

Entity operation configuration for the tool to use.

Returns
Type
Description

hasEntityOperation

setEntityOperation

Entity operation configuration for the tool to use.

Parameter
Name
Description
Returns
Type
Description
$this

getInputFields

Optional. Entity fields to use as inputs for the operation.

If no fields are specified, all fields of the Entity will be used.

Returns
Type
Description

setInputFields

Optional. Entity fields to use as inputs for the operation.

If no fields are specified, all fields of the Entity will be used.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getOutputFields

Optional. Entity fields to return from the operation.

If no fields are specified, all fields of the Entity will be returned.

Returns
Type
Description

setOutputFields

Optional. Entity fields to return from the operation.

If no fields are specified, all fields of the Entity will be returned.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getActionSpec

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: