public class Doubleclicksearch.Reports.GetFile extends DoubleclicksearchRequest<java.lang.Void>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
GetFile(java.lang.String reportId,
java.lang.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(java.io.OutputStream outputStream) |
java.io.InputStream |
executeMediaAsInputStream() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.Integer |
getReportFragment()
The index of the report fragment to download.
|
java.lang.String |
getReportId()
ID of the report.
|
Doubleclicksearch.Reports.GetFile |
set(java.lang.String parameterName,
java.lang.Object value) |
Doubleclicksearch.Reports.GetFile |
setAlt(java.lang.String alt)
Data format for the response.
|
Doubleclicksearch.Reports.GetFile |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Doubleclicksearch.Reports.GetFile |
setKey(java.lang.String key)
API key.
|
Doubleclicksearch.Reports.GetFile |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Doubleclicksearch.Reports.GetFile |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Doubleclicksearch.Reports.GetFile |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Doubleclicksearch.Reports.GetFile |
setReportFragment(java.lang.Integer reportFragment)
The index of the report fragment to download.
|
Doubleclicksearch.Reports.GetFile |
setReportId(java.lang.String reportId)
ID of the report.
|
Doubleclicksearch.Reports.GetFile |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected GetFile(java.lang.String reportId, java.lang.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(java.io.OutputStream outputStream) throws java.io.IOException
executeMediaAndDownloadTo
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<java.lang.Void>
java.io.IOException
public java.io.InputStream executeMediaAsInputStream() throws java.io.IOException
executeMediaAsInputStream
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<java.lang.Void>
java.io.IOException
public com.google.api.client.http.HttpResponse executeMedia() throws java.io.IOException
executeMedia
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<java.lang.Void>
java.io.IOException
public com.google.api.client.http.GenericUrl buildHttpRequestUrl()
buildHttpRequestUrl
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<java.lang.Void>
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<java.lang.Void>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<java.lang.Void>
java.io.IOException
public Doubleclicksearch.Reports.GetFile setAlt(java.lang.String alt)
DoubleclicksearchRequest
setAlt
in class DoubleclicksearchRequest<java.lang.Void>
public Doubleclicksearch.Reports.GetFile setFields(java.lang.String fields)
DoubleclicksearchRequest
setFields
in class DoubleclicksearchRequest<java.lang.Void>
public Doubleclicksearch.Reports.GetFile setKey(java.lang.String key)
DoubleclicksearchRequest
setKey
in class DoubleclicksearchRequest<java.lang.Void>
public Doubleclicksearch.Reports.GetFile setOauthToken(java.lang.String oauthToken)
DoubleclicksearchRequest
setOauthToken
in class DoubleclicksearchRequest<java.lang.Void>
public Doubleclicksearch.Reports.GetFile setPrettyPrint(java.lang.Boolean prettyPrint)
DoubleclicksearchRequest
setPrettyPrint
in class DoubleclicksearchRequest<java.lang.Void>
public Doubleclicksearch.Reports.GetFile setQuotaUser(java.lang.String quotaUser)
DoubleclicksearchRequest
setQuotaUser
in class DoubleclicksearchRequest<java.lang.Void>
public Doubleclicksearch.Reports.GetFile setUserIp(java.lang.String userIp)
DoubleclicksearchRequest
setUserIp
in class DoubleclicksearchRequest<java.lang.Void>
public java.lang.String getReportId()
public Doubleclicksearch.Reports.GetFile setReportId(java.lang.String reportId)
public java.lang.Integer getReportFragment()
public Doubleclicksearch.Reports.GetFile setReportFragment(java.lang.Integer reportFragment)
public Doubleclicksearch.Reports.GetFile set(java.lang.String parameterName, java.lang.Object value)
set
in class DoubleclicksearchRequest<java.lang.Void>