NAME

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

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::Answer;

my $msg = Google::Cloud::Discoveryengine::V1beta::Answer::Answer->new({
    name => $name,
    state => $state,
    answer_text => $answer_text,
    grounding_score => $grounding_score,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/answer.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::Answer::Answer

Defines an answer.

Inherits from Protobuf::Message.

Accessors

Enum: Answer::State

  • STATE_UNSPECIFIED => 0

  • IN_PROGRESS => 1

  • FAILED => 2

  • SUCCEEDED => 3

  • STREAMING => 4

Enum: Answer::AnswerSkippedReason

  • ANSWER_SKIPPED_REASON_UNSPECIFIED => 0

  • ADVERSARIAL_QUERY_IGNORED => 1

  • NON_ANSWER_SEEKING_QUERY_IGNORED => 2

  • OUT_OF_DOMAIN_QUERY_IGNORED => 3

  • POTENTIAL_POLICY_VIOLATION => 4

  • NO_RELEVANT_CONTENT => 5

  • JAIL_BREAKING_QUERY_IGNORED => 6

  • CUSTOMER_POLICY_VIOLATION => 7

  • NON_ANSWER_SEEKING_QUERY_IGNORED_V2 => 8

  • LOW_GROUNDED_ANSWER => 9

  • USER_DEFINED_CLASSIFICATION_QUERY_IGNORED => 10

  • UNHELPFUL_ANSWER => 11

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.