Google Cloud Discovery Engine V1 Client - Class Step (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Step.

Step information.

Generated from protobuf message google.cloud.discoveryengine.v1.Answer.Step

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Answer

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

The state of the step.

↳ description string

The description of the step.

↳ thought string

The thought of the step.

↳ actions array<Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action>

Actions.

getState

The state of the step.

Returns
Type Description
int

setState

The state of the step.

Parameter
Name Description
var int
Returns
Type Description
$this

getDescription

The description of the step.

Returns
Type Description
string

setDescription

The description of the step.

Parameter
Name Description
var string
Returns
Type Description
$this

getThought

The thought of the step.

Returns
Type Description
string

setThought

The thought of the step.

Parameter
Name Description
var string
Returns
Type Description
$this

getActions

Actions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setActions

Actions.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action>
Returns
Type Description
$this