|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.googleapis.services.AbstractGoogleClient
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
com.google.api.services.analytics.Analytics
public class Analytics
Service definition for Analytics (v3).
View and manage your Google Analytics data
For more information about this service, see the API Documentation
This service uses AnalyticsRequestInitializer to initialize global parameters via its
Analytics.Builder.
| Nested Class Summary | |
|---|---|
static class |
Analytics.Builder
Builder for Analytics. |
class |
Analytics.Data
The "data" collection of methods. |
class |
Analytics.Management
The "management" collection of methods. |
| Field Summary | |
|---|---|
static String |
DEFAULT_BASE_URL
The default encoded base URL of the service. |
static String |
DEFAULT_ROOT_URL
The default encoded root URL of the service. |
static String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service. |
| Constructor Summary | |
|---|---|
Analytics(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Constructor. |
|
| Method Summary | |
|---|---|
Analytics.Data |
data()
An accessor for creating requests from the Data collection. |
protected void |
initialize(AbstractGoogleClientRequest<?> httpClientRequest)
|
Analytics.Management |
management()
An accessor for creating requests from the Management collection. |
| Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient |
|---|
getJsonFactory, getObjectParser |
| Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient |
|---|
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_ROOT_URL
public static final String DEFAULT_SERVICE_PATH
public static final String DEFAULT_BASE_URL
| Constructor Detail |
|---|
public Analytics(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Use Analytics.Builder if you need to specify any of the optional parameters.
transport - HTTP transport, which should normally be:
com.google.api.client.extensions.appengine.http.UrlFetchTransportnewCompatibleTransport from
com.google.api.client.extensions.android.http.AndroidHttpGoogleNetHttpTransport
jsonFactory - JSON factory, which may be:
com.google.api.client.json.jackson2.JacksonFactorycom.google.api.client.json.gson.GsonFactorycom.google.api.client.extensions.android.json.AndroidJsonFactoryhttpRequestInitializer - HTTP request initializer or null for none| Method Detail |
|---|
protected void initialize(AbstractGoogleClientRequest<?> httpClientRequest)
throws IOException
initialize in class AbstractGoogleClientIOExceptionpublic Analytics.Data data()
The typical use is:
Analytics analytics = new Analytics(...);Analytics.Data.List request = analytics.data().list(parameters ...)
public Analytics.Management management()
The typical use is:
Analytics analytics = new Analytics(...);Analytics.Management.List request = analytics.management().list(parameters ...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||