NAME

Google::Cloud::Discoveryengine::V1beta::Grounding - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/grounding.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::Grounding;

my $msg = Google::Cloud::Discoveryengine::V1beta::Grounding::GroundingConfig->new({
    name => $name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::Grounding::GroundingConfig->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/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::V1beta::Grounding::GroundingConfig

Grounding configuration.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the GroundingConfig, of the form `projects/{project}/locations/{location}/groundingConfigs/{grounding_config}`.

Google::Cloud::Discoveryengine::V1beta::Grounding::GroundingFact

Grounding Fact.

Inherits from Protobuf::Message.

Accessors

  • $msg->fact_text() / $msg->fact_text($value)

    Type: String

    Text content of the fact. Can be at most 10K characters long.

  • $msg->attributes() / $msg->attributes($value)

    Type: Message (Google::Cloud::Discoveryengine::V1beta::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::V1beta::Grounding::FactChunk

Fact Chunk.

Inherits from Protobuf::Message.

Accessors

  • $msg->chunk_text() / $msg->chunk_text($value)

    Type: String

    Text content of the fact chunk. Can be at most 10K characters long.

  • $msg->source() / $msg->source($value)

    Type: String

    Source 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: Int32

    The index of this chunk. Currently, only used for the streaming mode.

  • $msg->source_metadata() / $msg->source_metadata($value)

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Grounding::FactChunk::SourceMetadataEntry)

    More fine-grained information for the source reference.

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI of the source.

  • $msg->title() / $msg->title($value)

    Type: String

    The title of the source.

  • $msg->domain() / $msg->domain($value)

    Type: String

    The domain of the source.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::Grounding::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.