target.apidocs.com.google.api.services.analytics.Analytics.Data.Realtime.html Maven / Gradle / Ivy
Analytics.Data.Realtime (Google Analytics API v3-rev20190807-1.31.0)
com.google.api.services.analytics
Class Analytics.Data.Realtime
- java.lang.Object
-
- com.google.api.services.analytics.Analytics.Data.Realtime
-
- Enclosing class:
- Analytics.Data
public class Analytics.Data.Realtime
extends Object
The "realtime" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Analytics.Data.Realtime.Get
-
Constructor Summary
Constructors
Constructor and Description
Realtime()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Analytics.Data.Realtime.Get
get(String ids,
String metrics)
Returns real time data for a view (profile).
-
-
Method Detail
-
get
public Analytics.Data.Realtime.Get get(String ids,
String metrics)
throws IOException
Returns real time data for a view (profile).
Create a request for the method "realtime.get".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
metrics
- A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
specified.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.