public class Reports.Activities.Watch extends ReportsRequest<Channel>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Watch(String userKey,
String applicationName,
Channel content)
Start receiving notifications for account activities.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActorIpAddress()
The Internet Protocol (IP) Address of host where the event was performed.
|
String |
getApplicationName()
Application name for which the events are to be retrieved.
|
String |
getCustomerId()
The unique ID of the customer to retrieve data for.
|
String |
getEndTime()
Sets the end of the range of time shown in the report.
|
String |
getEventName()
The name of the event being queried by the API.
|
String |
getFilters()
The `filters` query string is a comma-separated list composed of event parameters manipulated by
relational operators.
|
String |
getGroupIdFilter()
` Deprecated`.
|
Integer |
getMaxResults()
Determines how many activity records are shown on each response page.
|
String |
getOrgUnitID()
` Deprecated`.
|
String |
getPageToken()
The token to specify next page.
|
String |
getStartTime()
Sets the beginning of the range of time shown in the report.
|
String |
getUserKey()
Represents the profile ID or the user email for which the data should be filtered.
|
Reports.Activities.Watch |
set(String parameterName,
Object value) |
Reports.Activities.Watch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Reports.Activities.Watch |
setAccessToken(String accessToken)
OAuth access token.
|
Reports.Activities.Watch |
setActorIpAddress(String actorIpAddress)
The Internet Protocol (IP) Address of host where the event was performed.
|
Reports.Activities.Watch |
setAlt(String alt)
Data format for response.
|
Reports.Activities.Watch |
setApplicationName(String applicationName)
Application name for which the events are to be retrieved.
|
Reports.Activities.Watch |
setCallback(String callback)
JSONP
|
Reports.Activities.Watch |
setCustomerId(String customerId)
The unique ID of the customer to retrieve data for.
|
Reports.Activities.Watch |
setEndTime(String endTime)
Sets the end of the range of time shown in the report.
|
Reports.Activities.Watch |
setEventName(String eventName)
The name of the event being queried by the API.
|
Reports.Activities.Watch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Reports.Activities.Watch |
setFilters(String filters)
The `filters` query string is a comma-separated list composed of event parameters
manipulated by relational operators.
|
Reports.Activities.Watch |
setGroupIdFilter(String groupIdFilter)
`Deprecated`.
|
Reports.Activities.Watch |
setKey(String key)
API key.
|
Reports.Activities.Watch |
setMaxResults(Integer maxResults)
Determines how many activity records are shown on each response page.
|
Reports.Activities.Watch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Reports.Activities.Watch |
setOrgUnitID(String orgUnitID)
`Deprecated`.
|
Reports.Activities.Watch |
setPageToken(String pageToken)
The token to specify next page.
|
Reports.Activities.Watch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Reports.Activities.Watch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Reports.Activities.Watch |
setStartTime(String startTime)
Sets the beginning of the range of time shown in the report.
|
Reports.Activities.Watch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Reports.Activities.Watch |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Reports.Activities.Watch |
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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 Watch(String userKey, String applicationName, Channel content)
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`.applicationName - Application name for which the events are to be retrieved.content - the Channelpublic Reports.Activities.Watch set$Xgafv(String $Xgafv)
ReportsRequestset$Xgafv in class ReportsRequest<Channel>public Reports.Activities.Watch setAccessToken(String accessToken)
ReportsRequestsetAccessToken in class ReportsRequest<Channel>public Reports.Activities.Watch setAlt(String alt)
ReportsRequestsetAlt in class ReportsRequest<Channel>public Reports.Activities.Watch setCallback(String callback)
ReportsRequestsetCallback in class ReportsRequest<Channel>public Reports.Activities.Watch setFields(String fields)
ReportsRequestsetFields in class ReportsRequest<Channel>public Reports.Activities.Watch setKey(String key)
ReportsRequestsetKey in class ReportsRequest<Channel>public Reports.Activities.Watch setOauthToken(String oauthToken)
ReportsRequestsetOauthToken in class ReportsRequest<Channel>public Reports.Activities.Watch setPrettyPrint(Boolean prettyPrint)
ReportsRequestsetPrettyPrint in class ReportsRequest<Channel>public Reports.Activities.Watch setQuotaUser(String quotaUser)
ReportsRequestsetQuotaUser in class ReportsRequest<Channel>public Reports.Activities.Watch setUploadType(String uploadType)
ReportsRequestsetUploadType in class ReportsRequest<Channel>public Reports.Activities.Watch setUploadProtocol(String uploadProtocol)
ReportsRequestsetUploadProtocol in class ReportsRequest<Channel>public String getUserKey()
public Reports.Activities.Watch setUserKey(String userKey)
public String getApplicationName()
public Reports.Activities.Watch setApplicationName(String applicationName)
public String getActorIpAddress()
public Reports.Activities.Watch setActorIpAddress(String actorIpAddress)
public String getCustomerId()
public Reports.Activities.Watch setCustomerId(String customerId)
public String getEndTime()
public Reports.Activities.Watch setEndTime(String endTime)
public String getEventName()
public Reports.Activities.Watch setEventName(String eventName)
public String getFilters()
public Reports.Activities.Watch setFilters(String filters)
public String getGroupIdFilter()
public Reports.Activities.Watch setGroupIdFilter(String groupIdFilter)
public Integer getMaxResults()
public Reports.Activities.Watch setMaxResults(Integer maxResults)
public String getOrgUnitID()
public Reports.Activities.Watch setOrgUnitID(String orgUnitID)
public String getPageToken()
public Reports.Activities.Watch setPageToken(String pageToken)
public String getStartTime()
public Reports.Activities.Watch setStartTime(String startTime)
public Reports.Activities.Watch set(String parameterName, Object value)
set in class ReportsRequest<Channel>Copyright © 2011–2025 Google. All rights reserved.