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.
418 419 420 |
# File 'lib/google/apis/forms_v1/classes.rb', line 418 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
411 412 413 |
# File 'lib/google/apis/forms_v1/classes.rb', line 411 def material @material end |
#text ⇒ String
Required. The main text of the feedback.
Corresponds to the JSON property text
416 417 418 |
# File 'lib/google/apis/forms_v1/classes.rb', line 416 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
423 424 425 426 |
# File 'lib/google/apis/forms_v1/classes.rb', line 423 def update!(**args) @material = args[:material] if args.key?(:material) @text = args[:text] if args.key?(:text) end |