Google Cloud Discovery Engine V1 Client - Class RelatedQuestionsSpec (1.0.0)

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

Related questions specification.

Generated from protobuf message google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerQueryRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable bool

Enable related questions feature if true.

getEnable

Enable related questions feature if true.

Returns
Type Description
bool

setEnable

Enable related questions feature if true.

Parameter
Name Description
var bool
Returns
Type Description
$this