public class Classroom.UserProfiles.Guardians.List extends ClassroomRequest<ListGuardiansResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String studentId)
Returns a list of guardians that the requesting user is permitted to view, restricted to those
that match the request.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getInvitedEmailAddress()
Filter results by the email address that the original invitation was sent to, resulting in this
guardian link.
|
Integer |
getPageSize()
Maximum number of items to return.
|
String |
getPageToken()
nextPageToken value returned from a previous list call, indicating that the subsequent page of
results should be returned.
|
String |
getStudentId()
Filter results by the student who the guardian is linked to.
|
Classroom.UserProfiles.Guardians.List |
set(String parameterName,
Object value) |
Classroom.UserProfiles.Guardians.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Classroom.UserProfiles.Guardians.List |
setAccessToken(String accessToken)
OAuth access token.
|
Classroom.UserProfiles.Guardians.List |
setAlt(String alt)
Data format for response.
|
Classroom.UserProfiles.Guardians.List |
setCallback(String callback)
JSONP
|
Classroom.UserProfiles.Guardians.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Classroom.UserProfiles.Guardians.List |
setInvitedEmailAddress(String invitedEmailAddress)
Filter results by the email address that the original invitation was sent to, resulting
in this guardian link.
|
Classroom.UserProfiles.Guardians.List |
setKey(String key)
API key.
|
Classroom.UserProfiles.Guardians.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Classroom.UserProfiles.Guardians.List |
setPageSize(Integer pageSize)
Maximum number of items to return.
|
Classroom.UserProfiles.Guardians.List |
setPageToken(String pageToken)
nextPageToken value returned from a previous list call, indicating that the subsequent
page of results should be returned.
|
Classroom.UserProfiles.Guardians.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Classroom.UserProfiles.Guardians.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Classroom.UserProfiles.Guardians.List |
setStudentId(String studentId)
Filter results by the student who the guardian is linked to.
|
Classroom.UserProfiles.Guardians.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Classroom.UserProfiles.Guardians.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected List(String studentId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Classroom.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
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.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ListGuardiansResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ListGuardiansResponse>IOExceptionpublic Classroom.UserProfiles.Guardians.List set$Xgafv(String $Xgafv)
ClassroomRequestset$Xgafv in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setAccessToken(String accessToken)
ClassroomRequestsetAccessToken in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setAlt(String alt)
ClassroomRequestsetAlt in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setCallback(String callback)
ClassroomRequestsetCallback in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setFields(String fields)
ClassroomRequestsetFields in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setKey(String key)
ClassroomRequestsetKey in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setOauthToken(String oauthToken)
ClassroomRequestsetOauthToken in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setPrettyPrint(Boolean prettyPrint)
ClassroomRequestsetPrettyPrint in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setQuotaUser(String quotaUser)
ClassroomRequestsetQuotaUser in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setUploadType(String uploadType)
ClassroomRequestsetUploadType in class ClassroomRequest<ListGuardiansResponse>public Classroom.UserProfiles.Guardians.List setUploadProtocol(String uploadProtocol)
ClassroomRequestsetUploadProtocol in class ClassroomRequest<ListGuardiansResponse>public String getStudentId()
public Classroom.UserProfiles.Guardians.List setStudentId(String studentId)
public String getInvitedEmailAddress()
public Classroom.UserProfiles.Guardians.List setInvitedEmailAddress(String invitedEmailAddress)
public Integer getPageSize()
public Classroom.UserProfiles.Guardians.List setPageSize(Integer pageSize)
public String getPageToken()
public Classroom.UserProfiles.Guardians.List setPageToken(String pageToken)
public Classroom.UserProfiles.Guardians.List set(String parameterName, Object value)
set in class ClassroomRequest<ListGuardiansResponse>Copyright © 2011–2022 Google. All rights reserved.