Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to check if folder already exists in google drive python

response = driveservice.list(
    q="name='June 2019' and mimeType='application/vnd.google-apps.folder'",
    driveId='abcdef',
    corpora='drive',
    includeItemsFromAllDrives=True,
    supportsAllDrives=True
).execute()

for item in response.get('files', []):
    # process found item
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #folder #exists #google #drive #python
ADD COMMENT
Topic
Name
8+3 =