public class Dfareporting.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 reportId,
Long fileId)
Retrieves a report file by its report ID and file ID.
|
| 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 |
getReportId()
The ID of the report.
|
Dfareporting.Files.Get |
set(String parameterName,
Object value) |
Dfareporting.Files.Get |
setAlt(String alt)
Data format for the response.
|
Dfareporting.Files.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dfareporting.Files.Get |
setFileId(Long fileId)
The ID of the report file.
|
Dfareporting.Files.Get |
setKey(String key)
API key.
|
Dfareporting.Files.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dfareporting.Files.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dfareporting.Files.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Dfareporting.Files.Get |
setReportId(Long reportId)
The ID of the report.
|
Dfareporting.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 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.
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.Files.Get setAlt(String alt)
DfareportingRequestsetAlt in class DfareportingRequest<File>public Dfareporting.Files.Get setFields(String fields)
DfareportingRequestsetFields in class DfareportingRequest<File>public Dfareporting.Files.Get setKey(String key)
DfareportingRequestsetKey in class DfareportingRequest<File>public Dfareporting.Files.Get setOauthToken(String oauthToken)
DfareportingRequestsetOauthToken in class DfareportingRequest<File>public Dfareporting.Files.Get setPrettyPrint(Boolean prettyPrint)
DfareportingRequestsetPrettyPrint in class DfareportingRequest<File>public Dfareporting.Files.Get setQuotaUser(String quotaUser)
DfareportingRequestsetQuotaUser in class DfareportingRequest<File>public Dfareporting.Files.Get setUserIp(String userIp)
DfareportingRequestsetUserIp in class DfareportingRequest<File>public Long getReportId()
public Dfareporting.Files.Get setReportId(Long reportId)
public Long getFileId()
public Dfareporting.Files.Get setFileId(Long fileId)
public Dfareporting.Files.Get set(String parameterName, Object value)
set in class DfareportingRequest<File>Copyright © 2011–2019 Google. All rights reserved.