google-api-python-client 2.194.0__py3-none-any.whl → 2.196.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_api_python_client-2.194.0.dist-info → google_api_python_client-2.196.0.dist-info}/METADATA +1 -1
- {google_api_python_client-2.194.0.dist-info → google_api_python_client-2.196.0.dist-info}/RECORD +240 -239
- googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +10 -10
- googleapiclient/discovery_cache/documents/admin.directory_v1.json +2 -2
- googleapiclient/discovery_cache/documents/admin.directoryv1.json +2 -2
- googleapiclient/discovery_cache/documents/agentregistry.v1alpha.json +369 -6
- googleapiclient/discovery_cache/documents/aiplatform.v1.json +2058 -168
- googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +8382 -3066
- googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +51 -3
- googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +8 -6
- googleapiclient/discovery_cache/documents/alloydb.v1beta.json +8 -6
- googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +54 -3
- googleapiclient/discovery_cache/documents/analyticshub.v1.json +3 -3
- googleapiclient/discovery_cache/documents/androidenterprise.v1.json +2 -2
- googleapiclient/discovery_cache/documents/androidmanagement.v1.json +2 -2
- googleapiclient/discovery_cache/documents/androidpublisher.v3.json +2 -2
- googleapiclient/discovery_cache/documents/apigateway.v1.json +3 -3
- googleapiclient/discovery_cache/documents/apigateway.v1beta.json +3 -3
- googleapiclient/discovery_cache/documents/apihub.v1.json +3 -3
- googleapiclient/discovery_cache/documents/apim.v1alpha.json +3 -3
- googleapiclient/discovery_cache/documents/appengine.v1.json +2 -2
- googleapiclient/discovery_cache/documents/appengine.v1alpha.json +3 -3
- googleapiclient/discovery_cache/documents/appengine.v1beta.json +3 -3
- googleapiclient/discovery_cache/documents/apphub.v1.json +3 -3
- googleapiclient/discovery_cache/documents/apphub.v1alpha.json +3 -3
- googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +137 -1
- googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +137 -1
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +3 -3
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +3 -3
- googleapiclient/discovery_cache/documents/backupdr.v1.json +428 -5
- googleapiclient/discovery_cache/documents/batch.v1.json +2 -2
- googleapiclient/discovery_cache/documents/beyondcorp.v1.json +12 -12
- googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +12 -12
- googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +10 -10
- googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +3 -3
- googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +4 -43
- googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +4 -4
- googleapiclient/discovery_cache/documents/certificatemanager.v1.json +3 -3
- googleapiclient/discovery_cache/documents/ces.v1.json +254 -20
- googleapiclient/discovery_cache/documents/ces.v1beta.json +447 -37
- googleapiclient/discovery_cache/documents/chat.v1.json +87 -20
- googleapiclient/discovery_cache/documents/chromemanagement.v1.json +615 -1
- googleapiclient/discovery_cache/documents/classroom.v1.json +4 -4
- googleapiclient/discovery_cache/documents/cloudasset.v1.json +5 -5
- googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json +4 -4
- googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json +3 -3
- googleapiclient/discovery_cache/documents/clouddeploy.v1.json +3 -3
- googleapiclient/discovery_cache/documents/clouderrorreporting.v1beta1.json +66 -1
- googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +3 -3
- googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +3 -3
- googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +3 -3
- googleapiclient/discovery_cache/documents/cloudkms.v1.json +8 -4
- googleapiclient/discovery_cache/documents/cloudlocationfinder.v1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudlocationfinder.v1alpha.json +3 -3
- googleapiclient/discovery_cache/documents/cloudsearch.v1.json +10 -2
- googleapiclient/discovery_cache/documents/cloudsupport.v2.json +11 -2
- googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +11 -2
- googleapiclient/discovery_cache/documents/composer.v1beta1.json +26 -1
- googleapiclient/discovery_cache/documents/compute.alpha.json +623 -142
- googleapiclient/discovery_cache/documents/compute.beta.json +928 -61
- googleapiclient/discovery_cache/documents/compute.v1.json +3355 -836
- googleapiclient/discovery_cache/documents/config.v1.json +3 -3
- googleapiclient/discovery_cache/documents/connectors.v1.json +250 -6
- googleapiclient/discovery_cache/documents/connectors.v2.json +153 -3
- googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +3 -3
- googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +2234 -246
- googleapiclient/discovery_cache/documents/container.v1.json +184 -16
- googleapiclient/discovery_cache/documents/container.v1beta1.json +167 -16
- googleapiclient/discovery_cache/documents/containeranalysis.v1.json +211 -7
- googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +215 -9
- googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +211 -7
- googleapiclient/discovery_cache/documents/content.v2.1.json +2 -2
- googleapiclient/discovery_cache/documents/dataflow.v1b3.json +8 -3
- googleapiclient/discovery_cache/documents/dataform.v1.json +25 -15
- googleapiclient/discovery_cache/documents/dataform.v1beta1.json +25 -15
- googleapiclient/discovery_cache/documents/datalineage.v1.json +16 -14
- googleapiclient/discovery_cache/documents/datamanager.v1.json +45 -6
- googleapiclient/discovery_cache/documents/dataplex.v1.json +254 -101
- googleapiclient/discovery_cache/documents/dataproc.v1.json +58 -1
- googleapiclient/discovery_cache/documents/datastream.v1.json +10 -5
- googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +4 -4
- googleapiclient/discovery_cache/documents/developerconnect.v1.json +13 -3
- googleapiclient/discovery_cache/documents/developerknowledge.v1.json +357 -0
- googleapiclient/discovery_cache/documents/developerknowledge.v1alpha.json +149 -17
- googleapiclient/discovery_cache/documents/dialogflow.v2.json +42 -2
- googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +42 -2
- googleapiclient/discovery_cache/documents/dialogflow.v3.json +37 -1
- googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +37 -1
- googleapiclient/discovery_cache/documents/discoveryengine.v1.json +1151 -286
- googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +1113 -379
- googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +1054 -286
- googleapiclient/discovery_cache/documents/displayvideo.v2.json +67 -918
- googleapiclient/discovery_cache/documents/displayvideo.v3.json +89 -946
- googleapiclient/discovery_cache/documents/displayvideo.v4.json +71 -61
- googleapiclient/discovery_cache/documents/dlp.v2.json +2 -2
- googleapiclient/discovery_cache/documents/dns.v1.json +66 -4
- googleapiclient/discovery_cache/documents/dns.v1beta2.json +66 -4
- googleapiclient/discovery_cache/documents/docs.v1.json +50 -3
- googleapiclient/discovery_cache/documents/domains.v1.json +7 -3
- googleapiclient/discovery_cache/documents/domains.v1alpha2.json +7 -3
- googleapiclient/discovery_cache/documents/domains.v1beta1.json +7 -3
- googleapiclient/discovery_cache/documents/drive.v2.json +110 -1
- googleapiclient/discovery_cache/documents/drive.v3.json +482 -34
- googleapiclient/discovery_cache/documents/eventarc.v1.json +3 -3
- googleapiclient/discovery_cache/documents/file.v1.json +3 -3
- googleapiclient/discovery_cache/documents/file.v1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/firebaseappcheck.v1.json +34 -1
- googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json +24 -1
- googleapiclient/discovery_cache/documents/firebaseappdistribution.v1.json +22 -9
- googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +33 -3
- googleapiclient/discovery_cache/documents/firebaseapphosting.v1.json +7 -5
- googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json +89 -5
- googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json +31 -31
- googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +31 -31
- googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +5 -3
- googleapiclient/discovery_cache/documents/firestore.v1.json +25 -55
- googleapiclient/discovery_cache/documents/firestore.v1beta1.json +17 -3
- googleapiclient/discovery_cache/documents/games.v1.json +16 -1
- googleapiclient/discovery_cache/documents/gkebackup.v1.json +3 -3
- googleapiclient/discovery_cache/documents/gkehub.v1.json +33 -3
- googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +135 -11
- googleapiclient/discovery_cache/documents/gkehub.v1beta.json +135 -11
- googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +33 -3
- googleapiclient/discovery_cache/documents/gkehub.v2.json +33 -3
- googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +33 -3
- googleapiclient/discovery_cache/documents/gkehub.v2beta.json +33 -3
- googleapiclient/discovery_cache/documents/gkeonprem.v1.json +3 -3
- googleapiclient/discovery_cache/documents/gmail.v1.json +64 -64
- googleapiclient/discovery_cache/documents/health.v4.json +482 -2
- googleapiclient/discovery_cache/documents/homegraph.v1.json +126 -1
- googleapiclient/discovery_cache/documents/hypercomputecluster.v1.json +18 -9
- googleapiclient/discovery_cache/documents/iap.v1.json +2 -2
- googleapiclient/discovery_cache/documents/ids.v1.json +3 -3
- googleapiclient/discovery_cache/documents/logging.v2.json +3 -3
- googleapiclient/discovery_cache/documents/managedidentities.v1.json +2 -2
- googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json +2 -2
- googleapiclient/discovery_cache/documents/managedidentities.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/managedkafka.v1.json +4 -4
- googleapiclient/discovery_cache/documents/meet.v2.json +5 -5
- googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json +7 -5
- googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +7 -5
- googleapiclient/discovery_cache/documents/merchantapi.inventories_v1.json +18 -8
- googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json +18 -8
- googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1.json +2 -2
- googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/merchantapi.products_v1.json +426 -6
- googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +30 -7
- googleapiclient/discovery_cache/documents/merchantapi.reports_v1.json +15 -1
- googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json +15 -1
- googleapiclient/discovery_cache/documents/metastore.v1.json +2 -2
- googleapiclient/discovery_cache/documents/metastore.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/metastore.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/migrationcenter.v1.json +3 -3
- googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +3 -3
- googleapiclient/discovery_cache/documents/monitoring.v1.json +3 -3
- googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json +2 -2
- googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +7 -7
- googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +1 -7
- googleapiclient/discovery_cache/documents/netapp.v1.json +3 -3
- googleapiclient/discovery_cache/documents/netapp.v1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +3 -3
- googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +3 -3
- googleapiclient/discovery_cache/documents/networkmanagement.v1.json +40 -10
- googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +48 -10
- googleapiclient/discovery_cache/documents/networksecurity.v1.json +511 -5
- googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +511 -5
- googleapiclient/discovery_cache/documents/networkservices.v1.json +13 -3
- googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +394 -3
- googleapiclient/discovery_cache/documents/notebooks.v1.json +2 -2
- googleapiclient/discovery_cache/documents/notebooks.v2.json +22 -6
- googleapiclient/discovery_cache/documents/observability.v1.json +137 -7
- googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +6 -1
- googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +6 -1
- googleapiclient/discovery_cache/documents/oracledatabase.v1.json +45 -3
- googleapiclient/discovery_cache/documents/osconfig.v1.json +1 -286
- googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +1 -286
- googleapiclient/discovery_cache/documents/osconfig.v1beta.json +1 -133
- googleapiclient/discovery_cache/documents/osconfig.v2.json +6 -138
- googleapiclient/discovery_cache/documents/osconfig.v2beta.json +6 -138
- googleapiclient/discovery_cache/documents/parametermanager.v1.json +3 -3
- googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +21 -4
- googleapiclient/discovery_cache/documents/playdeveloperreporting.v1alpha1.json +1 -1
- googleapiclient/discovery_cache/documents/playdeveloperreporting.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/policysimulator.v1.json +6 -6
- googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +6 -6
- googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +6 -6
- googleapiclient/discovery_cache/documents/policytroubleshooter.v3beta.json +27 -2
- googleapiclient/discovery_cache/documents/pubsub.v1.json +14 -14
- googleapiclient/discovery_cache/documents/realtimebidding.v1.json +3 -2
- googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +8 -4
- googleapiclient/discovery_cache/documents/recommender.v1beta1.json +5 -5
- googleapiclient/discovery_cache/documents/redis.v1.json +41 -21
- googleapiclient/discovery_cache/documents/redis.v1beta1.json +41 -21
- googleapiclient/discovery_cache/documents/retail.v2.json +2 -2
- googleapiclient/discovery_cache/documents/retail.v2alpha.json +2 -2
- googleapiclient/discovery_cache/documents/retail.v2beta.json +2 -2
- googleapiclient/discovery_cache/documents/run.v1.json +80 -4
- googleapiclient/discovery_cache/documents/run.v2.json +186 -2
- googleapiclient/discovery_cache/documents/saasservicemgmt.v1.json +58 -21
- googleapiclient/discovery_cache/documents/saasservicemgmt.v1beta1.json +1938 -414
- googleapiclient/discovery_cache/documents/searchads360.v0.json +7246 -30
- googleapiclient/discovery_cache/documents/secretmanager.v1.json +35 -5
- googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +35 -5
- googleapiclient/discovery_cache/documents/secretmanager.v1beta2.json +35 -5
- googleapiclient/discovery_cache/documents/securitycenter.v1.json +109 -5
- googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +109 -5
- googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +109 -5
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +10 -8
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +10 -8
- googleapiclient/discovery_cache/documents/servicemanagement.v1.json +6 -6
- googleapiclient/discovery_cache/documents/servicenetworking.v1.json +10 -8
- googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +10 -8
- googleapiclient/discovery_cache/documents/serviceusage.v1.json +10 -8
- googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +10 -8
- googleapiclient/discovery_cache/documents/slides.v1.json +5 -3
- googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json +1 -16
- googleapiclient/discovery_cache/documents/spanner.v1.json +25 -25
- googleapiclient/discovery_cache/documents/storage.v1.json +7 -3
- googleapiclient/discovery_cache/documents/storagebatchoperations.v1.json +9 -3
- googleapiclient/discovery_cache/documents/threatintelligence.v1beta.json +9 -24
- googleapiclient/discovery_cache/documents/trafficdirector.v3.json +11 -1
- googleapiclient/discovery_cache/documents/vmmigration.v1.json +3 -3
- googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +3 -3
- googleapiclient/discovery_cache/documents/vmwareengine.v1.json +2 -2
- googleapiclient/discovery_cache/documents/walletobjects.v1.json +10 -1
- googleapiclient/discovery_cache/documents/workflows.v1.json +3 -3
- googleapiclient/discovery_cache/documents/workflows.v1beta.json +3 -3
- googleapiclient/discovery_cache/documents/workloadmanager.v1.json +2 -2
- googleapiclient/discovery_cache/documents/workspaceevents.v1.json +28 -8
- googleapiclient/discovery_cache/documents/workstations.v1.json +17 -8
- googleapiclient/discovery_cache/documents/workstations.v1beta.json +71 -8
- googleapiclient/discovery_cache/documents/youtube.v3.json +2 -2
- googleapiclient/discovery_cache/documents/youtubereporting.v1.json +10 -1
- googleapiclient/version.py +1 -1
- {google_api_python_client-2.194.0.dist-info → google_api_python_client-2.196.0.dist-info}/WHEEL +0 -0
- {google_api_python_client-2.194.0.dist-info → google_api_python_client-2.196.0.dist-info}/licenses/LICENSE +0 -0
- {google_api_python_client-2.194.0.dist-info → google_api_python_client-2.196.0.dist-info}/top_level.txt +0 -0
|
@@ -267,8 +267,152 @@
|
|
|
267
267
|
},
|
|
268
268
|
"approvals": {
|
|
269
269
|
"methods": {
|
|
270
|
+
"approve": {
|
|
271
|
+
"description": "Approves an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `APPROVED`. If this is the last required reviewer response, this also completes the approval and sets the approval Status to `APPROVED`.",
|
|
272
|
+
"flatPath": "files/{fileId}/approvals/{approvalId}:approve",
|
|
273
|
+
"httpMethod": "POST",
|
|
274
|
+
"id": "drive.approvals.approve",
|
|
275
|
+
"parameterOrder": [
|
|
276
|
+
"fileId",
|
|
277
|
+
"approvalId"
|
|
278
|
+
],
|
|
279
|
+
"parameters": {
|
|
280
|
+
"approvalId": {
|
|
281
|
+
"description": "Required. The ID of the approval to approve.",
|
|
282
|
+
"location": "path",
|
|
283
|
+
"required": true,
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"fileId": {
|
|
287
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
288
|
+
"location": "path",
|
|
289
|
+
"required": true,
|
|
290
|
+
"type": "string"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"path": "files/{fileId}/approvals/{approvalId}:approve",
|
|
294
|
+
"request": {
|
|
295
|
+
"$ref": "ApproveApprovalRequest"
|
|
296
|
+
},
|
|
297
|
+
"response": {
|
|
298
|
+
"$ref": "Approval"
|
|
299
|
+
},
|
|
300
|
+
"scopes": [
|
|
301
|
+
"https://www.googleapis.com/auth/drive",
|
|
302
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
303
|
+
"https://www.googleapis.com/auth/drive.metadata"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"cancel": {
|
|
307
|
+
"description": "Cancels an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Updates the approval Status to `CANCELLED`. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS`.",
|
|
308
|
+
"flatPath": "files/{fileId}/approvals/{approvalId}:cancel",
|
|
309
|
+
"httpMethod": "POST",
|
|
310
|
+
"id": "drive.approvals.cancel",
|
|
311
|
+
"parameterOrder": [
|
|
312
|
+
"fileId",
|
|
313
|
+
"approvalId"
|
|
314
|
+
],
|
|
315
|
+
"parameters": {
|
|
316
|
+
"approvalId": {
|
|
317
|
+
"description": "Required. The ID of the approval to cancel.",
|
|
318
|
+
"location": "path",
|
|
319
|
+
"required": true,
|
|
320
|
+
"type": "string"
|
|
321
|
+
},
|
|
322
|
+
"fileId": {
|
|
323
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
324
|
+
"location": "path",
|
|
325
|
+
"required": true,
|
|
326
|
+
"type": "string"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"path": "files/{fileId}/approvals/{approvalId}:cancel",
|
|
330
|
+
"request": {
|
|
331
|
+
"$ref": "CancelApprovalRequest"
|
|
332
|
+
},
|
|
333
|
+
"response": {
|
|
334
|
+
"$ref": "Approval"
|
|
335
|
+
},
|
|
336
|
+
"scopes": [
|
|
337
|
+
"https://www.googleapis.com/auth/drive",
|
|
338
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
339
|
+
"https://www.googleapis.com/auth/drive.metadata"
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
"comment": {
|
|
343
|
+
"description": "Comments on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This sends a notification to both the initiator and the reviewers. Additionally, a message is also added to the approval activity log.",
|
|
344
|
+
"flatPath": "files/{fileId}/approvals/{approvalId}:comment",
|
|
345
|
+
"httpMethod": "POST",
|
|
346
|
+
"id": "drive.approvals.comment",
|
|
347
|
+
"parameterOrder": [
|
|
348
|
+
"fileId",
|
|
349
|
+
"approvalId"
|
|
350
|
+
],
|
|
351
|
+
"parameters": {
|
|
352
|
+
"approvalId": {
|
|
353
|
+
"description": "Required. The ID of the approval to comment on.",
|
|
354
|
+
"location": "path",
|
|
355
|
+
"required": true,
|
|
356
|
+
"type": "string"
|
|
357
|
+
},
|
|
358
|
+
"fileId": {
|
|
359
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
360
|
+
"location": "path",
|
|
361
|
+
"required": true,
|
|
362
|
+
"type": "string"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"path": "files/{fileId}/approvals/{approvalId}:comment",
|
|
366
|
+
"request": {
|
|
367
|
+
"$ref": "CommentApprovalRequest"
|
|
368
|
+
},
|
|
369
|
+
"response": {
|
|
370
|
+
"$ref": "Approval"
|
|
371
|
+
},
|
|
372
|
+
"scopes": [
|
|
373
|
+
"https://www.googleapis.com/auth/drive",
|
|
374
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
375
|
+
"https://www.googleapis.com/auth/drive.metadata"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
"decline": {
|
|
379
|
+
"description": "Declines an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). This is used to update the ReviewerResponse of the requesting user with a Response of `DECLINED`. This also completes the approval and sets the approval Status to `DECLINED`.",
|
|
380
|
+
"flatPath": "files/{fileId}/approvals/{approvalId}:decline",
|
|
381
|
+
"httpMethod": "POST",
|
|
382
|
+
"id": "drive.approvals.decline",
|
|
383
|
+
"parameterOrder": [
|
|
384
|
+
"fileId",
|
|
385
|
+
"approvalId"
|
|
386
|
+
],
|
|
387
|
+
"parameters": {
|
|
388
|
+
"approvalId": {
|
|
389
|
+
"description": "Required. The ID of the approval to decline.",
|
|
390
|
+
"location": "path",
|
|
391
|
+
"required": true,
|
|
392
|
+
"type": "string"
|
|
393
|
+
},
|
|
394
|
+
"fileId": {
|
|
395
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
396
|
+
"location": "path",
|
|
397
|
+
"required": true,
|
|
398
|
+
"type": "string"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"path": "files/{fileId}/approvals/{approvalId}:decline",
|
|
402
|
+
"request": {
|
|
403
|
+
"$ref": "DeclineApprovalRequest"
|
|
404
|
+
},
|
|
405
|
+
"response": {
|
|
406
|
+
"$ref": "Approval"
|
|
407
|
+
},
|
|
408
|
+
"scopes": [
|
|
409
|
+
"https://www.googleapis.com/auth/drive",
|
|
410
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
411
|
+
"https://www.googleapis.com/auth/drive.metadata"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
270
414
|
"get": {
|
|
271
|
-
"description": "Gets an
|
|
415
|
+
"description": "Gets an approval by ID. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
|
|
272
416
|
"flatPath": "files/{fileId}/approvals/{approvalId}",
|
|
273
417
|
"httpMethod": "GET",
|
|
274
418
|
"id": "drive.approvals.get",
|
|
@@ -278,13 +422,13 @@
|
|
|
278
422
|
],
|
|
279
423
|
"parameters": {
|
|
280
424
|
"approvalId": {
|
|
281
|
-
"description": "Required. The ID of the
|
|
425
|
+
"description": "Required. The ID of the approval.",
|
|
282
426
|
"location": "path",
|
|
283
427
|
"required": true,
|
|
284
428
|
"type": "string"
|
|
285
429
|
},
|
|
286
430
|
"fileId": {
|
|
287
|
-
"description": "Required. The ID of the file the
|
|
431
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
288
432
|
"location": "path",
|
|
289
433
|
"required": true,
|
|
290
434
|
"type": "string"
|
|
@@ -304,7 +448,7 @@
|
|
|
304
448
|
]
|
|
305
449
|
},
|
|
306
450
|
"list": {
|
|
307
|
-
"description": "Lists the
|
|
451
|
+
"description": "Lists the approvals on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
|
|
308
452
|
"flatPath": "files/{fileId}/approvals",
|
|
309
453
|
"httpMethod": "GET",
|
|
310
454
|
"id": "drive.approvals.list",
|
|
@@ -313,19 +457,19 @@
|
|
|
313
457
|
],
|
|
314
458
|
"parameters": {
|
|
315
459
|
"fileId": {
|
|
316
|
-
"description": "Required. The ID of the file the
|
|
460
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
317
461
|
"location": "path",
|
|
318
462
|
"required": true,
|
|
319
463
|
"type": "string"
|
|
320
464
|
},
|
|
321
465
|
"pageSize": {
|
|
322
|
-
"description": "The maximum number of
|
|
466
|
+
"description": "The maximum number of approvals to return. When not set, at most 100 approvals are returned.",
|
|
323
467
|
"format": "int32",
|
|
324
468
|
"location": "query",
|
|
325
469
|
"type": "integer"
|
|
326
470
|
},
|
|
327
471
|
"pageToken": {
|
|
328
|
-
"description": "The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from a previous response.",
|
|
472
|
+
"description": "The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.",
|
|
329
473
|
"location": "query",
|
|
330
474
|
"type": "string"
|
|
331
475
|
}
|
|
@@ -342,6 +486,71 @@
|
|
|
342
486
|
"https://www.googleapis.com/auth/drive.metadata.readonly",
|
|
343
487
|
"https://www.googleapis.com/auth/drive.readonly"
|
|
344
488
|
]
|
|
489
|
+
},
|
|
490
|
+
"reassign": {
|
|
491
|
+
"description": "Reassigns the reviewers on an approval. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals). Adds or replaces reviewers in the ReviewerResponse of the approval. This can be called by any user with the `writer` permission on the file while the approval Status is `IN_PROGRESS` and the Response for the reviewer being reassigned is `NO_RESPONSE`. A user with the `reader` permission can only reassign an approval that's assigned to themselves. Removing a reviewer isn't allowed.",
|
|
492
|
+
"flatPath": "files/{fileId}/approvals/{approvalId}:reassign",
|
|
493
|
+
"httpMethod": "POST",
|
|
494
|
+
"id": "drive.approvals.reassign",
|
|
495
|
+
"parameterOrder": [
|
|
496
|
+
"fileId",
|
|
497
|
+
"approvalId"
|
|
498
|
+
],
|
|
499
|
+
"parameters": {
|
|
500
|
+
"approvalId": {
|
|
501
|
+
"description": "Required. The ID of the approval to reassign.",
|
|
502
|
+
"location": "path",
|
|
503
|
+
"required": true,
|
|
504
|
+
"type": "string"
|
|
505
|
+
},
|
|
506
|
+
"fileId": {
|
|
507
|
+
"description": "Required. The ID of the file that the approval is on.",
|
|
508
|
+
"location": "path",
|
|
509
|
+
"required": true,
|
|
510
|
+
"type": "string"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"path": "files/{fileId}/approvals/{approvalId}:reassign",
|
|
514
|
+
"request": {
|
|
515
|
+
"$ref": "ReassignApprovalRequest"
|
|
516
|
+
},
|
|
517
|
+
"response": {
|
|
518
|
+
"$ref": "Approval"
|
|
519
|
+
},
|
|
520
|
+
"scopes": [
|
|
521
|
+
"https://www.googleapis.com/auth/drive",
|
|
522
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
523
|
+
"https://www.googleapis.com/auth/drive.metadata"
|
|
524
|
+
]
|
|
525
|
+
},
|
|
526
|
+
"start": {
|
|
527
|
+
"description": "Starts an approval on a file. For more information, see [Manage approvals](https://developers.google.com/workspace/drive/api/guides/approvals).",
|
|
528
|
+
"flatPath": "files/{fileId}/approvals:start",
|
|
529
|
+
"httpMethod": "POST",
|
|
530
|
+
"id": "drive.approvals.start",
|
|
531
|
+
"parameterOrder": [
|
|
532
|
+
"fileId"
|
|
533
|
+
],
|
|
534
|
+
"parameters": {
|
|
535
|
+
"fileId": {
|
|
536
|
+
"description": "Required. The ID of the file that the approval is created on.",
|
|
537
|
+
"location": "path",
|
|
538
|
+
"required": true,
|
|
539
|
+
"type": "string"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"path": "files/{fileId}/approvals:start",
|
|
543
|
+
"request": {
|
|
544
|
+
"$ref": "StartApprovalRequest"
|
|
545
|
+
},
|
|
546
|
+
"response": {
|
|
547
|
+
"$ref": "Approval"
|
|
548
|
+
},
|
|
549
|
+
"scopes": [
|
|
550
|
+
"https://www.googleapis.com/auth/drive",
|
|
551
|
+
"https://www.googleapis.com/auth/drive.file",
|
|
552
|
+
"https://www.googleapis.com/auth/drive.metadata"
|
|
553
|
+
]
|
|
345
554
|
}
|
|
346
555
|
}
|
|
347
556
|
},
|
|
@@ -1431,6 +1640,32 @@
|
|
|
1431
1640
|
"supportsMediaDownload": true,
|
|
1432
1641
|
"useMediaDownloadService": true
|
|
1433
1642
|
},
|
|
1643
|
+
"generateCseToken": {
|
|
1644
|
+
"description": "Generates a CSE token which can be used to create or update CSE files.",
|
|
1645
|
+
"flatPath": "files/generateCseToken",
|
|
1646
|
+
"httpMethod": "GET",
|
|
1647
|
+
"id": "drive.files.generateCseToken",
|
|
1648
|
+
"parameterOrder": [],
|
|
1649
|
+
"parameters": {
|
|
1650
|
+
"fileId": {
|
|
1651
|
+
"description": "The ID of the file for which the JWT should be generated. If not provided, an id will be generated.",
|
|
1652
|
+
"location": "query",
|
|
1653
|
+
"type": "string"
|
|
1654
|
+
},
|
|
1655
|
+
"parent": {
|
|
1656
|
+
"description": "The ID of the expected parent of the file. Used when generating a JWT for a new CSE file. If specified, the parent will be fetched, and if the parent is a shared drive item, the shared drive's policy will be used to determine the KACLS that should be used. It is invalid to specify both file_id and parent in a single request.",
|
|
1657
|
+
"location": "query",
|
|
1658
|
+
"type": "string"
|
|
1659
|
+
}
|
|
1660
|
+
},
|
|
1661
|
+
"path": "files/generateCseToken",
|
|
1662
|
+
"response": {
|
|
1663
|
+
"$ref": "GenerateCseTokenResponse"
|
|
1664
|
+
},
|
|
1665
|
+
"scopes": [
|
|
1666
|
+
"https://www.googleapis.com/auth/drive"
|
|
1667
|
+
]
|
|
1668
|
+
},
|
|
1434
1669
|
"generateIds": {
|
|
1435
1670
|
"description": "Generates a set of file IDs which can be provided in create or copy requests. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).",
|
|
1436
1671
|
"flatPath": "files/generateIds",
|
|
@@ -1588,13 +1823,13 @@
|
|
|
1588
1823
|
"type": "boolean"
|
|
1589
1824
|
},
|
|
1590
1825
|
"orderBy": {
|
|
1591
|
-
"description": "A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. Avoid using this key for queries on large item collections as it might result in timeouts or other issues. For time-related sorting on large item collections, use `modifiedTime` instead. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * `modifiedByMeTime`: The last time the file was modified by the user. * `modifiedTime`: The last time the file was modified by anyone. * `name`: The name of the file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was shared with the user, if applicable. * `starred`: Whether the user has starred the file. * `viewedByMeTime`: The last time the file was viewed by the user. Each key sorts ascending by default, but can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,modifiedTime desc,name`.",
|
|
1826
|
+
"description": "A comma-separated list of sort keys. Valid keys are: * `createdTime`: When the file was created. Avoid using this key for queries on large item collections as it might result in timeouts or other issues. For time-related sorting on large item collections, use `modifiedTime desc` instead. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * `modifiedByMeTime`: The last time the file was modified by the user. * `modifiedTime`: The last time the file was modified by anyone. * `name`: The name of the file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `name_natural`: The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most recent timestamp from the file's date-time fields. * `sharedWithMeTime`: When the file was shared with the user, if applicable. * `starred`: Whether the user has starred the file. * `viewedByMeTime`: The last time the file was viewed by the user. Each key sorts ascending by default, but can be reversed with the `desc` modifier. Example usage: `?orderBy=folder,modifiedTime desc,name`.",
|
|
1592
1827
|
"location": "query",
|
|
1593
1828
|
"type": "string"
|
|
1594
1829
|
},
|
|
1595
1830
|
"pageSize": {
|
|
1596
1831
|
"default": "100",
|
|
1597
|
-
"description": "The maximum number of files to return per page.
|
|
1832
|
+
"description": "The maximum number of files to return per page. Pages may be partial or empty even before reaching the end of the file list. If unspecified, at most 100 files are returned for shared drives, and the entire list of files for non-shared drives. The maximum value is 100; values above 100 are changed to 100.",
|
|
1598
1833
|
"format": "int32",
|
|
1599
1834
|
"location": "query",
|
|
1600
1835
|
"maximum": "1000",
|
|
@@ -2803,7 +3038,7 @@
|
|
|
2803
3038
|
}
|
|
2804
3039
|
}
|
|
2805
3040
|
},
|
|
2806
|
-
"revision": "
|
|
3041
|
+
"revision": "20260428",
|
|
2807
3042
|
"rootUrl": "https://www.googleapis.com/",
|
|
2808
3043
|
"schemas": {
|
|
2809
3044
|
"About": {
|
|
@@ -3001,6 +3236,17 @@
|
|
|
3001
3236
|
},
|
|
3002
3237
|
"type": "object"
|
|
3003
3238
|
},
|
|
3239
|
+
"AddReviewer": {
|
|
3240
|
+
"description": "Representation of a reviewer addition.",
|
|
3241
|
+
"id": "AddReviewer",
|
|
3242
|
+
"properties": {
|
|
3243
|
+
"addedReviewerEmail": {
|
|
3244
|
+
"description": "Required. The email of the reviewer to add.",
|
|
3245
|
+
"type": "string"
|
|
3246
|
+
}
|
|
3247
|
+
},
|
|
3248
|
+
"type": "object"
|
|
3249
|
+
},
|
|
3004
3250
|
"App": {
|
|
3005
3251
|
"description": "The `apps` resource provides a list of apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details. Some resource methods (such as `apps.get`) require an `appId`. Use the `apps.list` method to retrieve the ID for an installed application.",
|
|
3006
3252
|
"id": "App",
|
|
@@ -3170,11 +3416,11 @@
|
|
|
3170
3416
|
"type": "object"
|
|
3171
3417
|
},
|
|
3172
3418
|
"Approval": {
|
|
3173
|
-
"description": "Metadata for an approval. An approval is a review
|
|
3419
|
+
"description": "Metadata for an approval. An approval is a review or approve process for a Drive item.",
|
|
3174
3420
|
"id": "Approval",
|
|
3175
3421
|
"properties": {
|
|
3176
3422
|
"approvalId": {
|
|
3177
|
-
"description": "The
|
|
3423
|
+
"description": "The approval ID.",
|
|
3178
3424
|
"type": "string"
|
|
3179
3425
|
},
|
|
3180
3426
|
"completeTime": {
|
|
@@ -3196,7 +3442,7 @@
|
|
|
3196
3442
|
},
|
|
3197
3443
|
"initiator": {
|
|
3198
3444
|
"$ref": "User",
|
|
3199
|
-
"description": "The user that requested the
|
|
3445
|
+
"description": "The user that requested the approval."
|
|
3200
3446
|
},
|
|
3201
3447
|
"kind": {
|
|
3202
3448
|
"description": "This is always drive#approval.",
|
|
@@ -3209,7 +3455,7 @@
|
|
|
3209
3455
|
"type": "string"
|
|
3210
3456
|
},
|
|
3211
3457
|
"reviewerResponses": {
|
|
3212
|
-
"description": "The responses made on the
|
|
3458
|
+
"description": "The responses made on the approval by reviewers.",
|
|
3213
3459
|
"items": {
|
|
3214
3460
|
"$ref": "ReviewerResponse"
|
|
3215
3461
|
},
|
|
@@ -3225,7 +3471,7 @@
|
|
|
3225
3471
|
"DECLINED"
|
|
3226
3472
|
],
|
|
3227
3473
|
"enumDescriptions": [
|
|
3228
|
-
"
|
|
3474
|
+
"The approval status has not been set or was set to an invalid value.",
|
|
3229
3475
|
"The approval process has started and not finished.",
|
|
3230
3476
|
"The approval process is finished and the target was approved.",
|
|
3231
3477
|
"The approval process was cancelled before it finished.",
|
|
@@ -3242,11 +3488,11 @@
|
|
|
3242
3488
|
"type": "object"
|
|
3243
3489
|
},
|
|
3244
3490
|
"ApprovalList": {
|
|
3245
|
-
"description": "The response of an
|
|
3491
|
+
"description": "The response of an approvals list request.",
|
|
3246
3492
|
"id": "ApprovalList",
|
|
3247
3493
|
"properties": {
|
|
3248
3494
|
"items": {
|
|
3249
|
-
"description": "The list of
|
|
3495
|
+
"description": "The list of approvals. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched.",
|
|
3250
3496
|
"items": {
|
|
3251
3497
|
"$ref": "Approval"
|
|
3252
3498
|
},
|
|
@@ -3257,7 +3503,29 @@
|
|
|
3257
3503
|
"type": "string"
|
|
3258
3504
|
},
|
|
3259
3505
|
"nextPageToken": {
|
|
3260
|
-
"description": "The page token for the next page of
|
|
3506
|
+
"description": "The page token for the next page of approvals. This is absent if the end of the approvals list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.",
|
|
3507
|
+
"type": "string"
|
|
3508
|
+
}
|
|
3509
|
+
},
|
|
3510
|
+
"type": "object"
|
|
3511
|
+
},
|
|
3512
|
+
"ApproveApprovalRequest": {
|
|
3513
|
+
"description": "Request for approving an approval as a reviewer.",
|
|
3514
|
+
"id": "ApproveApprovalRequest",
|
|
3515
|
+
"properties": {
|
|
3516
|
+
"message": {
|
|
3517
|
+
"description": "Optional. A message to accompany the reviewer response on the approval. This message is included in notifications for the action and in the approval activity log.",
|
|
3518
|
+
"type": "string"
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3521
|
+
"type": "object"
|
|
3522
|
+
},
|
|
3523
|
+
"CancelApprovalRequest": {
|
|
3524
|
+
"description": "Request for cancelling an approval as an initiator.",
|
|
3525
|
+
"id": "CancelApprovalRequest",
|
|
3526
|
+
"properties": {
|
|
3527
|
+
"message": {
|
|
3528
|
+
"description": "Optional. A message to accompany the cancellation of the approval. This message is included in notifications for the action and in the approval activity log.",
|
|
3261
3529
|
"type": "string"
|
|
3262
3530
|
}
|
|
3263
3531
|
},
|
|
@@ -3398,6 +3666,21 @@
|
|
|
3398
3666
|
},
|
|
3399
3667
|
"type": "object"
|
|
3400
3668
|
},
|
|
3669
|
+
"ClientEncryptionDetails": {
|
|
3670
|
+
"description": "Details about the client-side encryption applied to the file.",
|
|
3671
|
+
"id": "ClientEncryptionDetails",
|
|
3672
|
+
"properties": {
|
|
3673
|
+
"decryptionMetadata": {
|
|
3674
|
+
"$ref": "DecryptionMetadata",
|
|
3675
|
+
"description": "The metadata used for client-side operations."
|
|
3676
|
+
},
|
|
3677
|
+
"encryptionState": {
|
|
3678
|
+
"description": "The encryption state of the file. The values expected here are: - encrypted - unencrypted ",
|
|
3679
|
+
"type": "string"
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
"type": "object"
|
|
3683
|
+
},
|
|
3401
3684
|
"Comment": {
|
|
3402
3685
|
"description": "A comment on a file. Some resource methods (such as `comments.update`) require a `commentId`. Use the `comments.list` method to retrieve the ID for a comment in a file.",
|
|
3403
3686
|
"id": "Comment",
|
|
@@ -3488,6 +3771,17 @@
|
|
|
3488
3771
|
},
|
|
3489
3772
|
"type": "object"
|
|
3490
3773
|
},
|
|
3774
|
+
"CommentApprovalRequest": {
|
|
3775
|
+
"description": "Request for commenting on an approval.",
|
|
3776
|
+
"id": "CommentApprovalRequest",
|
|
3777
|
+
"properties": {
|
|
3778
|
+
"message": {
|
|
3779
|
+
"description": "Required. A message to comment on the approval. This message is included in notifications for the action and in the approval activity log.",
|
|
3780
|
+
"type": "string"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
"type": "object"
|
|
3784
|
+
},
|
|
3491
3785
|
"CommentList": {
|
|
3492
3786
|
"description": "A list of comments on a file.",
|
|
3493
3787
|
"id": "CommentList",
|
|
@@ -3547,6 +3841,53 @@
|
|
|
3547
3841
|
},
|
|
3548
3842
|
"type": "object"
|
|
3549
3843
|
},
|
|
3844
|
+
"DeclineApprovalRequest": {
|
|
3845
|
+
"description": "Request for declining an approval as a reviewer.",
|
|
3846
|
+
"id": "DeclineApprovalRequest",
|
|
3847
|
+
"properties": {
|
|
3848
|
+
"message": {
|
|
3849
|
+
"description": "Optional. A message to accompany the reviewer response on the approval. This message is included in notifications for the action and in the approval activity log.",
|
|
3850
|
+
"type": "string"
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
"type": "object"
|
|
3854
|
+
},
|
|
3855
|
+
"DecryptionMetadata": {
|
|
3856
|
+
"description": "Representation of the CSE DecryptionMetadata.",
|
|
3857
|
+
"id": "DecryptionMetadata",
|
|
3858
|
+
"properties": {
|
|
3859
|
+
"aes256GcmChunkSize": {
|
|
3860
|
+
"description": "Chunk size used if content was encrypted with the AES 256 GCM Cipher. Possible values are: - default - small ",
|
|
3861
|
+
"type": "string"
|
|
3862
|
+
},
|
|
3863
|
+
"encryptionResourceKeyHash": {
|
|
3864
|
+
"description": "The URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with its DEK (Data Encryption Key); see https://developers.google.com/workspace/cse/reference",
|
|
3865
|
+
"type": "string"
|
|
3866
|
+
},
|
|
3867
|
+
"jwt": {
|
|
3868
|
+
"description": "The signed JSON Web Token (JWT) which can be used to authorize the requesting user with the Key ACL Service (KACLS). The JWT asserts that the requesting user has at least read permissions on the file.",
|
|
3869
|
+
"type": "string"
|
|
3870
|
+
},
|
|
3871
|
+
"kaclsId": {
|
|
3872
|
+
"description": "The ID of the KACLS (Key ACL Service) used to encrypt the file.",
|
|
3873
|
+
"format": "int64",
|
|
3874
|
+
"type": "string"
|
|
3875
|
+
},
|
|
3876
|
+
"kaclsName": {
|
|
3877
|
+
"description": "The name of the KACLS (Key ACL Service) used to encrypt the file.",
|
|
3878
|
+
"type": "string"
|
|
3879
|
+
},
|
|
3880
|
+
"keyFormat": {
|
|
3881
|
+
"description": "Key format for the unwrapped key. Must be `tinkAesGcmKey`.",
|
|
3882
|
+
"type": "string"
|
|
3883
|
+
},
|
|
3884
|
+
"wrappedKey": {
|
|
3885
|
+
"description": "The URL-safe Base64 encoded wrapped key used to encrypt the contents of the file.",
|
|
3886
|
+
"type": "string"
|
|
3887
|
+
}
|
|
3888
|
+
},
|
|
3889
|
+
"type": "object"
|
|
3890
|
+
},
|
|
3550
3891
|
"DownloadRestriction": {
|
|
3551
3892
|
"description": "A restriction for copy and download of the file.",
|
|
3552
3893
|
"id": "DownloadRestriction",
|
|
@@ -3556,7 +3897,7 @@
|
|
|
3556
3897
|
"type": "boolean"
|
|
3557
3898
|
},
|
|
3558
3899
|
"restrictedForWriters": {
|
|
3559
|
-
"description": "Whether download and copy is restricted for writers. If
|
|
3900
|
+
"description": "Whether download and copy is restricted for writers. If true, download is also restricted for readers.",
|
|
3560
3901
|
"type": "boolean"
|
|
3561
3902
|
}
|
|
3562
3903
|
},
|
|
@@ -3977,6 +4318,10 @@
|
|
|
3977
4318
|
"description": "Output only. Whether the current user can modify the sharing settings for this file.",
|
|
3978
4319
|
"type": "boolean"
|
|
3979
4320
|
},
|
|
4321
|
+
"canStartApproval": {
|
|
4322
|
+
"description": "Whether the current user can start an approval on the file.",
|
|
4323
|
+
"type": "boolean"
|
|
4324
|
+
},
|
|
3980
4325
|
"canTrash": {
|
|
3981
4326
|
"description": "Output only. Whether the current user can move this file to trash.",
|
|
3982
4327
|
"type": "boolean"
|
|
@@ -3992,6 +4337,10 @@
|
|
|
3992
4337
|
},
|
|
3993
4338
|
"type": "object"
|
|
3994
4339
|
},
|
|
4340
|
+
"clientEncryptionDetails": {
|
|
4341
|
+
"$ref": "ClientEncryptionDetails",
|
|
4342
|
+
"description": "Client Side Encryption related details. Contains details about the encryption state of the file and details regarding the encryption mechanism that clients need to use when decrypting the contents of this item. This will only be present on files and not on folders or shortcuts."
|
|
4343
|
+
},
|
|
3995
4344
|
"contentHints": {
|
|
3996
4345
|
"description": "Additional information about the content of the file. These fields are never populated in responses.",
|
|
3997
4346
|
"properties": {
|
|
@@ -4220,7 +4569,7 @@
|
|
|
4220
4569
|
"type": "string"
|
|
4221
4570
|
},
|
|
4222
4571
|
"labelInfo": {
|
|
4223
|
-
"description": "
|
|
4572
|
+
"description": "Label information on the file.",
|
|
4224
4573
|
"properties": {
|
|
4225
4574
|
"labels": {
|
|
4226
4575
|
"description": "Output only. The set of labels on the file as requested by the label IDs in the `includeLabels` parameter. By default, no labels are returned.",
|
|
@@ -4350,7 +4699,7 @@
|
|
|
4350
4699
|
"description": "Output only. The user who shared the file with the requesting user, if applicable."
|
|
4351
4700
|
},
|
|
4352
4701
|
"shortcutDetails": {
|
|
4353
|
-
"description": "
|
|
4702
|
+
"description": "Information about a shortcut file.",
|
|
4354
4703
|
"properties": {
|
|
4355
4704
|
"targetId": {
|
|
4356
4705
|
"description": "The ID of the file that this shortcut points to. Can only be set on `files.create` requests.",
|
|
@@ -4398,7 +4747,7 @@
|
|
|
4398
4747
|
"type": "string"
|
|
4399
4748
|
},
|
|
4400
4749
|
"trashed": {
|
|
4401
|
-
"description": "Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file,
|
|
4750
|
+
"description": "Whether the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may trash a file, but other users can still access the file in the owner's trash until it's permanently deleted.",
|
|
4402
4751
|
"type": "boolean"
|
|
4403
4752
|
},
|
|
4404
4753
|
"trashedTime": {
|
|
@@ -4492,6 +4841,34 @@
|
|
|
4492
4841
|
},
|
|
4493
4842
|
"type": "object"
|
|
4494
4843
|
},
|
|
4844
|
+
"GenerateCseTokenResponse": {
|
|
4845
|
+
"description": "JWT and associated metadata used to generate CSE files.",
|
|
4846
|
+
"id": "GenerateCseTokenResponse",
|
|
4847
|
+
"properties": {
|
|
4848
|
+
"currentKaclsId": {
|
|
4849
|
+
"description": "The current Key ACL Service (KACLS) ID associated with the JWT.",
|
|
4850
|
+
"format": "int64",
|
|
4851
|
+
"type": "string"
|
|
4852
|
+
},
|
|
4853
|
+
"currentKaclsName": {
|
|
4854
|
+
"description": "Name of the KACLs that the returned KACLs ID points to.",
|
|
4855
|
+
"type": "string"
|
|
4856
|
+
},
|
|
4857
|
+
"fileId": {
|
|
4858
|
+
"description": "The fileId for which the JWT was generated.",
|
|
4859
|
+
"type": "string"
|
|
4860
|
+
},
|
|
4861
|
+
"jwt": {
|
|
4862
|
+
"description": "The signed JSON Web Token (JWT) for the file.",
|
|
4863
|
+
"type": "string"
|
|
4864
|
+
},
|
|
4865
|
+
"kind": {
|
|
4866
|
+
"description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#generateCseTokenResponse\"`.",
|
|
4867
|
+
"type": "string"
|
|
4868
|
+
}
|
|
4869
|
+
},
|
|
4870
|
+
"type": "object"
|
|
4871
|
+
},
|
|
4495
4872
|
"GeneratedIds": {
|
|
4496
4873
|
"description": "A list of generated file IDs which can be provided in create requests.",
|
|
4497
4874
|
"id": "GeneratedIds",
|
|
@@ -4812,11 +5189,13 @@
|
|
|
4812
5189
|
"type": "string"
|
|
4813
5190
|
},
|
|
4814
5191
|
"domain": {
|
|
4815
|
-
"description": "The domain to which this permission refers.",
|
|
5192
|
+
"description": "Output only. The domain to which this permission refers.",
|
|
5193
|
+
"readOnly": true,
|
|
4816
5194
|
"type": "string"
|
|
4817
5195
|
},
|
|
4818
5196
|
"emailAddress": {
|
|
4819
|
-
"description": "The email address of the user or group to which this permission refers.",
|
|
5197
|
+
"description": "Output only. The email address of the user or group to which this permission refers.",
|
|
5198
|
+
"readOnly": true,
|
|
4820
5199
|
"type": "string"
|
|
4821
5200
|
},
|
|
4822
5201
|
"expirationTime": {
|
|
@@ -4851,6 +5230,7 @@
|
|
|
4851
5230
|
},
|
|
4852
5231
|
"inheritedFrom": {
|
|
4853
5232
|
"description": "Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.",
|
|
5233
|
+
"readOnly": true,
|
|
4854
5234
|
"type": "string"
|
|
4855
5235
|
},
|
|
4856
5236
|
"permissionType": {
|
|
@@ -4950,6 +5330,46 @@
|
|
|
4950
5330
|
},
|
|
4951
5331
|
"type": "object"
|
|
4952
5332
|
},
|
|
5333
|
+
"ReassignApprovalRequest": {
|
|
5334
|
+
"description": "Request for reassigning an approval. Reviewers can be added or replaced, but not removed.",
|
|
5335
|
+
"id": "ReassignApprovalRequest",
|
|
5336
|
+
"properties": {
|
|
5337
|
+
"addReviewers": {
|
|
5338
|
+
"description": "Optional. The list of reviewers to add.",
|
|
5339
|
+
"items": {
|
|
5340
|
+
"$ref": "AddReviewer"
|
|
5341
|
+
},
|
|
5342
|
+
"type": "array"
|
|
5343
|
+
},
|
|
5344
|
+
"message": {
|
|
5345
|
+
"description": "Optional. A message to send to the new reviewers. This message is included in notifications for the action and in the approval activity log.",
|
|
5346
|
+
"type": "string"
|
|
5347
|
+
},
|
|
5348
|
+
"replaceReviewers": {
|
|
5349
|
+
"description": "Optional. The list of reviewer replacements.",
|
|
5350
|
+
"items": {
|
|
5351
|
+
"$ref": "ReplaceReviewer"
|
|
5352
|
+
},
|
|
5353
|
+
"type": "array"
|
|
5354
|
+
}
|
|
5355
|
+
},
|
|
5356
|
+
"type": "object"
|
|
5357
|
+
},
|
|
5358
|
+
"ReplaceReviewer": {
|
|
5359
|
+
"description": "Representation of a reviewer replacement.",
|
|
5360
|
+
"id": "ReplaceReviewer",
|
|
5361
|
+
"properties": {
|
|
5362
|
+
"addedReviewerEmail": {
|
|
5363
|
+
"description": "Required. The email of the reviewer to add.",
|
|
5364
|
+
"type": "string"
|
|
5365
|
+
},
|
|
5366
|
+
"removedReviewerEmail": {
|
|
5367
|
+
"description": "Required. The email of the reviewer to remove.",
|
|
5368
|
+
"type": "string"
|
|
5369
|
+
}
|
|
5370
|
+
},
|
|
5371
|
+
"type": "object"
|
|
5372
|
+
},
|
|
4953
5373
|
"Reply": {
|
|
4954
5374
|
"description": "A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.",
|
|
4955
5375
|
"id": "Reply",
|
|
@@ -5074,7 +5494,7 @@
|
|
|
5074
5494
|
"type": "object"
|
|
5075
5495
|
},
|
|
5076
5496
|
"ReviewerResponse": {
|
|
5077
|
-
"description": "A response on an
|
|
5497
|
+
"description": "A response on an approval made by a specific reviewer.",
|
|
5078
5498
|
"id": "ReviewerResponse",
|
|
5079
5499
|
"properties": {
|
|
5080
5500
|
"kind": {
|
|
@@ -5082,7 +5502,7 @@
|
|
|
5082
5502
|
"type": "string"
|
|
5083
5503
|
},
|
|
5084
5504
|
"response": {
|
|
5085
|
-
"description": "A
|
|
5505
|
+
"description": "A reviewer\u2019s response for the approval.",
|
|
5086
5506
|
"enum": [
|
|
5087
5507
|
"RESPONSE_UNSPECIFIED",
|
|
5088
5508
|
"NO_RESPONSE",
|
|
@@ -5090,16 +5510,16 @@
|
|
|
5090
5510
|
"DECLINED"
|
|
5091
5511
|
],
|
|
5092
5512
|
"enumDescriptions": [
|
|
5093
|
-
"
|
|
5094
|
-
"The reviewer
|
|
5095
|
-
"The
|
|
5096
|
-
"The
|
|
5513
|
+
"The response was set to an unrecognized value.",
|
|
5514
|
+
"The reviewer hasn't responded.",
|
|
5515
|
+
"The reviewer has approved the item.",
|
|
5516
|
+
"The reviewer has declined the item."
|
|
5097
5517
|
],
|
|
5098
5518
|
"type": "string"
|
|
5099
5519
|
},
|
|
5100
5520
|
"reviewer": {
|
|
5101
5521
|
"$ref": "User",
|
|
5102
|
-
"description": "The user that
|
|
5522
|
+
"description": "The user that's responsible for this response."
|
|
5103
5523
|
}
|
|
5104
5524
|
},
|
|
5105
5525
|
"type": "object"
|
|
@@ -5196,6 +5616,33 @@
|
|
|
5196
5616
|
},
|
|
5197
5617
|
"type": "object"
|
|
5198
5618
|
},
|
|
5619
|
+
"StartApprovalRequest": {
|
|
5620
|
+
"description": "Allows creating an approval on a file.",
|
|
5621
|
+
"id": "StartApprovalRequest",
|
|
5622
|
+
"properties": {
|
|
5623
|
+
"dueTime": {
|
|
5624
|
+
"description": "Optional. The time that the approval is due.",
|
|
5625
|
+
"format": "google-datetime",
|
|
5626
|
+
"type": "string"
|
|
5627
|
+
},
|
|
5628
|
+
"lockFile": {
|
|
5629
|
+
"description": "Optional. Whether to lock the file when starting the approval.",
|
|
5630
|
+
"type": "boolean"
|
|
5631
|
+
},
|
|
5632
|
+
"message": {
|
|
5633
|
+
"description": "Optional. A message to send to reviewers when notifying them of the approval request.",
|
|
5634
|
+
"type": "string"
|
|
5635
|
+
},
|
|
5636
|
+
"reviewerEmails": {
|
|
5637
|
+
"description": "Required. The emails of the users who are set to review the approval.",
|
|
5638
|
+
"items": {
|
|
5639
|
+
"type": "string"
|
|
5640
|
+
},
|
|
5641
|
+
"type": "array"
|
|
5642
|
+
}
|
|
5643
|
+
},
|
|
5644
|
+
"type": "object"
|
|
5645
|
+
},
|
|
5199
5646
|
"StartPageToken": {
|
|
5200
5647
|
"id": "StartPageToken",
|
|
5201
5648
|
"properties": {
|
|
@@ -5239,11 +5686,11 @@
|
|
|
5239
5686
|
"type": "object"
|
|
5240
5687
|
},
|
|
5241
5688
|
"TeamDrive": {
|
|
5242
|
-
"description": "Deprecated: use the drive collection instead.",
|
|
5689
|
+
"description": "Deprecated: use the drive collection instead. Next ID: 33",
|
|
5243
5690
|
"id": "TeamDrive",
|
|
5244
5691
|
"properties": {
|
|
5245
5692
|
"backgroundImageFile": {
|
|
5246
|
-
"description": "
|
|
5693
|
+
"description": "The background image file for a Team Drive.",
|
|
5247
5694
|
"properties": {
|
|
5248
5695
|
"id": {
|
|
5249
5696
|
"description": "The ID of an image file in Drive to use for the background image.",
|
|
@@ -5287,7 +5734,8 @@
|
|
|
5287
5734
|
"type": "boolean"
|
|
5288
5735
|
},
|
|
5289
5736
|
"canChangeDownloadRestriction": {
|
|
5290
|
-
"description": "Whether the current user can change organizer-applied download restrictions of this shared drive.",
|
|
5737
|
+
"description": "Output only. Whether the current user can change organizer-applied download restrictions of this shared drive.",
|
|
5738
|
+
"readOnly": true,
|
|
5291
5739
|
"type": "boolean"
|
|
5292
5740
|
},
|
|
5293
5741
|
"canChangeSharingFoldersRequiresOrganizerPermissionRestriction": {
|