Class DataResource.RealtimeResource.GetRequest
Returns real time data for a view (profile).
Inheritance
DataResource.RealtimeResource.GetRequest
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class DataResource.RealtimeResource.GetRequest : AnalyticsBaseServiceRequest<RealtimeData>, IClientServiceRequest<RealtimeData>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string ids, string metrics)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | ids | |
string | metrics |
Properties
Dimensions
A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
Declaration
[RequestParameter("dimensions", RequestParameterType.Query)]
public virtual string Dimensions { get; set; }
Property Value
Type | Description |
---|---|
string |
Filters
A comma-separated list of dimension or metric filters to be applied to real time data.
Declaration
[RequestParameter("filters", RequestParameterType.Query)]
public virtual string Filters { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.RealtimeData>.HttpMethod
Ids
Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
Declaration
[RequestParameter("ids", RequestParameterType.Query)]
public virtual string Ids { get; }
Property Value
Type | Description |
---|---|
string |
MaxResults
The maximum number of entries to include in this feed.
Declaration
[RequestParameter("max-results", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.RealtimeData>.MethodName
Metrics
A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be specified.
Declaration
[RequestParameter("metrics", RequestParameterType.Query)]
public virtual string Metrics { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.RealtimeData>.RestPath
Sort
A comma-separated list of dimensions or metrics that determine the sort order for real time data.
Declaration
[RequestParameter("sort", RequestParameterType.Query)]
public virtual string Sort { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()