class Google::Apis::ClassroomV1::GuardianInvitation
An invitation to become the guardian of a specified user, sent to a specified email address.
Attributes
creation_time[RW]
The time that this invitation was created. Read-only. Corresponds to the JSON property `creationTime` @return [String]
invitation_id[RW]
Unique identifier for this invitation. Read-only. Corresponds to the JSON property `invitationId` @return [String]
invited_email_address[RW]
Email address that the invitation was sent to. This field is only visible to domain administrators. Corresponds to the JSON property `invitedEmailAddress` @return [String]
state[RW]
The state that this invitation is in. Corresponds to the JSON property `state` @return [String]
student_id[RW]
ID of the student (in standard format) Corresponds to the JSON property `studentId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 1099 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 1104 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @invitation_id = args[:invitation_id] if args.key?(:invitation_id) @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) @state = args[:state] if args.key?(:state) @student_id = args[:student_id] if args.key?(:student_id) end