Class: Google::Apis::FormsV1::FormSettings

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

A form's settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FormSettings

Returns a new instance of FormSettings.



655
656
657
# File 'lib/google/apis/forms_v1/classes.rb', line 655

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

Instance Attribute Details

#quiz_settingsGoogle::Apis::FormsV1::QuizSettings

Settings related to quiz forms and grading. These must be updated with the UpdateSettingsRequest. Corresponds to the JSON property quizSettings



653
654
655
# File 'lib/google/apis/forms_v1/classes.rb', line 653

def quiz_settings
  @quiz_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



660
661
662
# File 'lib/google/apis/forms_v1/classes.rb', line 660

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