Does the Google Drive Activity API work for Team Drive? - google-drive-api

I could not find a clear answer on the API reference for the Activity API as to if it will also work with Team Drives. I want to be sure that this is possible for Team Drives before I spend all that time trying to integrate it into my application.
Specifically, I would like to check when a file was moved to a certain folder, and it seems like this is the API I need to use.

Related

Google Drive integration with private website

I would like to integrate Google Drive with my private website in such way that user will provide my website with his own Google Drive, and he could perform on my website such actions as: viewing, deleting, adding or editing files. Is is possible? What is needed to do such integration?
I read Google Drive API documentation and I checked it is possible to perform such actions as creating, reading, editing files. But I have no idea how to perform it on someones else private Google Drive.
The first thing you need to understand is that drive api is a rest api the response is returned in Json format. The google drive api is not going to give you any visual representation of a users drive account. For example your not going to be able to show them the google drive web application from your website. You will need to code the interface yoruself.
As for how to get permission we use something called Oauth2 to request consent for your application to access the users google drive account. It can be a little confusing in the beginning but there are a number of tutorials and QuickStart's which should help you get started.

Files on Google Drive giving API error. Need “Drive Realtime API data” associated with the old file

I am regular user of Mindmup on google drive , a top rated mind mapping tool on Google drive marketplace.
I have an 2016 Mindmup which I am not able to open. Mindmup said they can help if google can provide “Drive Realtime API data” associated with the old file.
Google has a note that claims that read only access should continue, which is not true. And the link to how to "export realtime API data" is broken.
Answer:
Unfortunately, as the Google Realtime API has been deprecated, this isn't something the Stack Overflow community can help with.
What You Can Do:
From here, your best bet is to contact Google directly and see if they can provide you with the respective API data that you need. There is still a cached version of the API reference on Google Search which you can access, which may have links to the correct pages you are looking for.
Google Support can be contacted here, though I feel for this it may be more helpful for you to contact G Suite Support directly. You'll need to follow the corresponding link to you account on this page and contact them this way.
References:
Cache of Google Realtime API Reference
Google Help
Contact G Suite Support

Does Google Map API V3 provide solution to tracking moving assets without using mobile app?

there,
Does Google Map API V3 include solution that allows to track moving assets without us having to develop additional mobile apps (apps to be installed on each asset to be tracked)?
My company is a Google Maps APIs Premium plan business user and we have several .Net C# web pages already using Google Map API. And we are looking for the possibility to add a moving-assets-tracking feature on our website now, but we prefer not to get into mobile app developments for this.
If that possible? I googled, but not seeing much info on this. Could you please provide some detailed examples?
Thanks!
Asset tracking is possible with Google Maps Platform, but I don't think this is possible without installing an application to the asset being tracked as there
could be no means to track it.
By V3, if you are referring to JavaScript API then it is not possible.
You may read about asset tracking in this documentation:
https://cloud.google.com/maps-platform/asset-tracking/
Contacting sales team for Google Maps might be able to provide you something. But this is still unsure. The contact sales form can be found in the link above.

What drive does the Google Drive API connect to?

This might be a very silly question, but I'm just trying to make sure I'm going about things for my senior project right. Does the Google Drive API connect to the user's personal Drive space?
Actually it's a very good question because it confuses a lot of first time Drive users.
The answer is, It depends.
There are two distinct Google Drive APIs, with different characteristics and capabilities. These are the Google Drive REST API and the Google Drive Android API (GDAA). You have tagged your question with both.
The Google Drive REST API can connect to any Drive account, e.g. your own, one of your users, or a Service Account. Which account it connects to is determined by how the Access Token was generated.
The GDAA only connects to the Google account associated with the Android device it's running on.

Showing users viewing the doc in Google Drive API app

We are building a web application based on Google Drive API. We'd like to incorporate a facility of displaying who is viewing our "document" in real time like Google docs and spreadsheets are doing.
Implementing it from scratch would be quite challenging because of the necessity to track when a user leaves the page. So we'd first like to check if anything is already available for this purpose.
We have found out Google Analytics API may be helpful, but it can only give us a number, not user names.
Google Drive Realtime API looks promising and suitable for other needs of our development, however at the moment it's not clear whether it might help with displaying current viewers.
Any ideas on possible solutions would be greatly appreciated.
This is possible in the realtime API. See https://developers.google.com/drive/realtime/handle-events#collaborator_events
There is an example of it in the Realtime Playground.