Interface Google

  • All Superinterfaces:
    org.springframework.social.ApiBinding
    All Known Implementing Classes:
    GoogleTemplate

    public interface Google
    extends org.springframework.social.ApiBinding
    Interface specifying a basic set of operations for interacting with Google APIs. Implemented by GoogleTemplate.
    Author:
    Gabriel Axel
    • Method Detail

      • plusOperations

        PlusOperations plusOperations()
        Retrieves PlusOperations, used for interacting with Google+ API. Some methods require OAuth2 scope https://www.googleapis.com/auth/plus.me
        Returns:
        PlusOperations for the authenticated user if authenticated
      • taskOperations

        TaskOperations taskOperations()
        Retrieves TaskOperations, used for interacting with Google Tasks API. Requires OAuth scope https://www.googleapis.com/auth/tasks or https://www.googleapis.com/auth/tasks.readonly
        Returns:
        TaskOperations for the authenticated user
      • driveOperations

        DriveOperations driveOperations()
        Retrieves DriveOperations, used for interacting with Google Drive API. Requires OAuth scope(s) from the following:
        • https://www.googleapis.com/auth/drive.file
        • https://www.googleapis.com/auth/drive
        • https://www.googleapis.com/auth/drive.apps.readonly
        • https://www.googleapis.com/auth/drive.readonly
        • https://www.googleapis.com/auth/drive.readonly.metadata
        See https://developers .google.com/drive/scopes for details about the different scopes
        Returns:
        DriveOperations for the authenticated user
      • calendarOperations

        CalendarOperations calendarOperations()
        Retrieves CalendarOperations, used for interacting with Google Calendar API. Some methods require OAuth2 scope from the following:
        • https://www.googleapis.com/auth/calendar.readonly
        • https://www.googleapis.com/auth/calendar
        Returns:
        CalendarOperations for the authenticated user if authenticated
      • peopleOperations

        PeopleOperations peopleOperations()
        Retrieves PeopleOperations, used for interacting with Google People API. Some methods require OAuth2 scope https://people.googleapis.com/v1/me
        Returns:
        PeopleOperations for the authenticated user if authenticated
      • restOperations

        org.springframework.web.client.RestOperations restOperations()