public class Reports.UserUsageReport.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 userKey,
String date)
Retrieves a report which is a collection of properties and statistics for a set of users with
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 |
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.
|
String |
getGroupIdFilter()
Comma separated group ids (obfuscated) on which user activities are filtered, i.e.
|
Long |
getMaxResults()
Determines how many activity records are shown on each response page.
|
String |
getOrgUnitID()
ID of the organizational unit to report on.
|
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.
|
String |
getUserKey()
Represents the profile ID or the user email for which the data should be filtered.
|
Reports.UserUsageReport.Get |
set(String parameterName,
Object value) |
Reports.UserUsageReport.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reports.UserUsageReport.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Reports.UserUsageReport.Get |
setAlt(String alt)
Data format for response.
|
Reports.UserUsageReport.Get |
setCallback(String callback)
JSONP
|
Reports.UserUsageReport.Get |
setCustomerId(String customerId)
The unique ID of the customer to retrieve data for.
|
Reports.UserUsageReport.Get |
setDate(String date)
Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time).
|
Reports.UserUsageReport.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reports.UserUsageReport.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.UserUsageReport.Get |
setGroupIdFilter(String groupIdFilter)
Comma separated group ids (obfuscated) on which user activities are filtered, i.e.
|
Reports.UserUsageReport.Get |
setKey(String key)
API key.
|
Reports.UserUsageReport.Get |
setMaxResults(Long maxResults)
Determines how many activity records are shown on each response page.
|
Reports.UserUsageReport.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reports.UserUsageReport.Get |
setOrgUnitID(String orgUnitID)
ID of the organizational unit to report on.
|
Reports.UserUsageReport.Get |
setPageToken(String pageToken)
Token to specify next page.
|
Reports.UserUsageReport.Get |
setParameters(String parameters)
The `parameters` query string is a comma-separated list of event parameters that refine a
report's results.
|
Reports.UserUsageReport.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reports.UserUsageReport.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reports.UserUsageReport.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reports.UserUsageReport.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Reports.UserUsageReport.Get |
setUserKey(String userKey)
Represents the profile ID or the user email for which the data should be filtered.
|
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 userKey, 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.
userKey - Represents the profile ID or the user email for which the data should be filtered. Can be `all` for
all information, or `userKey` for a user's unique Google Workspace profile ID or their
primary email address. Must not be a deleted user. For a deleted user, call `users.list`
in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.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.UserUsageReport.Get set$Xgafv(String $Xgafv)
ReportsRequestset$Xgafv in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setAccessToken(String accessToken)
ReportsRequestsetAccessToken in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setAlt(String alt)
ReportsRequestsetAlt in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setCallback(String callback)
ReportsRequestsetCallback in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setFields(String fields)
ReportsRequestsetFields in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setKey(String key)
ReportsRequestsetKey in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setOauthToken(String oauthToken)
ReportsRequestsetOauthToken in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setPrettyPrint(Boolean prettyPrint)
ReportsRequestsetPrettyPrint in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setQuotaUser(String quotaUser)
ReportsRequestsetQuotaUser in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setUploadType(String uploadType)
ReportsRequestsetUploadType in class ReportsRequest<UsageReports>public Reports.UserUsageReport.Get setUploadProtocol(String uploadProtocol)
ReportsRequestsetUploadProtocol in class ReportsRequest<UsageReports>public String getUserKey()
public Reports.UserUsageReport.Get setUserKey(String userKey)
public String getDate()
public Reports.UserUsageReport.Get setDate(String date)
public String getCustomerId()
public Reports.UserUsageReport.Get setCustomerId(String customerId)
public String getFilters()
public Reports.UserUsageReport.Get setFilters(String filters)
public String getGroupIdFilter()
public Reports.UserUsageReport.Get setGroupIdFilter(String groupIdFilter)
public Long getMaxResults()
public Reports.UserUsageReport.Get setMaxResults(Long maxResults)
public String getOrgUnitID()
public Reports.UserUsageReport.Get setOrgUnitID(String orgUnitID)
public String getPageToken()
public Reports.UserUsageReport.Get setPageToken(String pageToken)
public String getParameters()
public Reports.UserUsageReport.Get setParameters(String parameters)
public Reports.UserUsageReport.Get set(String parameterName, Object value)
set in class ReportsRequest<UsageReports>Copyright © 2011–2025 Google. All rights reserved.