public interface Google
extends org.springframework.social.ApiBinding
GoogleTemplate.| Modifier and Type | Method and Description |
|---|---|
DriveOperations |
driveOperations()
Retrieves
DriveOperations, used for interacting with Google Drive
API. |
java.lang.String |
getAccessToken()
Returns the access token, allowing interoperability with other libraries
|
PlusOperations |
plusOperations()
Retrieves
PlusOperations, used for interacting with Google+ API. |
TaskOperations |
taskOperations()
Retrieves
TaskOperations, used for interacting with Google Tasks
API. |
UserInfoOperations |
userOperations()
Retrieves
UserInfoOperations, used for fetching user profile
(predates Google+). |
UserInfoOperations userOperations()
UserInfoOperations, used for fetching user profile
(predates Google+). Requires OAuth2 scopes
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo#emailUserInfoOperations for the authenticated userPlusOperations plusOperations()
PlusOperations, used for interacting with Google+ API.
Some methods require OAuth2 scope https://www.googleapis.com/auth/plus.mePlusOperations for the authenticated user if
authenticatedTaskOperations taskOperations()
TaskOperations, used for interacting with Google Tasks
API. Requires OAuth scope https://www.googleapis.com/auth/tasks or
https://www.googleapis.com/auth/tasks.readonlyTaskOperations for the authenticated userDriveOperations driveOperations()
DriveOperations, used for interacting with Google Drive
API. Requires OAuth scope(s) from the following:
DriveOperations for the authenticated userjava.lang.String getAccessToken()