public class Dfareporting.Reports.Files.Get extends DfareportingRequest<File>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(Long profileId,
Long reportId,
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(OutputStream outputStream) |
InputStream |
executeMediaAsInputStream() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Long |
getFileId()
The ID of the report file.
|
Long |
getProfileId()
The DFA profile ID.
|
Long |
getReportId()
The ID of the report.
|
Dfareporting.Reports.Files.Get |
set(String parameterName,
Object value) |
Dfareporting.Reports.Files.Get |
setAlt(String alt)
Data format for the response.
|
Dfareporting.Reports.Files.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dfareporting.Reports.Files.Get |
setFileId(Long fileId)
The ID of the report file.
|
Dfareporting.Reports.Files.Get |
setKey(String key)
API key.
|
Dfareporting.Reports.Files.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dfareporting.Reports.Files.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dfareporting.Reports.Files.Get |
setProfileId(Long profileId)
The DFA profile ID.
|
Dfareporting.Reports.Files.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Dfareporting.Reports.Files.Get |
setReportId(Long reportId)
The ID of the report.
|
Dfareporting.Reports.Files.Get |
setUserIp(String userIp)
Deprecated.
|
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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(Long profileId, Long reportId, 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(OutputStream outputStream) throws IOException
executeMediaAndDownloadTo in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>IOExceptionpublic InputStream executeMediaAsInputStream() throws IOException
executeMediaAsInputStream in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>IOExceptionpublic com.google.api.client.http.HttpResponse executeMedia()
throws IOException
executeMedia in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>IOExceptionpublic com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<File>IOExceptionpublic Dfareporting.Reports.Files.Get setAlt(String alt)
DfareportingRequestsetAlt in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setFields(String fields)
DfareportingRequestsetFields in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setKey(String key)
DfareportingRequestsetKey in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setOauthToken(String oauthToken)
DfareportingRequestsetOauthToken in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setPrettyPrint(Boolean prettyPrint)
DfareportingRequestsetPrettyPrint in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setQuotaUser(String quotaUser)
DfareportingRequestsetQuotaUser in class DfareportingRequest<File>public Dfareporting.Reports.Files.Get setUserIp(String userIp)
DfareportingRequestsetUserIp in class DfareportingRequest<File>public Long getProfileId()
public Dfareporting.Reports.Files.Get setProfileId(Long profileId)
public Long getReportId()
public Dfareporting.Reports.Files.Get setReportId(Long reportId)
public Long getFileId()
public Dfareporting.Reports.Files.Get setFileId(Long fileId)
public Dfareporting.Reports.Files.Get set(String parameterName, Object value)
set in class DfareportingRequest<File>Copyright © 2011–2019 Google. All rights reserved.