All Questions
Tagged with google-api-java-client google-apps
25 questions
0
votes
2
answers
73
views
'com.google.appengine.api.backends.BackendService' is deprecated alternative
'com.google.appengine.api.backends.BackendService' is deprecated less...
This inspection reports where deprecated code is used in the specified inspection scope. I am getting this error when I am ...
0
votes
1
answer
763
views
GoogleApp Directory API's to set the Proxy credentials
I am using GoogleApps Directory api to access the Googleapps. I have one query regarding Proxy , how to set the proxy credentials using directory API's.
As per googleApps API's documentation i can ...
1
vote
1
answer
659
views
Ancestor query - missing events
Is there any reason, why activities queried by ancestorId does not return all activities for particular file? When I use fileId to query activities, I can see all singleEvents for given file. However, ...
1
vote
0
answers
167
views
Google Create Contact Api v3 - in batch request all contacts got contactID but only few got inserted
I tried to insert 4000 contacts using Google create contact api client library using batch request. Google returned 4000 google contact ids. When i try to fetch the contacts using that contact ids, ...
1
vote
1
answer
102
views
Fetch google drive data of domain user using Java or HTTP
I am writing a program (written in java) for businesses that manages google drive data of domain users (download/read/...).
I need to authenticate once, using domain admin's credentials, get a token ...
1
vote
1
answer
887
views
Getting "401 Unauthorized" error immediately after Google Marketplace app install, but then works
I recently started to have a problem when users installed my Google App from Google Apps Marketplace.
As soon as the app is installed and the user clicks on the "Launch app" button to get redirected ...
7
votes
2
answers
5k
views
Spring : Google authentication redirect_uri_mismatch and URL wont open on browser
I am working on a Spring-MVC application running on tomcat in which I would like to use Google drive functionality. I tried with a service account on my local machine and I had no problems. But when I ...
3
votes
4
answers
842
views
Google plus login, Android singing in prompt is repeatedly occure while login
I am new to android development. I am integrating google plus login into my App, I am little bit confusing that the Singing in prompt of google is occurring repeatedly. I can't understand why, is ...
1
vote
1
answer
1k
views
GoogleApps client giving SocketTimeOutException only
We wrote a client to create a user on googleapps using the GoogleNetHttpTransport, but we are getting a socketTimeoutException when making the user as Super Admin through superadmin api. Connecting ...
1
vote
1
answer
102
views
Google Spreadsheets with Form Vinculated copy
I'm trying to copy a spreadsheet with the responses of a form thought drive API.
https://developers.google.com/drive/v2/reference/files/copy
All files from my drive are working fine but only this ...
0
votes
1
answer
866
views
How to set up a service account for Google Apps API
Inorder to manage google apps using API, iam working with admin-cmdline-sample client project, which i downloaded from admin sdk.
Now i am able to connect to the Google apps cloud and manage user ...
1
vote
1
answer
169
views
GoogleApps java client information
I am in a way of writing the java client on GoogleApps for managing the users and groups.I previously worked on the provisioning api and which is now deprecated. As from the info, Admin Sdk's ...
2
votes
1
answer
773
views
Error consuming customerLicense App Marketplace with Service Account OAuth2
SOLUTION
I figured out how to solve this problem.
First of all here is my implementation with Service Account:
// Build service account credential.
GoogleCredential credential = new ...
0
votes
1
answer
375
views
Google Apps Marketplace API customerLicense with OAuth2
We are migrating our Google Apps Marketplace Apps to OAuth2 authentication.
We have figured out some of difference in migration process such as replace OAuth1 two-legged authentication with Service ...
1
vote
1
answer
3k
views
Error 403 while retrieving all the files in the Google Drive using domain-wide delegation
I am Getting Error 403 (You are not authorized to perform this request. That's all we know.) while retrieving all the files in the Google Drive using domain wide delegation. It is interesting as i am ...
0
votes
2
answers
2k
views
Requested scopes not allowed
I'm trying to fetch a user from Google Directory API with the following request:
Collection<String> SCOPES = Arrays.asList("https://www.googleapis.com/auth/admin.directory.user.readonly", "...
2
votes
2
answers
2k
views
Google Contacts - Get contacts of another user using service account
I am trying to get contacts of another user using Google Service Account. I even set the user credentials to the username and password of the account for which I want to fetch the contacts. However, ...
4
votes
3
answers
31k
views
Getting a 403 - Forbidden for Google Service Account
I am trying to get an access token for Google Service Account. Following is my code -
String SERVICE_ACCOUNT_EMAIL = "[email protected]";
List scope = new ArrayList();
scope.add("...
0
votes
1
answer
143
views
GoogleApps Provisioning API to move a user from one organization to another
i have a use case to move a user from one Organization to another. The Api i am using is provisioning API. Managing Org Users gave an example for lab. Can anybody please share more info on what jar's ...
0
votes
2
answers
874
views
Google Admin SDK throws bad request java client
I am trying to use the admin SDK using the java client. My requirement is for a server side application to manage the users without the explicit consent of the end user. I have followd the following ...
1
vote
1
answer
169
views
Group's "emailPermission" in Directory API in Google Apps
I'm using Google Apps Provisioning API with gdata-java-client to manage Google Apps domain. https://developers.google.com/google-apps/provisioning/
Since Provisioning API is deprecated now, I'm ...
0
votes
1
answer
628
views
Java - Check if user is domain admin of google apps domain
I want to know if he given user is admin of google apps domain or not. getting a list of domain admins will also do.
userService.isUserAdmin() gives user admin of google app engine which I don't want....
7
votes
3
answers
3k
views
Java Google Calendar api "access_denied" on Service Account
I'm trying to connect to a calendar using the Java Google Calendar api. The java application uses a service account.
I've the following code:
java.io.File licenseFile = new java.io.File("...
2
votes
2
answers
4k
views
authorize google calendar api works on personal account but not on google domain account
I need to make a Java application that stores calendar events in employees within a Google Domain.
I created the application based on a sample I found on http://code.google.com/p/google-api-java-...
2
votes
2
answers
2k
views
The State Parameter in the Google OAuth 2 Process in Java
Please I need a quick help on how to add the "state" parameter to a authorization request to the Google OAuth 2 service using the Java Client Library. According to the docs, the OAuth provider is said ...