Skip to content

Commit d268edd

Browse files
feat(drive): update the api
#### drive:v3 The following keys were added: - resources.operation.methods.cancel.scopes (Total Keys: 1) - resources.operation.methods.delete.scopes (Total Keys: 1) - resources.operations.methods.list.scopes (Total Keys: 1)
1 parent f2a4bce commit d268edd

File tree

4 files changed

+35
-17
lines changed

4 files changed

+35
-17
lines changed

docs/dyn/drive_v2.revisions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157
&quot;pinned&quot;: True or False, # Whether this revision is pinned to prevent automatic purging. If not set, the revision is automatically purged 30 days after newer content is uploaded. This field can only be modified on files with content stored in Drive, excluding Docs Editors files. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
158158
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Docs Editors files.
159159
&quot;published&quot;: True or False, # Whether this revision is published. This is only populated and can only be modified for Docs Editors files.
160-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
160+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
161161
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Docs Editors files.
162162
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this revision.
163163
}</pre>
@@ -209,7 +209,7 @@ <h3>Method Details</h3>
209209
&quot;pinned&quot;: True or False, # Whether this revision is pinned to prevent automatic purging. If not set, the revision is automatically purged 30 days after newer content is uploaded. This field can only be modified on files with content stored in Drive, excluding Docs Editors files. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
210210
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Docs Editors files.
211211
&quot;published&quot;: True or False, # Whether this revision is published. This is only populated and can only be modified for Docs Editors files.
212-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
212+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
213213
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Docs Editors files.
214214
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this revision.
215215
},
@@ -271,7 +271,7 @@ <h3>Method Details</h3>
271271
&quot;pinned&quot;: True or False, # Whether this revision is pinned to prevent automatic purging. If not set, the revision is automatically purged 30 days after newer content is uploaded. This field can only be modified on files with content stored in Drive, excluding Docs Editors files. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
272272
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Docs Editors files.
273273
&quot;published&quot;: True or False, # Whether this revision is published. This is only populated and can only be modified for Docs Editors files.
274-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
274+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
275275
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Docs Editors files.
276276
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this revision.
277277
}
@@ -311,7 +311,7 @@ <h3>Method Details</h3>
311311
&quot;pinned&quot;: True or False, # Whether this revision is pinned to prevent automatic purging. If not set, the revision is automatically purged 30 days after newer content is uploaded. This field can only be modified on files with content stored in Drive, excluding Docs Editors files. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
312312
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Docs Editors files.
313313
&quot;published&quot;: True or False, # Whether this revision is published. This is only populated and can only be modified for Docs Editors files.
314-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
314+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
315315
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Docs Editors files.
316316
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this revision.
317317
}</pre>
@@ -354,7 +354,7 @@ <h3>Method Details</h3>
354354
&quot;pinned&quot;: True or False, # Whether this revision is pinned to prevent automatic purging. If not set, the revision is automatically purged 30 days after newer content is uploaded. This field can only be modified on files with content stored in Drive, excluding Docs Editors files. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
355355
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Docs Editors files.
356356
&quot;published&quot;: True or False, # Whether this revision is published. This is only populated and can only be modified for Docs Editors files.
357-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
357+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
358358
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Docs Editors files.
359359
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this revision.
360360
}
@@ -394,7 +394,7 @@ <h3>Method Details</h3>
394394
&quot;pinned&quot;: True or False, # Whether this revision is pinned to prevent automatic purging. If not set, the revision is automatically purged 30 days after newer content is uploaded. This field can only be modified on files with content stored in Drive, excluding Docs Editors files. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
395395
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Docs Editors files.
396396
&quot;published&quot;: True or False, # Whether this revision is published. This is only populated and can only be modified for Docs Editors files.
397-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
397+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
398398
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Docs Editors files.
399399
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this revision.
400400
}</pre>

