java-samples
java-samples copied to clipboard
☕ Java samples for Google Workspace APIs.
### Sample Name Alert Center API Quickstart ### Expected Behavior Retrieval of Alert Center Alerts after a successful API call ### Actual Behavior Exception in thread "main" java.io.IOException: Error getting...
(Please fill out these details before submitting an issue) ### Sample Name (i.e. Gmail Quickstart) Google Sheets API v4 Sample Code in Java ### Expected Behavior Access to the Google...
The API was working fine to fetch the data as per sample code on Google Sheets API v4. However, after regenerating the credential file frmo Google API Enable, i am...
### Sample Name Gmail Quickstart ### Expected Behavior Connection OK ### Actual Behavior 401 Unauthorized ### Specifications - Java version 8 - OS (Mac) Tried the Quickstart Gmail api and...
(Please fill out these details before submitting an issue) ### Sample Name (i.e. Gmail Quickstart) google classroom quickstart (java) ###context Was following instructions in https://developers.google.com/classroom/quickstart/java, however the program would fail...
(Please fill out these details before submitting an issue) ### Sample Name (i.e. Gmail Quickstart) ### Expected Behavior ### Actual Behavior ### Specifications - Java version (`java -version`) - OS...
These versions are pretty old it seemed worth updating. Updated version of https://github.com/gsuitedevs/java-samples/pull/104. I have confirmed that all the code is working as expected and I am not getting any...
# Can't run DriveQuickstart in a Spring project ### Expected Behavior DriveQuickstart executed successfully ### Actual Behavior Got the next error: ``` *************************** APPLICATION FAILED TO START *************************** Description: An...
AlertCenter Quickstart Exception in thread "main" com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request { "code" : 400, "errors" : [ { "domain" : "global", "message" : "customer id could not be inferred from...
Exception in thread "main" java.lang.IllegalArgumentException at com.google.common.base.Preconditions.checkArgument(Preconditions.java:128) at com.google.api.client.util.Preconditions.checkArgument(Preconditions.java:35) at com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets.getDetails(GoogleClientSecrets.java:82) at com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow$Builder.(GoogleAuthorizationCodeFlow.java:197) at SheetsQuickstart.getCredentials(SheetsQuickstart.java:37) at SheetsQuickstart.main(SheetsQuickstart.java:50) - OS (Mac/Linux/Windows)