get
public Analytics.Data.Realtime.Get get(java.lang.String ids,
java.lang.String metrics)
throws java.io.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:
java.io.IOException