Skip to content

Commit 552c32c

Browse files
yoshi-automationquirogas
authored andcommitted
fix(drive): update the API
#### drive:v3 The following keys were changed: - resources.approvals.methods.get.scopes - resources.approvals.methods.list.scopes
1 parent d0bebc8 commit 552c32c

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

discovery/drive-v3.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,12 @@
295295
"$ref": "Approval"
296296
},
297297
"scopes": [
298-
"https://www.googleapis.com/auth/drive"
298+
"https://www.googleapis.com/auth/drive",
299+
"https://www.googleapis.com/auth/drive.appdata",
300+
"https://www.googleapis.com/auth/drive.file",
301+
"https://www.googleapis.com/auth/drive.metadata",
302+
"https://www.googleapis.com/auth/drive.metadata.readonly",
303+
"https://www.googleapis.com/auth/drive.readonly"
299304
]
300305
},
301306
"list": {
@@ -330,7 +335,12 @@
330335
"$ref": "ApprovalList"
331336
},
332337
"scopes": [
333-
"https://www.googleapis.com/auth/drive"
338+
"https://www.googleapis.com/auth/drive",
339+
"https://www.googleapis.com/auth/drive.appdata",
340+
"https://www.googleapis.com/auth/drive.file",
341+
"https://www.googleapis.com/auth/drive.metadata",
342+
"https://www.googleapis.com/auth/drive.metadata.readonly",
343+
"https://www.googleapis.com/auth/drive.readonly"
334344
]
335345
}
336346
}
@@ -2790,7 +2800,7 @@
27902800
}
27912801
}
27922802
},
2793-
"revision": "20251204",
2803+
"revision": "20251210",
27942804
"rootUrl": "https://www.googleapis.com/",
27952805
"schemas": {
27962806
"About": {

src/apis/drive/v3.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,14 @@ export namespace drive_v3 {
25172517
* async function main() {
25182518
* const auth = new google.auth.GoogleAuth({
25192519
* // Scopes can be specified either as an array or as a single, space-delimited string.
2520-
* scopes: ['https://www.googleapis.com/auth/drive'],
2520+
* scopes: [
2521+
* 'https://www.googleapis.com/auth/drive',
2522+
* 'https://www.googleapis.com/auth/drive.appdata',
2523+
* 'https://www.googleapis.com/auth/drive.file',
2524+
* 'https://www.googleapis.com/auth/drive.metadata',
2525+
* 'https://www.googleapis.com/auth/drive.metadata.readonly',
2526+
* 'https://www.googleapis.com/auth/drive.readonly',
2527+
* ],
25212528
* });
25222529
*
25232530
* // Acquire an auth client, and bind it to all future calls
@@ -2663,7 +2670,14 @@ export namespace drive_v3 {
26632670
* async function main() {
26642671
* const auth = new google.auth.GoogleAuth({
26652672
* // Scopes can be specified either as an array or as a single, space-delimited string.
2666-
* scopes: ['https://www.googleapis.com/auth/drive'],
2673+
* scopes: [
2674+
* 'https://www.googleapis.com/auth/drive',
2675+
* 'https://www.googleapis.com/auth/drive.appdata',
2676+
* 'https://www.googleapis.com/auth/drive.file',
2677+
* 'https://www.googleapis.com/auth/drive.metadata',
2678+
* 'https://www.googleapis.com/auth/drive.metadata.readonly',
2679+
* 'https://www.googleapis.com/auth/drive.readonly',
2680+
* ],
26672681
* });
26682682
*
26692683
* // Acquire an auth client, and bind it to all future calls

0 commit comments

Comments
 (0)