class Google::Apis::ClassroomV1::MultipleChoiceQuestion

Additional details for multiple-choice questions.

Attributes

choices[RW]

Possible choices. Corresponds to the JSON property `choices` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 1666
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/classroom_v1/classes.rb, line 1671
def update!(**args)
  @choices = args[:choices] if args.key?(:choices)
end