All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.analytics.Analytics.html Maven / Gradle / Ivy

There is a newer version: v3-rev20190807-2.0.0
Show newest version






Analytics (Google Analytics API v2.4-rev20180622-1.29.2)












com.google.api.services.analytics

Class Analytics

    • Field Detail

      • DEFAULT_ROOT_URL

        public static final String DEFAULT_ROOT_URL
        The default encoded root URL of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.7
        See Also:
        Constant Field Values
      • DEFAULT_SERVICE_PATH

        public static final String DEFAULT_SERVICE_PATH
        The default encoded service path of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.7
        See Also:
        Constant Field Values
      • DEFAULT_BATCH_PATH

        public static final String DEFAULT_BATCH_PATH
        The default encoded batch path of the service. This is determined when the library is generated and normally should not be changed.
        Since:
        1.23
        See Also:
        Constant Field Values
      • DEFAULT_BASE_URL

        public static final String DEFAULT_BASE_URL
        The default encoded base URL of the service. This is determined when the library is generated and normally should not be changed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Analytics

        public Analytics(HttpTransport transport,
                         JsonFactory jsonFactory,
                         HttpRequestInitializer httpRequestInitializer)
        Constructor.

        Use Analytics.Builder if you need to specify any of the optional parameters.

        Parameters:
        transport - HTTP transport, which should normally be:
        • Google App Engine: com.google.api.client.extensions.appengine.http.UrlFetchTransport
        • Android: newCompatibleTransport from com.google.api.client.extensions.android.http.AndroidHttp
        • Java: GoogleNetHttpTransport
        jsonFactory - JSON factory, which may be:
        • Jackson: com.google.api.client.json.jackson2.JacksonFactory
        • Google GSON: com.google.api.client.json.gson.GsonFactory
        • Android Honeycomb or higher: com.google.api.client.extensions.android.json.AndroidJsonFactory
        httpRequestInitializer - HTTP request initializer or null for none
        Since:
        1.7
    • Method Detail

      • data

        public Analytics.Data data()
        An accessor for creating requests from the Data collection.

        The typical use is:

            Analytics analytics = new Analytics(...);
            Analytics.Data.List request = analytics.data().list(parameters ...)
         
        Returns:
        the resource collection
      • management

        public Analytics.Management management()
        An accessor for creating requests from the Management collection.

        The typical use is:

            Analytics analytics = new Analytics(...);
            Analytics.Management.List request = analytics.management().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy