Google Cloud Dialogflow V2 Client - Class Sources (2.3.0)

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

Sources for the suggestion.

Generated from protobuf message google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources

Namespace

Google \ Cloud \ Dialogflow \ V2 \ AgentCoachingSuggestion

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instruction_indexes array

Output only. Source instruction indexes for the suggestion. This is the index of the applicable_instructions field.

getInstructionIndexes

Output only. Source instruction indexes for the suggestion. This is the index of the applicable_instructions field.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstructionIndexes

Output only. Source instruction indexes for the suggestion. This is the index of the applicable_instructions field.

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