class Google::Apis::ClassroomV1::GradeHistory

The history of each grade on this submission.

Attributes

actor_user_id[RW]

The teacher who made the grade change. Corresponds to the JSON property `actorUserId` @return [String]

grade_change_type[RW]

The type of grade change at this time in the submission grade history. Corresponds to the JSON property `gradeChangeType` @return [String]

grade_timestamp[RW]

When the grade of the submission was changed. Corresponds to the JSON property `gradeTimestamp` @return [String]

max_points[RW]

The denominator of the grade at this time in the submission grade history. Corresponds to the JSON property `maxPoints` @return [Float]

points_earned[RW]

The numerator of the grade at this time in the submission grade history. Corresponds to the JSON property `pointsEarned` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 1015
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 1020
def update!(**args)
  @actor_user_id = args[:actor_user_id] if args.key?(:actor_user_id)
  @grade_change_type = args[:grade_change_type] if args.key?(:grade_change_type)
  @grade_timestamp = args[:grade_timestamp] if args.key?(:grade_timestamp)
  @max_points = args[:max_points] if args.key?(:max_points)
  @points_earned = args[:points_earned] if args.key?(:points_earned)
end