Class: Google::Apis::FormsV1::Feedback
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::Feedback
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb
Overview
Feedback for a respondent about their response to a question.
Instance Attribute Summary collapse
-
#material ⇒ Array<Google::Apis::FormsV1::ExtraMaterial>
Additional information provided as part of the feedback, often used to point the respondent to more reading and resources.
-
#text ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Feedback
constructor
A new instance of Feedback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Feedback
Returns a new instance of Feedback.
417 418 419 |
# File 'lib/google/apis/forms_v1/classes.rb', line 417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#material ⇒ Array<Google::Apis::FormsV1::ExtraMaterial>
Additional information provided as part of the feedback, often used to point
the respondent to more reading and resources.
Corresponds to the JSON property material
410 411 412 |
# File 'lib/google/apis/forms_v1/classes.rb', line 410 def material @material end |
#text ⇒ String
Required. The main text of the feedback.
Corresponds to the JSON property text
415 416 417 |
# File 'lib/google/apis/forms_v1/classes.rb', line 415 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
422 423 424 425 |
# File 'lib/google/apis/forms_v1/classes.rb', line 422 def update!(**args) @material = args[:material] if args.key?(:material) @text = args[:text] if args.key?(:text) end |