Skip to content

Commit

Permalink
fix(drive): update the API
Browse files Browse the repository at this point in the history
#### drive:v2
The following keys were changed:
- schemas.File.properties.fileSize.description

#### drive:v3
The following keys were changed:
- schemas.File.properties.size.description
  • Loading branch information
yoshi-automation authored and bcoe committed Nov 12, 2020
1 parent ca9c4b6 commit f8b958c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions discovery/drive-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/fcv4OojYDxxlAuyFQjV4FQ5X7aI\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/6ohqf_UZVcfD3dkqBiiMsIBdm74\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
Expand Down Expand Up @@ -3521,7 +3521,7 @@
}
}
},
"revision": "20201101",
"revision": "20201108",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -4834,7 +4834,7 @@
"type": "string"
},
"fileSize": {
"description": "The size of the file in bytes. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.",
"description": "The size of the file in bytes. This field is populated for files with content stored in Google Drive and for files in Docs Editors; it is not populated for shortcut files.",
"format": "int64",
"type": "string"
},
Expand Down
6 changes: 3 additions & 3 deletions discovery/drive-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/-5f4JITqQCh5VuAJ_W3YhyHUYa8\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/c-oESdLa0ZHsP8gsFIKPS9xhKec\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
Expand Down Expand Up @@ -2185,7 +2185,7 @@
}
}
},
"revision": "20201101",
"revision": "20201108",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -3252,7 +3252,7 @@
"type": "object"
},
"size": {
"description": "The size of the file's content in bytes. This is only applicable to files with binary content in Google Drive.",
"description": "The size of the file's content in bytes. This is applicable to binary files in Google Drive and Google Docs files.",
"format": "int64",
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion src/apis/drive/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ export namespace drive_v2 {
*/
fileExtension?: string | null;
/**
* The size of the file in bytes. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
* The size of the file in bytes. This field is populated for files with content stored in Google Drive and for files in Docs Editors; it is not populated for shortcut files.
*/
fileSize?: string | null;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/drive/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ export namespace drive_v3 {
*/
shortcutDetails?: {targetId?: string; targetMimeType?: string} | null;
/**
* The size of the file's content in bytes. This is only applicable to files with binary content in Google Drive.
* The size of the file's content in bytes. This is applicable to binary files in Google Drive and Google Docs files.
*/
size?: string | null;
/**
Expand Down

0 comments on commit f8b958c

Please sign in to comment.