"Fossies" - the Fresh Open Source Software Archive

Member "gdrive-2.1.1/vendor/google.golang.org/api/drive/v3/drive-api.json" (28 May 2021, 75556 Bytes) of package /linux/misc/old/gdrive-2.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 {
    2  "kind": "discovery#restDescription",
    3  "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/O9_NbpoVnW5GMGl7qWBIajcyrt8\"",
    4  "discoveryVersion": "v1",
    5  "id": "drive:v3",
    6  "name": "drive",
    7  "version": "v3",
    8  "revision": "20160303",
    9  "title": "Drive API",
   10  "description": "The API to interact with Drive.",
   11  "ownerDomain": "google.com",
   12  "ownerName": "Google",
   13  "icons": {
   14   "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
   15   "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
   16  },
   17  "documentationLink": "https://developers.google.com/drive/",
   18  "protocol": "rest",
   19  "baseUrl": "https://www.googleapis.com/drive/v3/",
   20  "basePath": "/drive/v3/",
   21  "rootUrl": "https://www.googleapis.com/",
   22  "servicePath": "drive/v3/",
   23  "batchPath": "batch",
   24  "parameters": {
   25   "alt": {
   26    "type": "string",
   27    "description": "Data format for the response.",
   28    "default": "json",
   29    "enum": [
   30     "json"
   31    ],
   32    "enumDescriptions": [
   33     "Responses with Content-Type of application/json"
   34    ],
   35    "location": "query"
   36   },
   37   "fields": {
   38    "type": "string",
   39    "description": "Selector specifying which fields to include in a partial response.",
   40    "location": "query"
   41   },
   42   "key": {
   43    "type": "string",
   44    "description": "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.",
   45    "location": "query"
   46   },
   47   "oauth_token": {
   48    "type": "string",
   49    "description": "OAuth 2.0 token for the current user.",
   50    "location": "query"
   51   },
   52   "prettyPrint": {
   53    "type": "boolean",
   54    "description": "Returns response with indentations and line breaks.",
   55    "default": "true",
   56    "location": "query"
   57   },
   58   "quotaUser": {
   59    "type": "string",
   60    "description": "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. Overrides userIp if both are provided.",
   61    "location": "query"
   62   },
   63   "userIp": {
   64    "type": "string",
   65    "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
   66    "location": "query"
   67   }
   68  },
   69  "auth": {
   70   "oauth2": {
   71    "scopes": {
   72     "https://www.googleapis.com/auth/drive": {
   73      "description": "View and manage the files in your Google Drive"
   74     },
   75     "https://www.googleapis.com/auth/drive.appdata": {
   76      "description": "View and manage its own configuration data in your Google Drive"
   77     },
   78     "https://www.googleapis.com/auth/drive.file": {
   79      "description": "View and manage Google Drive files and folders that you have opened or created with this app"
   80     },
   81     "https://www.googleapis.com/auth/drive.metadata": {
   82      "description": "View and manage metadata of files in your Google Drive"
   83     },
   84     "https://www.googleapis.com/auth/drive.metadata.readonly": {
   85      "description": "View metadata for files in your Google Drive"
   86     },
   87     "https://www.googleapis.com/auth/drive.photos.readonly": {
   88      "description": "View the photos, videos and albums in your Google Photos"
   89     },
   90     "https://www.googleapis.com/auth/drive.readonly": {
   91      "description": "View the files in your Google Drive"
   92     },
   93     "https://www.googleapis.com/auth/drive.scripts": {
   94      "description": "Modify your Google Apps Script scripts' behavior"
   95     }
   96    }
   97   }
   98  },
   99  "schemas": {
  100   "About": {
  101    "id": "About",
  102    "type": "object",
  103    "description": "Information about the user, the user's Drive, and system capabilities.",
  104    "properties": {
  105     "appInstalled": {
  106      "type": "boolean",
  107      "description": "Whether the user has installed the requesting app."
  108     },
  109     "exportFormats": {
  110      "type": "object",
  111      "description": "A map of source MIME type to possible targets for all supported exports.",
  112      "additionalProperties": {
  113       "type": "array",
  114       "items": {
  115        "type": "string"
  116       }
  117      }
  118     },
  119     "folderColorPalette": {
  120      "type": "array",
  121      "description": "The currently supported folder colors as RGB hex strings.",
  122      "items": {
  123       "type": "string"
  124      }
  125     },
  126     "importFormats": {
  127      "type": "object",
  128      "description": "A map of source MIME type to possible targets for all supported imports.",
  129      "additionalProperties": {
  130       "type": "array",
  131       "items": {
  132        "type": "string"
  133       }
  134      }
  135     },
  136     "kind": {
  137      "type": "string",
  138      "description": "This is always drive#about.",
  139      "default": "drive#about"
  140     },
  141     "maxImportSizes": {
  142      "type": "object",
  143      "description": "A map of maximum import sizes by MIME type, in bytes.",
  144      "additionalProperties": {
  145       "type": "string",
  146       "format": "int64"
  147      }
  148     },
  149     "maxUploadSize": {
  150      "type": "string",
  151      "description": "The maximum upload size in bytes.",
  152      "format": "int64"
  153     },
  154     "storageQuota": {
  155      "type": "object",
  156      "description": "The user's storage quota limits and usage. All fields are measured in bytes.",
  157      "properties": {
  158       "limit": {
  159        "type": "string",
  160        "description": "The usage limit, if applicable. This will not be present if the user has unlimited storage.",
  161        "format": "int64"
  162       },
  163       "usage": {
  164        "type": "string",
  165        "description": "The total usage across all services.",
  166        "format": "int64"
  167       },
  168       "usageInDrive": {
  169        "type": "string",
  170        "description": "The usage by all files in Google Drive.",
  171        "format": "int64"
  172       },
  173       "usageInDriveTrash": {
  174        "type": "string",
  175        "description": "The usage by trashed files in Google Drive.",
  176        "format": "int64"
  177       }
  178      }
  179     },
  180     "user": {
  181      "$ref": "User",
  182      "description": "The authenticated user."
  183     }
  184    }
  185   },
  186   "Change": {
  187    "id": "Change",
  188    "type": "object",
  189    "description": "A change to a file.",
  190    "properties": {
  191     "file": {
  192      "$ref": "File",
  193      "description": "The updated state of the file. Present if the file has not been removed."
  194     },
  195     "fileId": {
  196      "type": "string",
  197      "description": "The ID of the file which has changed."
  198     },
  199     "kind": {
  200      "type": "string",
  201      "description": "This is always drive#change.",
  202      "default": "drive#change"
  203     },
  204     "removed": {
  205      "type": "boolean",
  206      "description": "Whether the file has been removed from the view of the changes list, for example by deletion or lost access."
  207     },
  208     "time": {
  209      "type": "string",
  210      "description": "The time of this change (RFC 3339 date-time).",
  211      "format": "date-time"
  212     }
  213    }
  214   },
  215   "ChangeList": {
  216    "id": "ChangeList",
  217    "type": "object",
  218    "description": "A list of changes for a user.",
  219    "properties": {
  220     "changes": {
  221      "type": "array",
  222      "description": "The page of changes.",
  223      "items": {
  224       "$ref": "Change"
  225      }
  226     },
  227     "kind": {
  228      "type": "string",
  229      "description": "This is always drive#changeList.",
  230      "default": "drive#changeList"
  231     },
  232     "newStartPageToken": {
  233      "type": "string",
  234      "description": "The starting page token for future changes. This will be present only if the end of the current changes list has been reached."
  235     },
  236     "nextPageToken": {
  237      "type": "string",
  238      "description": "The page token for the next page of changes. This will be absent if the end of the current changes list has been reached."
  239     }
  240    }
  241   },
  242   "Channel": {
  243    "id": "Channel",
  244    "type": "object",
  245    "description": "An notification channel used to watch for resource changes.",
  246    "properties": {
  247     "address": {
  248      "type": "string",
  249      "description": "The address where notifications are delivered for this channel."
  250     },
  251     "expiration": {
  252      "type": "string",
  253      "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.",
  254      "format": "int64"
  255     },
  256     "id": {
  257      "type": "string",
  258      "description": "A UUID or similar unique string that identifies this channel."
  259     },
  260     "kind": {
  261      "type": "string",
  262      "description": "Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string \"api#channel\".",
  263      "default": "api#channel"
  264     },
  265     "params": {
  266      "type": "object",
  267      "description": "Additional parameters controlling delivery channel behavior. Optional.",
  268      "additionalProperties": {
  269       "type": "string",
  270       "description": "Declares a new parameter by name."
  271      }
  272     },
  273     "payload": {
  274      "type": "boolean",
  275      "description": "A Boolean value to indicate whether payload is wanted. Optional."
  276     },
  277     "resourceId": {
  278      "type": "string",
  279      "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions."
  280     },
  281     "resourceUri": {
  282      "type": "string",
  283      "description": "A version-specific identifier for the watched resource."
  284     },
  285     "token": {
  286      "type": "string",
  287      "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional."
  288     },
  289     "type": {
  290      "type": "string",
  291      "description": "The type of delivery mechanism used for this channel."
  292     }
  293    }
  294   },
  295   "Comment": {
  296    "id": "Comment",
  297    "type": "object",
  298    "description": "A comment on a file.",
  299    "properties": {
  300     "anchor": {
  301      "type": "string",
  302      "description": "A region of the document represented as a JSON string. See anchor documentation for details on how to define and interpret anchor properties."
  303     },
  304     "author": {
  305      "$ref": "User",
  306      "description": "The user who created the comment."
  307     },
  308     "content": {
  309      "type": "string",
  310      "description": "The plain text content of the comment. This field is used for setting the content, while htmlContent should be displayed.",
  311      "annotations": {
  312       "required": [
  313        "drive.comments.create",
  314        "drive.comments.update"
  315       ]
  316      }
  317     },
  318     "createdTime": {
  319      "type": "string",
  320      "description": "The time at which the comment was created (RFC 3339 date-time).",
  321      "format": "date-time"
  322     },
  323     "deleted": {
  324      "type": "boolean",
  325      "description": "Whether the comment has been deleted. A deleted comment has no content."
  326     },
  327     "htmlContent": {
  328      "type": "string",
  329      "description": "The content of the comment with HTML formatting."
  330     },
  331     "id": {
  332      "type": "string",
  333      "description": "The ID of the comment."
  334     },
  335     "kind": {
  336      "type": "string",
  337      "description": "This is always drive#comment.",
  338      "default": "drive#comment"
  339     },
  340     "modifiedTime": {
  341      "type": "string",
  342      "description": "The last time the comment or any of its replies was modified (RFC 3339 date-time).",
  343      "format": "date-time"
  344     },
  345     "quotedFileContent": {
  346      "type": "object",
  347      "description": "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.",
  348      "properties": {
  349       "mimeType": {
  350        "type": "string",
  351        "description": "The MIME type of the quoted content."
  352       },
  353       "value": {
  354        "type": "string",
  355        "description": "The quoted content itself. This is interpreted as plain text if set through the API."
  356       }
  357      }
  358     },
  359     "replies": {
  360      "type": "array",
  361      "description": "The full list of replies to the comment in chronological order.",
  362      "items": {
  363       "$ref": "Reply"
  364      }
  365     },
  366     "resolved": {
  367      "type": "boolean",
  368      "description": "Whether the comment has been resolved by one of its replies."
  369     }
  370    }
  371   },
  372   "CommentList": {
  373    "id": "CommentList",
  374    "type": "object",
  375    "description": "A list of comments on a file.",
  376    "properties": {
  377     "comments": {
  378      "type": "array",
  379      "description": "The page of comments.",
  380      "items": {
  381       "$ref": "Comment"
  382      }
  383     },
  384     "kind": {
  385      "type": "string",
  386      "description": "This is always drive#commentList.",
  387      "default": "drive#commentList"
  388     },
  389     "nextPageToken": {
  390      "type": "string",
  391      "description": "The page token for the next page of comments. This will be absent if the end of the comments list has been reached."
  392     }
  393    }
  394   },
  395   "File": {
  396    "id": "File",
  397    "type": "object",
  398    "description": "The metadata for a file.",
  399    "properties": {
  400     "appProperties": {
  401      "type": "object",
  402      "description": "A collection of arbitrary key-value pairs which are private to the requesting app.\nEntries with null values are cleared in update and copy requests.",
  403      "additionalProperties": {
  404       "type": "string"
  405      }
  406     },
  407     "capabilities": {
  408      "type": "object",
  409      "description": "Capabilities the current user has on the file.",
  410      "properties": {
  411       "canComment": {
  412        "type": "boolean",
  413        "description": "Whether the user can comment on the file."
  414       },
  415       "canCopy": {
  416        "type": "boolean",
  417        "description": "Whether the user can copy the file."
  418       },
  419       "canEdit": {
  420        "type": "boolean",
  421        "description": "Whether the user can edit the file's content."
  422       },
  423       "canReadRevisions": {
  424        "type": "boolean",
  425        "description": "Whether the current user has read access to the Revisions resource of the file."
  426       },
  427       "canShare": {
  428        "type": "boolean",
  429        "description": "Whether the user can modify the file's permissions and sharing settings."
  430       }
  431      }
  432     },
  433     "contentHints": {
  434      "type": "object",
  435      "description": "Additional information about the content of the file. These fields are never populated in responses.",
  436      "properties": {
  437       "indexableText": {
  438        "type": "string",
  439        "description": "Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements."
  440       },
  441       "thumbnail": {
  442        "type": "object",
  443        "description": "A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.",
  444        "properties": {
  445         "image": {
  446          "type": "string",
  447          "description": "The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).",
  448          "format": "byte"
  449         },
  450         "mimeType": {
  451          "type": "string",
  452          "description": "The MIME type of the thumbnail."
  453         }
  454        }
  455       }
  456      }
  457     },
  458     "createdTime": {
  459      "type": "string",
  460      "description": "The time at which the file was created (RFC 3339 date-time).",
  461      "format": "date-time"
  462     },
  463     "description": {
  464      "type": "string",
  465      "description": "A short description of the file."
  466     },
  467     "explicitlyTrashed": {
  468      "type": "boolean",
  469      "description": "Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder."
  470     },
  471     "fileExtension": {
  472      "type": "string",
  473      "description": "The final component of fullFileExtension. This is only available for files with binary content in Drive."
  474     },
  475     "folderColorRgb": {
  476      "type": "string",
  477      "description": "The color for a folder as an RGB hex string. The supported colors are published in the folderColorPalette field of the About resource.\nIf an unsupported color is specified, the closest color in the palette will be used instead."
  478     },
  479     "fullFileExtension": {
  480      "type": "string",
  481      "description": "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 Drive.\nThis is automatically updated when the name field changes, however it is not cleared if the new name does not contain a valid extension."
  482     },
  483     "headRevisionId": {
  484      "type": "string",
  485      "description": "The ID of the file's head revision. This is currently only available for files with binary content in Drive."
  486     },
  487     "iconLink": {
  488      "type": "string",
  489      "description": "A static, unauthenticated link to the file's icon."
  490     },
  491     "id": {
  492      "type": "string",
  493      "description": "The ID of the file."
  494     },
  495     "imageMediaMetadata": {
  496      "type": "object",
  497      "description": "Additional metadata about image media, if available.",
  498      "properties": {
  499       "aperture": {
  500        "type": "number",
  501        "description": "The aperture used to create the photo (f-number).",
  502        "format": "float"
  503       },
  504       "cameraMake": {
  505        "type": "string",
  506        "description": "The make of the camera used to create the photo."
  507       },
  508       "cameraModel": {
  509        "type": "string",
  510        "description": "The model of the camera used to create the photo."
  511       },
  512       "colorSpace": {
  513        "type": "string",
  514        "description": "The color space of the photo."
  515       },
  516       "exposureBias": {
  517        "type": "number",
  518        "description": "The exposure bias of the photo (APEX value).",
  519        "format": "float"
  520       },
  521       "exposureMode": {
  522        "type": "string",
  523        "description": "The exposure mode used to create the photo."
  524       },
  525       "exposureTime": {
  526        "type": "number",
  527        "description": "The length of the exposure, in seconds.",
  528        "format": "float"
  529       },
  530       "flashUsed": {
  531        "type": "boolean",
  532        "description": "Whether a flash was used to create the photo."
  533       },
  534       "focalLength": {
  535        "type": "number",
  536        "description": "The focal length used to create the photo, in millimeters.",
  537        "format": "float"
  538       },
  539       "height": {
  540        "type": "integer",
  541        "description": "The height of the image in pixels.",
  542        "format": "int32"
  543       },
  544       "isoSpeed": {
  545        "type": "integer",
  546        "description": "The ISO speed used to create the photo.",
  547        "format": "int32"
  548       },
  549       "lens": {
  550        "type": "string",
  551        "description": "The lens used to create the photo."
  552       },
  553       "location": {
  554        "type": "object",
  555        "description": "Geographic location information stored in the image.",
  556        "properties": {
  557         "altitude": {
  558          "type": "number",
  559          "description": "The altitude stored in the image.",
  560          "format": "double"
  561         },
  562         "latitude": {
  563          "type": "number",
  564          "description": "The latitude stored in the image.",
  565          "format": "double"
  566         },
  567         "longitude": {
  568          "type": "number",
  569          "description": "The longitude stored in the image.",
  570          "format": "double"
  571         }
  572        }
  573       },
  574       "maxApertureValue": {
  575        "type": "number",
  576        "description": "The smallest f-number of the lens at the focal length used to create the photo (APEX value).",
  577        "format": "float"
  578       },
  579       "meteringMode": {
  580        "type": "string",
  581        "description": "The metering mode used to create the photo."
  582       },
  583       "rotation": {
  584        "type": "integer",
  585        "description": "The rotation in clockwise degrees from the image's original orientation.",
  586        "format": "int32"
  587       },
  588       "sensor": {
  589        "type": "string",
  590        "description": "The type of sensor used to create the photo."
  591       },
  592       "subjectDistance": {
  593        "type": "integer",
  594        "description": "The distance to the subject of the photo, in meters.",
  595        "format": "int32"
  596       },
  597       "time": {
  598        "type": "string",
  599        "description": "The date and time the photo was taken (EXIF DateTime)."
  600       },
  601       "whiteBalance": {
  602        "type": "string",
  603        "description": "The white balance mode used to create the photo."
  604       },
  605       "width": {
  606        "type": "integer",
  607        "description": "The width of the image in pixels.",
  608        "format": "int32"
  609       }
  610      }
  611     },
  612     "kind": {
  613      "type": "string",
  614      "description": "This is always drive#file.",
  615      "default": "drive#file"
  616     },
  617     "lastModifyingUser": {
  618      "$ref": "User",
  619      "description": "The last user to modify the file."
  620     },
  621     "md5Checksum": {
  622      "type": "string",
  623      "description": "The MD5 checksum for the content of the file. This is only applicable to files with binary content in Drive."
  624     },
  625     "mimeType": {
  626      "type": "string",
  627      "description": "The MIME type of the file.\nDrive will attempt 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.\nIf a file is created with a Google Doc MIME type, the uploaded content will be imported if possible. The supported import formats are published in the About resource."
  628     },
  629     "modifiedByMeTime": {
  630      "type": "string",
  631      "description": "The last time the file was modified by the user (RFC 3339 date-time).",
  632      "format": "date-time"
  633     },
  634     "modifiedTime": {
  635      "type": "string",
  636      "description": "The last time the file was modified by anyone (RFC 3339 date-time).\nNote that setting modifiedTime will also update modifiedByMeTime for the user.",
  637      "format": "date-time"
  638     },
  639     "name": {
  640      "type": "string",
  641      "description": "The name of the file. This is not necessarily unique within a folder."
  642     },
  643     "originalFilename": {
  644      "type": "string",
  645      "description": "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 Drive."
  646     },
  647     "ownedByMe": {
  648      "type": "boolean",
  649      "description": "Whether the user owns the file."
  650     },
  651     "owners": {
  652      "type": "array",
  653      "description": "The owners of the file. Currently, only certain legacy files may have more than one owner.",
  654      "items": {
  655       "$ref": "User"
  656      }
  657     },
  658     "parents": {
  659      "type": "array",
  660      "description": "The IDs of the parent folders which contain the file.\nIf not specified as part of a create request, the file will be placed directly in the My Drive folder. Update requests must use the addParents and removeParents parameters to modify the values.",
  661      "items": {
  662       "type": "string"
  663      }
  664     },
  665     "permissions": {
  666      "type": "array",
  667      "description": "The full list of permissions for the file. This is only available if the requesting user can share the file.",
  668      "items": {
  669       "$ref": "Permission"
  670      }
  671     },
  672     "properties": {
  673      "type": "object",
  674      "description": "A collection of arbitrary key-value pairs which are visible to all apps.\nEntries with null values are cleared in update and copy requests.",
  675      "additionalProperties": {
  676       "type": "string"
  677      }
  678     },
  679     "quotaBytesUsed": {
  680      "type": "string",
  681      "description": "The number of storage quota bytes used by the file. This includes the head revision as well as previous revisions with keepForever enabled.",
  682      "format": "int64"
  683     },
  684     "shared": {
  685      "type": "boolean",
  686      "description": "Whether the file has been shared."
  687     },
  688     "sharedWithMeTime": {
  689      "type": "string",
  690      "description": "The time at which the file was shared with the user, if applicable (RFC 3339 date-time).",
  691      "format": "date-time"
  692     },
  693     "sharingUser": {
  694      "$ref": "User",
  695      "description": "The user who shared the file with the requesting user, if applicable."
  696     },
  697     "size": {
  698      "type": "string",
  699      "description": "The size of the file's content in bytes. This is only applicable to files with binary content in Drive.",
  700      "format": "int64"
  701     },
  702     "spaces": {
  703      "type": "array",
  704      "description": "The list of spaces which contain the file. The currently supported values are 'drive', 'appDataFolder' and 'photos'.",
  705      "items": {
  706       "type": "string"
  707      }
  708     },
  709     "starred": {
  710      "type": "boolean",
  711      "description": "Whether the user has starred the file."
  712     },
  713     "thumbnailLink": {
  714      "type": "string",
  715      "description": "A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours."
  716     },
  717     "trashed": {
  718      "type": "boolean",
  719      "description": "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."
  720     },
  721     "version": {
  722      "type": "string",
  723      "description": "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.",
  724      "format": "int64"
  725     },
  726     "videoMediaMetadata": {
  727      "type": "object",
  728      "description": "Additional metadata about video media. This may not be available immediately upon upload.",
  729      "properties": {
  730       "durationMillis": {
  731        "type": "string",
  732        "description": "The duration of the video in milliseconds.",
  733        "format": "int64"
  734       },
  735       "height": {
  736        "type": "integer",
  737        "description": "The height of the video in pixels.",
  738        "format": "int32"
  739       },
  740       "width": {
  741        "type": "integer",
  742        "description": "The width of the video in pixels.",
  743        "format": "int32"
  744       }
  745      }
  746     },
  747     "viewedByMe": {
  748      "type": "boolean",
  749      "description": "Whether the file has been viewed by this user."
  750     },
  751     "viewedByMeTime": {
  752      "type": "string",
  753      "description": "The last time the file was viewed by the user (RFC 3339 date-time).",
  754      "format": "date-time"
  755     },
  756     "viewersCanCopyContent": {
  757      "type": "boolean",
  758      "description": "Whether users with only reader or commenter permission can copy the file's content. This affects copy, download, and print operations."
  759     },
  760     "webContentLink": {
  761      "type": "string",
  762      "description": "A link for downloading the content of the file in a browser. This is only available for files with binary content in Drive."
  763     },
  764     "webViewLink": {
  765      "type": "string",
  766      "description": "A link for opening the file in a relevant Google editor or viewer in a browser."
  767     },
  768     "writersCanShare": {
  769      "type": "boolean",
  770      "description": "Whether users with only writer permission can modify the file's permissions."
  771     }
  772    }
  773   },
  774   "FileList": {
  775    "id": "FileList",
  776    "type": "object",
  777    "description": "A list of files.",
  778    "properties": {
  779     "files": {
  780      "type": "array",
  781      "description": "The page of files.",
  782      "items": {
  783       "$ref": "File"
  784      }
  785     },
  786     "kind": {
  787      "type": "string",
  788      "description": "This is always drive#fileList.",
  789      "default": "drive#fileList"
  790     },
  791     "nextPageToken": {
  792      "type": "string",
  793      "description": "The page token for the next page of files. This will be absent if the end of the files list has been reached."
  794     }
  795    }
  796   },
  797   "GeneratedIds": {
  798    "id": "GeneratedIds",
  799    "type": "object",
  800    "description": "A list of generated file IDs which can be provided in create requests.",
  801    "properties": {
  802     "ids": {
  803      "type": "array",
  804      "description": "The IDs generated for the requesting user in the specified space.",
  805      "items": {
  806       "type": "string"
  807      }
  808     },
  809     "kind": {
  810      "type": "string",
  811      "description": "This is always drive#generatedIds",
  812      "default": "drive#generatedIds"
  813     },
  814     "space": {
  815      "type": "string",
  816      "description": "The type of file that can be created with these IDs."
  817     }
  818    }
  819   },
  820   "Permission": {
  821    "id": "Permission",
  822    "type": "object",
  823    "description": "A permission for a file. A permission grants a user, group, domain or the world access to a file or a folder hierarchy.",
  824    "properties": {
  825     "allowFileDiscovery": {
  826      "type": "boolean",
  827      "description": "Whether the permission allows the file to be discovered through search. This is only applicable for permissions of type domain or anyone."
  828     },
  829     "displayName": {
  830      "type": "string",
  831      "description": "A displayable name for users, groups or domains."
  832     },
  833     "domain": {
  834      "type": "string",
  835      "description": "The domain to which this permission refers."
  836     },
  837     "emailAddress": {
  838      "type": "string",
  839      "description": "The email address of the user or group to which this permission refers."
  840     },
  841     "id": {
  842      "type": "string",
  843      "description": "The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as permissionId."
  844     },
  845     "kind": {
  846      "type": "string",
  847      "description": "This is always drive#permission.",
  848      "default": "drive#permission"
  849     },
  850     "photoLink": {
  851      "type": "string",
  852      "description": "A link to the user's profile photo, if available."
  853     },
  854     "role": {
  855      "type": "string",
  856      "description": "The role granted by this permission. Valid values are:  \n- owner \n- writer \n- commenter \n- reader",
  857      "annotations": {
  858       "required": [
  859        "drive.permissions.create"
  860       ]
  861      }
  862     },
  863     "type": {
  864      "type": "string",
  865      "description": "The type of the grantee. Valid values are:  \n- user \n- group \n- domain \n- anyone",
  866      "annotations": {
  867       "required": [
  868        "drive.permissions.create"
  869       ]
  870      }
  871     }
  872    }
  873   },
  874   "PermissionList": {
  875    "id": "PermissionList",
  876    "type": "object",
  877    "description": "A list of permissions for a file.",
  878    "properties": {
  879     "kind": {
  880      "type": "string",
  881      "description": "This is always drive#permissionList.",
  882      "default": "drive#permissionList"
  883     },
  884     "permissions": {
  885      "type": "array",
  886      "description": "The full list of permissions.",
  887      "items": {
  888       "$ref": "Permission"
  889      }
  890     }
  891    }
  892   },
  893   "Reply": {
  894    "id": "Reply",
  895    "type": "object",
  896    "description": "A reply to a comment on a file.",
  897    "properties": {
  898     "action": {
  899      "type": "string",
  900      "description": "The action the reply performed to the parent comment. Valid values are:  \n- resolve \n- reopen"
  901     },
  902     "author": {
  903      "$ref": "User",
  904      "description": "The user who created the reply."
  905     },
  906     "content": {
  907      "type": "string",
  908      "description": "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.",
  909      "annotations": {
  910       "required": [
  911        "drive.replies.update"
  912       ]
  913      }
  914     },
  915     "createdTime": {
  916      "type": "string",
  917      "description": "The time at which the reply was created (RFC 3339 date-time).",
  918      "format": "date-time"
  919     },
  920     "deleted": {
  921      "type": "boolean",
  922      "description": "Whether the reply has been deleted. A deleted reply has no content."
  923     },
  924     "htmlContent": {
  925      "type": "string",
  926      "description": "The content of the reply with HTML formatting."
  927     },
  928     "id": {
  929      "type": "string",
  930      "description": "The ID of the reply."
  931     },
  932     "kind": {
  933      "type": "string",
  934      "description": "This is always drive#reply.",
  935      "default": "drive#reply"
  936     },
  937     "modifiedTime": {
  938      "type": "string",
  939      "description": "The last time the reply was modified (RFC 3339 date-time).",
  940      "format": "date-time"
  941     }
  942    }
  943   },
  944   "ReplyList": {
  945    "id": "ReplyList",
  946    "type": "object",
  947    "description": "A list of replies to a comment on a file.",
  948    "properties": {
  949     "kind": {
  950      "type": "string",
  951      "description": "This is always drive#replyList.",
  952      "default": "drive#replyList"
  953     },
  954     "nextPageToken": {
  955      "type": "string",
  956      "description": "The page token for the next page of replies. This will be absent if the end of the replies list has been reached."
  957     },
  958     "replies": {
  959      "type": "array",
  960      "description": "The page of replies.",
  961      "items": {
  962       "$ref": "Reply"
  963      }
  964     }
  965    }
  966   },
  967   "Revision": {
  968    "id": "Revision",
  969    "type": "object",
  970    "description": "The metadata for a revision to a file.",
  971    "properties": {
  972     "id": {
  973      "type": "string",
  974      "description": "The ID of the revision."
  975     },
  976     "keepForever": {
  977      "type": "boolean",
  978      "description": "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.\nThis field is only applicable to files with binary content in Drive."
  979     },
  980     "kind": {
  981      "type": "string",
  982      "description": "This is always drive#revision.",
  983      "default": "drive#revision"
  984     },
  985     "lastModifyingUser": {
  986      "$ref": "User",
  987      "description": "The last user to modify this revision."
  988     },
  989     "md5Checksum": {
  990      "type": "string",
  991      "description": "The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive."
  992     },
  993     "mimeType": {
  994      "type": "string",
  995      "description": "The MIME type of the revision."
  996     },
  997     "modifiedTime": {
  998      "type": "string",
  999      "description": "The last time the revision was modified (RFC 3339 date-time).",
 1000      "format": "date-time"
 1001     },
 1002     "originalFilename": {
 1003      "type": "string",
 1004      "description": "The original filename used to create this revision. This is only applicable to files with binary content in Drive."
 1005     },
 1006     "publishAuto": {
 1007      "type": "boolean",
 1008      "description": "Whether subsequent revisions will be automatically republished. This is only applicable to Google Docs."
 1009     },
 1010     "published": {
 1011      "type": "boolean",
 1012      "description": "Whether this revision is published. This is only applicable to Google Docs."
 1013     },
 1014     "publishedOutsideDomain": {
 1015      "type": "boolean",
 1016      "description": "Whether this revision is published outside the domain. This is only applicable to Google Docs."
 1017     },
 1018     "size": {
 1019      "type": "string",
 1020      "description": "The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.",
 1021      "format": "int64"
 1022     }
 1023    }
 1024   },
 1025   "RevisionList": {
 1026    "id": "RevisionList",
 1027    "type": "object",
 1028    "description": "A list of revisions of a file.",
 1029    "properties": {
 1030     "kind": {
 1031      "type": "string",
 1032      "description": "This is always drive#revisionList.",
 1033      "default": "drive#revisionList"
 1034     },
 1035     "revisions": {
 1036      "type": "array",
 1037      "description": "The full list of revisions.",
 1038      "items": {
 1039       "$ref": "Revision"
 1040      }
 1041     }
 1042    }
 1043   },
 1044   "StartPageToken": {
 1045    "id": "StartPageToken",
 1046    "type": "object",
 1047    "properties": {
 1048     "kind": {
 1049      "type": "string",
 1050      "description": "This is always drive#startPageToken.",
 1051      "default": "drive#startPageToken"
 1052     },
 1053     "startPageToken": {
 1054      "type": "string",
 1055      "description": "The starting page token for listing changes."
 1056     }
 1057    }
 1058   },
 1059   "User": {
 1060    "id": "User",
 1061    "type": "object",
 1062    "description": "Information about a Drive user.",
 1063    "properties": {
 1064     "displayName": {
 1065      "type": "string",
 1066      "description": "A plain text displayable name for this user."
 1067     },
 1068     "emailAddress": {
 1069      "type": "string",
 1070      "description": "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."
 1071     },
 1072     "kind": {
 1073      "type": "string",
 1074      "description": "This is always drive#user.",
 1075      "default": "drive#user"
 1076     },
 1077     "me": {
 1078      "type": "boolean",
 1079      "description": "Whether this user is the requesting user."
 1080     },
 1081     "permissionId": {
 1082      "type": "string",
 1083      "description": "The user's ID as visible in Permission resources."
 1084     },
 1085     "photoLink": {
 1086      "type": "string",
 1087      "description": "A link to the user's profile photo, if available."
 1088     }
 1089    }
 1090   }
 1091  },
 1092  "resources": {
 1093   "about": {
 1094    "methods": {
 1095     "get": {
 1096      "id": "drive.about.get",
 1097      "path": "about",
 1098      "httpMethod": "GET",
 1099      "description": "Gets information about the user, the user's Drive, and system capabilities.",
 1100      "response": {
 1101       "$ref": "About"
 1102      },
 1103      "scopes": [
 1104       "https://www.googleapis.com/auth/drive",
 1105       "https://www.googleapis.com/auth/drive.appdata",
 1106       "https://www.googleapis.com/auth/drive.file",
 1107       "https://www.googleapis.com/auth/drive.metadata",
 1108       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1109       "https://www.googleapis.com/auth/drive.photos.readonly",
 1110       "https://www.googleapis.com/auth/drive.readonly"
 1111      ]
 1112     }
 1113    }
 1114   },
 1115   "changes": {
 1116    "methods": {
 1117     "getStartPageToken": {
 1118      "id": "drive.changes.getStartPageToken",
 1119      "path": "changes/startPageToken",
 1120      "httpMethod": "GET",
 1121      "description": "Gets the starting pageToken for listing future changes.",
 1122      "response": {
 1123       "$ref": "StartPageToken"
 1124      },
 1125      "scopes": [
 1126       "https://www.googleapis.com/auth/drive",
 1127       "https://www.googleapis.com/auth/drive.appdata",
 1128       "https://www.googleapis.com/auth/drive.file",
 1129       "https://www.googleapis.com/auth/drive.metadata",
 1130       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1131       "https://www.googleapis.com/auth/drive.photos.readonly",
 1132       "https://www.googleapis.com/auth/drive.readonly"
 1133      ]
 1134     },
 1135     "list": {
 1136      "id": "drive.changes.list",
 1137      "path": "changes",
 1138      "httpMethod": "GET",
 1139      "description": "Lists changes for a user.",
 1140      "parameters": {
 1141       "includeRemoved": {
 1142        "type": "boolean",
 1143        "description": "Whether to include changes indicating that items have left the view of the changes list, for example by deletion or lost access.",
 1144        "default": "true",
 1145        "location": "query"
 1146       },
 1147       "pageSize": {
 1148        "type": "integer",
 1149        "description": "The maximum number of changes to return per page.",
 1150        "default": "100",
 1151        "format": "int32",
 1152        "minimum": "1",
 1153        "maximum": "1000",
 1154        "location": "query"
 1155       },
 1156       "pageToken": {
 1157        "type": "string",
 1158        "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.",
 1159        "required": true,
 1160        "location": "query"
 1161       },
 1162       "restrictToMyDrive": {
 1163        "type": "boolean",
 1164        "description": "Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.",
 1165        "default": "false",
 1166        "location": "query"
 1167       },
 1168       "spaces": {
 1169        "type": "string",
 1170        "description": "A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.",
 1171        "default": "drive",
 1172        "location": "query"
 1173       }
 1174      },
 1175      "parameterOrder": [
 1176       "pageToken"
 1177      ],
 1178      "response": {
 1179       "$ref": "ChangeList"
 1180      },
 1181      "scopes": [
 1182       "https://www.googleapis.com/auth/drive",
 1183       "https://www.googleapis.com/auth/drive.appdata",
 1184       "https://www.googleapis.com/auth/drive.file",
 1185       "https://www.googleapis.com/auth/drive.metadata",
 1186       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1187       "https://www.googleapis.com/auth/drive.photos.readonly",
 1188       "https://www.googleapis.com/auth/drive.readonly"
 1189      ],
 1190      "supportsSubscription": true
 1191     },
 1192     "watch": {
 1193      "id": "drive.changes.watch",
 1194      "path": "changes/watch",
 1195      "httpMethod": "POST",
 1196      "description": "Subscribes to changes for a user.",
 1197      "parameters": {
 1198       "includeRemoved": {
 1199        "type": "boolean",
 1200        "description": "Whether to include changes indicating that items have left the view of the changes list, for example by deletion or lost access.",
 1201        "default": "true",
 1202        "location": "query"
 1203       },
 1204       "pageSize": {
 1205        "type": "integer",
 1206        "description": "The maximum number of changes to return per page.",
 1207        "default": "100",
 1208        "format": "int32",
 1209        "minimum": "1",
 1210        "maximum": "1000",
 1211        "location": "query"
 1212       },
 1213       "pageToken": {
 1214        "type": "string",
 1215        "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.",
 1216        "required": true,
 1217        "location": "query"
 1218       },
 1219       "restrictToMyDrive": {
 1220        "type": "boolean",
 1221        "description": "Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.",
 1222        "default": "false",
 1223        "location": "query"
 1224       },
 1225       "spaces": {
 1226        "type": "string",
 1227        "description": "A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.",
 1228        "default": "drive",
 1229        "location": "query"
 1230       }
 1231      },
 1232      "parameterOrder": [
 1233       "pageToken"
 1234      ],
 1235      "request": {
 1236       "$ref": "Channel",
 1237       "parameterName": "resource"
 1238      },
 1239      "response": {
 1240       "$ref": "Channel"
 1241      },
 1242      "scopes": [
 1243       "https://www.googleapis.com/auth/drive",
 1244       "https://www.googleapis.com/auth/drive.appdata",
 1245       "https://www.googleapis.com/auth/drive.file",
 1246       "https://www.googleapis.com/auth/drive.metadata",
 1247       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1248       "https://www.googleapis.com/auth/drive.photos.readonly",
 1249       "https://www.googleapis.com/auth/drive.readonly"
 1250      ],
 1251      "supportsSubscription": true
 1252     }
 1253    }
 1254   },
 1255   "channels": {
 1256    "methods": {
 1257     "stop": {
 1258      "id": "drive.channels.stop",
 1259      "path": "channels/stop",
 1260      "httpMethod": "POST",
 1261      "description": "Stop watching resources through this channel",
 1262      "request": {
 1263       "$ref": "Channel",
 1264       "parameterName": "resource"
 1265      },
 1266      "scopes": [
 1267       "https://www.googleapis.com/auth/drive",
 1268       "https://www.googleapis.com/auth/drive.appdata",
 1269       "https://www.googleapis.com/auth/drive.file",
 1270       "https://www.googleapis.com/auth/drive.metadata",
 1271       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1272       "https://www.googleapis.com/auth/drive.photos.readonly",
 1273       "https://www.googleapis.com/auth/drive.readonly"
 1274      ]
 1275     }
 1276    }
 1277   },
 1278   "comments": {
 1279    "methods": {
 1280     "create": {
 1281      "id": "drive.comments.create",
 1282      "path": "files/{fileId}/comments",
 1283      "httpMethod": "POST",
 1284      "description": "Creates a new comment on a file.",
 1285      "parameters": {
 1286       "fileId": {
 1287        "type": "string",
 1288        "description": "The ID of the file.",
 1289        "required": true,
 1290        "location": "path"
 1291       }
 1292      },
 1293      "parameterOrder": [
 1294       "fileId"
 1295      ],
 1296      "request": {
 1297       "$ref": "Comment"
 1298      },
 1299      "response": {
 1300       "$ref": "Comment"
 1301      },
 1302      "scopes": [
 1303       "https://www.googleapis.com/auth/drive",
 1304       "https://www.googleapis.com/auth/drive.file"
 1305      ]
 1306     },
 1307     "delete": {
 1308      "id": "drive.comments.delete",
 1309      "path": "files/{fileId}/comments/{commentId}",
 1310      "httpMethod": "DELETE",
 1311      "description": "Deletes a comment.",
 1312      "parameters": {
 1313       "commentId": {
 1314        "type": "string",
 1315        "description": "The ID of the comment.",
 1316        "required": true,
 1317        "location": "path"
 1318       },
 1319       "fileId": {
 1320        "type": "string",
 1321        "description": "The ID of the file.",
 1322        "required": true,
 1323        "location": "path"
 1324       }
 1325      },
 1326      "parameterOrder": [
 1327       "fileId",
 1328       "commentId"
 1329      ],
 1330      "scopes": [
 1331       "https://www.googleapis.com/auth/drive",
 1332       "https://www.googleapis.com/auth/drive.file"
 1333      ]
 1334     },
 1335     "get": {
 1336      "id": "drive.comments.get",
 1337      "path": "files/{fileId}/comments/{commentId}",
 1338      "httpMethod": "GET",
 1339      "description": "Gets a comment by ID.",
 1340      "parameters": {
 1341       "commentId": {
 1342        "type": "string",
 1343        "description": "The ID of the comment.",
 1344        "required": true,
 1345        "location": "path"
 1346       },
 1347       "fileId": {
 1348        "type": "string",
 1349        "description": "The ID of the file.",
 1350        "required": true,
 1351        "location": "path"
 1352       },
 1353       "includeDeleted": {
 1354        "type": "boolean",
 1355        "description": "Whether to return deleted comments. Deleted comments will not include their original content.",
 1356        "default": "false",
 1357        "location": "query"
 1358       }
 1359      },
 1360      "parameterOrder": [
 1361       "fileId",
 1362       "commentId"
 1363      ],
 1364      "response": {
 1365       "$ref": "Comment"
 1366      },
 1367      "scopes": [
 1368       "https://www.googleapis.com/auth/drive",
 1369       "https://www.googleapis.com/auth/drive.file",
 1370       "https://www.googleapis.com/auth/drive.readonly"
 1371      ]
 1372     },
 1373     "list": {
 1374      "id": "drive.comments.list",
 1375      "path": "files/{fileId}/comments",
 1376      "httpMethod": "GET",
 1377      "description": "Lists a file's comments.",
 1378      "parameters": {
 1379       "fileId": {
 1380        "type": "string",
 1381        "description": "The ID of the file.",
 1382        "required": true,
 1383        "location": "path"
 1384       },
 1385       "includeDeleted": {
 1386        "type": "boolean",
 1387        "description": "Whether to include deleted comments. Deleted comments will not include their original content.",
 1388        "default": "false",
 1389        "location": "query"
 1390       },
 1391       "pageSize": {
 1392        "type": "integer",
 1393        "description": "The maximum number of comments to return per page.",
 1394        "default": "20",
 1395        "format": "int32",
 1396        "minimum": "1",
 1397        "maximum": "100",
 1398        "location": "query"
 1399       },
 1400       "pageToken": {
 1401        "type": "string",
 1402        "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.",
 1403        "location": "query"
 1404       },
 1405       "startModifiedTime": {
 1406        "type": "string",
 1407        "description": "The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).",
 1408        "location": "query"
 1409       }
 1410      },
 1411      "parameterOrder": [
 1412       "fileId"
 1413      ],
 1414      "response": {
 1415       "$ref": "CommentList"
 1416      },
 1417      "scopes": [
 1418       "https://www.googleapis.com/auth/drive",
 1419       "https://www.googleapis.com/auth/drive.file",
 1420       "https://www.googleapis.com/auth/drive.readonly"
 1421      ]
 1422     },
 1423     "update": {
 1424      "id": "drive.comments.update",
 1425      "path": "files/{fileId}/comments/{commentId}",
 1426      "httpMethod": "PATCH",
 1427      "description": "Updates a comment with patch semantics.",
 1428      "parameters": {
 1429       "commentId": {
 1430        "type": "string",
 1431        "description": "The ID of the comment.",
 1432        "required": true,
 1433        "location": "path"
 1434       },
 1435       "fileId": {
 1436        "type": "string",
 1437        "description": "The ID of the file.",
 1438        "required": true,
 1439        "location": "path"
 1440       }
 1441      },
 1442      "parameterOrder": [
 1443       "fileId",
 1444       "commentId"
 1445      ],
 1446      "request": {
 1447       "$ref": "Comment"
 1448      },
 1449      "response": {
 1450       "$ref": "Comment"
 1451      },
 1452      "scopes": [
 1453       "https://www.googleapis.com/auth/drive",
 1454       "https://www.googleapis.com/auth/drive.file"
 1455      ]
 1456     }
 1457    }
 1458   },
 1459   "files": {
 1460    "methods": {
 1461     "copy": {
 1462      "id": "drive.files.copy",
 1463      "path": "files/{fileId}/copy",
 1464      "httpMethod": "POST",
 1465      "description": "Creates a copy of a file and applies any requested updates with patch semantics.",
 1466      "parameters": {
 1467       "fileId": {
 1468        "type": "string",
 1469        "description": "The ID of the file.",
 1470        "required": true,
 1471        "location": "path"
 1472       },
 1473       "ignoreDefaultVisibility": {
 1474        "type": "boolean",
 1475        "description": "Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders.",
 1476        "default": "false",
 1477        "location": "query"
 1478       },
 1479       "keepRevisionForever": {
 1480        "type": "boolean",
 1481        "description": "Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Drive.",
 1482        "default": "false",
 1483        "location": "query"
 1484       },
 1485       "ocrLanguage": {
 1486        "type": "string",
 1487        "description": "A language hint for OCR processing during image import (ISO 639-1 code).",
 1488        "location": "query"
 1489       }
 1490      },
 1491      "parameterOrder": [
 1492       "fileId"
 1493      ],
 1494      "request": {
 1495       "$ref": "File"
 1496      },
 1497      "response": {
 1498       "$ref": "File"
 1499      },
 1500      "scopes": [
 1501       "https://www.googleapis.com/auth/drive",
 1502       "https://www.googleapis.com/auth/drive.appdata",
 1503       "https://www.googleapis.com/auth/drive.file",
 1504       "https://www.googleapis.com/auth/drive.photos.readonly"
 1505      ]
 1506     },
 1507     "create": {
 1508      "id": "drive.files.create",
 1509      "path": "files",
 1510      "httpMethod": "POST",
 1511      "description": "Creates a new file.",
 1512      "parameters": {
 1513       "ignoreDefaultVisibility": {
 1514        "type": "boolean",
 1515        "description": "Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders.",
 1516        "default": "false",
 1517        "location": "query"
 1518       },
 1519       "keepRevisionForever": {
 1520        "type": "boolean",
 1521        "description": "Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Drive.",
 1522        "default": "false",
 1523        "location": "query"
 1524       },
 1525       "ocrLanguage": {
 1526        "type": "string",
 1527        "description": "A language hint for OCR processing during image import (ISO 639-1 code).",
 1528        "location": "query"
 1529       },
 1530       "useContentAsIndexableText": {
 1531        "type": "boolean",
 1532        "description": "Whether to use the uploaded content as indexable text.",
 1533        "default": "false",
 1534        "location": "query"
 1535       }
 1536      },
 1537      "request": {
 1538       "$ref": "File"
 1539      },
 1540      "response": {
 1541       "$ref": "File"
 1542      },
 1543      "scopes": [
 1544       "https://www.googleapis.com/auth/drive",
 1545       "https://www.googleapis.com/auth/drive.appdata",
 1546       "https://www.googleapis.com/auth/drive.file"
 1547      ],
 1548      "supportsMediaUpload": true,
 1549      "mediaUpload": {
 1550       "accept": [
 1551        "*/*"
 1552       ],
 1553       "maxSize": "5120GB",
 1554       "protocols": {
 1555        "simple": {
 1556         "multipart": true,
 1557         "path": "/upload/drive/v3/files"
 1558        },
 1559        "resumable": {
 1560         "multipart": true,
 1561         "path": "/resumable/upload/drive/v3/files"
 1562        }
 1563       }
 1564      },
 1565      "supportsSubscription": true
 1566     },
 1567     "delete": {
 1568      "id": "drive.files.delete",
 1569      "path": "files/{fileId}",
 1570      "httpMethod": "DELETE",
 1571      "description": "Permanently deletes a file owned by the user without moving it to the trash. If the target is a folder, all descendants owned by the user are also deleted.",
 1572      "parameters": {
 1573       "fileId": {
 1574        "type": "string",
 1575        "description": "The ID of the file.",
 1576        "required": true,
 1577        "location": "path"
 1578       }
 1579      },
 1580      "parameterOrder": [
 1581       "fileId"
 1582      ],
 1583      "scopes": [
 1584       "https://www.googleapis.com/auth/drive",
 1585       "https://www.googleapis.com/auth/drive.appdata",
 1586       "https://www.googleapis.com/auth/drive.file"
 1587      ]
 1588     },
 1589     "emptyTrash": {
 1590      "id": "drive.files.emptyTrash",
 1591      "path": "files/trash",
 1592      "httpMethod": "DELETE",
 1593      "description": "Permanently deletes all of the user's trashed files.",
 1594      "scopes": [
 1595       "https://www.googleapis.com/auth/drive"
 1596      ]
 1597     },
 1598     "export": {
 1599      "id": "drive.files.export",
 1600      "path": "files/{fileId}/export",
 1601      "httpMethod": "GET",
 1602      "description": "Exports a Google Doc to the requested MIME type and returns the exported content.",
 1603      "parameters": {
 1604       "fileId": {
 1605        "type": "string",
 1606        "description": "The ID of the file.",
 1607        "required": true,
 1608        "location": "path"
 1609       },
 1610       "mimeType": {
 1611        "type": "string",
 1612        "description": "The MIME type of the format requested for this export.",
 1613        "required": true,
 1614        "location": "query"
 1615       }
 1616      },
 1617      "parameterOrder": [
 1618       "fileId",
 1619       "mimeType"
 1620      ],
 1621      "scopes": [
 1622       "https://www.googleapis.com/auth/drive",
 1623       "https://www.googleapis.com/auth/drive.file",
 1624       "https://www.googleapis.com/auth/drive.readonly"
 1625      ],
 1626      "supportsMediaDownload": true
 1627     },
 1628     "generateIds": {
 1629      "id": "drive.files.generateIds",
 1630      "path": "files/generateIds",
 1631      "httpMethod": "GET",
 1632      "description": "Generates a set of file IDs which can be provided in create requests.",
 1633      "parameters": {
 1634       "count": {
 1635        "type": "integer",
 1636        "description": "The number of IDs to return.",
 1637        "default": "10",
 1638        "format": "int32",
 1639        "minimum": "1",
 1640        "maximum": "1000",
 1641        "location": "query"
 1642       },
 1643       "space": {
 1644        "type": "string",
 1645        "description": "The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.",
 1646        "default": "drive",
 1647        "location": "query"
 1648       }
 1649      },
 1650      "response": {
 1651       "$ref": "GeneratedIds"
 1652      },
 1653      "scopes": [
 1654       "https://www.googleapis.com/auth/drive",
 1655       "https://www.googleapis.com/auth/drive.appdata",
 1656       "https://www.googleapis.com/auth/drive.file"
 1657      ]
 1658     },
 1659     "get": {
 1660      "id": "drive.files.get",
 1661      "path": "files/{fileId}",
 1662      "httpMethod": "GET",
 1663      "description": "Gets a file's metadata or content by ID.",
 1664      "parameters": {
 1665       "acknowledgeAbuse": {
 1666        "type": "boolean",
 1667        "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media.",
 1668        "default": "false",
 1669        "location": "query"
 1670       },
 1671       "fileId": {
 1672        "type": "string",
 1673        "description": "The ID of the file.",
 1674        "required": true,
 1675        "location": "path"
 1676       }
 1677      },
 1678      "parameterOrder": [
 1679       "fileId"
 1680      ],
 1681      "response": {
 1682       "$ref": "File"
 1683      },
 1684      "scopes": [
 1685       "https://www.googleapis.com/auth/drive",
 1686       "https://www.googleapis.com/auth/drive.appdata",
 1687       "https://www.googleapis.com/auth/drive.file",
 1688       "https://www.googleapis.com/auth/drive.metadata",
 1689       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1690       "https://www.googleapis.com/auth/drive.photos.readonly",
 1691       "https://www.googleapis.com/auth/drive.readonly"
 1692      ],
 1693      "supportsMediaDownload": true,
 1694      "useMediaDownloadService": true,
 1695      "supportsSubscription": true
 1696     },
 1697     "list": {
 1698      "id": "drive.files.list",
 1699      "path": "files",
 1700      "httpMethod": "GET",
 1701      "description": "Lists or searches files.",
 1702      "parameters": {
 1703       "corpus": {
 1704        "type": "string",
 1705        "description": "The source of files to list.",
 1706        "default": "user",
 1707        "enum": [
 1708         "domain",
 1709         "user"
 1710        ],
 1711        "enumDescriptions": [
 1712         "Files shared to the user's domain.",
 1713         "Files owned by or shared to the user."
 1714        ],
 1715        "location": "query"
 1716       },
 1717       "orderBy": {
 1718        "type": "string",
 1719        "description": "A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.",
 1720        "location": "query"
 1721       },
 1722       "pageSize": {
 1723        "type": "integer",
 1724        "description": "The maximum number of files to return per page.",
 1725        "default": "100",
 1726        "format": "int32",
 1727        "minimum": "1",
 1728        "maximum": "1000",
 1729        "location": "query"
 1730       },
 1731       "pageToken": {
 1732        "type": "string",
 1733        "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.",
 1734        "location": "query"
 1735       },
 1736       "q": {
 1737        "type": "string",
 1738        "description": "A query for filtering the file results. See the \"Search for Files\" guide for supported syntax.",
 1739        "location": "query"
 1740       },
 1741       "spaces": {
 1742        "type": "string",
 1743        "description": "A comma-separated list of spaces to query within the corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.",
 1744        "default": "drive",
 1745        "location": "query"
 1746       }
 1747      },
 1748      "response": {
 1749       "$ref": "FileList"
 1750      },
 1751      "scopes": [
 1752       "https://www.googleapis.com/auth/drive",
 1753       "https://www.googleapis.com/auth/drive.appdata",
 1754       "https://www.googleapis.com/auth/drive.file",
 1755       "https://www.googleapis.com/auth/drive.metadata",
 1756       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1757       "https://www.googleapis.com/auth/drive.photos.readonly",
 1758       "https://www.googleapis.com/auth/drive.readonly"
 1759      ]
 1760     },
 1761     "update": {
 1762      "id": "drive.files.update",
 1763      "path": "files/{fileId}",
 1764      "httpMethod": "PATCH",
 1765      "description": "Updates a file's metadata and/or content with patch semantics.",
 1766      "parameters": {
 1767       "addParents": {
 1768        "type": "string",
 1769        "description": "A comma-separated list of parent IDs to add.",
 1770        "location": "query"
 1771       },
 1772       "fileId": {
 1773        "type": "string",
 1774        "description": "The ID of the file.",
 1775        "required": true,
 1776        "location": "path"
 1777       },
 1778       "keepRevisionForever": {
 1779        "type": "boolean",
 1780        "description": "Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Drive.",
 1781        "default": "false",
 1782        "location": "query"
 1783       },
 1784       "ocrLanguage": {
 1785        "type": "string",
 1786        "description": "A language hint for OCR processing during image import (ISO 639-1 code).",
 1787        "location": "query"
 1788       },
 1789       "removeParents": {
 1790        "type": "string",
 1791        "description": "A comma-separated list of parent IDs to remove.",
 1792        "location": "query"
 1793       },
 1794       "useContentAsIndexableText": {
 1795        "type": "boolean",
 1796        "description": "Whether to use the uploaded content as indexable text.",
 1797        "default": "false",
 1798        "location": "query"
 1799       }
 1800      },
 1801      "parameterOrder": [
 1802       "fileId"
 1803      ],
 1804      "request": {
 1805       "$ref": "File"
 1806      },
 1807      "response": {
 1808       "$ref": "File"
 1809      },
 1810      "scopes": [
 1811       "https://www.googleapis.com/auth/drive",
 1812       "https://www.googleapis.com/auth/drive.appdata",
 1813       "https://www.googleapis.com/auth/drive.file",
 1814       "https://www.googleapis.com/auth/drive.metadata",
 1815       "https://www.googleapis.com/auth/drive.scripts"
 1816      ],
 1817      "supportsMediaUpload": true,
 1818      "mediaUpload": {
 1819       "accept": [
 1820        "*/*"
 1821       ],
 1822       "maxSize": "5120GB",
 1823       "protocols": {
 1824        "simple": {
 1825         "multipart": true,
 1826         "path": "/upload/drive/v3/files/{fileId}"
 1827        },
 1828        "resumable": {
 1829         "multipart": true,
 1830         "path": "/resumable/upload/drive/v3/files/{fileId}"
 1831        }
 1832       }
 1833      }
 1834     },
 1835     "watch": {
 1836      "id": "drive.files.watch",
 1837      "path": "files/{fileId}/watch",
 1838      "httpMethod": "POST",
 1839      "description": "Subscribes to changes to a file",
 1840      "parameters": {
 1841       "acknowledgeAbuse": {
 1842        "type": "boolean",
 1843        "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media.",
 1844        "default": "false",
 1845        "location": "query"
 1846       },
 1847       "fileId": {
 1848        "type": "string",
 1849        "description": "The ID of the file.",
 1850        "required": true,
 1851        "location": "path"
 1852       }
 1853      },
 1854      "parameterOrder": [
 1855       "fileId"
 1856      ],
 1857      "request": {
 1858       "$ref": "Channel",
 1859       "parameterName": "resource"
 1860      },
 1861      "response": {
 1862       "$ref": "Channel"
 1863      },
 1864      "scopes": [
 1865       "https://www.googleapis.com/auth/drive",
 1866       "https://www.googleapis.com/auth/drive.appdata",
 1867       "https://www.googleapis.com/auth/drive.file",
 1868       "https://www.googleapis.com/auth/drive.metadata",
 1869       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1870       "https://www.googleapis.com/auth/drive.photos.readonly",
 1871       "https://www.googleapis.com/auth/drive.readonly"
 1872      ],
 1873      "supportsMediaDownload": true,
 1874      "useMediaDownloadService": true,
 1875      "supportsSubscription": true
 1876     }
 1877    }
 1878   },
 1879   "permissions": {
 1880    "methods": {
 1881     "create": {
 1882      "id": "drive.permissions.create",
 1883      "path": "files/{fileId}/permissions",
 1884      "httpMethod": "POST",
 1885      "description": "Creates a permission for a file.",
 1886      "parameters": {
 1887       "emailMessage": {
 1888        "type": "string",
 1889        "description": "A custom message to include in the notification email.",
 1890        "location": "query"
 1891       },
 1892       "fileId": {
 1893        "type": "string",
 1894        "description": "The ID of the file.",
 1895        "required": true,
 1896        "location": "path"
 1897       },
 1898       "sendNotificationEmail": {
 1899        "type": "boolean",
 1900        "description": "Whether to send a notification email when sharing to users or groups. This defaults to true for users and groups, and is not allowed for other requests. It must not be disabled for ownership transfers.",
 1901        "location": "query"
 1902       },
 1903       "transferOwnership": {
 1904        "type": "boolean",
 1905        "description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.",
 1906        "default": "false",
 1907        "location": "query"
 1908       }
 1909      },
 1910      "parameterOrder": [
 1911       "fileId"
 1912      ],
 1913      "request": {
 1914       "$ref": "Permission"
 1915      },
 1916      "response": {
 1917       "$ref": "Permission"
 1918      },
 1919      "scopes": [
 1920       "https://www.googleapis.com/auth/drive",
 1921       "https://www.googleapis.com/auth/drive.file"
 1922      ]
 1923     },
 1924     "delete": {
 1925      "id": "drive.permissions.delete",
 1926      "path": "files/{fileId}/permissions/{permissionId}",
 1927      "httpMethod": "DELETE",
 1928      "description": "Deletes a permission.",
 1929      "parameters": {
 1930       "fileId": {
 1931        "type": "string",
 1932        "description": "The ID of the file.",
 1933        "required": true,
 1934        "location": "path"
 1935       },
 1936       "permissionId": {
 1937        "type": "string",
 1938        "description": "The ID of the permission.",
 1939        "required": true,
 1940        "location": "path"
 1941       }
 1942      },
 1943      "parameterOrder": [
 1944       "fileId",
 1945       "permissionId"
 1946      ],
 1947      "scopes": [
 1948       "https://www.googleapis.com/auth/drive",
 1949       "https://www.googleapis.com/auth/drive.file"
 1950      ]
 1951     },
 1952     "get": {
 1953      "id": "drive.permissions.get",
 1954      "path": "files/{fileId}/permissions/{permissionId}",
 1955      "httpMethod": "GET",
 1956      "description": "Gets a permission by ID.",
 1957      "parameters": {
 1958       "fileId": {
 1959        "type": "string",
 1960        "description": "The ID of the file.",
 1961        "required": true,
 1962        "location": "path"
 1963       },
 1964       "permissionId": {
 1965        "type": "string",
 1966        "description": "The ID of the permission.",
 1967        "required": true,
 1968        "location": "path"
 1969       }
 1970      },
 1971      "parameterOrder": [
 1972       "fileId",
 1973       "permissionId"
 1974      ],
 1975      "response": {
 1976       "$ref": "Permission"
 1977      },
 1978      "scopes": [
 1979       "https://www.googleapis.com/auth/drive",
 1980       "https://www.googleapis.com/auth/drive.file",
 1981       "https://www.googleapis.com/auth/drive.metadata",
 1982       "https://www.googleapis.com/auth/drive.metadata.readonly",
 1983       "https://www.googleapis.com/auth/drive.photos.readonly",
 1984       "https://www.googleapis.com/auth/drive.readonly"
 1985      ]
 1986     },
 1987     "list": {
 1988      "id": "drive.permissions.list",
 1989      "path": "files/{fileId}/permissions",
 1990      "httpMethod": "GET",
 1991      "description": "Lists a file's permissions.",
 1992      "parameters": {
 1993       "fileId": {
 1994        "type": "string",
 1995        "description": "The ID of the file.",
 1996        "required": true,
 1997        "location": "path"
 1998       }
 1999      },
 2000      "parameterOrder": [
 2001       "fileId"
 2002      ],
 2003      "response": {
 2004       "$ref": "PermissionList"
 2005      },
 2006      "scopes": [
 2007       "https://www.googleapis.com/auth/drive",
 2008       "https://www.googleapis.com/auth/drive.file",
 2009       "https://www.googleapis.com/auth/drive.metadata",
 2010       "https://www.googleapis.com/auth/drive.metadata.readonly",
 2011       "https://www.googleapis.com/auth/drive.photos.readonly",
 2012       "https://www.googleapis.com/auth/drive.readonly"
 2013      ]
 2014     },
 2015     "update": {
 2016      "id": "drive.permissions.update",
 2017      "path": "files/{fileId}/permissions/{permissionId}",
 2018      "httpMethod": "PATCH",
 2019      "description": "Updates a permission with patch semantics.",
 2020      "parameters": {
 2021       "fileId": {
 2022        "type": "string",
 2023        "description": "The ID of the file.",
 2024        "required": true,
 2025        "location": "path"
 2026       },
 2027       "permissionId": {
 2028        "type": "string",
 2029        "description": "The ID of the permission.",
 2030        "required": true,
 2031        "location": "path"
 2032       },
 2033       "transferOwnership": {
 2034        "type": "boolean",
 2035        "description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.",
 2036        "default": "false",
 2037        "location": "query"
 2038       }
 2039      },
 2040      "parameterOrder": [
 2041       "fileId",
 2042       "permissionId"
 2043      ],
 2044      "request": {
 2045       "$ref": "Permission"
 2046      },
 2047      "response": {
 2048       "$ref": "Permission"
 2049      },
 2050      "scopes": [
 2051       "https://www.googleapis.com/auth/drive",
 2052       "https://www.googleapis.com/auth/drive.file"
 2053      ]
 2054     }
 2055    }
 2056   },
 2057   "replies": {
 2058    "methods": {
 2059     "create": {
 2060      "id": "drive.replies.create",
 2061      "path": "files/{fileId}/comments/{commentId}/replies",
 2062      "httpMethod": "POST",
 2063      "description": "Creates a new reply to a comment.",
 2064      "parameters": {
 2065       "commentId": {
 2066        "type": "string",
 2067        "description": "The ID of the comment.",
 2068        "required": true,
 2069        "location": "path"
 2070       },
 2071       "fileId": {
 2072        "type": "string",
 2073        "description": "The ID of the file.",
 2074        "required": true,
 2075        "location": "path"
 2076       }
 2077      },
 2078      "parameterOrder": [
 2079       "fileId",
 2080       "commentId"
 2081      ],
 2082      "request": {
 2083       "$ref": "Reply"
 2084      },
 2085      "response": {
 2086       "$ref": "Reply"
 2087      },
 2088      "scopes": [
 2089       "https://www.googleapis.com/auth/drive",
 2090       "https://www.googleapis.com/auth/drive.file"
 2091      ]
 2092     },
 2093     "delete": {
 2094      "id": "drive.replies.delete",
 2095      "path": "files/{fileId}/comments/{commentId}/replies/{replyId}",
 2096      "httpMethod": "DELETE",
 2097      "description": "Deletes a reply.",
 2098      "parameters": {
 2099       "commentId": {
 2100        "type": "string",
 2101        "description": "The ID of the comment.",
 2102        "required": true,
 2103        "location": "path"
 2104       },
 2105       "fileId": {
 2106        "type": "string",
 2107        "description": "The ID of the file.",
 2108        "required": true,
 2109        "location": "path"
 2110       },
 2111       "replyId": {
 2112        "type": "string",
 2113        "description": "The ID of the reply.",
 2114        "required": true,
 2115        "location": "path"
 2116       }
 2117      },
 2118      "parameterOrder": [
 2119       "fileId",
 2120       "commentId",
 2121       "replyId"
 2122      ],
 2123      "scopes": [
 2124       "https://www.googleapis.com/auth/drive",
 2125       "https://www.googleapis.com/auth/drive.file"
 2126      ]
 2127     },
 2128     "get": {
 2129      "id": "drive.replies.get",
 2130      "path": "files/{fileId}/comments/{commentId}/replies/{replyId}",
 2131      "httpMethod": "GET",
 2132      "description": "Gets a reply by ID.",
 2133      "parameters": {
 2134       "commentId": {
 2135        "type": "string",
 2136        "description": "The ID of the comment.",
 2137        "required": true,
 2138        "location": "path"
 2139       },
 2140       "fileId": {
 2141        "type": "string",
 2142        "description": "The ID of the file.",
 2143        "required": true,
 2144        "location": "path"
 2145       },
 2146       "includeDeleted": {
 2147        "type": "boolean",
 2148        "description": "Whether to return deleted replies. Deleted replies will not include their original content.",
 2149        "default": "false",
 2150        "location": "query"
 2151       },
 2152       "replyId": {
 2153        "type": "string",
 2154        "description": "The ID of the reply.",
 2155        "required": true,
 2156        "location": "path"
 2157       }
 2158      },
 2159      "parameterOrder": [
 2160       "fileId",
 2161       "commentId",
 2162       "replyId"
 2163      ],
 2164      "response": {
 2165       "$ref": "Reply"
 2166      },
 2167      "scopes": [
 2168       "https://www.googleapis.com/auth/drive",
 2169       "https://www.googleapis.com/auth/drive.file",
 2170       "https://www.googleapis.com/auth/drive.readonly"
 2171      ]
 2172     },
 2173     "list": {
 2174      "id": "drive.replies.list",
 2175      "path": "files/{fileId}/comments/{commentId}/replies",
 2176      "httpMethod": "GET",
 2177      "description": "Lists a comment's replies.",
 2178      "parameters": {
 2179       "commentId": {
 2180        "type": "string",
 2181        "description": "The ID of the comment.",
 2182        "required": true,
 2183        "location": "path"
 2184       },
 2185       "fileId": {
 2186        "type": "string",
 2187        "description": "The ID of the file.",
 2188        "required": true,
 2189        "location": "path"
 2190       },
 2191       "includeDeleted": {
 2192        "type": "boolean",
 2193        "description": "Whether to include deleted replies. Deleted replies will not include their original content.",
 2194        "default": "false",
 2195        "location": "query"
 2196       },
 2197       "pageSize": {
 2198        "type": "integer",
 2199        "description": "The maximum number of replies to return per page.",
 2200        "default": "20",
 2201        "format": "int32",
 2202        "minimum": "1",
 2203        "maximum": "100",
 2204        "location": "query"
 2205       },
 2206       "pageToken": {
 2207        "type": "string",
 2208        "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.",
 2209        "location": "query"
 2210       }
 2211      },
 2212      "parameterOrder": [
 2213       "fileId",
 2214       "commentId"
 2215      ],
 2216      "response": {
 2217       "$ref": "ReplyList"
 2218      },
 2219      "scopes": [
 2220       "https://www.googleapis.com/auth/drive",
 2221       "https://www.googleapis.com/auth/drive.file",
 2222       "https://www.googleapis.com/auth/drive.readonly"
 2223      ]
 2224     },
 2225     "update": {
 2226      "id": "drive.replies.update",
 2227      "path": "files/{fileId}/comments/{commentId}/replies/{replyId}",
 2228      "httpMethod": "PATCH",
 2229      "description": "Updates a reply with patch semantics.",
 2230      "parameters": {
 2231       "commentId": {
 2232        "type": "string",
 2233        "description": "The ID of the comment.",
 2234        "required": true,
 2235        "location": "path"
 2236       },
 2237       "fileId": {
 2238        "type": "string",
 2239        "description": "The ID of the file.",
 2240        "required": true,
 2241        "location": "path"
 2242       },
 2243       "replyId": {
 2244        "type": "string",
 2245        "description": "The ID of the reply.",
 2246        "required": true,
 2247        "location": "path"
 2248       }
 2249      },
 2250      "parameterOrder": [
 2251       "fileId",
 2252       "commentId",
 2253       "replyId"
 2254      ],
 2255      "request": {
 2256       "$ref": "Reply"
 2257      },
 2258      "response": {
 2259       "$ref": "Reply"
 2260      },
 2261      "scopes": [
 2262       "https://www.googleapis.com/auth/drive",
 2263       "https://www.googleapis.com/auth/drive.file"
 2264      ]
 2265     }
 2266    }
 2267   },
 2268   "revisions": {
 2269    "methods": {
 2270     "delete": {
 2271      "id": "drive.revisions.delete",
 2272      "path": "files/{fileId}/revisions/{revisionId}",
 2273      "httpMethod": "DELETE",
 2274      "description": "Permanently deletes a revision. This method is only applicable to files with binary content in Drive.",
 2275      "parameters": {
 2276       "fileId": {
 2277        "type": "string",
 2278        "description": "The ID of the file.",
 2279        "required": true,
 2280        "location": "path"
 2281       },
 2282       "revisionId": {
 2283        "type": "string",
 2284        "description": "The ID of the revision.",
 2285        "required": true,
 2286        "location": "path"
 2287       }
 2288      },
 2289      "parameterOrder": [
 2290       "fileId",
 2291       "revisionId"
 2292      ],
 2293      "scopes": [
 2294       "https://www.googleapis.com/auth/drive",
 2295       "https://www.googleapis.com/auth/drive.appdata",
 2296       "https://www.googleapis.com/auth/drive.file"
 2297      ]
 2298     },
 2299     "get": {
 2300      "id": "drive.revisions.get",
 2301      "path": "files/{fileId}/revisions/{revisionId}",
 2302      "httpMethod": "GET",
 2303      "description": "Gets a revision's metadata or content by ID.",
 2304      "parameters": {
 2305       "acknowledgeAbuse": {
 2306        "type": "boolean",
 2307        "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files. This is only applicable when alt=media.",
 2308        "default": "false",
 2309        "location": "query"
 2310       },
 2311       "fileId": {
 2312        "type": "string",
 2313        "description": "The ID of the file.",
 2314        "required": true,
 2315        "location": "path"
 2316       },
 2317       "revisionId": {
 2318        "type": "string",
 2319        "description": "The ID of the revision.",
 2320        "required": true,
 2321        "location": "path"
 2322       }
 2323      },
 2324      "parameterOrder": [
 2325       "fileId",
 2326       "revisionId"
 2327      ],
 2328      "response": {
 2329       "$ref": "Revision"
 2330      },
 2331      "scopes": [
 2332       "https://www.googleapis.com/auth/drive",
 2333       "https://www.googleapis.com/auth/drive.appdata",
 2334       "https://www.googleapis.com/auth/drive.file",
 2335       "https://www.googleapis.com/auth/drive.metadata",
 2336       "https://www.googleapis.com/auth/drive.metadata.readonly",
 2337       "https://www.googleapis.com/auth/drive.photos.readonly",
 2338       "https://www.googleapis.com/auth/drive.readonly"
 2339      ],
 2340      "supportsMediaDownload": true,
 2341      "useMediaDownloadService": true
 2342     },
 2343     "list": {
 2344      "id": "drive.revisions.list",
 2345      "path": "files/{fileId}/revisions",
 2346      "httpMethod": "GET",
 2347      "description": "Lists a file's revisions.",
 2348      "parameters": {
 2349       "fileId": {
 2350        "type": "string",
 2351        "description": "The ID of the file.",
 2352        "required": true,
 2353        "location": "path"
 2354       }
 2355      },
 2356      "parameterOrder": [
 2357       "fileId"
 2358      ],
 2359      "response": {
 2360       "$ref": "RevisionList"
 2361      },
 2362      "scopes": [
 2363       "https://www.googleapis.com/auth/drive",
 2364       "https://www.googleapis.com/auth/drive.appdata",
 2365       "https://www.googleapis.com/auth/drive.file",
 2366       "https://www.googleapis.com/auth/drive.metadata",
 2367       "https://www.googleapis.com/auth/drive.metadata.readonly",
 2368       "https://www.googleapis.com/auth/drive.photos.readonly",
 2369       "https://www.googleapis.com/auth/drive.readonly"
 2370      ]
 2371     },
 2372     "update": {
 2373      "id": "drive.revisions.update",
 2374      "path": "files/{fileId}/revisions/{revisionId}",
 2375      "httpMethod": "PATCH",
 2376      "description": "Updates a revision with patch semantics.",
 2377      "parameters": {
 2378       "fileId": {
 2379        "type": "string",
 2380        "description": "The ID of the file.",
 2381        "required": true,
 2382        "location": "path"
 2383       },
 2384       "revisionId": {
 2385        "type": "string",
 2386        "description": "The ID of the revision.",
 2387        "required": true,
 2388        "location": "path"
 2389       }
 2390      },
 2391      "parameterOrder": [
 2392       "fileId",
 2393       "revisionId"
 2394      ],
 2395      "request": {
 2396       "$ref": "Revision"
 2397      },
 2398      "response": {
 2399       "$ref": "Revision"
 2400      },
 2401      "scopes": [
 2402       "https://www.googleapis.com/auth/drive",
 2403       "https://www.googleapis.com/auth/drive.appdata",
 2404       "https://www.googleapis.com/auth/drive.file"
 2405      ]
 2406     }
 2407    }
 2408   }
 2409  }
 2410 }