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

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<Step\Action>

Actions.

getState

The state of the step.

Returns
Type Description
int Enum of type State.

setState

The state of the step.

Parameter
Name Description
var int

Enum of type State.

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<Step\Action>
Returns
Type Description
$this