public class Classroom.UserProfiles.Guardians extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.UserProfiles.Guardians.Delete |
class |
Classroom.UserProfiles.Guardians.Get |
class |
Classroom.UserProfiles.Guardians.List |
| Constructor and Description |
|---|
Guardians() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.UserProfiles.Guardians.Delete |
delete(String studentId,
String guardianId)
Deletes a guardian.
|
Classroom.UserProfiles.Guardians.Get |
get(String studentId,
String guardianId)
Returns a specific guardian.
|
Classroom.UserProfiles.Guardians.List |
list(String studentId)
Returns a list of guardians that the requesting user is permitted to view, restricted to those
that match the request.
|
public Classroom.UserProfiles.Guardians.Delete delete(String studentId, String guardianId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - The student whose guardian is to be deleted. One of the following: * the numeric identifier for the
user * the email address of the user * the string literal `"me"`, indicating the
requesting userguardianId - The `id` field from a `Guardian`.IOExceptionpublic Classroom.UserProfiles.Guardians.Get get(String studentId, String guardianId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - The student whose guardian is being requested. One of the following: * the numeric identifier for
the user * the email address of the user * the string literal `"me"`, indicating the
requesting userguardianId - The `id` field from a `Guardian`.IOExceptionpublic Classroom.UserProfiles.Guardians.List list(String studentId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.studentId - Filter results by the student who the guardian is linked to. 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 has
access to view.IOExceptionCopyright © 2011–2022 Google. All rights reserved.