google-api

Maintaining enabled APIs in Container-bound Script for a Google Sheet Template

家住魔仙堡 提交于 2020-01-05 09:04:26
问题 I have a Google sheet with a Container-bound Script that makes Google Classroom API calls. I have added the spreadsheet now as a template for all teachers in my organization to copy the sheet and use it for themselves. However, when teachers copy from the template, a new project is created in Google Console with no enabled APIs for that new project. They would have to go into the developer console and enable Classroom API for it to work.... No! This is way too much of a hassle for my fellow

Android - Google Server Side InApp Purchases verification Backend Error 500

心已入冬 提交于 2020-01-05 09:03:06
问题 During the integration of G+ account I have turned off Google Play Android Developer API in Google Developer console by mistake. Google server started to return error: Access Not Configured. Please use Google Developers Console to activate the API for your project So I again turned Google Play Android Developer API on, but Google server still returns error: { "error": { "errors": [ { "domain": "global", "reason": "backendError", "message": "Backend Error" } ], "code": 500, "message": "Backend

Android - Google Server Side InApp Purchases verification Backend Error 500

∥☆過路亽.° 提交于 2020-01-05 09:01:42
问题 During the integration of G+ account I have turned off Google Play Android Developer API in Google Developer console by mistake. Google server started to return error: Access Not Configured. Please use Google Developers Console to activate the API for your project So I again turned Google Play Android Developer API on, but Google server still returns error: { "error": { "errors": [ { "domain": "global", "reason": "backendError", "message": "Backend Error" } ], "code": 500, "message": "Backend

Error: invalid_client no application name

谁说胖子不能爱 提交于 2020-01-05 08:26:20
问题 I am using Google Apps API for my application and trying to authorize it using OAuth2. I have created a project and an application within it using the Google API console. I am using the following URL for authorization: https://accounts.google.com/o/oauth2/auth&scope=https://www.googleapis.com/auth/admin.directory.user&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=(my application clientid) I get the following error, Error: invalid_client no application name Request

Gmail API returning email signature even if set as “No Signature”

蓝咒 提交于 2020-01-05 07:51:13
问题 The following api will retrieve your email signature if you have it set in gmail: https://developers.google.com/gmail/api/v1/reference/users/settings/sendAs/get However, if you add a signature then set it to "No Signature" (radio box) afterwards, it will still return the signature you set in the settings page. I expected that it should return an empty response. There seems to be no issue reported on either the sdk or here so not sure if this is isolated. It can be replicated on google's api

How to access Google Contacts API in ruby

笑着哭i 提交于 2020-01-05 07:44:15
问题 I'm struggling to access the Google Contacts API.First I tried the google-api-ruby-client gem but it turned out that it does not support the Contacts API . Next shot was the google_contacts_api gem. I used oauth2 to access the authentication key(Getting authentication token guide question). But after passing the token correctly to the api it is producing an error. `<main>': undefined method `[]' for #<GoogleContactsApi::GroupSet:0x000000039fcad8>` (NoMethodError). Here is my code. # get token

What's the way to get in java a GCP managed-Instance external IP?

孤街浪徒 提交于 2020-01-05 07:17:07
问题 I have a list of List<ManagedInstance> I'm looking for this equivalant in java-8 - how to find an external ip of a ManagedInstance ? I saw in the java-doc, but found no "external IP" property. @SuppressWarnings("javadoc") public final class ManagedInstance extends /** * [Output only] The unique identifier for this resource. This field is empty when instance does * not exist. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java

Interactive cards hangout chat Api

我与影子孤独终老i 提交于 2020-01-05 05:47:10
问题 I'm using interactive card to send a message async to hangout chat API, and I used onClick.action but, when I do the action and click the button, I receive this error: CARD_CLICKED_ERROR: Not that I handled card_click event type by adding actionResponse to a NEW_MESSAGE in reply message. 来源: https://stackoverflow.com/questions/51631989/interactive-cards-hangout-chat-api

Youtube API access is granted but I still have Invalid Credentials error

邮差的信 提交于 2020-01-05 04:37:06
问题 Trying to test search functions of the YoutubeAPI, but getting this Could it be because of my channel(which is binded to my gmail account, which I currently using in console.developers.google) was banned? UPD: Created new account, situation still the same Well, what I've have done here: created porject in console.developers.google activated youtube data api(choosed app or somth like this, not the js one), downloaded json, which looks like that First I call the Authorize method (new page shows

call Google auth API using Apache HttpClient

最后都变了- 提交于 2020-01-05 04:36:09
问题 I would like to know if it is possible to call a Google API that requires auth such as the Google Calendar API using the Apache HttpClient, and no Google code or libraries. (and need the code to do it) This is the code I have so far, its gets an auth error, What do you use for the user/password? HttpPost request = new HttpPost("https://www.googleapis.com/calendar/v3/users/me/calendarList/primary?key=mykey"); DefaultHttpClient client = new DefaultHttpClient(); client.getCredentialsProvider()