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 sofisl committed Feb 9, 2023
1 parent 24616b9 commit 885131d
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": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/bsttY0vKjQyRCDqOZKiJ4UI3le0\"",
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/S9Ey_-CHeSNYoyZsHdPBhdrnfUY\"",
"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 @@ -3668,7 +3668,7 @@
}
}
},
"revision": "20221219",
"revision": "20230206",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -5006,7 +5006,7 @@
"type": "string"
},
"fileSize": {
"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 isn't populated for shortcut files.",
"description": "The size of the file's content in bytes. This field is populated for files with binary content stored in Google Drive and for Docs Editors files; it is not populated for shortcuts or folders.",
"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": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/2TMpck7GTrbcyLtBRwI3Q7B24jA\"",
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/usHvhS2KEqa4qu-fvyF64hqv4W8\"",
"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 @@ -2312,7 +2312,7 @@
}
}
},
"revision": "20221219",
"revision": "20230206",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -3452,7 +3452,7 @@
"type": "object"
},
"size": {
"description": "The size of the file's content in bytes. This is applicable to binary files in Google Drive and Google Docs files.",
"description": "The size of the file's content in bytes. This field is populated for files with binary content stored in Google Drive and for Docs Editors files; it is not populated for shortcuts or folders.",
"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 @@ -991,7 +991,7 @@ export namespace drive_v2 {
*/
fileExtension?: string | null;
/**
* 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 isn't populated for shortcut files.
* The size of the file's content in bytes. This field is populated for files with binary content stored in Google Drive and for Docs Editors files; it is not populated for shortcuts or folders.
*/
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 @@ -770,7 +770,7 @@ export namespace drive_v3 {
targetResourceKey?: string;
} | null;
/**
* The size of the file's content in bytes. This is applicable to binary files in Google Drive and Google Docs files.
* The size of the file's content in bytes. This field is populated for files with binary content stored in Google Drive and for Docs Editors files; it is not populated for shortcuts or folders.
*/
size?: string | null;
/**
Expand Down

0 comments on commit 885131d

Please sign in to comment.