Google Cloud Discovery Engine V1 Client - Class GenerateGroundedContentResponse (1.3.0)

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

Generated from protobuf message google.cloud.discoveryengine.v1.GenerateGroundedContentResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ candidates array<Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate>

Generated candidates.

getCandidates

Generated candidates.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCandidates

Generated candidates.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentResponse\Candidate>
Returns
Type Description
$this