![]() Use permissionDetails/role instead.ĭeprecated: Output only. Use permissionDetails/inheritedFrom instead.ĭeprecated: Output only. Use permissionDetails/permissionType instead.ĭeprecated: Output only. Use permissionDetails instead.ĭeprecated: Output only. The time cannot be more than a year in the future.They can only be set on user and group permissions.Expiration times have the following restrictions: The time at which this permission will expire (RFC 3339 date-time). The domain to which this permission refers. This is only applicable for permissions of type domain or anyone. Whether the permission allows the file to be discovered through search. While new values may be supported in the future, the following are currently allowed: The email address of the user or group to which this permission refers. A link to the user's profile photo, if available. While new values may be added in the future, the following are currently possible: The ID of the item from which this permission is inherited. While new values may be added in future, the following are currently possible: This is an output-only field which is present only for shared drive items. Details of whether the permissions on this shared drive item are inherited or directly on this item. Value: the fixed string "drive#permission". Identifies what kind of resource this is. There isn't extra information required for an anyone type. When type is domain, you must provide a domain. When creating a permission, if type is user or group, you must provide an emailAddress for the user or group. domain - String domain name, such as ".".group - Name of the Google Group, such as "The Company Administrators.".user - User's full name, as defined for their Google account, such as "Joe Smith.".The following is a list of examples for each type of permission: The "pretty" name of the value of the permission. This is a unique identifier for the grantee, and is published in User resources as permissionId. Use the permissions.list method to retrieve the ID for a file, folder, or shared drive. Some resource methods (such as permissions.update) require a permissionId. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. Ref When the value of exportFormats of Google Document is retrieved, it is as follows. When you want to know the mimeTypes that Google Document can be exported, you can achieve this using the method of "About: get" in Drive API. To: mimeType:'application/'Ĭonst mimeType = 'application/' ![]() It seems that this is the current specification at the Google side.įrom the above situation, in order to remove the current issue of your situation, how about the following modification? From: mimeType:'application/' For example, it's DOCX file, PDF, and so on. In this case, it is required to convert it to other type. By this, an error of The requested conversion is not supported. For example, Google Document cannot be exported as Google Document. At Google Drive, unfortunately, in the current stage, Google Docs files cannot be directly exported as the original mimeType of Google Docs. ![]() When I saw your question, I noticed that the file you want to export is Google Document and the mimeType you want to export is application/. Var appId = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'Ĭonst mimeType = 'application/'Ĭonst fileID = '1O2ORp9te3FzqTFZkPLGNGvAnzcKBhdGZ-lu8TgABPrY' ![]() Var clientId = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' Var developerKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' "message": "The requested conversion is not supported." "message": "The requested conversion is not supported.", Id:'1O2ORp9te3FzqTFZkPLGNGvAnzcKBhdGZ-lu8TgABPrY' API Explorer String Public hello world doc helloWorld Details
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |