public class Doubleclicksearch.Reports.GetFile extends DoubleclicksearchRequest<Void>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetFile(String reportId,
Integer reportFragment)
Downloads a report file encoded in UTF-8.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.GenericUrl |
buildHttpRequestUrl() |
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeMedia() |
void |
executeMediaAndDownloadTo(OutputStream outputStream) |
InputStream |
executeMediaAsInputStream() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Integer |
getReportFragment()
The index of the report fragment to download.
|
String |
getReportId()
ID of the report.
|
Doubleclicksearch.Reports.GetFile |
set(String parameterName,
Object value) |
Doubleclicksearch.Reports.GetFile |
set$Xgafv(String $Xgafv)
V1 error format.
|
Doubleclicksearch.Reports.GetFile |
setAccessToken(String accessToken)
OAuth access token.
|
Doubleclicksearch.Reports.GetFile |
setAlt(String alt)
Data format for response.
|
Doubleclicksearch.Reports.GetFile |
setCallback(String callback)
JSONP
|
Doubleclicksearch.Reports.GetFile |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Doubleclicksearch.Reports.GetFile |
setKey(String key)
API key.
|
Doubleclicksearch.Reports.GetFile |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Doubleclicksearch.Reports.GetFile |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Doubleclicksearch.Reports.GetFile |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Doubleclicksearch.Reports.GetFile |
setReportFragment(Integer reportFragment)
The index of the report fragment to download.
|
Doubleclicksearch.Reports.GetFile |
setReportId(String reportId)
ID of the report.
|
Doubleclicksearch.Reports.GetFile |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Doubleclicksearch.Reports.GetFile |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, 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 GetFile(String reportId, Integer reportFragment)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. Doubleclicksearch.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
reportId
- ID of the report.reportFragment
- The index of the report fragment to download.
[minimum: 0]public void executeMediaAndDownloadTo(OutputStream outputStream) throws IOException
executeMediaAndDownloadTo
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Void>
IOException
public InputStream executeMediaAsInputStream() throws IOException
executeMediaAsInputStream
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Void>
IOException
public com.google.api.client.http.HttpResponse executeMedia() throws IOException
executeMedia
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Void>
IOException
public com.google.api.client.http.GenericUrl buildHttpRequestUrl()
buildHttpRequestUrl
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Void>
public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Void>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Void>
IOException
public Doubleclicksearch.Reports.GetFile set$Xgafv(String $Xgafv)
DoubleclicksearchRequest
set$Xgafv
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setAccessToken(String accessToken)
DoubleclicksearchRequest
setAccessToken
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setAlt(String alt)
DoubleclicksearchRequest
setAlt
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setCallback(String callback)
DoubleclicksearchRequest
setCallback
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setFields(String fields)
DoubleclicksearchRequest
setFields
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setKey(String key)
DoubleclicksearchRequest
setKey
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setOauthToken(String oauthToken)
DoubleclicksearchRequest
setOauthToken
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setPrettyPrint(Boolean prettyPrint)
DoubleclicksearchRequest
setPrettyPrint
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setQuotaUser(String quotaUser)
DoubleclicksearchRequest
setQuotaUser
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setUploadType(String uploadType)
DoubleclicksearchRequest
setUploadType
in class DoubleclicksearchRequest<Void>
public Doubleclicksearch.Reports.GetFile setUploadProtocol(String uploadProtocol)
DoubleclicksearchRequest
setUploadProtocol
in class DoubleclicksearchRequest<Void>
public String getReportId()
public Doubleclicksearch.Reports.GetFile setReportId(String reportId)
public Integer getReportFragment()
public Doubleclicksearch.Reports.GetFile setReportFragment(Integer reportFragment)
public Doubleclicksearch.Reports.GetFile set(String parameterName, Object value)
set
in class DoubleclicksearchRequest<Void>
Copyright © 2011–2024 Google. All rights reserved.