Class: Google::Apis::ClassroomV1::Guardian
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::Guardian
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
Association between a student and a guardian of that student. The guardian may receive information about the student's course work.
Instance Attribute Summary collapse
- 
  
    
      #guardian_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifier for the guardian. 
- 
  
    
      #guardian_profile  ⇒ Google::Apis::ClassroomV1::UserProfile 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Global information for a user. 
- 
  
    
      #invited_email_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email address to which the initial guardian invitation was sent. 
- 
  
    
      #student_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifier for the student to whom the guardian relationship applies. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Guardian 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Guardian. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Guardian
Returns a new instance of Guardian
| 979 980 981 | # File 'generated/google/apis/classroom_v1/classes.rb', line 979 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#guardian_id ⇒ String
Identifier for the guardian.
Corresponds to the JSON property guardianId
| 961 962 963 | # File 'generated/google/apis/classroom_v1/classes.rb', line 961 def guardian_id @guardian_id end | 
#guardian_profile ⇒ Google::Apis::ClassroomV1::UserProfile
Global information for a user.
Corresponds to the JSON property guardianProfile
| 966 967 968 | # File 'generated/google/apis/classroom_v1/classes.rb', line 966 def guardian_profile @guardian_profile end | 
#invited_email_address ⇒ String
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
| 972 973 974 | # File 'generated/google/apis/classroom_v1/classes.rb', line 972 def invited_email_address @invited_email_address end | 
#student_id ⇒ String
Identifier for the student to whom the guardian relationship applies.
Corresponds to the JSON property studentId
| 977 978 979 | # File 'generated/google/apis/classroom_v1/classes.rb', line 977 def student_id @student_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 984 985 986 987 988 989 | # File 'generated/google/apis/classroom_v1/classes.rb', line 984 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 |