Class: Google::Apis::FormsV1::FileUploadAnswers
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::FileUploadAnswers
- 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
All submitted files for a FileUpload question.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ FileUploadAnswers
constructor
A new instance of FileUploadAnswers.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FileUploadAnswers
Returns a new instance of FileUploadAnswers.
468 469 470 |
# File 'lib/google/apis/forms_v1/classes.rb', line 468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answers ⇒ Array<Google::Apis::FormsV1::FileUploadAnswer>
Output only. All submitted files for a FileUpload question.
Corresponds to the JSON property answers
466 467 468 |
# File 'lib/google/apis/forms_v1/classes.rb', line 466 def answers @answers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
473 474 475 |
# File 'lib/google/apis/forms_v1/classes.rb', line 473 def update!(**args) @answers = args[:answers] if args.key?(:answers) end |