Class SearchUserActivityRequest
The request to fetch User Report from Reporting API userActivity:get
call.
Implements
Inherited Members
Namespace: Google.Apis.AnalyticsReporting.v4.Data
Assembly: Google.Apis.AnalyticsReporting.v4.dll
Syntax
public class SearchUserActivityRequest : IDirectResponseSchema
Properties
ActivityTypes
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.
Declaration
[JsonProperty("activityTypes")]
public virtual IList<string> ActivityTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
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).
Declaration
[JsonProperty("dateRange")]
public virtual DateRange DateRange { get; set; }
Property Value
Type | Description |
---|---|
DateRange |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
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.
Declaration
[JsonProperty("pageSize")]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
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.
Declaration
[JsonProperty("pageToken")]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
User
Required. Unique user Id to query for. Every SearchUserActivityRequest must contain this field.
Declaration
[JsonProperty("user")]
public virtual User User { get; set; }
Property Value
Type | Description |
---|---|
User |
ViewId
Required. The Analytics view ID from which to
retrieve data. Every SearchUserActivityRequest must contain the viewId
.
Declaration
[JsonProperty("viewId")]
public virtual string ViewId { get; set; }
Property Value
Type | Description |
---|---|
string |