Google Cloud Ai Platform V1 Client - Class GroundingMetadata (0.37.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GroundingMetadata.

Metadata returned to client when grounding is enabled.

Generated from protobuf message google.cloud.aiplatform.v1.GroundingMetadata

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ web_search_queries array

Optional. Web search queries for the following-up web search.

↳ grounding_attributions array<Google\Cloud\AIPlatform\V1\GroundingAttribution>

Optional. List of grounding attributions.

getWebSearchQueries

Optional. Web search queries for the following-up web search.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWebSearchQueries

Optional. Web search queries for the following-up web search.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getGroundingAttributions

Optional. List of grounding attributions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGroundingAttributions

Optional. List of grounding attributions.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\GroundingAttribution>
Returns
Type Description
$this