Questions tagged [google-drive-shared-drive]

Use this tag for questions related to items stored in a Google Workplace "Shared Drive" (formerly Team Drive). Shared Drives offer members a shared directory in which all files and folders are owned by the team, rather than individual users. Special support is needed in applications due to the different ownership and file directory model.

Shared Drives (formerly Team Drives) are a type of organisation space within Google Drive that supports files owned by an organisation rather than an individual user. Shared Drive files must have exactly one parent folder, much like files on a hard drive. This means that Shared Drive files belong to a single Shared Drive and are located in a single location within that Shared Drive. Having a single location simplifies permission rules for Shared Drive files.

390 questions
3
votes
1 answer

Push new version from Google Drive to users (VBA)

Push new version to users from Google Drive (VBA) All 3 methods I present here work as-is, but Method 1+2 downloads a TXT file from Google docs for extracting info from the cloud, maybe this part could be simplified? Your insights and upvotes would…
Noam Brand
  • 335
  • 3
  • 13
3
votes
2 answers

How to read/loop through multiple .csv files in a folder using Google Colab python, then assign each file as a function parameter

I'm currently using Google Colab and already mounted my Google Drive. I have a folder inside the drive that has multiple .csv files e.g. folder name: dataset folder content: data1.csv, data2.csv, data3.csv, and so on I want to iterate through every…
3
votes
1 answer

Google Drive 600 member limit - how close are we to reaching it?

According to the following link, shared Google Drives have a membership limit of 600 combined users and groups. https://support.google.com/a/answer/7338880?hl=en At my organization, we have a shared drive. We are unfortunately forced to share with…
3
votes
2 answers

Is it possible to use the Google Drive API to get file from within a shared .zip file

Assume the following .zip file: unzip -l myarchive.zip Archive: myarchive.zip Length Date Time Name --------- ---------- ----- ---- 3663 1980-00-00 00:00 sub_dir1/file1.txt 4573 1980-00-00 00:00 sub_dir1/file2.txt …
Avner Moshkovitz
  • 1,138
  • 1
  • 18
  • 35
3
votes
0 answers

Google Drive API v3 - Files List returns old information

I am using an application that modifies the properties field of my Drive Files using the Google Drive API v3 Files Update method. Let's say I have a file with a "test" property with the value "my first value". Then, I update the file specifying the…
Jesus Duran
  • 333
  • 2
  • 14
3
votes
1 answer

How to obtain a list of all users with access to a Google shared drive using apps script

I used getEditors to obtain a list of editors of a spreadsheet and the returned list includes shared drive users. However, users with 'content manager' access to the shared drive are not included in the list. Any reason why this is the case? I also…
3
votes
1 answer

Calling an API endpoint upon changes to any Google Sheets files

What I wish to achieve: Whenever a cell is changed in any google sheet on my shared drive (by any user on the domain) I want to call an API endpoint and include information about which cell was edited. My approach: I believe Google App Scripts…
3
votes
1 answer

Google Drive Picker: Use Feature.MINE_ONLY along with Feature.SUPPORT_DRIVES

I am trying to create a Google Drive Picker that displays the following views: A "folder" view, displaying the folder tree of the current user, allowing him to only pick files that the current user owns A "recent" view, displaying the latest opened…
3
votes
1 answer

How to create a file in a team drive using Google Drive API

I would like to figure how to create a file within a Team drive using Google's Drive API. Here is a reference to for files and teamdrives in google drive api's documentation.…
Alex Lazo
  • 96
  • 1
  • 7
3
votes
1 answer

Stop Google Drive File Stream from Immediately syncing a deleted file

I noticed that anytime a file is put into the Google Drive File Stream folder the entire file is uploaded even if it is deleted from the user's computer mid-sync. Is there a way to change that behavior? Or even stop it from uploading mid-sync? I've…
Ryan M
  • 31
  • 1
  • 3
3
votes
1 answer

Google Drive API v3: service.files().list not returning all folders

I'm implementing a tree-based viewer based on the contents of our Google Team Drive file; in order to do this, I'm following the advice given here: How do I search sub-folders and sub-sub-folders in Google Drive?, i.e. do 2 API calls - one to get…
xdl
  • 1,080
  • 2
  • 14
  • 22
3
votes
2 answers

Create a Drive File with a set locale in international settings through Drive API

I need to create a file using the Google Drive API (I'm using v3, the latest at the moment). Using python if it matters. My code is below, drive_service.files().create(supportsTeamDrives=True, body={ 'name': 'test-file', …
3
votes
2 answers

How can I read a Google spreadsheet in a Team Drive in R?

this is probably a really simple question, but I can't seem to figure it out. We recently moved a project from a shared folder on Google Drive to a Team Drive. I used to directly access the spreadsheet from R with this…
user3388408
  • 131
  • 8
3
votes
0 answers

Customizing Google Drive UI

I am handling G suite domain for our org. We have a requirement where users from Team Drive must provide Comments before deleting any files from Team Drive. ​I've searched and found that we need to write Chrome Extension in order to Customize Team…
3
votes
1 answer

Pass user to impersonate while fetching files from drive

I have created a web application in which I have implemented google sign-in. I want to add search functionality to it, where user can search any file present in his/her drive. In the sample code of Google Drive Api, app opens browser window and…
1
2
3
25 26