docs/dyn/drive_v3.revisions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ <h3>Method Details</h3>
152152
&quot;originalFilename&quot;: &quot;A String&quot;, # Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.
153153
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.
154154
&quot;published&quot;: True or False, # Whether this revision is published. This is only applicable to Docs Editors files.
155-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
155+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
156156
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only applicable to Docs Editors files.
157157
&quot;size&quot;: &quot;A String&quot;, # Output only. The size of the revision&#x27;s content in bytes. This is only applicable to files with binary content in Drive.
158158
}</pre>
@@ -218,7 +218,7 @@ <h3>Method Details</h3>
218218
&quot;originalFilename&quot;: &quot;A String&quot;, # Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.
219219
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.
220220
&quot;published&quot;: True or False, # Whether this revision is published. This is only applicable to Docs Editors files.
221-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
221+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
222222
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only applicable to Docs Editors files.
223223
&quot;size&quot;: &quot;A String&quot;, # Output only. The size of the revision&#x27;s content in bytes. This is only applicable to files with binary content in Drive.
224224
},
@@ -271,7 +271,7 @@ <h3>Method Details</h3>
271271
&quot;originalFilename&quot;: &quot;A String&quot;, # Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.
272272
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.
273273
&quot;published&quot;: True or False, # Whether this revision is published. This is only applicable to Docs Editors files.
274-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
274+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
275275
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only applicable to Docs Editors files.
276276
&quot;size&quot;: &quot;A String&quot;, # Output only. The size of the revision&#x27;s content in bytes. This is only applicable to files with binary content in Drive.
277277
}
@@ -305,7 +305,7 @@ <h3>Method Details</h3>
305305
&quot;originalFilename&quot;: &quot;A String&quot;, # Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.
306306
&quot;publishAuto&quot;: True or False, # Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.
307307
&quot;published&quot;: True or False, # Whether this revision is published. This is only applicable to Docs Editors files.
308-
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Google Sites files.
308+
&quot;publishedLink&quot;: &quot;A String&quot;, # Output only. A link to the published revision. This is only populated for Docs Editors files.
309309
&quot;publishedOutsideDomain&quot;: True or False, # Whether this revision is published outside the domain. This is only applicable to Docs Editors files.
310310
&quot;size&quot;: &quot;A String&quot;, # Output only. The size of the revision&#x27;s content in bytes. This is only applicable to files with binary content in Drive.
311311
}</pre>

googleapiclient/discovery_cache/documents/drive.v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3869,7 +3869,7 @@
38693869
}
38703870
}
38713871
},
3872-
"revision": "20240914",
3872+
"revision": "20250122",
38733873
"rootUrl": "https://www.googleapis.com/",
38743874
"schemas": {
38753875
"About": {
@@ -6430,7 +6430,7 @@
64306430
"type": "boolean"
64316431
},
64326432
"publishedLink": {
6433-
"description": "Output only. A link to the published revision. This is only populated for Google Sites files.",
6433+
"description": "Output only. A link to the published revision. This is only populated for Docs Editors files.",
64346434
"type": "string"
64356435
},
64366436
"publishedOutsideDomain": {

googleapiclient/discovery_cache/documents/drive.v3.json

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,13 @@
18321832
"type": "string"
18331833
}
18341834
},
1835-
"path": "operation/{name}:cancel"
1835+
"path": "operation/{name}:cancel",
1836+
"scopes": [
1837+
"https://www.googleapis.com/auth/drive",
1838+
"https://www.googleapis.com/auth/drive.file",
1839+
"https://www.googleapis.com/auth/drive.meet.readonly",
1840+
"https://www.googleapis.com/auth/drive.readonly"
1841+
]
18361842
},
18371843
"delete": {
18381844
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
@@ -1850,7 +1856,13 @@
18501856
"type": "string"
18511857
}
18521858
},
1853-
"path": "operation/{name}"
1859+
"path": "operation/{name}",
1860+
"scopes": [
1861+
"https://www.googleapis.com/auth/drive",
1862+
"https://www.googleapis.com/auth/drive.file",
1863+
"https://www.googleapis.com/auth/drive.meet.readonly",
1864+
"https://www.googleapis.com/auth/drive.readonly"
1865+
]
18541866
}
18551867
}
18561868
},
@@ -1915,7 +1927,13 @@
19151927
"path": "operations",
19161928
"response": {
19171929
"$ref": "ListOperationsResponse"
1918-
}
1930+
},
1931+
"scopes": [
1932+
"https://www.googleapis.com/auth/drive",
1933+
"https://www.googleapis.com/auth/drive.file",
1934+
"https://www.googleapis.com/auth/drive.meet.readonly",
1935+
"https://www.googleapis.com/auth/drive.readonly"
1936+
]
19191937
}
19201938
}
19211939
},
@@ -2774,7 +2792,7 @@
27742792
}
27752793
}
27762794
},
2777-
"revision": "20241206",
2795+
"revision": "20250122",
27782796
"rootUrl": "https://www.googleapis.com/",
27792797
"schemas": {
27802798
"About": {
@@ -4934,7 +4952,7 @@
49344952
"type": "boolean"
49354953
},
49364954
"publishedLink": {
4937-
"description": "Output only. A link to the published revision. This is only populated for Google Sites files.",
4955+
"description": "Output only. A link to the published revision. This is only populated for Docs Editors files.",
49384956
"type": "string"
49394957
},
49404958
"publishedOutsideDomain": {

0 commit comments

Comments
 (0)