public class Dfareporting.Reports.Get extends DfareportingRequest<Report>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Dfareporting.Reports.Get(java.lang.Long profileId,
java.lang.Long reportId)
Retrieves a report by its ID.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.Long |
getProfileId()
The DFA user profile ID.
|
java.lang.Long |
getReportId()
The ID of the report.
|
Dfareporting.Reports.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Dfareporting.Reports.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Dfareporting.Reports.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Dfareporting.Reports.Get |
setKey(java.lang.String key)
API key.
|
Dfareporting.Reports.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Dfareporting.Reports.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dfareporting.Reports.Get |
setProfileId(java.lang.Long profileId)
The DFA user profile ID.
|
Dfareporting.Reports.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Dfareporting.Reports.Get |
setReportId(java.lang.Long reportId)
The ID of the report.
|
Dfareporting.Reports.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, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, 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.Get(java.lang.Long profileId,
java.lang.Long reportId)
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 user profile ID.reportId - The ID of the report.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Report>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Report>java.io.IOExceptionpublic Dfareporting.Reports.Get setAlt(java.lang.String alt)
DfareportingRequestsetAlt in class DfareportingRequest<Report>public Dfareporting.Reports.Get setFields(java.lang.String fields)
DfareportingRequestsetFields in class DfareportingRequest<Report>public Dfareporting.Reports.Get setKey(java.lang.String key)
DfareportingRequestsetKey in class DfareportingRequest<Report>public Dfareporting.Reports.Get setOauthToken(java.lang.String oauthToken)
DfareportingRequestsetOauthToken in class DfareportingRequest<Report>public Dfareporting.Reports.Get setPrettyPrint(java.lang.Boolean prettyPrint)
DfareportingRequestsetPrettyPrint in class DfareportingRequest<Report>public Dfareporting.Reports.Get setQuotaUser(java.lang.String quotaUser)
DfareportingRequestsetQuotaUser in class DfareportingRequest<Report>public Dfareporting.Reports.Get setUserIp(java.lang.String userIp)
DfareportingRequestsetUserIp in class DfareportingRequest<Report>public java.lang.Long getProfileId()
public Dfareporting.Reports.Get setProfileId(java.lang.Long profileId)
public java.lang.Long getReportId()
public Dfareporting.Reports.Get setReportId(java.lang.Long reportId)
public Dfareporting.Reports.Get set(java.lang.String parameterName, java.lang.Object value)
set in class DfareportingRequest<Report>