Google Cloud Discovery Engine V1 Client - Class GroundingSpec (1.10.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<GroundingSource>

Grounding sources.

getGroundingSources

Grounding sources.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGroundingSources

Grounding sources.

Parameter
Name Description
var array<GroundingSource>
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.