Class: Google::Apis::FormsV1::FormSettings
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::FormSettings
- 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
A form's settings.
Instance Attribute Summary collapse
-
#quiz_settings ⇒ Google::Apis::FormsV1::QuizSettings
Settings related to quiz forms and grading.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FormSettings
constructor
A new instance of FormSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FormSettings
Returns a new instance of FormSettings.
654 655 656 |
# File 'lib/google/apis/forms_v1/classes.rb', line 654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quiz_settings ⇒ Google::Apis::FormsV1::QuizSettings
Settings related to quiz forms and grading. These must be updated with the
UpdateSettingsRequest.
Corresponds to the JSON property quizSettings
652 653 654 |
# File 'lib/google/apis/forms_v1/classes.rb', line 652 def quiz_settings @quiz_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
659 660 661 |
# File 'lib/google/apis/forms_v1/classes.rb', line 659 def update!(**args) @quiz_settings = args[:quiz_settings] if args.key?(:quiz_settings) end |