NAME
Google::Cloud::Discoveryengine::V1beta::Feedback - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/feedback.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1beta::Feedback;
my $msg = Google::Cloud::Discoveryengine::V1beta::Feedback::Feedback->new({
feedback_type => $feedback_type,
reasons => $reasons,
comment => $comment,
conversation_info => $conversation_info,
});
# Read or update a field
my $val = $msg->feedback_type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::Feedback::Feedback->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/feedback.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::Feedback::Feedback
Information about the user feedback. This information will be used for logging and metrics purpose.
Inherits from Protobuf::Message.
Accessors
$msg->feedback_type()/$msg->feedback_type($value)Type:
Enum(Google::Cloud::Discoveryengine::V1beta::Feedback::FeedbackType)Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.
$msg->reasons()/$msg->reasons($value)Type:
Enum(Google::Cloud::Discoveryengine::V1beta::Feedback::Reason)Optional. The reason if user gives a thumb down.
$msg->comment()/$msg->comment($value)Type:
StringOptional. The additional user comment of the feedback if user gives a thumb down.
$msg->conversation_info()/$msg->conversation_info($value)Type:
Message(Google::Cloud::Discoveryengine::V1beta::Feedback::Feedback::ConversationInfo)The related conversation information when user gives feedback.
$msg->llm_model_version()/$msg->llm_model_version($value)Type:
StringThe version of the LLM model that was used to generate the response.
$msg->feedback_source()/$msg->feedback_source($value)Type:
Enum(Google::Cloud::Discoveryengine::V1beta::Feedback::FeedbackSource)Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
$msg->component_version()/$msg->component_version($value)Type:
StringOptional. The version of the component that this report is being sent from.
$msg->data_terms_accepted()/$msg->data_terms_accepted($value)Type:
BoolOptional. Whether the customer accepted data use terms.
Enum: Feedback::FeedbackType
FEEDBACK_TYPE_UNSPECIFIED=>0LIKE=>1DISLIKE=>2
Enum: Feedback::Reason
REASON_UNSPECIFIED=>0INACCURATE_RESPONSE=>1NOT_RELEVANT=>2INCOMPREHENSIVE=>3OFFENSIVE_OR_UNSAFE=>4FORMAT_AND_STYLES=>6BAD_CITATION=>7CANVAS_NOT_GENERATED=>8CANVAS_QUALITY_BAD=>9CANVAS_EXPORT_FAILED=>10
Enum: Feedback::FeedbackSource
FEEDBACK_SOURCE_UNSPECIFIED=>0GOOGLE_CONSOLE=>1GOOGLE_WIDGET=>2GOOGLE_WEBAPP=>3GOOGLE_AGENTSPACE_MOBILE=>4
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::Feedback::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.