Integrate with the Drive UI. Integrate Drive widgets into your web app. Integrate with shared drives. Handle errors and improve performance. Publish your Drive app. Stay updated. Notice: important security update for Drive document URLs and resource keys. For more information, refer to Access link-shared files using resource keys. Response By default, this responds with a Files resource in the response body. Try it! Use the APIs Explorer below to call this method on live data and see the response.
Explore our sample apps or fork them to build your own. Whether the user is acknowledging the risk of downloading known malware or other abusive files.
Default: false. The paths of the fields you want included in the response. For more information, refer to Access link-shared files using resource keys. Optional query parameters acknowledgeAbuse boolean Whether the user is acknowledging the risk of downloading known malware or other abusive files.
Default: false includePermissionsForView string Specifies which additional view's permissions to include in the response. Only 'published' is supported. Default: false updateViewedDate boolean Deprecated: Use files. Request body Do not supply a request body with this method. Response By default, this responds with a Files resource in the response body. 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. GenericUrl; import com. HttpResponse; import com. Drive; import com. File; import java. IOException; import java. The response comes back with the token and sets the "AccessToken" environment variable to the token value. Skip to main content. This browser is no longer supported.
Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback?
0コメント