I'm trying to figure out if it's possible to programmatically gain full or restricted access to sites, i.e. share access, to my webmaster tools account?
What I'd like to do is detailed here: https://webmasters.googleblog.com/2012/03/safely-share-access-to-your-site-in.html. However I want to be able to do this with Google's API. Is this possible?
The documentation doesn't expose any endpoints for sharing access with other users.
Related
I run a number of Discord bots and would like to use gspread to access Google Sheets associated with the various bots. I have followed the instructions to connect as an end user using oauth, but it seems to require that credentials.json be in a specific location. When I need to connect to a different Google account, this will cause problems. I don't want to go the service account direction because then I have to ask all my customers to share their Sheets with a separate Google account which they aren't going to want to do, especially at scale.
Is there an option to store the credentials in a different location or with a different name when using oauth like there is for service accounts?
I'm using Google's API Key on one of the projects I'm running in the cloud.
I tried to find the permissions that API Key has: does it have write-only?
Or other types of permissions like read?
I couldn't find anything in Google's documentation to prove this, beyond the restrictions I could put on the key, such as restricting HTTP or the API that only the developer could work with.
Is it possible to retrieve (or change) google drive's sharing settings using the API?
I don't want to share a file, but to see the organization's settings, as described here:
https://support.google.com/a/answer/60781?hl=en
If so, what are the required scopes that I need?
Thanks
The google Drive API is a file system API, it gives you access to files.
It does not give you access to change the settings for the Google Drive web application.
You could go in with the drive api and chance the permissions on directories and files in drive and maybe control some things that way.
Sorry, but it's not possible to do it programmatically As the Directory API: Limits and Quotas in Api Limits and Quotas states:
Groups, settings:
Groups access settings, sharing options, monitoring,
and discussion archive is managed using the Admin console. For more
information about groups settings, see the administration help
center.
We would like to be able to provide a collaborator with access to our analytics only. Is this possible?
It's quite important for our marketing and business development colleagues to be able to access analytics, while at the same time not have access to the data browser and cloud code.
It is not possible currently on Parse.
You should raise this as a feature request on Parse developer forums https://groups.google.com/forum/#!forum/parse-developers
Normally I can find just about anything using a serach engine. But this time I seemed to have failed
I wanted to know if it is possible to get a list of services that are enabled and disabled such as GMail, Google+, YouTube, ect. I know I can do this through the Services tab on the Organizations and Users page. However I want to create an application that will allow me to enable and disable services from the app and not have to login to a webpage.
I have been poking around in the google apis and the only one that I found that is almost there is the discovery api but it does not list the core google services and there isn't a way to enable or disable the services.
Basically I just want to know, is there a way to do this and maybe where to look.