public class Classroom.UserProfiles.GuardianInvitations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.UserProfiles.GuardianInvitations.Create |
class |
Classroom.UserProfiles.GuardianInvitations.Get |
class |
Classroom.UserProfiles.GuardianInvitations.List |
class |
Classroom.UserProfiles.GuardianInvitations.Patch |
| Constructor and Description |
|---|
GuardianInvitations() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.UserProfiles.GuardianInvitations.Create |
create(String studentId,
GuardianInvitation content)
Creates a guardian invitation, and sends an email to the guardian asking them to confirm that
they are the student's guardian.
|
Classroom.UserProfiles.GuardianInvitations.Get |
get(String studentId,
String invitationId)
Returns a specific guardian invitation.
|
Classroom.UserProfiles.GuardianInvitations.List |
list(String studentId)
Returns a list of guardian invitations that the requesting user is permitted to view, filtered by
the parameters provided.
|
Classroom.UserProfiles.GuardianInvitations.Patch |
patch(String studentId,
String invitationId,
GuardianInvitation content)
Modifies a guardian invitation.
|
public Classroom.UserProfiles.GuardianInvitations.Create create(String studentId, GuardianInvitation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - ID of the student (in standard format)content - the GuardianInvitationIOExceptionpublic Classroom.UserProfiles.GuardianInvitations.Get get(String studentId, String invitationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - The ID of the student whose guardian invitation is being requested.invitationId - The `id` field of the `GuardianInvitation` being requested.IOExceptionpublic Classroom.UserProfiles.GuardianInvitations.List list(String studentId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - The ID of the student whose guardian invitations are to be returned. The identifier can be one of
the following: * the numeric identifier for the user * the email address of the user * the
string literal `"me"`, indicating the requesting user * the string literal `"-"`,
indicating that results should be returned for all students that the requesting user is
permitted to view guardian invitations.IOExceptionpublic Classroom.UserProfiles.GuardianInvitations.Patch patch(String studentId, String invitationId, GuardianInvitation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - The ID of the student whose guardian invitation is to be modified.invitationId - The `id` field of the `GuardianInvitation` to be modified.content - the GuardianInvitationIOExceptionCopyright © 2011–2022 Google. All rights reserved.