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

target.apidocs.com.google.api.services.plus.Plus.html Maven / Gradle / Ivy

The newest version!






Plus (Google+ API v1-rev20190328-1.30.10)












com.google.api.services.plus

Class Plus

  • java.lang.Object
    • com.google.api.client.googleapis.services.AbstractGoogleClient
      • com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
        • com.google.api.services.plus.Plus


  • public class Plus
    extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
    Service definition for Plus (v1).

    Builds on top of the Google+ platform.

    For more information about this service, see the API Documentation

    This service uses PlusRequestInitializer to initialize global parameters via its Plus.Builder.

    Since:
    1.3
    Author:
    Google, Inc.
    • 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

      • Plus

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

        Use Plus.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: com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
        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

      • initialize

        protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
                           throws IOException
        Overrides:
        initialize in class com.google.api.client.googleapis.services.AbstractGoogleClient
        Throws:
        IOException
      • activities

        public Plus.Activities activities()
        An accessor for creating requests from the Activities collection.

        The typical use is:

            Plus plus = new Plus(...);
            Plus.Activities.List request = plus.activities().list(parameters ...)
         
        Returns:
        the resource collection
      • comments

        public Plus.Comments comments()
        An accessor for creating requests from the Comments collection.

        The typical use is:

            Plus plus = new Plus(...);
            Plus.Comments.List request = plus.comments().list(parameters ...)
         
        Returns:
        the resource collection
      • people

        public Plus.People people()
        An accessor for creating requests from the People collection.

        The typical use is:

            Plus plus = new Plus(...);
            Plus.People.List request = plus.people().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy