Display only Team Drives in Drive Picker Widget
问题 I am creating an application where I need to provide Drive Picker widget so that users can upload some files. Now I want to restrict users so that they can only select files from their "Team Drives" and not from anywhere else. I've tried adding method in onPickerInit event. Here's my function which is getting called in onPickerInit event, function fetchFolder(widget, pickerBuilder) { pickerBuilder.addView(new google.picker.DocsView() .setParent('TeamDriveId') .setIncludeFolders(true)); } This