class Google::Apis::ClassroomV1::Guardian

Association between a student and a guardian of that student. The guardian may receive information about the student's course work.

Attributes

guardian_id[RW]

Identifier for the guardian. Corresponds to the JSON property `guardianId` @return [String]

guardian_profile[RW]

Global information for a user. Corresponds to the JSON property `guardianProfile` @return [Google::Apis::ClassroomV1::UserProfile]

invited_email_address[RW]

The email address to which the initial guardian invitation was sent. This field is only visible to domain administrators. Corresponds to the JSON property `invitedEmailAddress` @return [String]

student_id[RW]

Identifier for the student to whom the guardian relationship applies. 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 1055
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 1060
def update!(**args)
  @guardian_id = args[:guardian_id] if args.key?(:guardian_id)
  @guardian_profile = args[:guardian_profile] if args.key?(:guardian_profile)
  @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address)
  @student_id = args[:student_id] if args.key?(:student_id)
end