public class Dfareporting.Reports.Files.Get extends DfareportingRequest<File>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Dfareporting.Reports.Files.Get(java.lang.Long profileId,
java.lang.Long reportId,
java.lang.Long fileId)
Retrieves a report file.
|
| Modifier and Type | Method and Description |
|---|---|
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.Long |
getFileId()
The ID of the report file.
|
java.lang.Long |
getProfileId()
The DFA profile ID.
|
java.lang.Long |
getReportId()
The ID of the report.
|
Dfareporting.Reports.Files.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Dfareporting.Reports.Files.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Dfareporting.Reports.Files.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dfareporting.Reports.Files.Get |
setFileId(java.lang.Long fileId)
The ID of the report file.
|
Dfareporting.Reports.Files.Get |
setKey(java.lang.String key)
API key.
|
Dfareporting.Reports.Files.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dfareporting.Reports.Files.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dfareporting.Reports.Files.Get |
setProfileId(java.lang.Long profileId)
The DFA profile ID.
|
Dfareporting.Reports.Files.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dfareporting.Reports.Files.Get |
setReportId(java.lang.Long reportId)
The ID of the report.
|
Dfareporting.Reports.Files.Get |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Dfareporting.Reports.Files.Get(java.lang.Long profileId,
java.lang.Long reportId,
java.lang.Long fileId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Dfareporting.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
profileId - The DFA profile ID.reportId - The ID of the report.fileId - The ID of the report file.public void executeMediaAndDownloadTo(java.io.OutputStream outputStream)
throws java.io.IOException
executeMediaAndDownloadTo in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>java.io.IOExceptionpublic java.io.InputStream executeMediaAsInputStream()
throws java.io.IOException
executeMediaAsInputStream in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>java.io.IOExceptionpublic com.google.api.client.http.HttpResponse executeMedia()
throws java.io.IOException
executeMedia in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>java.io.IOExceptionpublic com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>java.io.IOExceptionpublic Dfareporting.Reports.Files.Get setAlt(java.lang.String alt)
DfareportingRequestsetAlt in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setFields(java.lang.String fields)
DfareportingRequestsetFields in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setKey(java.lang.String key)
DfareportingRequestsetKey in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setOauthToken(java.lang.String oauthToken)
DfareportingRequestsetOauthToken in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setPrettyPrint(java.lang.Boolean prettyPrint)
DfareportingRequestsetPrettyPrint in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setQuotaUser(java.lang.String quotaUser)
DfareportingRequestsetQuotaUser in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setUserIp(java.lang.String userIp)
DfareportingRequestsetUserIp in class DfareportingRequest<File>public java.lang.Long getProfileId()
public Dfareporting.Reports.Files.Get setProfileId(java.lang.Long profileId)
public java.lang.Long getReportId()
public Dfareporting.Reports.Files.Get setReportId(java.lang.Long reportId)
public java.lang.Long getFileId()
public Dfareporting.Reports.Files.Get setFileId(java.lang.Long fileId)
public Dfareporting.Reports.Files.Get set(java.lang.String parameterName, java.lang.Object value)
set in class DfareportingRequest<File>