Category "google-drive-api"

Is it possible to initiate Google Drive File Approval via API?

Google Drive Approvals are now out of beta and allow for a user to request one or more other parties to approve/reject a document, then lock it as non-editable.

Python: split a video based on file size for streaming

I'm trying to figure out how to stream a video where the video is uploaded to google drive in pieces and downloaded in pieces for streaming. How do I split the

google.colab.drive is unsupported in this environment

I am using Colab instance that is connected to Google Cloud to train a neural model using NVIDIA A100-SXM4-40GB. I want to load my files from my Google Drive bu

How can I access the files I created in my google project

I have spent a lot of times creating a project in https://console.cloud.google.com, enabling the Drive API, creating server account credentials, and finally wri

Flush local disk of Google Colab to Google Drive

I am downloading a 350 GB dataset to Google Drive by setting my current working directory to a folder on Google Drive in Google Colab, and using the curl comman

Is there a way to create a folder tree of all Shared Drives as an admin?

Google Drive is quite impressive for a web app, but it seems to be optimised for search, not spatial navigation so it's painfully slow for myself and colleagues

localhost refused to connect in a databricks notebook calling the google api

I read the Google API documentation pages (Drive API, pyDrive) and created a databricks notebook to connect to the Google drive. I used the sample code in the d

How to play Music (mp3, m4a etc) from Google Drive in Flutter

I want to play Music Files like mp3, m4a files from Google Drive in Flutter. So far, I'm able to fetch the link of files in my google drive Assets I'm using ass

How to initialise Google drive using GoogleCedentials instead of the deprecated GoogleCedential

I have java code to connect to google drive using a service account, this works: JsonFactory JSON_FACTORY = new GsonFactory(); GoogleCredential credential = Go

How can an authenticated user access the drive that is publicly accessible?

With this code, I am able to get the files that have been shared to the service account email. But, when I shared the folder (that was not owned by me, but is p

unable to iterate through all files present in a folder

# Folder Path path = "/content/gdrive/MyDrive/data files" # Change the directory os.chdir(path) # Read text File def read_text_file(file_path):

Get last modified page

How do I get page number, which is modified (deleting/adding content) in Google doc, Google Slide in last modification time? I have used Google drive revision

Copy file revisions to new file Google Drive API v3

Im trying to copy a file using python Google Drive api. Is there a way to copy a file with its revisions, or to update the copied file with the old files revisi

Retrieving a raw file URL from the Google Drive API

I am trying to get the image file URL from the Google Drive API. Not the webViewLink or webContentLink. The backstory doesn't really matter to the issue but it

How to download only files that are not in your computer from Google Drive using python

I'm trying to download files from my google drive folder using Python. I have tried the script below from How to download specific Google Drive folder using Pyt

Enable Google API OAuth Scope

For one of the application created using Google Apps Script, some scopes are automatically added as follows in my app: https://www.googleapis.com/auth/drive

How to Publish/Deploy Google Sheet script as API executable programmatically?

I have a google sheet containing script, I want to perform following operations programmatically. Make this Google spreadsheet public programmatically. I want

How do a rename a file using the Google Drive API for Ruby?

This seems like a basic question, but I'm well into my second day now :( I'm using the Google Drive Ruby Api here: https://github.com/google/google-api-ruby-cl

Get CSV from google drive and then load to pandas

My Goal is to read a .csv file from google drive and load it to a dataframe. I tried some answers here but the thing is, the file is not public and needs authen

Cannot recognize image upload at Google Drive in js

i'm trying to upload image file at google drive, using oauth token & fetch url. https://developers.google.com/drive/api/v3/manage-uploads Perform a multipar