grr-cli 2.0.1

Google tools from the terminal, at maximum performance: 401 methods across 14 Google APIs in one generated command tree, zero-config, over HTTP/3
Documentation
1
{"name":"drive","version":"v3","revision":"20261012","title":"Google Drive API","rootUrl":"https://www.googleapis.com/","servicePath":"drive/v3/","basePath":"/drive/v3/","batchPath":"batch/drive/v3","methods":[{"id":"about.get","httpMethod":"GET","path":"about","flatPath":"about","description":"Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":[],"parameters":[]},{"id":"accessproposals.get","httpMethod":"GET","path":"files/{fileId}/accessproposals/{proposalId}","flatPath":"files/{fileId}/accessproposals/{proposalId}","description":"Retrieves an access proposal by ID. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","proposalId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the item the request is on.","enum":null},{"name":"proposalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the access proposal to resolve.","enum":null}]},{"id":"accessproposals.list","httpMethod":"GET","path":"files/{fileId}/accessproposals","flatPath":"files/{fileId}/accessproposals","description":"List the access proposals on a file. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access). Note: Only approvers are able to list access proposals on a file. If the user isn't an approver, a 403 error is returned.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the item the request is on.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"Optional. The number of results per page.","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"Optional. The continuation token on the list of access requests.","enum":null}]},{"id":"accessproposals.resolve","httpMethod":"POST","path":"files/{fileId}/accessproposals/{proposalId}:resolve","flatPath":"files/{fileId}/accessproposals/{proposalId}:resolve","description":"Approves or denies an access proposal. For more information, see [Manage pending access proposals](https://developers.google.com/workspace/drive/api/guides/pending-access).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","proposalId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the item the request is on.","enum":null},{"name":"proposalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the access proposal to resolve.","enum":null}]},{"id":"approvals.approve","httpMethod":"POST","path":"files/{fileId}/approvals/{approvalId}:approve","flatPath":"files/{fileId}/approvals/{approvalId}:approve","description":"Approves an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `APPROVED`. If this is the last required reviewer response, this also complete","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId","approvalId"],"parameters":[{"name":"approvalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the approval to approve.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null}]},{"id":"approvals.cancel","httpMethod":"POST","path":"files/{fileId}/approvals/{approvalId}:cancel","flatPath":"files/{fileId}/approvals/{approvalId}:cancel","description":"Cancels an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Updates the approval Status to `CANCELLED`. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS`.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId","approvalId"],"parameters":[{"name":"approvalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the approval to cancel.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null}]},{"id":"approvals.comment","httpMethod":"POST","path":"files/{fileId}/approvals/{approvalId}:comment","flatPath":"files/{fileId}/approvals/{approvalId}:comment","description":"Comments on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This sends a notification to both the initiator and the reviewers. Additionally, a message is also added to the approval activity log.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId","approvalId"],"parameters":[{"name":"approvalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the approval to comment on.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null}]},{"id":"approvals.decline","httpMethod":"POST","path":"files/{fileId}/approvals/{approvalId}:decline","flatPath":"files/{fileId}/approvals/{approvalId}:decline","description":"Declines an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `DECLINED`. This also completes the approval and sets the approval Status to `","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId","approvalId"],"parameters":[{"name":"approvalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the approval to decline.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null}]},{"id":"approvals.get","httpMethod":"GET","path":"files/{fileId}/approvals/{approvalId}","flatPath":"files/{fileId}/approvals/{approvalId}","description":"Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","approvalId"],"parameters":[{"name":"approvalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the approval.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null}]},{"id":"approvals.list","httpMethod":"GET","path":"files/{fileId}/approvals","flatPath":"files/{fileId}/approvals","description":"Lists the approvals on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). By default, this method returns a minimal response that may not include the items array. To retrieve approval details, you must explicitly specify the fiel","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of approvals to return. When not set, at most 100 approvals are returned.","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.","enum":null}]},{"id":"approvals.reassign","httpMethod":"POST","path":"files/{fileId}/approvals/{approvalId}:reassign","flatPath":"files/{fileId}/approvals/{approvalId}:reassign","description":"Reassigns the reviewers on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Adds or replaces reviewers in the ReviewerResponse of the approval. This can be called by any user with the `writer` permission on the file while ","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId","approvalId"],"parameters":[{"name":"approvalId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the approval to reassign.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is on.","enum":null}]},{"id":"approvals.start","httpMethod":"POST","path":"files/{fileId}/approvals:start","flatPath":"files/{fileId}/approvals:start","description":"Starts an approval on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file that the approval is created on.","enum":null}]},{"id":"apps.get","httpMethod":"GET","path":"apps/{appId}","flatPath":"apps/{appId}","description":"Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.apps.readonly","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["appId"],"parameters":[{"name":"appId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the app.","enum":null}]},{"id":"apps.list","httpMethod":"GET","path":"apps","flatPath":"apps","description":"Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).","scopes":["https://www.googleapis.com/auth/drive.apps.readonly"],"required":[],"parameters":[{"name":"appFilterExtensions","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of file extensions to limit returned results. All results within the given app query scope which can open any of the given file extension","enum":null},{"name":"appFilterMimeTypes","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of file extensions to limit returned results. All results within the given app query scope which can open any of the given MIME types wil","enum":null},{"name":"languageCode","type":"string","required":false,"repeated":false,"location":"query","description":"A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).","enum":null}]},{"id":"changes.getStartPageToken","httpMethod":"GET","path":"changes/startPageToken","flatPath":"changes/startPageToken","description":"Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":[],"parameters":[{"name":"driveId","type":"string","required":false,"repeated":false,"location":"query","description":"The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"teamDriveId","type":"string","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `driveId` instead.","enum":null}]},{"id":"changes.list","httpMethod":"GET","path":"changes","flatPath":"changes","description":"Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["pageToken"],"parameters":[{"name":"driveId","type":"string","required":false,"repeated":false,"location":"query","description":"The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change I","enum":null},{"name":"includeCorpusRemovals","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the l","enum":null},{"name":"includeItemsFromAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether both My Drive and shared drive items should be included in results.","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only 'published' is supported.","enum":null},{"name":"includeRemoved","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.","enum":null},{"name":"includeTeamDriveItems","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `includeItemsFromAllDrives` instead.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be returned. The maximum value i","enum":null},{"name":"pageToken","type":"string","required":true,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the respo","enum":null},{"name":"restrictToMyDrive","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared fil","enum":null},{"name":"spaces","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"teamDriveId","type":"string","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `driveId` instead.","enum":null}]},{"id":"changes.watch","httpMethod":"POST","path":"changes/watch","flatPath":"changes/watch","description":"Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["pageToken"],"parameters":[{"name":"driveId","type":"string","required":false,"repeated":false,"location":"query","description":"The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change I","enum":null},{"name":"includeCorpusRemovals","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the l","enum":null},{"name":"includeItemsFromAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether both My Drive and shared drive items should be included in results.","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only 'published' is supported.","enum":null},{"name":"includeRemoved","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.","enum":null},{"name":"includeTeamDriveItems","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `includeItemsFromAllDrives` instead.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of changes to return. The service may return fewer than this value. If unspecified, at most 100 changes will be returned. The maximum value i","enum":null},{"name":"pageToken","type":"string","required":true,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the respo","enum":null},{"name":"restrictToMyDrive","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared fil","enum":null},{"name":"spaces","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"teamDriveId","type":"string","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `driveId` instead.","enum":null}]},{"id":"channels.stop","httpMethod":"POST","path":"channels/stop","flatPath":"channels/stop","description":"Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":[],"parameters":[]},{"id":"comments.create","httpMethod":"POST","path":"files/{fileId}/comments","flatPath":"files/{fileId}/comments","description":"Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.co","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null}]},{"id":"comments.delete","httpMethod":"DELETE","path":"files/{fileId}/comments/{commentId}","flatPath":"files/{fileId}/comments/{commentId}","description":"Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","commentId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null}]},{"id":"comments.get","httpMethod":"GET","path":"files/{fileId}/comments/{commentId}","flatPath":"files/{fileId}/comments/{commentId}","description":"Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/works","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","commentId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeDeleted","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to return deleted comments. Deleted comments will not include their original content.","enum":null}]},{"id":"comments.list","httpMethod":"GET","path":"files/{fileId}/comments","flatPath":"files/{fileId}/comments","description":"Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/wo","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeDeleted","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to include deleted comments. Deleted comments will not include their original content.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of comments to return. The service may return fewer than this value. If unspecified, at most 20 comments will be returned. The maximum value ","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.","enum":null},{"name":"startModifiedTime","type":"string","required":false,"repeated":false,"location":"query","description":"The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).","enum":null}]},{"id":"comments.update","httpMethod":"PATCH","path":"files/{fileId}/comments/{commentId}","flatPath":"files/{fileId}/comments/{commentId}","description":"Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developer","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","commentId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null}]},{"id":"drives.create","httpMethod":"POST","path":"drives","flatPath":"drives","description":"Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).","scopes":["https://www.googleapis.com/auth/drive"],"required":["requestId"],"parameters":[{"name":"requestId","type":"string","required":true,"repeated":false,"location":"query","description":"Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a shared drive. A repeated request by the same ","enum":null}]},{"id":"drives.delete","httpMethod":"DELETE","path":"drives/{driveId}","flatPath":"drives/{driveId}","description":"Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).","scopes":["https://www.googleapis.com/auth/drive"],"required":["driveId"],"parameters":[{"name":"allowItemDeletion","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether any items inside the shared drive should also be deleted. This option is only supported when `useDomainAdminAccess` is also set to `true`.","enum":null},{"name":"driveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the shared drive.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the s","enum":null}]},{"id":"drives.get","httpMethod":"GET","path":"drives/{driveId}","flatPath":"drives/{driveId}","description":"Gets a shared drive's metadata by ID. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.readonly"],"required":["driveId"],"parameters":[{"name":"driveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the shared drive.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the s","enum":null}]},{"id":"drives.hide","httpMethod":"POST","path":"drives/{driveId}/hide","flatPath":"drives/{driveId}/hide","description":"Hides a shared drive from the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).","scopes":["https://www.googleapis.com/auth/drive"],"required":["driveId"],"parameters":[{"name":"driveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the shared drive.","enum":null}]},{"id":"drives.list","httpMethod":"GET","path":"drives","flatPath":"drives","description":"Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](https://developers.google.com/workspace/drive/api/guides/search-shareddrives) guide.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.readonly"],"required":[],"parameters":[{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of shared drives to return. The service may return fewer than this value. If unspecified, at most 10 shared drives will be returned. The maxi","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"Page token for shared drives.","enum":null},{"name":"q","type":"string","required":false,"repeated":false,"location":"query","description":"Query string for searching shared drives.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned.","enum":null}]},{"id":"drives.unhide","httpMethod":"POST","path":"drives/{driveId}/unhide","flatPath":"drives/{driveId}/unhide","description":"Restores a shared drive to the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).","scopes":["https://www.googleapis.com/auth/drive"],"required":["driveId"],"parameters":[{"name":"driveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the shared drive.","enum":null}]},{"id":"drives.update","httpMethod":"PATCH","path":"drives/{driveId}","flatPath":"drives/{driveId}","description":"Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).","scopes":["https://www.googleapis.com/auth/drive"],"required":["driveId"],"parameters":[{"name":"driveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the shared drive.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the s","enum":null}]},{"id":"files.copy","httpMethod":"POST","path":"files/{fileId}/copy","flatPath":"files/{fileId}/copy","description":"Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.photos.readonly"],"required":["fileId"],"parameters":[{"name":"copyComments","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to copy the open (unresolved) comments associated with the file.","enum":null},{"name":"enforceSingleParent","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"ignoreDefaultVisibility","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the doma","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"keepRevisionForever","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for th","enum":null},{"name":"ocrLanguage","type":"string","required":false,"repeated":false,"location":"query","description":"A language hint for OCR processing during image import (ISO 639-1 code).","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null}]},{"id":"files.create","httpMethod":"POST","path":"files","flatPath":"files","description":"Creates a file. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file). This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file"],"required":[],"parameters":[{"name":"enforceSingleParent","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Creating files in multiple folders is no longer supported.","enum":null},{"name":"ignoreDefaultVisibility","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the doma","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"keepRevisionForever","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for th","enum":null},{"name":"ocrLanguage","type":"string","required":false,"repeated":false,"location":"query","description":"A language hint for OCR processing during image import (ISO 639-1 code).","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"useContentAsIndexableText","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to use the uploaded content as indexable text.","enum":null}]},{"id":"files.delete","httpMethod":"DELETE","path":"files/{fileId}","flatPath":"files/{fileId}","description":"Permanently deletes a file owned by the user without moving it to the trash. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete). If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file"],"required":["fileId"],"parameters":[{"name":"enforceSingleParent","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: If an item isn't in a shared drive and its last parent is deleted but the item itself isn't, the item will be placed under its owner's root.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null}]},{"id":"files.download","httpMethod":"POST","path":"files/{fileId}/download","flatPath":"files/{fileId}/download","description":"Downloads the content of a file. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Operations are valid for 24 hours from the time of creation.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"Required. The ID of the file to download.","enum":null},{"name":"mimeType","type":"string","required":false,"repeated":false,"location":"query","description":"Optional. The MIME type the file should be downloaded as. This field can only be set when downloading Google Workspace documents. For a list of supported MIME t","enum":null},{"name":"revisionId","type":"string","required":false,"repeated":false,"location":"query","description":"Optional. The revision ID of the file to download. This field can only be set when downloading blob files, Google Docs, and Google Sheets. Returns `INVALID_ARGU","enum":null}]},{"id":"files.emptyTrash","httpMethod":"DELETE","path":"files/trash","flatPath":"files/trash","description":"Permanently deletes all of the user's trashed files. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete).","scopes":["https://www.googleapis.com/auth/drive"],"required":[],"parameters":[{"name":"driveId","type":"string","required":false,"repeated":false,"location":"query","description":"If set, empties the trash of the provided shared drive.","enum":null},{"name":"enforceSingleParent","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: If an item isn't in a shared drive and its last parent is deleted but the item itself isn't, the item will be placed under its owner's root.","enum":null}]},{"id":"files.export","httpMethod":"GET","path":"files/{fileId}/export","flatPath":"files/{fileId}/export","description":"Exports a Google Workspace document to the requested MIME type and returns exported byte content. For more information, see [Download and export files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). Note that the exported content is limited to 10 MB.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","mimeType"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"mimeType","type":"string","required":true,"repeated":false,"location":"query","description":"Required. The MIME type of the format requested for this export. For a list of supported MIME types, see [Export MIME types for Google Workspace documents](/wor","enum":null}]},{"id":"files.generateCseToken","httpMethod":"GET","path":"files/generateCseToken","flatPath":"files/generateCseToken","description":"Generates a CSE token which can be used to create or update CSE files.","scopes":["https://www.googleapis.com/auth/drive"],"required":[],"parameters":[{"name":"fileId","type":"string","required":false,"repeated":false,"location":"query","description":"The ID of the file for which the JWT should be generated. If not provided, an id will be generated.","enum":null},{"name":"parent","type":"string","required":false,"repeated":false,"location":"query","description":"The ID of the expected parent of the file. Used when generating a JWT for a new CSE file. If specified, the parent will be fetched, and if the parent is a share","enum":null}]},{"id":"files.generateIds","httpMethod":"GET","path":"files/generateIds","flatPath":"files/generateIds","description":"Generates a set of file IDs which can be provided in create or copy requests. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file"],"required":[],"parameters":[{"name":"count","type":"integer","required":false,"repeated":false,"location":"query","description":"The number of IDs to return.","enum":null},{"name":"space","type":"string","required":false,"repeated":false,"location":"query","description":"The space in which the IDs can be used to create files. Supported values are `drive` and `appDataFolder`. (Default: `drive`.) For more information, see [File or","enum":null},{"name":"type","type":"string","required":false,"repeated":false,"location":"query","description":"The type of items which the IDs can be used for. Supported values are `files` and `shortcuts`. Note that `shortcuts` are only supported in the `drive` `space`. ","enum":null}]},{"id":"files.get","httpMethod":"GET","path":"files/{fileId}","flatPath":"files/{fileId}","description":"Gets a file's metadata or content by ID. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading conte","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"acknowledgeAbuse","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt` parameter is set to `medi","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null}]},{"id":"files.list","httpMethod":"GET","path":"files","flatPath":"files","description":"Lists the user's files. For more information, see [Search for files and folders](https://developers.google.com/workspace/drive/api/guides/search-files). This method accepts the `q` parameter, which is a search query combining one or more search terms. This method returns *all* files by default, incl","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":[],"parameters":[{"name":"corpora","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies a collection of items (files or documents) to which the query applies. Supported items include: * `user` * `domain` * `drive` * `allDrives` Prefer `us","enum":null},{"name":"corpus","type":"string","required":false,"repeated":false,"location":"query","description":"Deprecated: The source of files to list. Use `corpora` instead.","enum":["domain","user"]},{"name":"driveId","type":"string","required":false,"repeated":false,"location":"query","description":"ID of the shared drive to search.","enum":null},{"name":"includeItemsFromAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether both My Drive and shared drive items should be included in results.","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"includeTeamDriveItems","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `includeItemsFromAllDrives` instead.","enum":null},{"name":"orderBy","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. Avoid using this key for queries on large item collections as i","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned for shared drives, and t","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response.","enum":null},{"name":"q","type":"string","required":false,"repeated":false,"location":"query","description":"A query for filtering the file results. For supported syntax, see [Search for files and folders](/workspace/drive/api/guides/search-files).","enum":null},{"name":"spaces","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of spaces to query within the corpora. Supported values are `drive` and `appDataFolder`. For more information, see [File organization](ht","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"teamDriveId","type":"string","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `driveId` instead.","enum":null}]},{"id":"files.listLabels","httpMethod":"GET","path":"files/{fileId}/listLabels","flatPath":"files/{fileId}/listLabels","description":"Lists the labels on a file. For more information, see [List labels on a file](https://developers.google.com/workspace/drive/api/guides/list-labels).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID for the file.","enum":null},{"name":"maxResults","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of labels to return per page. When not set, defaults to 100.","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response.","enum":null}]},{"id":"files.modifyLabels","httpMethod":"POST","path":"files/{fileId}/modifyLabels","flatPath":"files/{fileId}/modifyLabels","description":"Modifies the set of labels applied to a file. For more information, see [Set a label field on a file](https://developers.google.com/workspace/drive/api/guides/set-label). Returns a list of the labels that were added or modified.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file to which the labels belong.","enum":null}]},{"id":"files.update","httpMethod":"PATCH","path":"files/{fileId}","flatPath":"files/{fileId}","description":"Updates a file's metadata, content, or both. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI an","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.scripts"],"required":["fileId"],"parameters":[{"name":"addParents","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of parent IDs to add.","enum":null},{"name":"enforceSingleParent","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Adding files to multiple folders is no longer supported. Use shortcuts instead.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"keepRevisionForever","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to set the `keepForever` field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for th","enum":null},{"name":"ocrLanguage","type":"string","required":false,"repeated":false,"location":"query","description":"A language hint for OCR processing during image import (ISO 639-1 code).","enum":null},{"name":"removeParents","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of parent IDs to remove.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"useContentAsIndexableText","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to use the uploaded content as indexable text.","enum":null}]},{"id":"files.watch","httpMethod":"POST","path":"files/{fileId}/watch","flatPath":"files/{fileId}/watch","description":"Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"acknowledgeAbuse","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt` parameter is set to `medi","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeLabels","type":"string","required":false,"repeated":false,"location":"query","description":"A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null}]},{"id":"operations.get","httpMethod":"GET","path":"operations/{name}","flatPath":"operations/{name}","description":"Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["name"],"parameters":[{"name":"name","type":"string","required":true,"repeated":false,"location":"path","description":"The name of the operation resource.","enum":null}]},{"id":"permissions.create","httpMethod":"POST","path":"files/{fileId}/permissions","flatPath":"files/{fileId}/permissions","description":"Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared driv","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId"],"parameters":[{"name":"emailMessage","type":"string","required":false,"repeated":false,"location":"query","description":"A plain text custom message to include in the notification email.","enum":null},{"name":"enforceExpansiveAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: All requests use the expansive access rules.","enum":null},{"name":"enforceSingleParent","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: See `moveToNewOwnersRoot` for details.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file or shared drive.","enum":null},{"name":"moveToNewOwnersRoot","type":"boolean","required":false,"repeated":false,"location":"query","description":"This parameter only takes effect if the item isn't in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the ","enum":null},{"name":"sendNotificationEmail","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to send a notification email when sharing to users or groups. This defaults to `true` for users and groups, and is not allowed for other requests. It mu","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"transferOwnership","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side ef","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ","enum":null}]},{"id":"permissions.delete","httpMethod":"DELETE","path":"files/{fileId}/permissions/{permissionId}","flatPath":"files/{fileId}/permissions/{permissionId}","description":"Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across a","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","permissionId"],"parameters":[{"name":"enforceExpansiveAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: All requests use the expansive access rules.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file or shared drive.","enum":null},{"name":"permissionId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the permission.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ","enum":null}]},{"id":"permissions.get","httpMethod":"GET","path":"files/{fileId}/permissions/{permissionId}","flatPath":"files/{fileId}/permissions/{permissionId}","description":"Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","permissionId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"permissionId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the permission.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ","enum":null}]},{"id":"permissions.list","httpMethod":"GET","path":"files/{fileId}/permissions","flatPath":"files/{fileId}/permissions","description":"Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file or shared drive.","enum":null},{"name":"includePermissionsForView","type":"string","required":false,"repeated":false,"location":"query","description":"Specifies which additional view's permissions to include in the response. Only `published` is supported.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of permissions to return. The service may return fewer than this value. If unspecified, at most 100 permissions will be returned for shared d","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ","enum":null}]},{"id":"permissions.update","httpMethod":"PATCH","path":"files/{fileId}/permissions/{permissionId}","flatPath":"files/{fileId}/permissions/{permissionId}","description":"Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","permissionId"],"parameters":[{"name":"enforceExpansiveAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: All requests use the expansive access rules.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file or shared drive.","enum":null},{"name":"permissionId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the permission.","enum":null},{"name":"removeExpiration","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to remove the expiration date.","enum":null},{"name":"supportsAllDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the requesting application supports both My Drives and shared drives.","enum":null},{"name":"supportsTeamDrives","type":"boolean","required":false,"repeated":false,"location":"query","description":"Deprecated: Use `supportsAllDrives` instead.","enum":null},{"name":"transferOwnership","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side ef","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ","enum":null}]},{"id":"replies.create","httpMethod":"POST","path":"files/{fileId}/comments/{commentId}/replies","flatPath":"files/{fileId}/comments/{commentId}/replies","description":"Creates a reply to a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","commentId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null}]},{"id":"replies.delete","httpMethod":"DELETE","path":"files/{fileId}/comments/{commentId}/replies/{replyId}","flatPath":"files/{fileId}/comments/{commentId}/replies/{replyId}","description":"Deletes a reply. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","commentId","replyId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"replyId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the reply.","enum":null}]},{"id":"replies.get","httpMethod":"GET","path":"files/{fileId}/comments/{commentId}/replies/{replyId}","flatPath":"files/{fileId}/comments/{commentId}/replies/{replyId}","description":"Gets a reply by ID. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","commentId","replyId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeDeleted","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to return deleted replies. Deleted replies don't include their original content.","enum":null},{"name":"replyId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the reply.","enum":null}]},{"id":"replies.list","httpMethod":"GET","path":"files/{fileId}/comments/{commentId}/replies","flatPath":"files/{fileId}/comments/{commentId}/replies","description":"Lists a comment's replies. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","commentId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"includeDeleted","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether to include deleted replies. Deleted replies don't include their original content.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of replies to return. The service may return fewer than this value. If unspecified, at most 20 replies will be returned. The maximum value is","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response.","enum":null}]},{"id":"replies.update","httpMethod":"PATCH","path":"files/{fileId}/comments/{commentId}/replies/{replyId}","flatPath":"files/{fileId}/comments/{commentId}/replies/{replyId}","description":"Updates a reply with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.file"],"required":["fileId","commentId","replyId"],"parameters":[{"name":"commentId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the comment.","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"replyId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the reply.","enum":null}]},{"id":"revisions.delete","httpMethod":"DELETE","path":"files/{fileId}/revisions/{revisionId}","flatPath":"files/{fileId}/revisions/{revisionId}","description":"Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see [Manage file revisions](https","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file"],"required":["fileId","revisionId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"revisionId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the revision.","enum":null}]},{"id":"revisions.get","httpMethod":"GET","path":"files/{fileId}/revisions/{revisionId}","flatPath":"files/{fileId}/revisions/{revisionId}","description":"Gets a revision's metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId","revisionId"],"parameters":[{"name":"acknowledgeAbuse","type":"boolean","required":false,"repeated":false,"location":"query","description":"Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when the `alt` parameter is set to `medi","enum":null},{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"revisionId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the revision.","enum":null}]},{"id":"revisions.list","httpMethod":"GET","path":"files/{fileId}/revisions","flatPath":"files/{fileId}/revisions","description":"Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edite","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file","https://www.googleapis.com/auth/drive.meet.readonly","https://www.googleapis.com/auth/drive.metadata","https://www.googleapis.com/auth/drive.metadata.readonly","https://www.googleapis.com/auth/drive.photos.readonly","https://www.googleapis.com/auth/drive.readonly"],"required":["fileId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"The maximum number of revisions to return. The service may return fewer than this value. If unspecified, at most 200 revisions will be returned. The maximum val","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.","enum":null}]},{"id":"revisions.update","httpMethod":"PATCH","path":"files/{fileId}/revisions/{revisionId}","flatPath":"files/{fileId}/revisions/{revisionId}","description":"Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.appdata","https://www.googleapis.com/auth/drive.file"],"required":["fileId","revisionId"],"parameters":[{"name":"fileId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the file.","enum":null},{"name":"revisionId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the revision.","enum":null}]},{"id":"teamdrives.create","httpMethod":"POST","path":"teamdrives","flatPath":"teamdrives","description":"Deprecated: Use `drives.create` instead.","scopes":["https://www.googleapis.com/auth/drive"],"required":["requestId"],"parameters":[{"name":"requestId","type":"string","required":true,"repeated":false,"location":"query","description":"Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same us","enum":null}]},{"id":"teamdrives.delete","httpMethod":"DELETE","path":"teamdrives/{teamDriveId}","flatPath":"teamdrives/{teamDriveId}","description":"Deprecated: Use `drives.delete` instead.","scopes":["https://www.googleapis.com/auth/drive"],"required":["teamDriveId"],"parameters":[{"name":"teamDriveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the Team Drive","enum":null}]},{"id":"teamdrives.get","httpMethod":"GET","path":"teamdrives/{teamDriveId}","flatPath":"teamdrives/{teamDriveId}","description":"Deprecated: Use `drives.get` instead.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.readonly"],"required":["teamDriveId"],"parameters":[{"name":"teamDriveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the Team Drive","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the T","enum":null}]},{"id":"teamdrives.list","httpMethod":"GET","path":"teamdrives","flatPath":"teamdrives","description":"Deprecated: Use `drives.list` instead.","scopes":["https://www.googleapis.com/auth/drive","https://www.googleapis.com/auth/drive.readonly"],"required":[],"parameters":[{"name":"pageSize","type":"integer","required":false,"repeated":false,"location":"query","description":"Maximum number of Team Drives to return.","enum":null},{"name":"pageToken","type":"string","required":false,"repeated":false,"location":"query","description":"Page token for Team Drives.","enum":null},{"name":"q","type":"string","required":false,"repeated":false,"location":"query","description":"Query string for searching Team Drives.","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.","enum":null}]},{"id":"teamdrives.update","httpMethod":"PATCH","path":"teamdrives/{teamDriveId}","flatPath":"teamdrives/{teamDriveId}","description":"Deprecated: Use `drives.update` instead.","scopes":["https://www.googleapis.com/auth/drive"],"required":["teamDriveId"],"parameters":[{"name":"teamDriveId","type":"string","required":true,"repeated":false,"location":"path","description":"The ID of the Team Drive","enum":null},{"name":"useDomainAdminAccess","type":"boolean","required":false,"repeated":false,"location":"query","description":"Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the T","enum":null}]}]}