Google Cloud Dialogflow Cx V3 Client - Class FlowInvocation (0.10.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class FlowInvocation.

Stores metadata of the invocation of a CX flow.

Generated from protobuf message google.cloud.dialogflow.cx.v3.FlowInvocation

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ flow string

Required. The unique identifier of the flow. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

↳ display_name string

Output only. The display name of the flow.

↳ flow_state int

Required. Flow invocation's output state.

getFlow

Required. The unique identifier of the flow.

Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

Returns
Type Description
string

setFlow

Required. The unique identifier of the flow.

Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The display name of the flow.

Returns
Type Description
string

setDisplayName

Output only. The display name of the flow.

Parameter
Name Description
var string
Returns
Type Description
$this

getFlowState

Required. Flow invocation's output state.

Returns
Type Description
int Enum of type OutputState.

setFlowState

Required. Flow invocation's output state.

Parameter
Name Description
var int

Enum of type OutputState.

Returns
Type Description
$this