public class Classroom.Courses.Students.Get extends ClassroomRequest<Student>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(String courseId,
String userId)
Returns a student of a course.
|
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 Get(String courseId, String userId)
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.
courseId - Identifier of the course. This identifier can be either the Classroom-assigned identifier or an
alias.userId - Identifier of the student to return. 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 userpublic HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Student>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Student>IOExceptionpublic Classroom.Courses.Students.Get set$Xgafv(String $Xgafv)
ClassroomRequestset$Xgafv in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setAccessToken(String accessToken)
ClassroomRequestsetAccessToken in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setAlt(String alt)
ClassroomRequestsetAlt in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setCallback(String callback)
ClassroomRequestsetCallback in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setFields(String fields)
ClassroomRequestsetFields in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setKey(String key)
ClassroomRequestsetKey in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setOauthToken(String oauthToken)
ClassroomRequestsetOauthToken in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setPrettyPrint(Boolean prettyPrint)
ClassroomRequestsetPrettyPrint in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setQuotaUser(String quotaUser)
ClassroomRequestsetQuotaUser in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setUploadType(String uploadType)
ClassroomRequestsetUploadType in class ClassroomRequest<Student>public Classroom.Courses.Students.Get setUploadProtocol(String uploadProtocol)
ClassroomRequestsetUploadProtocol in class ClassroomRequest<Student>public String getCourseId()
public Classroom.Courses.Students.Get setCourseId(String courseId)
public String getUserId()
public Classroom.Courses.Students.Get setUserId(String userId)
public Classroom.Courses.Students.Get set(String parameterName, Object value)
set in class ClassroomRequest<Student>Copyright © 2011–2022 Google. All rights reserved.