Google.Apis.Drive.v3 The Drive Service. The API version. The discovery version used to generate this service. Constructs a new service. Constructs a new service. The service initializer. Gets the service supported features. Gets the service name. Gets the service base URI. Gets the service base path. Gets the batch base URI; null if unspecified. Gets the batch base path; null if unspecified. Available OAuth 2.0 scopes for use with the Google Drive API. See, edit, create, and delete all of your Google Drive files See, create, and delete its own configuration data in your Google Drive View your Google Drive apps See, edit, create, and delete only the specific Google Drive files you use with this app See and download your Google Drive files that were created or edited by Google Meet. View and manage metadata of files in your Google Drive See information about your Google Drive files View the photos, videos and albums in your Google Photos See and download all your Google Drive files Modify your Google Apps Script scripts' behavior Available OAuth 2.0 scope constants for use with the Google Drive API. See, edit, create, and delete all of your Google Drive files See, create, and delete its own configuration data in your Google Drive View your Google Drive apps See, edit, create, and delete only the specific Google Drive files you use with this app See and download your Google Drive files that were created or edited by Google Meet. View and manage metadata of files in your Google Drive See information about your Google Drive files View the photos, videos and albums in your Google Photos See and download all your Google Drive files Modify your Google Apps Script scripts' behavior Gets the About resource. Gets the Accessproposals resource. Gets the Apps resource. Gets the Changes resource. Gets the Channels resource. Gets the Comments resource. Gets the Drives resource. Gets the Files resource. Gets the Operations resource. Gets the Permissions resource. Gets the Replies resource. Gets the Revisions resource. Gets the Teamdrives resource. A base abstract class for Drive requests. Constructs a new DriveBaseServiceRequest instance. V1 error format. V1 error format. v1 error format v2 error format OAuth access token. Data format for response. Data format for response. Responses with Content-Type of application/json Media download with context-dependent Content-Type Responses with Content-Type of application/x-protobuf JSONP Selector specifying which fields to include in a partial response. API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. OAuth 2.0 token for the current user. Returns response with indentations and line breaks. Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Legacy upload protocol for media (e.g. "media", "multipart"). Upload protocol for media (e.g. "raw", "multipart"). Initializes Drive parameter list. The "about" collection of methods. The service which this resource belongs to. Constructs a new resource. 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](https://developers.google.com/workspace/drive/api/guides/fields-parameter). 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](https://developers.google.com/workspace/drive/api/guides/fields-parameter). Constructs a new Get request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. The "accessproposals" collection of methods. The service which this resource belongs to. Constructs a new resource. Retrieves an AccessProposal by ID. Required. The id of the item the request is on. Required. The id of the access proposal to resolve. Retrieves an AccessProposal by ID. Constructs a new Get request. Required. The id of the item the request is on. Required. The id of the access proposal to resolve. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. List the AccessProposals on a file. Note: Only approvers are able to list AccessProposals on a file. If the user is not an approver, returns a 403. Required. The id of the item the request is on. List the AccessProposals on a file. Note: Only approvers are able to list AccessProposals on a file. If the user is not an approver, returns a 403. Constructs a new List request. Required. The id of the item the request is on. Optional. The number of results per page Optional. The continuation token on the list of access requests. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. Used to approve or deny an Access Proposal. The body of the request. Required. The id of the item the request is on. Required. The id of the access proposal to resolve. Used to approve or deny an Access Proposal. Constructs a new Resolve request. Required. The id of the item the request is on. Required. The id of the access proposal to resolve. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Resolve parameter list. The "apps" collection of methods. The service which this resource belongs to. Constructs a new resource. Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). The ID of the app. Gets a specific app. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Constructs a new Get request. The ID of the app. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Constructs a new List request. 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 extensions are included in the response. If `appFilterMimeTypes` are provided as well, the result is a union of the two resulting app lists. 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 will be included in the response. If `appFilterExtensions` are provided as well, the result is a union of the two resulting app lists. A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/). Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. The "changes" collection of methods. The service which this resource belongs to. Constructs a new resource. Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes). Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/workspace/drive/api/guides/manage-changes). Constructs a new GetStartPageToken request. The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Deprecated: Use `driveId` instead. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes GetStartPageToken parameter list. 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). 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 response from the getStartPageToken method. 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). Constructs a new List request. 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 response from the getStartPageToken method. 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 ID as an identifier. 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 list of changes and there will be no further change entries for this file. Whether both My Drive and shared drive items should be included in results. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only 'published' is supported. Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. Deprecated: Use `includeItemsFromAllDrives` instead. The maximum number of changes to return per page. 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 files which have not been added to My Drive. A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Deprecated: Use `driveId` instead. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push). The body of the request. 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 response from the getStartPageToken method. Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push). Constructs a new Watch request. 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 response from the getStartPageToken method. 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 ID as an identifier. 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 list of changes and there will be no further change entries for this file. Whether both My Drive and shared drive items should be included in results. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only 'published' is supported. Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access. Deprecated: Use `includeItemsFromAllDrives` instead. The maximum number of changes to return per page. 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 files which have not been added to My Drive. A comma-separated list of spaces to query within the corpora. Supported values are 'drive' and 'appDataFolder'. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Deprecated: Use `driveId` instead. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Watch parameter list. The "channels" collection of methods. The service which this resource belongs to. Constructs a new resource. Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push). The body of the request. Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push). Constructs a new Stop request. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Stop parameter list. The "comments" collection of methods. The service which this resource belongs to. Constructs a new resource. 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.com/workspace/drive/api/guides/fields-parameter). The body of the request. The ID of the file. 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.com/workspace/drive/api/guides/fields-parameter). Constructs a new Create request. The ID of the file. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Create parameter list. Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). The ID of the file. The ID of the comment. Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). Constructs a new Delete request. The ID of the file. The ID of the comment. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. 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/workspace/drive/api/guides/fields-parameter). The ID of the file. The ID of the comment. 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/workspace/drive/api/guides/fields-parameter). Constructs a new Get request. The ID of the file. The ID of the comment. Whether to return deleted comments. Deleted comments will not include their original content. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. 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/workspace/drive/api/guides/fields-parameter). The ID of the file. 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/workspace/drive/api/guides/fields-parameter). Constructs a new List request. The ID of the file. Whether to include deleted comments. Deleted comments will not include their original content. The maximum number of comments to return per page. 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. The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time). Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. 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://developers.google.com/workspace/drive/api/guides/fields-parameter). The body of the request. The ID of the file. The ID of the comment. 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://developers.google.com/workspace/drive/api/guides/fields-parameter). Constructs a new Update request. The ID of the file. The ID of the comment. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. The "drives" collection of methods. The service which this resource belongs to. Constructs a new resource. Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). The body of the request. 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 user and with the same request ID will avoid creating duplicates by attempting to create the same shared drive. If the shared drive already exists a 409 error will be returned. Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). Constructs a new Create request. 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 user and with the same request ID will avoid creating duplicates by attempting to create the same shared drive. If the shared drive already exists a 409 error will be returned. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Create parameter list. 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). The ID of the shared drive. 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). Constructs a new Delete request. The ID of the shared drive. Whether any items inside the shared drive should also be deleted. This option is only supported when `useDomainAdminAccess` is also set to `true`. 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 shared drive belongs. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. 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). The ID of the shared drive. 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). Constructs a new Get request. The ID of the shared drive. 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 shared drive belongs. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. 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). The ID of the shared drive. 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). Constructs a new Hide request. The ID of the shared drive. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Hide parameter list. 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](/workspace/drive/api/guides/search-shareddrives) guide. 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](/workspace/drive/api/guides/search-shareddrives) guide. Constructs a new List request. Maximum number of shared drives to return per page. Page token for shared drives. Query string for searching shared drives. 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. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. 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). The ID of the shared drive. 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). Constructs a new Unhide request. The ID of the shared drive. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Unhide parameter list. Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). The body of the request. The ID of the shared drive. Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). Constructs a new Update request. The ID of the shared drive. 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 shared drive belongs. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. The "files" collection of methods. The service which this resource belongs to. Constructs a new resource. 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). The body of the request. The ID of the file. 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). Constructs a new Copy request. The ID of the file. Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead. 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 domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. 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 the file can be kept forever. If the limit is reached, try deleting pinned revisions. A language hint for OCR processing during image import (ISO 639-1 code). Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Copy parameter list. Creates a file. For more information, see [Create and manage files](/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:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts with the `create` method must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `name` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `"name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `name` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the name. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type. The body of the request. Creates a file. For more information, see [Create and manage files](/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:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts with the `create` method must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `name` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `"name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `name` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the name. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type. Constructs a new Create request. Deprecated: Creating files in multiple folders is no longer supported. 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 domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. 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 the file can be kept forever. If the limit is reached, try deleting pinned revisions. A language hint for OCR processing during image import (ISO 639-1 code). Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Whether to use the uploaded content as indexable text. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Create parameter list. Creates a file. For more information, see [Create and manage files](/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:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts with the `create` method must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `name` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `"name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `name` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the name. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type. Considerations regarding : If is seekable, then the stream position will be reset to 0 before reading commences. If is not seekable, then it will be read from its current position Caller is responsible for maintaining the open until the upload is completed Caller is responsible for closing the The body of the request. The stream to upload. See remarks for further information. The content type of the stream to upload. Create media upload which supports resumable upload. V1 error format. V1 error format. v1 error format v2 error format OAuth access token. Data format for response. Data format for response. Responses with Content-Type of application/json Media download with context-dependent Content-Type Responses with Content-Type of application/x-protobuf JSONP Selector specifying which fields to include in a partial response. API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. OAuth 2.0 token for the current user. Returns response with indentations and line breaks. Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Legacy upload protocol for media (e.g. "media", "multipart"). Upload protocol for media (e.g. "raw", "multipart"). Deprecated: Creating files in multiple folders is no longer supported. 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 domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. 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 the file can be kept forever. If the limit is reached, try deleting pinned revisions. A language hint for OCR processing during image import (ISO 639-1 code). Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Whether to use the uploaded content as indexable text. Constructs a new Create media upload instance. Considerations regarding : If is seekable, then the stream position will be reset to 0 before reading commences. If is not seekable, then it will be read from its current position Caller is responsible for maintaining the open until the upload is completed Caller is responsible for closing the 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 the target is a folder, all descendants owned by the user are also deleted. The ID of the file. 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 the target is a folder, all descendants owned by the user are also deleted. Constructs a new Delete request. The ID of the file. 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. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. 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. Required. The ID of the file to download. 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. Constructs a new Download request. Required. The ID of the file to download. 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 types, see [Export MIME types for Google Workspace documents](/workspace/drive/api/guides/ref-export-formats). If not set, a Google Workspace document is downloaded with a default MIME type. The default MIME type might change in the future. 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_ARGUMENT` if downloading a specific revision on the file is unsupported. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Download parameter list. 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). 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). Constructs a new EmptyTrash request. If set, empties the trash of the provided shared drive. 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. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes EmptyTrash parameter list. 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. The ID of the file. 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](/workspace/drive/api/guides/ref-export-formats). 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. Constructs a new Export request. The ID of the file. 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](/workspace/drive/api/guides/ref-export-formats). Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Export parameter list. Gets the media downloader. Synchronously download the media into the given stream. Warning: This method hides download errors; use instead. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Synchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. The final status of the download; including whether the download succeeded or failed. Asynchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Asynchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Synchronously download a range of the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Asynchronously download a range of the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. 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). 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). Constructs a new GenerateIds request. The number of IDs to return. 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 organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). 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`. (Default: `files`.) For more information, see [File organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). Gets the method name. Gets the HTTP method. Gets the REST path. Initializes GenerateIds parameter list. Gets a file's metadata or content by ID. For more information, see [Search for files and folders](/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 content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](/workspace/drive/api/reference/rest/v3/files/export) instead. For more information, see [Download and export files](/workspace/drive/api/guides/manage-downloads). The ID of the file. Gets a file's metadata or content by ID. For more information, see [Search for files and folders](/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 content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](/workspace/drive/api/reference/rest/v3/files/export) instead. For more information, see [Download and export files](/workspace/drive/api/guides/manage-downloads). Constructs a new Get request. The ID of the file. 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 `media` and the user is the owner of the file or an organizer of the shared drive in which the file resides. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. Gets the media downloader. Synchronously download the media into the given stream. Warning: This method hides download errors; use instead. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Synchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. The final status of the download; including whether the download succeeded or failed. Asynchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Asynchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Synchronously download a range of the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Asynchronously download a range of the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Lists the user's files. For more information, see [Search for files and folders](/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, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results. Lists the user's files. For more information, see [Search for files and folders](/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, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results. Constructs a new List request. Bodies of items (files or documents) to which the query applies. Supported bodies are: * `user` * `domain` * `drive` * `allDrives` Prefer `user` or `drive` to `allDrives` for efficiency. By default, corpora is set to `user`. However, this can change depending on the filter set through the `q` parameter. For more information, see [File organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). Deprecated: The source of files to list. Use `corpora` instead. Deprecated: The source of files to list. Use `corpora` instead. Files shared to the user's domain. Files owned by or shared to the user. ID of the shared drive to search. Whether both My Drive and shared drive items should be included in results. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. Deprecated: Use `includeItemsFromAllDrives` instead. A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * `modifiedByMeTime`: The last time the file was modified by the user. * `modifiedTime`: The last time the file was modified by anyone. * `name`: The name of the file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was shared with the user, if applicable. * `starred`: Whether the user has starred the file. * `viewedByMeTime`: The last time the file was viewed by the user. Each key sorts ascending by default, but can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,modifiedTime desc,name`. The maximum number of files to return per page. Partial or empty result pages are possible even before the end of the files list has been reached. 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. A query for filtering the file results. For supported syntax, see [Search for files and folders](/workspace/drive/api/guides/search-files). A comma-separated list of spaces to query within the corpora. Supported values are `drive` and `appDataFolder`. For more information, see [File organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Deprecated: Use `driveId` instead. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. 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). The ID for the file. 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). Constructs a new ListLabels request. The ID for the file. The maximum number of labels to return per page. When not set, defaults to 100. 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. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes ListLabels parameter list. 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. The body of the request. The ID of the file to which the labels belong. 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. Constructs a new ModifyLabels request. The ID of the file to which the labels belong. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes ModifyLabels parameter list. 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 and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). The body of the request. The ID of the file. 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 and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). Constructs a new Update request. The ID of the file. A comma-separated list of parent IDs to add. Deprecated: Adding files to multiple folders is no longer supported. Use shortcuts instead. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. 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 the file can be kept forever. If the limit is reached, try deleting pinned revisions. A language hint for OCR processing during image import (ISO 639-1 code). A comma-separated list of parent IDs to remove. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Whether to use the uploaded content as indexable text. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. 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 and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `*/*` (Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information, see [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types).) For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). Considerations regarding : If is seekable, then the stream position will be reset to 0 before reading commences. If is not seekable, then it will be read from its current position Caller is responsible for maintaining the open until the upload is completed Caller is responsible for closing the The body of the request. The ID of the file. The stream to upload. See remarks for further information. The content type of the stream to upload. Update media upload which supports resumable upload. V1 error format. V1 error format. v1 error format v2 error format OAuth access token. Data format for response. Data format for response. Responses with Content-Type of application/json Media download with context-dependent Content-Type Responses with Content-Type of application/x-protobuf JSONP Selector specifying which fields to include in a partial response. API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. OAuth 2.0 token for the current user. Returns response with indentations and line breaks. Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Legacy upload protocol for media (e.g. "media", "multipart"). Upload protocol for media (e.g. "raw", "multipart"). The ID of the file. A comma-separated list of parent IDs to add. Deprecated: Adding files to multiple folders is no longer supported. Use shortcuts instead. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. 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 the file can be kept forever. If the limit is reached, try deleting pinned revisions. A language hint for OCR processing during image import (ISO 639-1 code). A comma-separated list of parent IDs to remove. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Whether to use the uploaded content as indexable text. Constructs a new Update media upload instance. Considerations regarding : If is seekable, then the stream position will be reset to 0 before reading commences. If is not seekable, then it will be read from its current position Caller is responsible for maintaining the open until the upload is completed Caller is responsible for closing the Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push). The body of the request. The ID of the file. Subscribes to changes to a file. For more information, see [Notifications for resource changes](https://developers.google.com/workspace/drive/api/guides/push). Constructs a new Watch request. The ID of the file. 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 `media` and the user is the owner of the file or an organizer of the shared drive in which the file resides. A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. Specifies which additional view's permissions to include in the response. Only `published` is supported. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Watch parameter list. The "operations" collection of methods. The service which this resource belongs to. Constructs a new resource. 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. The name of the operation resource. 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. Constructs a new Get request. The name of the operation resource. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. The "permissions" collection of methods. The service which this resource belongs to. Constructs a new resource. Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. The body of the request. The ID of the file or shared drive. Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. Constructs a new Create request. The ID of the file or shared drive. A plain text custom message to include in the notification email. Whether the request should enforce expansive access rules. Deprecated: See `moveToNewOwnersRoot` for details. This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents are not changed. 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 must not be disabled for ownership transfers. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. 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 effect. Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Create parameter list. Deletes a permission. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. The ID of the file or shared drive. The ID of the permission. Deletes a permission. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. Constructs a new Delete request. The ID of the file or shared drive. The ID of the permission. Whether the request should enforce expansive access rules. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. Gets a permission by ID. The ID of the file. The ID of the permission. Gets a permission by ID. Constructs a new Get request. The ID of the file. The ID of the permission. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. Lists a file's or shared drive's permissions. The ID of the file or shared drive. Lists a file's or shared drive's permissions. Constructs a new List request. The ID of the file or shared drive. Specifies which additional view's permissions to include in the response. Only 'published' is supported. The maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned. 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. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. Updates a permission with patch semantics. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. The body of the request. The ID of the file or shared drive. The ID of the permission. Updates a permission with patch semantics. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. Constructs a new Update request. The ID of the file or shared drive. The ID of the permission. Whether the request should enforce expansive access rules. Whether to remove the expiration date. Whether the requesting application supports both My Drives and shared drives. Deprecated: Use `supportsAllDrives` instead. 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 effect. Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. The "replies" collection of methods. The service which this resource belongs to. Constructs a new resource. Creates a reply to a comment. The body of the request. The ID of the file. The ID of the comment. Creates a reply to a comment. Constructs a new Create request. The ID of the file. The ID of the comment. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Create parameter list. Deletes a reply. The ID of the file. The ID of the comment. The ID of the reply. Deletes a reply. Constructs a new Delete request. The ID of the file. The ID of the comment. The ID of the reply. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. Gets a reply by ID. The ID of the file. The ID of the comment. The ID of the reply. Gets a reply by ID. Constructs a new Get request. The ID of the file. The ID of the comment. The ID of the reply. Whether to return deleted replies. Deleted replies will not include their original content. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. Lists a comment's replies. The ID of the file. The ID of the comment. Lists a comment's replies. Constructs a new List request. The ID of the file. The ID of the comment. Whether to include deleted replies. Deleted replies will not include their original content. The maximum number of replies to return per page. 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. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. Updates a reply with patch semantics. The body of the request. The ID of the file. The ID of the comment. The ID of the reply. Updates a reply with patch semantics. Constructs a new Update request. The ID of the file. The ID of the comment. The ID of the reply. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. The "revisions" collection of methods. The service which this resource belongs to. Constructs a new resource. 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://developers.google.com/drive/api/guides/manage-revisions). The ID of the file. The ID of the revision. 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://developers.google.com/drive/api/guides/manage-revisions). Constructs a new Delete request. The ID of the file. The ID of the revision. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. 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). The ID of the file. The ID of the revision. 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). Constructs a new Get request. The ID of the file. The ID of the revision. 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 `media` and the user is the owner of the file or an organizer of the shared drive in which the file resides. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. Gets the media downloader. Synchronously download the media into the given stream. Warning: This method hides download errors; use instead. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Synchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. The final status of the download; including whether the download succeeded or failed. Asynchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Asynchronously download the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Synchronously download a range of the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Asynchronously download a range of the media into the given stream. This method uses the property to perform the download. Progress event handlers and other configuration may be performed using that property prior to calling this method. Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). The ID of the file. Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). Constructs a new List request. The ID of the file. The maximum number of revisions to return per page. 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. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). The body of the request. The ID of the file. The ID of the revision. Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). Constructs a new Update request. The ID of the file. The ID of the revision. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. The "teamdrives" collection of methods. The service which this resource belongs to. Constructs a new resource. Deprecated: Use `drives.create` instead. The body of the request. 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 user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned. Deprecated: Use `drives.create` instead. Constructs a new Create request. 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 user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Create parameter list. Deprecated: Use `drives.delete` instead. The ID of the Team Drive Deprecated: Use `drives.delete` instead. Constructs a new Delete request. The ID of the Team Drive Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Delete parameter list. Deprecated: Use `drives.get` instead. The ID of the Team Drive Deprecated: Use `drives.get` instead. Constructs a new Get request. The ID of the Team Drive 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 Team Drive belongs. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Get parameter list. Deprecated: Use `drives.list` instead. Deprecated: Use `drives.list` instead. Constructs a new List request. Maximum number of Team Drives to return. Page token for Team Drives. Query string for searching Team Drives. 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. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes List parameter list. Deprecated: Use `drives.update` instead. The body of the request. The ID of the Team Drive Deprecated: Use `drives.update` instead. Constructs a new Update request. The ID of the Team Drive 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 Team Drive belongs. Gets or sets the body of this request. Returns the body of the request. Gets the method name. Gets the HTTP method. Gets the REST path. Initializes Update parameter list. Information about the user, the user's Drive, and system capabilities. Whether the user has installed the requesting app. Whether the user can create shared drives. Deprecated: Use `canCreateDrives` instead. A list of themes that are supported for shared drives. A map of source MIME type to possible targets for all supported exports. The currently supported folder colors as RGB hex strings. A map of source MIME type to possible targets for all supported imports. Identifies what kind of resource this is. Value: the fixed string `"drive#about"`. A map of maximum import sizes by MIME type, in bytes. The maximum upload size in bytes. The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes. Deprecated: Use `driveThemes` instead. The authenticated user. The ETag of the item. A list of themes that are supported for shared drives. A link to this theme's background image. The color of this theme as an RGB hex string. The ID of the theme. The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes. The usage limit, if applicable. This will not be present if the user has unlimited storage. For users that are part of an organization with pooled storage, this is the limit for the organization, rather than the individual user. The total usage across all services. For users that are part of an organization with pooled storage, this is the usage across all services for the organization, rather than the individual user. The usage by all files in Google Drive. The usage by trashed files in Google Drive. Deprecated: Use `driveThemes` instead. Deprecated: Use `driveThemes/backgroundImageLink` instead. Deprecated: Use `driveThemes/colorRgb` instead. Deprecated: Use `driveThemes/id` instead. The Access Proposal resource for outstanding access proposals on a file The creation time representation of . representation of . The file id that the proposal for access is on The id of the access proposal The email address of the user that will receive permissions if accepted The message that the requester added to the proposal The email address of the requesting user A wrapper for the role and view of an access proposal. The ETag of the item. A wrapper for the role and view of an access proposal. The role that was proposed by the requester New values may be added in the future, but the following are currently possible: * `writer` * `commenter` * `reader` Indicates the view for this access proposal. Only populated for proposals that belong to a view. `published` is the only supported value. The ETag of the item. The `apps` resource provides a list of apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details. Some resource methods (such as `apps.get`) require an `appId`. Use the `apps.list` method to retrieve the ID for an installed application. Whether the app is authorized to access data on the user's Drive. The template URL to create a file with this app in a given folder. The template contains the {folderId} to be replaced by the folder ID house the new file. The URL to create a file with this app. Whether the app has Drive-wide scope. An app with Drive-wide scope can access all files in the user's Drive. The various icons for the app. The ID of the app. Whether the app is installed. Output only. Identifies what kind of resource this is. Value: the fixed string "drive#app". A long description of the app. The name of the app. The type of object this app creates such as a Chart. If empty, the app name should be used instead. The template URL for opening files with this app. The template contains {ids} or {exportIds} to be replaced by the actual file IDs. For more information, see Open Files for the full documentation. The list of primary file extensions. The list of primary MIME types. The ID of the product listing for this app. A link to the product listing for this app. The list of secondary file extensions. The list of secondary MIME types. A short description of the app. Whether this app supports creating objects. Whether this app supports importing from Google Docs. Whether this app supports opening more than one file. Whether this app supports creating files when offline. Whether the app is selected as the default handler for the types it supports. The ETag of the item. Category of the icon. Allowed values are: * `application` - The icon for the application. * `document` - The icon for a file associated with the app. * `documentShared` - The icon for a shared file associated with the app. URL for the icon. Size of the icon. Represented as the maximum of the width and height. The ETag of the item. A list of third-party applications which the user has installed or given access to Google Drive. The list of app IDs that the user has specified to use by default. The list is in reverse-priority order (lowest to highest). The list of apps. Output only. Identifies what kind of resource this is. Value: the fixed string "drive#appList". A link back to this list. The ETag of the item. A change to a file or shared drive. The type of the change. Possible values are `file` and `drive`. The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted. The ID of the shared drive associated with this change. The updated state of the file. Present if the type is file and the file has not been removed from this list of changes. The ID of the file which has changed. Identifies what kind of resource this is. Value: the fixed string `"drive#change"`. Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access. Deprecated: Use `drive` instead. Deprecated: Use `driveId` instead. The time of this change (RFC 3339 date-time). representation of . representation of . Deprecated: Use `changeType` instead. The ETag of the item. A list of changes for a user. The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. Identifies what kind of resource this is. Value: the fixed string `"drive#changeList"`. The starting page token for future changes. This will be present only if the end of the current changes list has been reached. The page token doesn't expire. The page token for the next page of changes. This will be absent if the end of the changes list has been reached. The page token doesn't expire. The ETag of the item. A notification channel used to watch for resource changes. The address where notifications are delivered for this channel. Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. A UUID or similar unique string that identifies this channel. Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`. Additional parameters controlling delivery channel behavior. Optional. A Boolean value to indicate whether payload is wanted. Optional. An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. A version-specific identifier for the watched resource. An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. The type of delivery mechanism used for this channel. Valid values are "web_hook" or "webhook". The ETag of the item. A comment on a file. Some resource methods (such as `comments.update`) require a `commentId`. Use the `comments.list` method to retrieve the ID for a comment in a file. A region of the document represented as a JSON string. For details on defining anchor properties, refer to [Manage comments and replies](https://developers.google.com/workspace/drive/api/v3/manage-comments). Output only. The author of the comment. The author's email address and permission ID will not be populated. The plain text content of the comment. This field is used for setting the content, while `htmlContent` should be displayed. The time at which the comment was created (RFC 3339 date-time). representation of . representation of . Output only. Whether the comment has been deleted. A deleted comment has no content. Output only. The content of the comment with HTML formatting. Output only. The ID of the comment. Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#comment"`. The last time the comment or any of its replies was modified (RFC 3339 date-time). representation of . representation of . The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment. Output only. The full list of replies to the comment in chronological order. Output only. Whether the comment has been resolved by one of its replies. The ETag of the item. The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment. The MIME type of the quoted content. The quoted content itself. This is interpreted as plain text if set through the API. A list of comments on a file. The list of comments. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. Identifies what kind of resource this is. Value: the fixed string `"drive#commentList"`. The page token for the next page of comments. This will be absent if the end of the comments list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The ETag of the item. A restriction for accessing the content of the file. Whether the content restriction can only be modified or removed by a user who owns the file. For files in shared drives, any user with `organizer` capabilities can modify or remove this content restriction. Whether the content of the file is read-only. If a file is read-only, a new revision of the file may not be added, comments may not be added or modified, and the title of the file may not be modified. Reason for why the content of the file is restricted. This is only mutable on requests that also set `readOnly=true`. Output only. The user who set the content restriction. Only populated if `readOnly=true`. The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true. representation of . representation of . Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions. Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`. The ETag of the item. A restriction for copy and download of the file. Whether download and copy is restricted for readers. Whether download and copy is restricted for writers. If `true`, download is also restricted for readers. The ETag of the item. Download restrictions applied to the file. Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules. The download restriction of the file applied directly by the owner or organizer. This doesn't take into account shared drive settings or DLP rules. The ETag of the item. Representation of a shared drive. Some resource methods (such as `drives.update`) require a `driveId`. Use the `drives.list` method to retrieve the ID for a shared drive. An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on `drive.drives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set. Output only. A short-lived link to this shared drive's background image. Output only. Capabilities the current user has on this shared drive. The color of this shared drive as an RGB hex string. It can only be set on a `drive.drives.update` request that does not set `themeId`. The time at which the shared drive was created (RFC 3339 date-time). representation of . representation of . Whether the shared drive is hidden from default view. Output only. The ID of this shared drive which is also the ID of the top level folder of this shared drive. Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#drive"`. The name of this shared drive. Output only. The organizational unit of this shared drive. This field is only populated on `drives.list` responses when the `useDomainAdminAccess` parameter is set to `true`. A set of restrictions that apply to this shared drive or items inside this shared drive. Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use `drives.update` to add restrictions. The ID of the theme from which the background image and color will be set. The set of possible `driveThemes` can be retrieved from a `drive.about.get` response. When not specified on a `drive.drives.create` request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set `colorRgb` or `backgroundImageFile`. The ETag of the item. An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on `drive.drives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set. The ID of an image file in Google Drive to use for the background image. The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high. The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image. The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image. Output only. Capabilities the current user has on this shared drive. Output only. Whether the current user can add children to folders in this shared drive. Output only. Whether the current user can change the `copyRequiresWriterPermission` restriction of this shared drive. Output only. Whether the current user can change the `domainUsersOnly` restriction of this shared drive. Output only. Whether the current user can change organizer-applied download restrictions of this shared drive. Output only. Whether the current user can change the background of this shared drive. Output only. Whether the current user can change the `driveMembersOnly` restriction of this shared drive. Output only. Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction of this shared drive. Output only. Whether the current user can comment on files in this shared drive. Output only. Whether the current user can copy files in this shared drive. Output only. Whether the current user can delete children from folders in this shared drive. Output only. Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive. Output only. Whether the current user can download files in this shared drive. Output only. Whether the current user can edit files in this shared drive Output only. Whether the current user can list the children of folders in this shared drive. Output only. Whether the current user can add members to this shared drive or remove them or change their role. Output only. Whether the current user can read the revisions resource of files in this shared drive. Output only. Whether the current user can rename files or folders in this shared drive. Output only. Whether the current user can rename this shared drive. Output only. Whether the current user can reset the shared drive restrictions to defaults. Output only. Whether the current user can share files or folders in this shared drive. Output only. Whether the current user can trash children from folders in this shared drive. A set of restrictions that apply to this shared drive or items inside this shared drive. Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use `drives.update` to add restrictions. Whether administrative privileges on this shared drive are required to modify restrictions. Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to `true`, it will override the similarly named field to `true` for any file inside this shared drive. Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive. Download restrictions applied by shared drive managers. Whether access to items inside this shared drive is restricted to its members. If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders. A list of shared drives. The list of shared drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. Identifies what kind of resource this is. Value: the fixed string `"drive#driveList"`. The page token for the next page of shared drives. This will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The ETag of the item. The metadata for a file. Some resource methods (such as `files.update`) require a `fileId`. Use the `files.list` method to retrieve the ID for a file. A collection of arbitrary key-value pairs which are private to the requesting app. Entries with null values are cleared in update and copy requests. These properties can only be retrieved using an authenticated request. An authenticated request uses an access token obtained with a OAuth 2 client ID. You cannot use an API key to retrieve private properties. Output only. Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take. For more information, see [Understand file capabilities](https://developers.google.com/workspace/drive/api/guides/manage-sharing#capabilities). Additional information about the content of the file. These fields are never populated in responses. Restrictions for accessing the content of the file. Only populated if such a restriction exists. Whether the options to copy, print, or download this file should be disabled for readers and commenters. The time at which the file was created (RFC 3339 date-time). representation of . representation of . A short description of the file. Download restrictions applied on the file. Output only. ID of the shared drive the file resides in. Only populated for items in shared drives. Output only. Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. Output only. Links for exporting Docs Editors files to specific formats. Output only. The final component of `fullFileExtension`. This is only available for files with binary content in Google Drive. The color for a folder or a shortcut to a folder as an RGB hex string. The supported colors are published in the `folderColorPalette` field of the [`about`](/workspace/drive/api/reference/rest/v3/about) resource. If an unsupported color is specified, the closest color in the palette is used instead. Output only. The full file extension extracted from the `name` field. May contain multiple concatenated extensions, such as "tar.gz". This is only available for files with binary content in Google Drive. This is automatically updated when the `name` field changes, however it's not cleared if the new name doesn't contain a valid extension. Output only. Whether there are permissions directly on this file. This field is only populated for items in shared drives. Output only. Whether this file has a thumbnail. This doesn't indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field. Output only. The ID of the file's head revision. This is currently only available for files with binary content in Google Drive. Output only. A static, unauthenticated link to the file's icon. The ID of the file. Output only. Additional metadata about image media, if available. Whether this file has inherited permissions disabled. Inherited permissions are enabled by default. Output only. Whether the file was created or opened by the requesting app. Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#file"`. Output only. An overview of the labels on the file. Output only. The last user to modify the file. This field is only populated when the last modification was performed by a signed-in user. Contains details about the link URLs that clients are using to refer to this item. Output only. The MD5 checksum for the content of the file. This is only applicable to files with binary content in Google Drive. The MIME type of the file. Google Drive attempts to automatically detect an appropriate value from uploaded content, if no value is provided. The value cannot be changed unless a new revision is uploaded. If a file is created with a Google Doc MIME type, the uploaded content is imported, if possible. The supported import formats are published in the [`about`](/workspace/drive/api/reference/rest/v3/about) resource. Output only. Whether the file has been modified by this user. The last time the file was modified by the user (RFC 3339 date-time). representation of . representation of . he last time the file was modified by anyone (RFC 3339 date-time). Note that setting modifiedTime will also update modifiedByMeTime for the user. representation of . representation of . The name of the file. This isn't necessarily unique within a folder. Note that for immutable items such as the top-level folders of shared drives, the My Drive root folder, and the Application Data folder, the name is constant. The original filename of the uploaded content if available, or else the original value of the `name` field. This is only available for files with binary content in Google Drive. Output only. Whether the user owns the file. Not populated for items in shared drives. Output only. The owner of this file. Only certain legacy files may have more than one owner. This field isn't populated for items in shared drives. The ID of the parent folder containing the file. A file can only have one parent folder; specifying multiple parents isn't supported. If not specified as part of a create request, the file is placed directly in the user's My Drive folder. If not specified as part of a copy request, the file inherits any discoverable parent of the source file. Update requests must use the `addParents` and `removeParents` parameters to modify the parents list. Output only. List of permission IDs for users with access to this file. Output only. The full list of permissions for the file. This is only available if the requesting user can share the file. Not populated for items in shared drives. A collection of arbitrary key-value pairs which are visible to all apps. Entries with null values are cleared in update and copy requests. Output only. The number of storage quota bytes used by the file. This includes the head revision as well as previous revisions with `keepForever` enabled. Output only. A key needed to access the item via a shared link. Output only. The SHA1 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it's not populated for Docs Editors or shortcut files. Output only. The SHA256 checksum associated with this file, if available. This field is only populated for files with content stored in Google Drive; it's not populated for Docs Editors or shortcut files. Output only. Whether the file has been shared. Not populated for items in shared drives. The time at which the file was shared with the user, if applicable (RFC 3339 date-time). representation of . representation of . Output only. The user who shared the file with the requesting user, if applicable. Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set on `files.create` requests. Output only. Size in bytes of blobs and Google Workspace editor files. Won't be populated for files that have no size, like shortcuts and folders. Output only. The list of spaces which contain the file. The currently supported values are `drive`, `appDataFolder`, and `photos`. Whether the user has starred the file. Deprecated: Output only. Use `driveId` instead. Output only. A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Not intended for direct usage on web applications due to [Cross-Origin Resource Sharing (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies. Consider using a proxy server. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in `files.thumbnailLink` must be fetched using a credentialed request. Output only. The thumbnail version for use in thumbnail cache invalidation. Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file, and other users cannot see files in the owner's trash. The time that the item was trashed (RFC 3339 date-time). Only populated for items in shared drives. representation of . representation of . Output only. If the file has been explicitly trashed, the user who trashed it. Only populated for items in shared drives. Output only. A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the user. Output only. Additional metadata about video media. This may not be available immediately upon upload. Output only. Whether the file has been viewed by this user. The last time the file was viewed by the user (RFC 3339 date-time). representation of . representation of . Deprecated: Use `copyRequiresWriterPermission` instead. Output only. A link for downloading the content of the file in a browser. This is only available for files with binary content in Google Drive. Output only. A link for opening the file in a relevant Google editor or viewer in a browser. Whether users with only `writer` permission can modify the file's permissions. Not populated for items in shared drives. The ETag of the item. Output only. Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take. For more information, see [Understand file capabilities](https://developers.google.com/workspace/drive/api/guides/manage-sharing#capabilities). Output only. Whether the current user is the pending owner of the file. Not populated for shared drive files. Output only. Whether the current user can add children to this folder. This is always `false` when the item isn't a folder. Output only. Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is `false` when the item isn't a folder. Only populated for items in shared drives. Output only. Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files. Output only. Whether the current user can change the `copyRequiresWriterPermission` restriction of this file. Output only. Whether the current user can change the owner or organizer-applied download restrictions of the file. Output only. Whether the current user can change the `securityUpdateEnabled` field on link share metadata. Deprecated: Output only. Output only. Whether the current user can comment on this file. Output only. Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item if it's not a folder. Output only. Whether the current user can delete this file. Output only. Whether the current user can delete children of this folder. This is `false` when the item isn't a folder. Only populated for items in shared drives. Whether a user can disable inherited permissions. Output only. Whether the current user can download this file. Output only. Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see `canChangeCopyRequiresWriterPermission` or `canModifyContent`. Whether a user can re-enable inherited permissions. Output only. Whether the current user can list the children of this folder. This is always `false` when the item isn't a folder. Output only. Whether the current user can modify the content of this file. Deprecated: Output only. Use one of `canModifyEditorContentRestriction`, `canModifyOwnerContentRestriction`, or `canRemoveContentRestriction`. Output only. Whether the current user can add or modify content restrictions on the file which are editor restricted. Output only. Whether the current user can modify the labels on the file. Output only. Whether the current user can add or modify content restrictions which are owner restricted. Output only. Whether the current user can move children of this folder outside of the shared drive. This is `false` when the item isn't a folder. Only populated for items in shared drives. Deprecated: Output only. Use `canMoveChildrenOutOfDrive` instead. Output only. Whether the current user can move children of this folder within this drive. This is `false` when the item isn't a folder. Note that a request to move the child may still fail depending on the current user's access to the child and to the destination folder. Deprecated: Output only. Use `canMoveChildrenWithinDrive` instead. Deprecated: Output only. Use `canMoveItemOutOfDrive` instead. Output only. Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that's being added. Deprecated: Output only. Use `canMoveItemOutOfDrive` instead. Output only. Whether the current user can move this item within this drive. Note that a request to change the parent of the item may still fail depending on the new parent that's being added and the parent that is being removed. Deprecated: Output only. Use `canMoveItemWithinDrive` instead. Deprecated: Output only. Use `canMoveItemWithinDrive` or `canMoveItemOutOfDrive` instead. Output only. Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives. Output only. Whether the current user can read the labels on the file. Output only. Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item if it's not a folder, can be read. Deprecated: Output only. Use `canReadDrive` instead. Output only. Whether the current user can remove children from this folder. This is always `false` when the item isn't a folder. For a folder in a shared drive, use `canDeleteChildren` or `canTrashChildren` instead. Output only. Whether there's a content restriction on the file that can be removed by the current user. Output only. Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files. Output only. Whether the current user can rename this file. Output only. Whether the current user can modify the sharing settings for this file. Output only. Whether the current user can move this file to trash. Output only. Whether the current user can trash children of this folder. This is `false` when the item isn't a folder. Only populated for items in shared drives. Output only. Whether the current user can restore this file from trash. Additional information about the content of the file. These fields are never populated in responses. Text to be indexed for the file to improve fullText queries. This is limited to 128 KB in length and may contain HTML elements. A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail. A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail. The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)). The MIME type of the thumbnail. Output only. Additional metadata about image media, if available. Output only. The aperture used to create the photo (f-number). Output only. The make of the camera used to create the photo. Output only. The model of the camera used to create the photo. Output only. The color space of the photo. Output only. The exposure bias of the photo (APEX value). Output only. The exposure mode used to create the photo. Output only. The length of the exposure, in seconds. Output only. Whether a flash was used to create the photo. Output only. The focal length used to create the photo, in millimeters. Output only. The height of the image in pixels. Output only. The ISO speed used to create the photo. Output only. The lens used to create the photo. Output only. Geographic location information stored in the image. Output only. The smallest f-number of the lens at the focal length used to create the photo (APEX value). Output only. The metering mode used to create the photo. Output only. The number of clockwise 90 degree rotations applied from the image's original orientation. Output only. The type of sensor used to create the photo. Output only. The distance to the subject of the photo, in meters. Output only. The date and time the photo was taken (EXIF DateTime). Output only. The white balance mode used to create the photo. Output only. The width of the image in pixels. Output only. Geographic location information stored in the image. Output only. The altitude stored in the image. Output only. The latitude stored in the image. Output only. The longitude stored in the image. Output only. An overview of the labels on the file. Output only. The set of labels on the file as requested by the label IDs in the `includeLabels` parameter. By default, no labels are returned. Contains details about the link URLs that clients are using to refer to this item. Output only. Whether the file is eligible for security update. Output only. Whether the security update is enabled for this file. Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set on `files.create` requests. The ID of the file that this shortcut points to. Can only be set on `files.create` requests. Output only. The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created. Output only. The `resourceKey` for the target file. Output only. Additional metadata about video media. This may not be available immediately upon upload. Output only. The duration of the video in milliseconds. Output only. The height of the video in pixels. Output only. The width of the video in pixels. A list of files. The list of files. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched. Whether the search process was incomplete. If true, then some search results might be missing, since all documents were not searched. This can occur when searching multiple drives with the `allDrives` corpora, but all corpora couldn't be searched. When this happens, it's suggested that clients narrow their query by choosing a different corpus such as `user` or `drive`. Identifies what kind of resource this is. Value: the fixed string `"drive#fileList"`. The page token for the next page of files. This will be absent if the end of the files list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The ETag of the item. A list of generated file IDs which can be provided in create requests. The IDs generated for the requesting user in the specified space. Identifies what kind of resource this is. Value: the fixed string `"drive#generatedIds"`. The type of file that can be created with these IDs. The ETag of the item. Representation of label and label fields. A map of the fields on the label, keyed by the field's ID. The ID of the label. This is always drive#label The revision ID of the label. The ETag of the item. Representation of field, which is a typed key-value pair. Only present if valueType is dateString. RFC 3339 formatted date: YYYY-MM-DD. The identifier of this label field. Only present if `valueType` is `integer`. This is always drive#labelField. Only present if `valueType` is `selection` Only present if `valueType` is `text`. Only present if `valueType` is `user`. The field type. While new values may be supported in the future, the following are currently allowed: * `dateString` * `integer` * `selection` * `text` * `user` The ETag of the item. A modification to a label's field. The ID of the field to be modified. This is always `"drive#labelFieldModification"`. Replaces the value of a dateString Field with these new values. The string must be in the RFC 3339 full-date format: YYYY-MM-DD. Replaces the value of an `integer` field with these new values. Replaces a `selection` field with these new values. Sets the value of a `text` field. Replaces a `user` field with these new values. The values must be a valid email addresses. Unsets the values for this field. The ETag of the item. A list of labels applied to a file. This is always `"drive#labelList"`. The list of labels. The page token for the next page of labels. This field will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The ETag of the item. A modification to a label on a file. A `LabelModification` can be used to apply a label to a file, update an existing label on a file, or remove a label from a file. The list of modifications to this label's fields. This is always `"drive#labelModification"`. The ID of the label to modify. If true, the label will be removed from the file. The ETag of the item. The response to an Access Proposal list request. The list of Access Proposals. This field is only populated in v3 and v3beta. The continuation token for the next page of results. This will be absent if the end of the results list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The ETag of the item. A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically. This is always `"drive#modifyLabelsRequest"`. The list of modifications to apply to the labels on the file. The ETag of the item. Response to a `ModifyLabels` request. This contains only those labels which were added or updated by the request. This is always `"drive#modifyLabelsResponse"`. The list of labels which were added or updated by the request. The ETag of the item. This resource represents a long-running operation that is the result of a network API call. If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. The error result of the operation in case of failure or cancellation. Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. The ETag of the item. A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. By default, permissions requests only return a subset of fields. Permission kind, ID, type, and role are always returned. To retrieve specific fields, see https://developers.google.com/workspace/drive/api/guides/fields-parameter. Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive. Whether the permission allows the file to be discovered through search. This is only applicable for permissions of type `domain` or `anyone`. Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. Output only. The "pretty" name of the value of the permission. The following is a list of examples for each type of permission: * `user` - User's full name, as defined for their Google account, such as "Joe Smith." * `group` - Name of the Google Group, such as "The Company Administrators." * `domain` - String domain name, such as "thecompany.com." * `anyone` - No `displayName` is present. The domain to which this permission refers. The email address of the user or group to which this permission refers. The time at which this permission will expire (RFC 3339 date-time). Expiration times have the following restrictions: - They can only be set on user and group permissions - The time must be in the future - The time cannot be more than a year in the future representation of . representation of . Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as `permissionId`. IDs should be treated as opaque values. When true, only organizers, owners, and users with permissions added directly on the item can access it. Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#permission"`. Whether the account associated with this permission is a pending owner. Only populated for `user` type permissions for files that are not in a shared drive. Output only. Details of whether the permissions on this item are inherited or directly on this item. Output only. A link to the user's profile photo, if available. The role granted by this permission. While new values may be supported in the future, the following are currently allowed: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` Output only. Deprecated: Output only. Use `permissionDetails` instead. The type of the grantee. Valid values are: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. When `type` is `domain`, you must provide a `domain`. There isn't extra information required for an `anyone` type. Indicates the view for this permission. Only populated for permissions that belong to a view. published and metadata are the only supported values. - published: The permission's role is published_reader. - metadata: The item is only visible to the metadata view because the item has limited access and the scope has at least read access to the parent. Note: The metadata view is currently only supported on folders. The ETag of the item. Output only. Details of whether the permissions on this item are inherited or directly on this item. Output only. Whether this permission is inherited. This field is always populated. This is an output-only field. Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives. Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member` Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` Output only. Deprecated: Output only. Use `permissionDetails` instead. Deprecated: Output only. Use `permissionDetails/inherited` instead. Deprecated: Output only. Use `permissionDetails/inheritedFrom` instead. Deprecated: Output only. Use `permissionDetails/role` instead. Deprecated: Output only. Use `permissionDetails/permissionType` instead. A list of permissions for a file. Identifies what kind of resource this is. Value: the fixed string `"drive#permissionList"`. The page token for the next page of permissions. This field will be absent if the end of the permissions list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. The ETag of the item. A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply. The action the reply performed to the parent comment. Valid values are: * `resolve` * `reopen` Output only. The author of the reply. The author's email address and permission ID will not be populated. The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This is required on creates if no `action` is specified. The time at which the reply was created (RFC 3339 date-time). representation of . representation of . Output only. Whether the reply has been deleted. A deleted reply has no content. Output only. The content of the reply with HTML formatting. Output only. The ID of the reply. Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#reply"`. The last time the reply was modified (RFC 3339 date-time). representation of . representation of . The ETag of the item. A list of replies to a comment on a file. Identifies what kind of resource this is. Value: the fixed string `"drive#replyList"`. The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The list of replies. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. The ETag of the item. Request message for resolving an AccessProposal on a file. Required. The action to take on the AccessProposal. Optional. The roles the approver has allowed, if any. Note: This field is required for the `ACCEPT` action. Optional. Whether to send an email to the requester when the AccessProposal is denied or accepted. Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. `published` is the only supported value. The ETag of the item. The metadata for a revision to a file. Some resource methods (such as `revisions.update`) require a `revisionId`. Use the `revisions.list` method to retrieve the ID for a revision. Output only. Links for exporting Docs Editors files to specific formats. Output only. The ID of the revision. Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive. Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#revision"`. Output only. The last user to modify this revision. This field is only populated when the last modification was performed by a signed-in user. Output only. The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive. Output only. The MIME type of the revision. The last time the revision was modified (RFC 3339 date-time). representation of . representation of . Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive. Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files. Whether this revision is published. This is only applicable to Docs Editors files. Output only. A link to the published revision. This is only populated for Docs Editors files. Whether this revision is published outside the domain. This is only applicable to Docs Editors files. Output only. The size of the revision's content in bytes. This is only applicable to files with binary content in Drive. The ETag of the item. A list of revisions of a file. Identifies what kind of resource this is. Value: the fixed string `"drive#revisionList"`. The page token for the next page of revisions. This will be absent if the end of the revisions list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The list of revisions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. The ETag of the item. Identifies what kind of resource this is. Value: the fixed string `"drive#startPageToken"`. The starting page token for listing future changes. The page token doesn't expire. The ETag of the item. The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). The status code, which should be an enum value of google.rpc.Code. A list of messages that carry the error details. There is a common set of message types for APIs to use. A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. The ETag of the item. Deprecated: use the drive collection instead. An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on `drive.teamdrives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set. A short-lived link to this Team Drive's background image. Capabilities the current user has on this Team Drive. The color of this Team Drive as an RGB hex string. It can only be set on a `drive.teamdrives.update` request that does not set `themeId`. The time at which the Team Drive was created (RFC 3339 date-time). representation of . representation of . The ID of this Team Drive which is also the ID of the top level folder of this Team Drive. Identifies what kind of resource this is. Value: the fixed string `"drive#teamDrive"`. The name of this Team Drive. The organizational unit of this shared drive. This field is only populated on `drives.list` responses when the `useDomainAdminAccess` parameter is set to `true`. A set of restrictions that apply to this Team Drive or items inside this Team Drive. The ID of the theme from which the background image and color will be set. The set of possible `teamDriveThemes` can be retrieved from a `drive.about.get` response. When not specified on a `drive.teamdrives.create` request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set `colorRgb` or `backgroundImageFile`. The ETag of the item. An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on `drive.teamdrives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set. The ID of an image file in Drive to use for the background image. The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high. The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image. The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image. Capabilities the current user has on this Team Drive. Whether the current user can add children to folders in this Team Drive. Whether the current user can change the `copyRequiresWriterPermission` restriction of this Team Drive. Whether the current user can change the `domainUsersOnly` restriction of this Team Drive. Whether the current user can change organizer-applied download restrictions of this shared drive. Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive. Whether the current user can change the background of this Team Drive. Whether the current user can change the `teamMembersOnly` restriction of this Team Drive. Whether the current user can comment on files in this Team Drive. Whether the current user can copy files in this Team Drive. Whether the current user can delete children from folders in this Team Drive. Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive. Whether the current user can download files in this Team Drive. Whether the current user can edit files in this Team Drive Whether the current user can list the children of folders in this Team Drive. Whether the current user can add members to this Team Drive or remove them or change their role. Whether the current user can read the revisions resource of files in this Team Drive. Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead. Whether the current user can rename files or folders in this Team Drive. Whether the current user can rename this Team Drive. Whether the current user can reset the Team Drive restrictions to defaults. Whether the current user can share files or folders in this Team Drive. Whether the current user can trash children from folders in this Team Drive. A set of restrictions that apply to this Team Drive or items inside this Team Drive. Whether administrative privileges on this Team Drive are required to modify restrictions. Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to `true`, it will override the similarly named field to `true` for any file inside this Team Drive. Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive. Download restrictions applied by shared drive managers. If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders. Whether access to items inside this Team Drive is restricted to members of this Team Drive. A list of Team Drives. Identifies what kind of resource this is. Value: the fixed string `"drive#teamDriveList"`. The page token for the next page of Team Drives. This will be absent if the end of the Team Drives list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ. The list of Team Drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. The ETag of the item. Information about a Drive user. Output only. A plain text displayable name for this user. Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester. Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`. Output only. Whether this user is the requesting user. Output only. The user's ID as visible in Permission resources. Output only. A link to the user's profile photo, if available. The ETag of the item.