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

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

Grounding specification.

Generated from protobuf message google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ GenerateGroundedContentRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ grounding_sources array<Google\Cloud\DiscoveryEngine\V1\GenerateGroundedContentRequest\GroundingSource>

Grounding sources.

getGroundingSources

Grounding sources.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGroundingSources

Grounding sources.

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