Google Cloud Discovery Engine V1 Client - Class Action (1.2.0)

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

Action.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Answer \ Step

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ search_action Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\SearchAction

Search action.

↳ observation Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation

Observation.

getSearchAction

Search action.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\SearchAction|null

hasSearchAction

setSearchAction

Search action.

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

getObservation

Observation.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Answer\Step\Action\Observation|null

hasObservation

clearObservation

setObservation

Observation.

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

getAction

Returns
Type Description
string