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.



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

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



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