![]() Java is a registered trademark of Oracle and/or its affiliates. For details, see the Google Developers Site Policies. The header built from these values using forward slash and comma separators is: X-Goog-Drive-Resource-Keys: fileId1/resourceKey1,fileId2/resourceKey2,fileId3/resourceKe圓Įxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. ResourceKey1, resourceKey2, and resourceKe圓, respectively. Let's assume the resource keys for these three files are ![]() ![]() Resource key pairs using comma ( ,) separators.įor example, consider a request to move file fileId1 from folder fileId2 Click the drop-down arrow Down under Get Link. The header is built by combining all these file ID and To set permissions for a file: Select the file you want to share. SyntaxĪ pair of file ID and resource key are set on the header using a forward On the X-Goog-Drive-Resource-Keys HTTP header. Resource keys for any files referenced by requests to the Drive API are set If the file is a shortcut, the resource keyįor the target of the shortcut is returned on the read-only ![]() Google has made subtle changes to how you share files with Drive. The Drive API returns a file's resource key on the read-only resourceKey How to use the new Google Drive sharing options. This resource key requirement only applies to a subset of old files.įor more information about permissions, see ![]() Type=domain or type=anyone permission, may require a resource key. Requests from users that only have access to these link-shared files via a A file that is shared with the link can only be discovered by users that canĪccess the file as a result of a type=user or type=group permission. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |