NAME

Google::Cloud::Dataqna::V1alpha::UserFeedback - Compiled Protocol Buffers messages for google/cloud/dataqna/v1alpha/user_feedback.proto

SYNOPSIS

use Google::Cloud::Dataqna::V1alpha::UserFeedback;

my $msg = Google::Cloud::Dataqna::V1alpha::UserFeedback::UserFeedback->new({
    name => $name,
    free_form_feedback => $free_form_feedback,
    rating => $rating,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dataqna::V1alpha::UserFeedback::UserFeedback->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dataqna/v1alpha/user_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::Dataqna::V1alpha::UserFeedback::UserFeedback

Feedback provided by a user.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The unique identifier for the user feedback. User feedback is a singleton resource on a Question. Example: `projects/foo/locations/bar/questions/1234/userFeedback`

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

    Type: String

    Free form user feedback, such as a text box.

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

    Type: Enum (Google::Cloud::Dataqna::V1alpha::UserFeedback::UserFeedbackRating)

    The user feedback rating

Enum: UserFeedback::UserFeedbackRating

  • USER_FEEDBACK_RATING_UNSPECIFIED => 0

  • POSITIVE => 1

  • NEGATIVE => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dataqna::V1alpha::UserFeedback::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.