google-apps

Is it possible to access Provisioning API with service account?

…衆ロ難τιáo~ 提交于 2019-12-04 09:22:08
My service account scopes are : https://apps-apis.google.com/a/feeds/user/ and DriveScope.DRIVE I authorized this same scope in "Manage third party OAuth Client access" in domain settings for my service account Id. I use the java client of the provisioning api. I build my credentials with the google oauth client with a GoogleCredential.Builder : credBuilder.setTransport(HTTP_TRANSPORT) .setJsonFactory(JSON_FACTORY) .setServiceAccountId(config.serviceAccountId) .setServiceAccountPrivateKeyFromP12File(new File(config.keyFilePath)) .setServiceAccountScopes(SCOPES); .setServiceAccountUser("admin

Google Drive SDK Push Notifications - watch changes on all files?

天涯浪子 提交于 2019-12-04 08:37:17
问题 The recently launched Push Notifications service is very cool and looks as a big improvement over polling that was previously necessary. I am wondering though how to enable watching of all files in shared folder on Drive. We are working on Drive monitoring tool, that keeps list of all changes and enables reporting for whole enterprise Drive folders. I am aware that I can use the notifications about new objects in Changes feed. Unfortunately, you are not able to detect the what has changed

Google Form output to remote MySQL database

99封情书 提交于 2019-12-04 07:57:58
I have a Google Form I created. I have a website with a remote MySQL database. I would like to embed the Google Form into my site (this I've figured out), however instead of the data from form submission being stored in a Google Spreadsheet(s), I'd like the data to be sent to my MySQL database, to a predefined table designed to accept the data types being collected and validated for in the Google Form. I have researched and come across Google Apps Scripts ( https://developers.google.com/apps-script/guides/jdbc ). My issue is that I'm not experienced with Google Apps Scripts and am seeking

Google Multiple Sign-ins - Is there a way to specify the account in the URL?

不羁的心 提交于 2019-12-04 07:43:12
We recently switched our team to Google Apps and with that, everyone got a Google Apps account . However, for those of us with a GMail account as well, this makes it so that bringing up Gmail in your browser opens up either your personal account or your Google apps account. Even though GMail has multiple Sign-ins enabled for both of my accounts, I still have to spend time switching through both accounts. I was wondering if there was a way to specify the account I wanted to use in the URL directly, which would allow me to create a bookmark for GMail for both of these accounts: something like:

YouTube Apps Script API only runnable by accounts without a YouTube channel?

老子叫甜甜 提交于 2019-12-04 05:39:47
问题 This is such a strange issue and there seems to be no documentation of it anywhere online. Whenever I try to execute a script that requires authorization to access an API, the code will only continue executing after authorization if I choose to authorize it from a GMail account, but not a YouTube account. The code literally does not execute after choosing to authorize it from a YouTube account. Even a Logger.Log() call on Line 1 of the function will not trigger unless the code is authorized

google doc script, capitalize sentences without removing other attributes

余生颓废 提交于 2019-12-04 05:24:58
问题 i want to create a script to capitalize sentences in a google doc, but without changing existing attributes in certain words. for example, in a google doc, there would be several paragraphs, with each paragraph having several sentences. in such google doc, there would be hyperlinks, words in boldface , words in italics , words with underline, etc. i want all of these attributes to stay intact; the script should only capitalize the sentences, without removing the existing attributes for these

Add domain to Google Appengine w/o using Google Apps for Business

久未见 提交于 2019-12-04 04:53:33
I've tried to add a custom domain for my app, my own domain, instead of default example.appspot.com . But just figured out that Google don't allow to use Google Apps for free anymore. Only Google Apps for Business. Actually I don't need anything provided by Google Apps for Business, just need to use my own domain for my GAE project. But seems that now there no way to use custom domain w/o signin for Google Business account? and paying $50 a year. Is it correct? Is there any other way to add custom domain to GAE? UPDATE: see comment from @JW. I just discovered today (as of 2014-04-11) a new

Generating valid oauth token and secret for gmail imap?

[亡魂溺海] 提交于 2019-12-04 04:36:36
问题 I have been searching everywhere for a Java port of xoauth.py. As I really want to use the same authentication process in my java web app. I have tried using the GoogleOAuthHelper to generate the token and secret but when I plugin them in to the google mail java sample, I get errors back saying invalid credentials. If anyone can help I would be very appreciative. I have been stuck on this for sooo long now. 回答1: Have you tried the links on this page https://developers.google.com/google-apps

“Integrate with Google” button disappeared

喜你入骨 提交于 2019-12-04 03:33:04
问题 This is the listing of our Google Apps Marketplace app. The button has also disappeared from every page we've put the integration on. When I'm looking at the console log in the browser on pages where the button should be appearing, I see that calls to this url: https://apis.google.com/additnow/additnow.html?... result in this error: Forbidden Error 403 This is the link to our Marketplace listing: https://chrome.google.com/webstore/detail/email-signature-marketing

Google App Engine on Google Apps Domain

那年仲夏 提交于 2019-12-04 02:48:51
I'm having trouble getting my domain pointed to my website hosted with google app engine. Here's the background... take care to separate the concepts of "google apps" (domain hosting, email, etc.) and "google app engine" (website framework). I have a domain that's using Google Apps for Your Domain, let's call it company.com. So my login for my google apps account is bob@company.com. I have a different domain that is aliased back to my google apps account, let's call it mycompany.com. It's been successfully aliased and registered with my primary google apps account using the cname method, and