Show / Hide Table of Contents

Class UserActivitySession

This represents a user session performed on a specific device at a certain time over a period of time.

Inheritance
object
UserActivitySession
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AnalyticsReporting.v4.Data
Assembly: Google.Apis.AnalyticsReporting.v4.dll
Syntax
public class UserActivitySession : IDirectResponseSchema

Properties

Activities

Represents a detailed view into each of the activity in this session.

Declaration
[JsonProperty("activities")]
public virtual IList<Activity> Activities { get; set; }
Property Value
Type Description
IList<Activity>

DataSource

The data source of a hit. By default, hits sent from analytics.js are reported as "web" and hits sent from the mobile SDKs are reported as "app". These values can be overridden in the Measurement Protocol.

Declaration
[JsonProperty("dataSource")]
public virtual string DataSource { get; set; }
Property Value
Type Description
string

DeviceCategory

The type of device used: "mobile", "tablet" etc.

Declaration
[JsonProperty("deviceCategory")]
public virtual string DeviceCategory { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Platform

Platform on which the activity happened: "android", "ios" etc.

Declaration
[JsonProperty("platform")]
public virtual string Platform { get; set; }
Property Value
Type Description
string

SessionDate

Date of this session in ISO-8601 format.

Declaration
[JsonProperty("sessionDate")]
public virtual string SessionDate { get; set; }
Property Value
Type Description
string

SessionId

Unique ID of the session.

Declaration
[JsonProperty("sessionId")]
public virtual string SessionId { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX