google-api-java-client's questions - English 1answer

887 google-api-java-client questions.

I followed the Java Quickstart guide here: https://developers.google.com/drive/api/v3/quickstart/java Every time I try to run the provided sample code, however, I get the following error page when it ...

I have to pass a message (jms) with timezone info like (America/Los_Angeles) but I have only country name and code. If it possible get timezone info with Java code. Somewhere I read this: System.out....

Trying to create a Google JAVA API to update the user costcentre in Google Admin. Requirement is to update the user costcentr using Google API. Can create the credentials successfully but unable to ...

As google mentioned in "Discontinuing support for JSON-RPC and Global HTTP Batch Endpoints", Google API Client Libraries have been regenerated to no longer make requests to the global HTTP batch ...

This is the error: Exception in thread "main" java.lang.NoSuchMethodError: com.google.api.client.http.javanet.NetHttpTransport.<init>(Lcom/google/api/client/http/javanet/ConnectionFactory;...

Need to find solution . The goal is : Server side application (linux/java7), using official google java sdk create programmatically subscription of user email/calendar e.t.c to get push event on ...

I want to get the free slots of Google Calendar from Monday to Friday in time between 9:00 AM to 5:00 PM using Google Calendar API. How to do it in Java? Example code would be appreciated.

I'm having troubles using the Google Calendar Events: watch API. I've setup the client ID and client secret and am able to get access and refresh tokens from a user. Also the domain is verified in the ...

I am trying to defer billing of an in-app purchase in my app. But every time I get the following error Exception was thrown while updating listingcom.google.api.client.googleapis.json....

What are the basic requirements (library) to access gmail using Oauth2 3 legged? Is there any java library supported for this access? Any kickstart example using java? I found the example from ...

I try Google Play Review API. I'm using google maven library in kotlin project I have create service account and get key json file. I'm getting a token val credential = GoogleCredential.fromStream(...

I'm attempting to insert the formula =INDIRECT(\"G\"&ROW()) - INDIRECT(\"J\"&ROW()) (which subtracts J from G) into column K using Google Sheets API v4. However, instead of inserting the ...

I have some doubts. I stuck in that for a week. I am doing an app to get all reviews from a play store. It's for all end user who has an account in play store. https://developers.google.com/android-...

I am trying to develop an app which needs to access google developer API by using developer email.I have gone through official documentation.I don't understand much.I created client id by following ...

I'm trying to get ACL for google calendars using the following end-point: https://developers.google.com/calendar/v3/reference/acl/list?authuser=1 Unfortunatelly, when I try to perform that on the ...

I am trying to access the Google Calendar events of a specific Google account form Android Things 0.6.1. Unfortunately I cannot use the Android Calendar API because Android Things as no Google ...

I am trying to add users to google group and retrieve user list from google group using Directory API. I have set up service account to access the resources using API. The problem is it works on prod ...

I am trying to access google spreadsheet to write data using this code but not able to figure out the exact problem import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com....

Trying to send email using the Gmail API into App Engine. Previously I created a Service account key into Credentials page, it generates a .P12 file which is in setServiceAccountPrivateKeyFromP12File ...

I am trying to use the setUseEnhanced field in the Speech API and I am getting an error like this: java.util.concurrent.ExecutionException: com.google.api.gax.rpc.InvalidArgumentException: io....

We're all of a sudden ( starting yesterday ) getting the following error from the Google Apps Email Audit API : Something bad happened: 500 HTTP error. Message: 500 Server Error Error: Server ...

I'm trying to insert large file into Google's drive using google-api-services-drive version v2-rev93-1.16.0-rc I've set setChunkSize() for minimum in order to have my own ProgressListener notified ...

I am developping the function that request member list from Google Stackdriver API I am using library fallowing code using gradle. gradle.build compile 'com.google.cloud:google-cloud-monitoring:0....

I am trying to use the domains API offered in Google +, I am trying to make work to Quick start for java using domain-wide delegation I have followed the steps, also I have asked my domain admin to ...

I'm a junior Android developer. I have task to export contacts from my Android phone book to Gmail account directory Contacts->My Contacts, but I can't find any useful information on the Internet ...

I'm using the following library for accessing a few location APIs from Google https://github.com/googlemaps/google-maps-services-java I see methods such as below that accept two parameters ...

I want to send a deleted message to gmail, I'm using java libraries and I got the quick start to work and send regular email to my inbox, but I don't see where to add that property. I'm using the ...

I follow the https://cloud.google.com/translate/docs/reference/libraries#client-libraries-usage-java to get started java client demo. I have already set authentication json file to the environment ...

I've got a class that makes a request to the AndroidPublisher API to get the Purchases.Subscriptions.get resource. How does one mock out the OAuth request and call to get the subscription resource ...

I'm trying to update a contact information with Google People API but I'm getting the following response: Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 ...

I'm trying to authenticate my java application against the JIRA REST API using OAuth (1.0a as OAuth 2.0 is not supported). For this purpose, I'm trying to complete first of all the guide provided by ...

In the QuickStart.java example on Java Quickstart they use OAuth client ID to identify the application, and this pops up a windows asking for Google credentials to use the application. You have to ...

We use Google APIs Calendar v3 and Google said that they'll discontinuing support for json rpc Discontinuing support for JSON-RPC and Global HTTP Batch Endpoints. I cant find if they plan a v4 ...

Background Android application has 2 version: 1 for mobile devices, 1 for Android TV. Android TV APK version code should be significantly higher than mobile devices Android APK version code. APK for ...

I have been following this tutorial to include Google Sign-in support to my Desktop app. The library I'm using is this one. Everything works and this is the implementation of the authorize() method: ...

I'm following the guidance in https://developers.google.com/identity/sign-in/web/server-side-flow to implement google sign-in for my app including a react web and a spring boot backend. My react web ...

I'm using the Google API Client Library for Java to retrieve an access token. Code: public static String getAccessToken() throws IOException { GoogleCredential googleCredential = ...

I've a problem using the google calendar api with android. Everything is working (Debug + Release) but when pushing the release apk to the Play Store, the downloaded version throws an exception when ...

I can't successfully pass Classroom.Scope to GoogleCredentials. Using google sign-in, obtaining the auth token, and using GoogleAuthorizationCodeTokenRequest to get accesstoken, and then passing all ...

I'm trying to run QuickStart.java https://developers.google.com/sheets/api/quickstart/java on NetBeans 8.2. I've imported all the Google Libraries and I'm having this issue Exception in thread "main" ...

Google Drive push notifications are not working when creating the WATCH request for the file. I have followed all the steps as per the below documentation provide https://developers.google.com/drive/...

I successfully obtain an access token and initialize the script service. I have tried changing the scopes they are correct now. Can you see the problem? The result is this: ...

I'm trying to find a contact by his email using Google People API. We are using the Create Contact method. I'm run this method with all the relevant scopes and using oAuth2.0 with refresh token. ...

I'm trying to get access to the server via its API. There is a possibility of access without opening the browser, as in provided example curl "token url" -d "grant_type=password&client_id=&...

I'm using dataproc api library (google-api-services-dataproc) to create clusters and run different hadoop and spark jobs. The issue I'm having is that the System.out that is happening on the cluster ...

For my project, I need the Sessions of a user returned by the Google Fitness API. I have been reading multiple guides on the Google API website, but I got even more confused on how to do it. Below, I ...

I'm implementing the authorization code flow for Installed Application. Code is similar to snippet below: public static void main(String[] args) { try { httpTransport = ...

I'm trying to pull google contacts information (photos, gender and more) and we used Google People API to do that. I use in createContact service to search contact by an Email. I created a client id ...

I am writing a back-end process in Java that will impersonate a user and add/remove documents on their Google Drive. The server account seems to authenticate correctly but when I try to impersonate ...

Can someone help me with authenticating to Google drive api using Oauth2? I looked at the manual and read the examples, but I have not succeeded in getting a token from google api. I am trying to ...

Related tags

Hot questions

Language

Popular Tags