Skip to content

Commit 069477d

Browse files
feat(drive): update the api
#### drive:v3 The following keys were added: - schemas.Drive.properties.name.annotations.required (Total Keys: 1) - schemas.TeamDrive.properties.name.annotations.required (Total Keys: 1)
1 parent c08243a commit 069477d

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

docs/dyn/drive_v3.files.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ <h2>Instance Methods</h2>
115115
<p class="firstline">Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might change automatically, such as modifiedDate. This method supports patch semantics.</p>
116116
<p class="toc_element">
117117
<code><a href="#watch">watch(fileId, acknowledgeAbuse=None, body=None, includePermissionsForView=None, supportsAllDrives=None, supportsTeamDrives=None)</a></code></p>
118-
<p class="firstline">Subscribes to changes to a file</p>
118+
<p class="firstline">Subscribes to changes to a file. While you can establish a channel forchanges to a file on a shared drive, a change to a shared drive file won't create a notification.</p>
119119
<p class="toc_element">
120120
<code><a href="#watch_media">watch_media(fileId, acknowledgeAbuse=None, body=None, includePermissionsForView=None, supportsAllDrives=None, supportsTeamDrives=None)</a></code></p>
121-
<p class="firstline">Subscribes to changes to a file</p>
121+
<p class="firstline">Subscribes to changes to a file. While you can establish a channel forchanges to a file on a shared drive, a change to a shared drive file won't create a notification.</p>
122122
<h3>Method Details</h3>
123123
<div class="method">
124124
<code class="details" id="close">close()</code>
@@ -2442,7 +2442,7 @@ <h3>Method Details</h3>
24422442

24432443
<div class="method">
24442444
<code class="details" id="watch">watch(fileId, acknowledgeAbuse=None, body=None, includePermissionsForView=None, supportsAllDrives=None, supportsTeamDrives=None)</code>
2445-
<pre>Subscribes to changes to a file
2445+
<pre>Subscribes to changes to a file. While you can establish a channel forchanges to a file on a shared drive, a change to a shared drive file won&#x27;t create a notification.
24462446

24472447
Args:
24482448
fileId: string, The ID of the file. (required)
@@ -2490,7 +2490,7 @@ <h3>Method Details</h3>
24902490

24912491
<div class="method">
24922492
<code class="details" id="watch_media">watch_media(fileId, acknowledgeAbuse=None, body=None, includePermissionsForView=None, supportsAllDrives=None, supportsTeamDrives=None)</code>
2493-
<pre>Subscribes to changes to a file
2493+
<pre>Subscribes to changes to a file. While you can establish a channel forchanges to a file on a shared drive, a change to a shared drive file won&#x27;t create a notification.
24942494

24952495
Args:
24962496
fileId: string, The ID of the file. (required)

googleapiclient/discovery_cache/documents/drive.v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
3939
"discoveryVersion": "v1",
4040
"documentationLink": "https://developers.google.com/drive/",
41-
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/nxVAmwaVO7xvSkfptpY1dgInvmw\"",
41+
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/bVc1R3p2-rm1ArVpg5cObCQ8TUU\"",
4242
"icons": {
4343
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
4444
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -3527,7 +3527,7 @@
35273527
}
35283528
}
35293529
},
3530-
"revision": "20220130",
3530+
"revision": "20220214",
35313531
"rootUrl": "https://www.googleapis.com/",
35323532
"schemas": {
35333533
"About": {

googleapiclient/discovery_cache/documents/drive.v3.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
3636
"discoveryVersion": "v1",
3737
"documentationLink": "https://developers.google.com/drive/",
38-
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/7e1FsQv8W8PFOxtkf5qHyimEcXU\"",
38+
"etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/74PJlywo-WsTK0zBGn4AI7FrihI\"",
3939
"icons": {
4040
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
4141
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -1308,7 +1308,7 @@
13081308
"supportsMediaUpload": true
13091309
},
13101310
"watch": {
1311-
"description": "Subscribes to changes to a file",
1311+
"description": "Subscribes to changes to a file. While you can establish a channel forchanges to a file on a shared drive, a change to a shared drive file won't create a notification.",
13121312
"httpMethod": "POST",
13131313
"id": "drive.files.watch",
13141314
"parameterOrder": [
@@ -2191,7 +2191,7 @@
21912191
}
21922192
}
21932193
},
2194-
"revision": "20220130",
2194+
"revision": "20220214",
21952195
"rootUrl": "https://www.googleapis.com/",
21962196
"schemas": {
21972197
"About": {
@@ -2725,6 +2725,11 @@
27252725
"type": "string"
27262726
},
27272727
"name": {
2728+
"annotations": {
2729+
"required": [
2730+
"drive.drives.create"
2731+
]
2732+
},
27282733
"description": "The name of this shared drive.",
27292734
"type": "string"
27302735
},
@@ -3900,6 +3905,11 @@
39003905
"type": "string"
39013906
},
39023907
"name": {
3908+
"annotations": {
3909+
"required": [
3910+
"drive.teamdrives.create"
3911+
]
3912+
},
39033913
"description": "The name of this Team Drive.",
39043914
"type": "string"
39053915
},

0 commit comments

Comments
 (0)