Google Cloud Dialogflow Cx V3 Client - Class TraceBlock (0.11.0)

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

The trace block tracks a sequence of actions taken by the agent in a flow or a playbook.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ playbook_trace_metadata
PlaybookTraceMetadata

Metadata of the playbook trace.

↳ flow_trace_metadata
FlowTraceMetadata

Metadata of the flow trace.

↳ speech_processing_metadata
SpeechProcessingMetadata

Metadata of the speech-to-text and speech-to-text processing.

↳ actions
array< Action >

The actions performed by the agent and the user during this session.

↳ start_time
Google\Protobuf\Timestamp

Output only. Timestamp of the start of the trace block.

↳ complete_time
Google\Protobuf\Timestamp

Output only. Timestamp of the end of the trace block.

↳ input_parameters
Google\Protobuf\Struct

Optional. A list of input parameters of the trace block.

↳ output_parameters
Google\Protobuf\Struct

Optional. A list of output parameters of the trace block.

↳ end_state
int

Optional. Output only. The end state of the trace block.

Metadata of the playbook trace.

Returns
Type
Description

Metadata of the playbook trace.

Parameter
Name
Description
Returns
Type
Description
$this

Metadata of the flow trace.

Returns
Type
Description

Metadata of the flow trace.

Parameter
Name
Description
Returns
Type
Description
$this

Metadata of the speech-to-text and speech-to-text processing.

Returns
Type
Description

Metadata of the speech-to-text and speech-to-text processing.

Parameter
Name
Description
Returns
Type
Description
$this

getActions

The actions performed by the agent and the user during this session.

Returns
Type
Description

setActions

The actions performed by the agent and the user during this session.

Parameter
Name
Description
var
array< Action >
Returns
Type
Description
$this

getStartTime

Output only. Timestamp of the start of the trace block.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Output only. Timestamp of the start of the trace block.

Parameter
Name
Description
Returns
Type
Description
$this

getCompleteTime

Output only. Timestamp of the end of the trace block.

Returns
Type
Description

hasCompleteTime

clearCompleteTime

setCompleteTime

Output only. Timestamp of the end of the trace block.

Parameter
Name
Description
Returns
Type
Description
$this

getInputParameters

Optional. A list of input parameters of the trace block.

Returns
Type
Description

hasInputParameters

clearInputParameters

setInputParameters

Optional. A list of input parameters of the trace block.

Parameter
Name
Description
Returns
Type
Description
$this

getOutputParameters

Optional. A list of output parameters of the trace block.

Returns
Type
Description

hasOutputParameters

clearOutputParameters

setOutputParameters

Optional. A list of output parameters of the trace block.

Parameter
Name
Description
Returns
Type
Description
$this

getEndState

Optional. Output only. The end state of the trace block.

Returns
Type
Description
int
Enum of type OutputState .

setEndState

Optional. Output only. The end state of the trace block.

Parameter
Name
Description
var
int

Enum of type OutputState .

Returns
Type
Description
$this
Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: