Get Google Drive File Stream

broken image


Note:
  • From your Web browser, go to the Google Drive File Stream home page. On the Google Drive Help page, click on Download for Windows. In the following pop-up window, click Save File. If you're prompted to enter a location in which to save the installer file, titled googledrivefilestream.exe, save.
  • What is Google Drive File Stream? Drive File Stream is basically a kind of Sync tool for desktop or we can say it is a replacement or alternative for the Backup and Sync app. This tool is mainly developed for G Suite users which means all the new features & functionalities of G Suite are integrated with this new program.

Store, share, and access your files and folders from any mobile device, tablet, or computer—and your first 15GB of storage are free. Go to Google Drive Teams.

Authorization optional.
Drive

Gets a file's metadata or content by ID.Try it now or see an example.

If you provide the URL parameter alt=media, then the response includes the file contents in the response body. Downloading content with alt=media only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use files.export instead. For further information on downloading files, refer to Download files.

Google

Request

HTTP request

Parameters

Parameter nameValueDescription
Path parameters
fileIdstring The ID for the file in question.
Optional query parameters
acknowledgeAbuseboolean Whether the user is acknowledging the risk of downloading known malware or other abusive files. (Default: false)
includePermissionsForViewstring Specifies which additional view's permissions to include in the response. Only 'published' is supported.
projectionstringWarning: This item is deprecated. This parameter is deprecated and has no function.
Acceptable values are:
  • 'BASIC': Deprecated
  • 'FULL': Deprecated
revisionIdstring Specifies the Revision ID that should be downloaded. Ignored unless alt=media is specified.
supportsAllDrivesboolean Whether the requesting application supports both My Drives and shared drives. (Default: false)
supportsTeamDrivesbooleanWarning: This item is deprecated. Deprecated use supportsAllDrives instead. (Default: false)
updateViewedDatebooleanWarning: This item is deprecated. Deprecated: Use files.update with modifiedDateBehavior=noChange, updateViewedDate=true and an empty request body. (Default: false)

Authorization

This request allows authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.photos.readonly

Some scopes are restricted and require a security assessment for your app to use them. For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

By default, this responds with a Files resource in the response body. If you provide the URL parameter alt=media, then the response includes the file contents in the response body. Downloading content with alt=media only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use files.export instead. For further information on downloading files, refer to Download files.

Examples

Note: The code examples available for this method do not represent all supported programming languages (see the client libraries page for a list of supported languages).

Java

Uses the Java client library.

.NET

Uses the .NET client library.

PHP

Uses the PHP client library.

Python

Uses the Python client library.

How to get google drive file stream

JavaScript

Uses the JavaScript client library.

Go

Google drive download

Gets a file's metadata or content by ID.Try it now or see an example.

If you provide the URL parameter alt=media, then the response includes the file contents in the response body. Downloading content with alt=media only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use files.export instead. For further information on downloading files, refer to Download files.

Request

HTTP request

Parameters

Parameter nameValueDescription
Path parameters
fileIdstring The ID for the file in question.
Optional query parameters
acknowledgeAbuseboolean Whether the user is acknowledging the risk of downloading known malware or other abusive files. (Default: false)
includePermissionsForViewstring Specifies which additional view's permissions to include in the response. Only 'published' is supported.
projectionstringWarning: This item is deprecated. This parameter is deprecated and has no function.
Acceptable values are:
  • 'BASIC': Deprecated
  • 'FULL': Deprecated
revisionIdstring Specifies the Revision ID that should be downloaded. Ignored unless alt=media is specified.
supportsAllDrivesboolean Whether the requesting application supports both My Drives and shared drives. (Default: false)
supportsTeamDrivesbooleanWarning: This item is deprecated. Deprecated use supportsAllDrives instead. (Default: false)
updateViewedDatebooleanWarning: This item is deprecated. Deprecated: Use files.update with modifiedDateBehavior=noChange, updateViewedDate=true and an empty request body. (Default: false)

Authorization

This request allows authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.photos.readonly

Some scopes are restricted and require a security assessment for your app to use them. For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

By default, this responds with a Files resource in the response body. If you provide the URL parameter alt=media, then the response includes the file contents in the response body. Downloading content with alt=media only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use files.export instead. For further information on downloading files, refer to Download files.

Examples

Note: The code examples available for this method do not represent all supported programming languages (see the client libraries page for a list of supported languages).

Java

Uses the Java client library.

.NET

Uses the .NET client library.

PHP

Uses the PHP client library.

Python

Uses the Python client library.

JavaScript

Uses the JavaScript client library.

Go

Install Google Drive File Stream Download

Uses the Go client library.

Objective-C

Uses the Objective-C client library.

Try it!

Google Drive File Stream Not Working Mac

Use the APIs Explorer below to call this method on live data and see the response.





broken image