Class: Google::Cloud::DataQnA::V1alpha::UserFeedback
- Inherits:
-
Object
- Object
- Google::Cloud::DataQnA::V1alpha::UserFeedback
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataqna/v1alpha/user_feedback.rb
Overview
Feedback provided by a user.
Defined Under Namespace
Modules: UserFeedbackRating
Instance Attribute Summary collapse
-
#free_form_feedback ⇒ ::String
Free form user feedback, such as a text box.
-
#name ⇒ ::String
Required.
-
#rating ⇒ ::Google::Cloud::DataQnA::V1alpha::UserFeedback::UserFeedbackRating
The user feedback rating.
Instance Attribute Details
#free_form_feedback ⇒ ::String
Returns Free form user feedback, such as a text box.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/user_feedback.rb', line 36 class UserFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of feedback ratings. module UserFeedbackRating # No rating was specified. USER_FEEDBACK_RATING_UNSPECIFIED = 0 # The user provided positive feedback. POSITIVE = 1 # The user provided negative feedback. NEGATIVE = 2 end end |
#name ⇒ ::String
Returns 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
.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/user_feedback.rb', line 36 class UserFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of feedback ratings. module UserFeedbackRating # No rating was specified. USER_FEEDBACK_RATING_UNSPECIFIED = 0 # The user provided positive feedback. POSITIVE = 1 # The user provided negative feedback. NEGATIVE = 2 end end |
#rating ⇒ ::Google::Cloud::DataQnA::V1alpha::UserFeedback::UserFeedbackRating
Returns The user feedback rating.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/user_feedback.rb', line 36 class UserFeedback include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of feedback ratings. module UserFeedbackRating # No rating was specified. USER_FEEDBACK_RATING_UNSPECIFIED = 0 # The user provided positive feedback. POSITIVE = 1 # The user provided negative feedback. NEGATIVE = 2 end end |