Class: Google::Apis::ClassroomV1::GuardianInvitation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ClassroomV1::GuardianInvitation
 
- Defined in:
- generated/google/apis/classroom_v1/classes.rb,
 generated/google/apis/classroom_v1/representations.rb,
 generated/google/apis/classroom_v1/representations.rb
Overview
An invitation to become the guardian of a specified user, sent to a specified email address.
Instance Attribute Summary collapse
- 
  
    
      #creation_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The time that this invitation was created. 
- 
  
    
      #invitation_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique identifier for this invitation. 
- 
  
    
      #invited_email_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Email address that the invitation was sent to. 
- 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The state that this invitation is in. 
- 
  
    
      #student_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ID of the student (in standard format) Corresponds to the JSON property studentId.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GuardianInvitation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GuardianInvitation. 
- 
  
    
      #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) ⇒ GuardianInvitation
Returns a new instance of GuardianInvitation
| 1025 1026 1027 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1025 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#creation_time ⇒ String
The time that this invitation was created.
Read-only.
Corresponds to the JSON property creationTime
| 1001 1002 1003 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1001 def creation_time @creation_time end | 
#invitation_id ⇒ String
Unique identifier for this invitation.
Read-only.
Corresponds to the JSON property invitationId
| 1007 1008 1009 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1007 def invitation_id @invitation_id end | 
#invited_email_address ⇒ String
Email address that the invitation was sent to.
This field is only visible to domain administrators.
Corresponds to the JSON property invitedEmailAddress
| 1013 1014 1015 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1013 def invited_email_address @invited_email_address end | 
#state ⇒ String
The state that this invitation is in.
Corresponds to the JSON property state
| 1018 1019 1020 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1018 def state @state end | 
#student_id ⇒ String
ID of the student (in standard format)
Corresponds to the JSON property studentId
| 1023 1024 1025 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1023 def student_id @student_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1030 1031 1032 1033 1034 1035 1036 | # File 'generated/google/apis/classroom_v1/classes.rb', line 1030 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 |