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 \ StepMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ search_action |
Action\SearchAction
Search action. |
↳ observation |
Action\Observation
Observation. |
getSearchAction
Search action.
Returns | |
---|---|
Type | Description |
Action\SearchAction|null |
hasSearchAction
setSearchAction
Search action.
Parameter | |
---|---|
Name | Description |
var |
Action\SearchAction
|
Returns | |
---|---|
Type | Description |
$this |
getObservation
Observation.
Returns | |
---|---|
Type | Description |
Action\Observation|null |
hasObservation
clearObservation
setObservation
Observation.
Parameter | |
---|---|
Name | Description |
var |
Action\Observation
|
Returns | |
---|---|
Type | Description |
$this |
getAction
Returns | |
---|---|
Type | Description |
string |