public class Reports.EntityUsageReports.Get extends ReportsRequest<UsageReports>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String entityType,
String entityKey,
String date)
Retrieves a report which is a collection of properties and statistics for entities used by
users within the account.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCustomerId()
The unique ID of the customer to retrieve data for.
|
String |
getDate()
Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time).
|
String |
getEntityKey()
Represents the key of the object to filter the data with.
|
String |
getEntityType()
Represents the type of entity for the report.
|
String |
getFilters()
The `filters` query string is a comma-separated list of an application's event parameters where the
parameter's value is manipulated by a relational operator.
|
Long |
getMaxResults()
Determines how many activity records are shown on each response page.
|
String |
getPageToken()
Token to specify next page.
|
String |
getParameters()
The `parameters` query string is a comma-separated list of event parameters that refine a report's
results.
|
Reports.EntityUsageReports.Get |
set(String parameterName,
Object value) |
Reports.EntityUsageReports.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reports.EntityUsageReports.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Reports.EntityUsageReports.Get |
setAlt(String alt)
Data format for response.
|
Reports.EntityUsageReports.Get |
setCallback(String callback)
JSONP
|
Reports.EntityUsageReports.Get |
setCustomerId(String customerId)
The unique ID of the customer to retrieve data for.
|
Reports.EntityUsageReports.Get |
setDate(String date)
Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time).
|
Reports.EntityUsageReports.Get |
setEntityKey(String entityKey)
Represents the key of the object to filter the data with.
|
Reports.EntityUsageReports.Get |
setEntityType(String entityType)
Represents the type of entity for the report.
|
Reports.EntityUsageReports.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reports.EntityUsageReports.Get |
setFilters(String filters)
The `filters` query string is a comma-separated list of an application's event parameters
where the parameter's value is manipulated by a relational operator.
|
Reports.EntityUsageReports.Get |
setKey(String key)
API key.
|
Reports.EntityUsageReports.Get |
setMaxResults(Long maxResults)
Determines how many activity records are shown on each response page.
|
Reports.EntityUsageReports.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reports.EntityUsageReports.Get |
setPageToken(String pageToken)
Token to specify next page.
|
Reports.EntityUsageReports.Get |
setParameters(String parameters)
The `parameters` query string is a comma-separated list of event parameters that refine a
report's results.
|
Reports.EntityUsageReports.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reports.EntityUsageReports.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reports.EntityUsageReports.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reports.EntityUsageReports.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String entityType, String entityKey, String date)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Reports.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
entityType - Represents the type of entity for the report.entityKey - Represents the key of the object to filter the data with. It is a string which can take the value
`all` to get activity events for all users, or any other value for an app-specific entity.
For details on how to obtain the `entityKey` for a particular `entityType`, see the
Entities Usage parameters reference guides.date - Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is
in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<UsageReports>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<UsageReports>IOExceptionpublic Reports.EntityUsageReports.Get set$Xgafv(String $Xgafv)
ReportsRequestset$Xgafv in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setAccessToken(String accessToken)
ReportsRequestsetAccessToken in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setAlt(String alt)
ReportsRequestsetAlt in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setCallback(String callback)
ReportsRequestsetCallback in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setFields(String fields)
ReportsRequestsetFields in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setKey(String key)
ReportsRequestsetKey in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setOauthToken(String oauthToken)
ReportsRequestsetOauthToken in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setPrettyPrint(Boolean prettyPrint)
ReportsRequestsetPrettyPrint in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setQuotaUser(String quotaUser)
ReportsRequestsetQuotaUser in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setUploadType(String uploadType)
ReportsRequestsetUploadType in class ReportsRequest<UsageReports>public Reports.EntityUsageReports.Get setUploadProtocol(String uploadProtocol)
ReportsRequestsetUploadProtocol in class ReportsRequest<UsageReports>public String getEntityType()
public Reports.EntityUsageReports.Get setEntityType(String entityType)
public String getEntityKey()
public Reports.EntityUsageReports.Get setEntityKey(String entityKey)
public String getDate()
public Reports.EntityUsageReports.Get setDate(String date)
public String getCustomerId()
public Reports.EntityUsageReports.Get setCustomerId(String customerId)
public String getFilters()
public Reports.EntityUsageReports.Get setFilters(String filters)
public Long getMaxResults()
public Reports.EntityUsageReports.Get setMaxResults(Long maxResults)
public String getPageToken()
public Reports.EntityUsageReports.Get setPageToken(String pageToken)
public String getParameters()
public Reports.EntityUsageReports.Get setParameters(String parameters)
public Reports.EntityUsageReports.Get set(String parameterName, Object value)
set in class ReportsRequest<UsageReports>Copyright © 2011–2025 Google. All rights reserved.