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

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<GenerateGroundedContentResponse\Candidate>

Generated candidates.

getCandidates

Generated candidates.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCandidates

Generated candidates.

Parameter
Name Description
var array<GenerateGroundedContentResponse\Candidate>
Returns
Type Description
$this