public class Tasks.TasksOperations.Get extends TasksRequest<Task>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Get(String tasklist,
String task)
Returns the specified task.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getTask()
Task identifier.
|
String |
getTasklist()
Task list identifier.
|
Tasks.TasksOperations.Get |
set(String parameterName,
Object value) |
Tasks.TasksOperations.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Tasks.TasksOperations.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Tasks.TasksOperations.Get |
setAlt(String alt)
Data format for response.
|
Tasks.TasksOperations.Get |
setCallback(String callback)
JSONP
|
Tasks.TasksOperations.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Tasks.TasksOperations.Get |
setKey(String key)
API key.
|
Tasks.TasksOperations.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Tasks.TasksOperations.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Tasks.TasksOperations.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Tasks.TasksOperations.Get |
setTask(String task)
Task identifier.
|
Tasks.TasksOperations.Get |
setTasklist(String tasklist)
Task list identifier.
|
Tasks.TasksOperations.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Tasks.TasksOperations.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Get(String tasklist, String task)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Tasks.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
tasklist
- Task list identifier.task
- Task identifier.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Task>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Task>
IOException
public Tasks.TasksOperations.Get set$Xgafv(String $Xgafv)
TasksRequest
set$Xgafv
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setAccessToken(String accessToken)
TasksRequest
setAccessToken
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setAlt(String alt)
TasksRequest
setAlt
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setCallback(String callback)
TasksRequest
setCallback
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setFields(String fields)
TasksRequest
setFields
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setKey(String key)
TasksRequest
setKey
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setOauthToken(String oauthToken)
TasksRequest
setOauthToken
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setPrettyPrint(Boolean prettyPrint)
TasksRequest
setPrettyPrint
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setQuotaUser(String quotaUser)
TasksRequest
setQuotaUser
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setUploadType(String uploadType)
TasksRequest
setUploadType
in class TasksRequest<Task>
public Tasks.TasksOperations.Get setUploadProtocol(String uploadProtocol)
TasksRequest
setUploadProtocol
in class TasksRequest<Task>
public String getTasklist()
public Tasks.TasksOperations.Get setTasklist(String tasklist)
public String getTask()
public Tasks.TasksOperations.Get setTask(String task)
public Tasks.TasksOperations.Get set(String parameterName, Object value)
set
in class TasksRequest<Task>
Copyright © 2011–2023 Google. All rights reserved.