Skip to main content

Questions tagged [google-drive-api]

Questions related to integration with Google's cloud storage service or interacting with Google Drive files programmatically, via the Google Drive API, Google Drive SDK, or Google Apps Script. Usage questions about the web application should be posted at Web Applications Stack Exchange.

0 votes
0 answers
11 views

I am receiving a response url not found on server when I try to delete file in Google Drive using a Linux bash script and curl

I am trying to delete a file using a bash shell script that I uploaded to a shared google drive using a different shell script. I am able to list the contents of the folder that the file is in and ...
Peter Libman's user avatar
-1 votes
1 answer
32 views

Change the script name with GAS

When I copy my Spreadsheet file with Drive ( DriveApp.getFileById(template).makeCopy(name, folder) ), the script name is unchanged. How can I change the script name with Google App Script? Read the ...
Rom1's user avatar
  • 1
0 votes
0 answers
31 views

How to sync files with Google Drive API to a mobile app

I need to sync all the files from within a folder in Google Drive to a mobile app using the Google Drive API, and I do not see how to approach it. There is a files.list endpoint which could be used ...
Enric's user avatar
  • 93
-2 votes
0 answers
28 views

How to list gdrive users through a service account?

I need to list all users, using a service account with domain-wide delegation. I got as far as this, which works perfectly: from googleapiclient import discovery from google.oauth2 import ...
user124114's user avatar
  • 8,508
0 votes
0 answers
48 views

how can I set up my shiny app on shinyapps.io to work with my googledrive?

Updated post: I'm having issues with my shiny app and its connection with google drive. My app aims to get responses from my team through a visual analogic scale. And I want to connect these responses ...
Baptiste Gusciglio's user avatar
-2 votes
0 answers
20 views

How to access spam folder in Google drive with Googleapis? [closed]

Now Google add dedicated spam folder in Google drive. How to access ( read, move to shared with me folder ) this spam folder programmatically? I check, the docs haven't update yet. Access spam folder ...
Joko Maryono's user avatar
0 votes
0 answers
33 views

Convert iFile to FileStream to Upload to GoogleDrive appears to work but the file has 0 bytes (Blazor Server)

I am able to 'create' a file on google-Drive using the below code however I have noticed the files have 0 bytes. I am using a Service Account which is Editor. I am using the Radzen Upload Control. ...
Tim Cadieux's user avatar
0 votes
0 answers
22 views

Google Drive API File Upload is not showing erros yet not uploading to connected drive

I am attemting to connect my google drive to my application so I can upload files to it. I have followed the documentation and already set up my application on the google cloud portal, created my ...
R-Hadi's user avatar
  • 1
1 vote
2 answers
34 views

fancybox not loading gdrive link

Was setting up a carousal, but fancybox not loading gdrive image file link <a data-fancybox="gallery1" href="https://drive.google.com/file/d/<file id>/view?usp=sharing">...
yamin mathew's user avatar
-1 votes
0 answers
52 views

Generate PDF from google sheet [closed]

So like as title mentioned, I want to generate PDF from google sheet. I found this reference:Generate & send PDFs from Google Sheets on Google Workspace samples. and the following is my code: ...
Agramerrday's user avatar
0 votes
1 answer
48 views

search for files with reader permission in Google drive API if email is not a gmail

I'd like to know if it's possible to query files by permission in drive API only if the permission email is a gmail (and obviously an existing account) $results = $service->files->listFiles() ...
jthomas's user avatar
  • 57
-2 votes
0 answers
39 views

accessing google drive folders in google script [closed]

I have links to google drive folders in my google script but when my users go to click on them it says that they don't have access. The problem I am having is that I did give them access and it still ...
Parker Bishop's user avatar
0 votes
0 answers
35 views

The Emails Contains "-" Classified as Invalid

I faced a problem while I was building a tool that can create a spreadsheet and then send it as an attachment via email that the spreadsheet was not shared with the person I sent the email to because ...
Ahmed Saad's user avatar
1 vote
1 answer
22 views

unable to delete a property (or appProperty) using php client in google drive object

Searching in the web and in Stack Overflow I didn't find post where the problem was solved I've this code $params = array(); $file = new Google_Service_Drive_DriveFile(); $file-...
jthomas's user avatar
  • 57
0 votes
1 answer
55 views

GScript: DriveApp.searchFiles - Parameter for filetype

How do I have to extend the search parameter if I also have to search for GSheet files only? function myDeleteSharingPublicLinks() { var MyAccount = Session.getActiveUser().getEmail(); var ...
J. Doe's user avatar
  • 221

15 30 50 per page
1
2 3 4 5
1005