NAME
Google::Cloud::Discoveryengine::V1::Grounding - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/grounding.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::Grounding;
my $msg = Google::Cloud::Discoveryengine::V1::Grounding::GroundingFact->new({
fact_text => $fact_text,
attributes => $attributes,
});
# Read or update a field
my $val = $msg->fact_text();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::Grounding::GroundingFact->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/grounding.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Discoveryengine::V1::Grounding::GroundingFact
Grounding Fact.
Inherits from Protobuf::Message.
Accessors
$msg->fact_text()/$msg->fact_text($value)Type:
StringText content of the fact. Can be at most 10K characters long.
$msg->attributes()/$msg->attributes($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Grounding::GroundingFact::AttributesEntry)Attributes associated with the fact. Common attributes include `source` (indicating where the fact was sourced from), `author` (indicating the author of the fact), and so on.
Google::Cloud::Discoveryengine::V1::Grounding::FactChunk
Fact Chunk.
Inherits from Protobuf::Message.
Accessors
$msg->chunk_text()/$msg->chunk_text($value)Type:
StringText content of the fact chunk. Can be at most 10K characters long.
$msg->source()/$msg->source($value)Type:
StringSource from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.
$msg->index()/$msg->index($value)Type:
Int32The index of this chunk. Currently, only used for the streaming mode.
$msg->source_metadata()/$msg->source_metadata($value)Type:
Message(Google::Cloud::Discoveryengine::V1::Grounding::FactChunk::SourceMetadataEntry)More fine-grained information for the source reference.
$msg->uri()/$msg->uri($value)Type:
StringThe URI of the source.
$msg->title()/$msg->title($value)Type:
StringThe title of the source.
$msg->domain()/$msg->domain($value)Type:
StringThe domain of the source.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::Grounding::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.