Of course, the owner can be also changed. In this case, the owner is the service account. ![]() When you run above modified script, you can see the uploaded file at the shared folder of your Google Drive."parents": # <- Please set the folder ID you shared with the service account. And please set the folder ID you shared with the service account. Please modify the function upload_recording as follows. So at first, please prepare a folder in your Google Drive and share the folder with the email of the service account. Note: There is no limit on the date you can specify. You can also enter keywords to search the text in audio transcripts. Search recordings by entering the meeting ID or topic. You will see a list of cloud recordings on your account. In this pattern, the file is uploaded to the shared folder using the resumable upload with the service account. In the navigation menu, click Account Management then Recording Management. When you run above modified script, you can see the uploaded file at "Shared with me" of your Google Drive."emailAddress": "#" # <- Please set your email address of your Google account. import osįrom rvice_account import ServiceAccountCredentialsĭef upload_recording(file_location,file_name):įilesize = os.path.getsize(file_location) Once the video is saved, the function will upload it to Google Drive using the Resumable Upload method.Įven though the response from the Resumable Upload method is 200 and it also gives me the Id of the file, I can't seem to find the file anywhere in my Google Drive. The function will download the Recording and store it in the local machine. The data will contain the Recording's Download_URL and other information. I have built a function in Python3 that will retrieve the data from a Google Spreadsheet.
0 Comments
Leave a Reply. |