Class: Google::Apis::FormsV1::FileUploadAnswers

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(**args) ⇒ FileUploadAnswers

Returns a new instance of FileUploadAnswers.



469
470
471
# File 'lib/google/apis/forms_v1/classes.rb', line 469

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#answersArray<Google::Apis::FormsV1::FileUploadAnswer>

Output only. All submitted files for a FileUpload question. Corresponds to the JSON property answers



467
468
469
# File 'lib/google/apis/forms_v1/classes.rb', line 467

def answers
  @answers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



474
475
476
# File 'lib/google/apis/forms_v1/classes.rb', line 474

def update!(**args)
  @answers = args[:answers] if args.key?(:answers)
end