Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SearchUserActivityRequest

import type { SearchUserActivityRequest } from "https://googleapis.deno.dev/v1/analyticsreporting:v4.ts";

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

interface SearchUserActivityRequest {
activityTypes?:
| "ACTIVITY_TYPE_UNSPECIFIED"
| "PAGEVIEW"
| "SCREENVIEW"
| "GOAL"
| "ECOMMERCE"
| "EVENT"[];
dateRange?: DateRange;
pageSize?: number;
pageToken?: string;
user?: User;
viewId?: string;
}

§Properties

§
activityTypes?: "ACTIVITY_TYPE_UNSPECIFIED" | "PAGEVIEW" | "SCREENVIEW" | "GOAL" | "ECOMMERCE" | "EVENT"[]
[src]

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.

§
dateRange?: DateRange
[src]

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).

§
pageSize?: number
[src]

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.

§
pageToken?: string
[src]

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.

§
user?: User
[src]

Required. Unique user Id to query for. Every SearchUserActivityRequest must contain this field.

§
viewId?: string
[src]

Required. The Analytics view ID from which to retrieve data. Every SearchUserActivityRequest must contain the viewId.