SearchUserActivityRequest class

The request to fetch User Report from Reporting API userActivity:get call.


SearchUserActivityRequest.fromJson(Map _json)


activityTypes List<String>
Set of all activity types being requested. Only acvities matching these types will be returned in the response. If empty, all activies will be returned.
read / write
dateRange DateRange
Date range for which to retrieve the user activity. If a date range is not provided, the default date range is (startDate: current date - 7 days, endDate: current date - 1 day).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
pageSize int
Page size is for paging and specifies the maximum number of returned rows. Page size should be > 0. If the value is 0 or if the field isn't specified, the request returns the default of 1000 rows per page.
read / write
pageToken String
A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the SearchUserActivityRequest request.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
user User
Required. Unique user Id to query for. Every SearchUserActivityRequest must contain this field.
read / write
viewId String
Required. The Analytics view ID from which to retrieve data. Every SearchUserActivityRequest must contain the viewId.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]