Skip to content

Commit c890a3c

Browse files
feat(drive): update the api
#### drive:v2 The following keys were added: - schemas.About.properties.canCreateTeamDrives.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.items.properties.backgroundImageLink.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.items.properties.colorRgb.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.items.properties.id.deprecated (Total Keys: 1) - schemas.Change.properties.teamDrive.deprecated (Total Keys: 1) - schemas.Change.properties.teamDriveId.deprecated (Total Keys: 1) - schemas.Change.properties.type.deprecated (Total Keys: 1) - schemas.File.properties.canComment.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canChangeRestrictedDownload.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveChildrenOutOfTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveChildrenWithinTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveItemIntoTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveItemOutOfTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveItemWithinTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveTeamDriveItem.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canReadTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.copyable.deprecated (Total Keys: 1) - schemas.File.properties.editable.deprecated (Total Keys: 1) - schemas.File.properties.labels.properties.hidden.deprecated (Total Keys: 1) - schemas.File.properties.labels.properties.restricted.deprecated (Total Keys: 1) - schemas.File.properties.shareable.deprecated (Total Keys: 1) - schemas.File.properties.teamDriveId.deprecated (Total Keys: 1) - schemas.Permission.properties.authKey.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.additionalRoles.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.inherited.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.inheritedFrom.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.role.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.teamDrivePermissionType.deprecated (Total Keys: 1) - schemas.TeamDrive.properties.capabilities.properties.canRemoveChildren.deprecated (Total Keys: 1) #### drive:v3 The following keys were added: - schemas.About.properties.canCreateTeamDrives.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.items.properties.backgroundImageLink.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.items.properties.colorRgb.deprecated (Total Keys: 1) - schemas.About.properties.teamDriveThemes.items.properties.id.deprecated (Total Keys: 1) - schemas.Change.properties.teamDrive.deprecated (Total Keys: 1) - schemas.Change.properties.teamDriveId.deprecated (Total Keys: 1) - schemas.Change.properties.type.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canChangeViewersCanCopyContent.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveChildrenOutOfTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveChildrenWithinTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveItemIntoTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveItemOutOfTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveItemWithinTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canMoveTeamDriveItem.deprecated (Total Keys: 1) - schemas.File.properties.capabilities.properties.canReadTeamDrive.deprecated (Total Keys: 1) - schemas.File.properties.teamDriveId.deprecated (Total Keys: 1) - schemas.File.properties.viewersCanCopyContent.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.inherited.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.inheritedFrom.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.role.deprecated (Total Keys: 1) - schemas.Permission.properties.teamDrivePermissionDetails.items.properties.teamDrivePermissionType.deprecated (Total Keys: 1) - schemas.TeamDrive.properties.capabilities.properties.canRemoveChildren.deprecated (Total Keys: 1)
1 parent 96c886a commit c890a3c

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed

googleapiclient/discovery_cache/documents/drive.v2.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@
38423842
}
38433843
}
38443844
},
3845-
"revision": "20230629",
3845+
"revision": "20230711",
38463846
"rootUrl": "https://www.googleapis.com/",
38473847
"schemas": {
38483848
"About": {
@@ -3887,6 +3887,7 @@
38873887
"type": "boolean"
38883888
},
38893889
"canCreateTeamDrives": {
3890+
"deprecated": true,
38903891
"description": "Deprecated: Use `canCreateDrives` instead.",
38913892
"type": "boolean"
38923893
},
@@ -4084,18 +4085,22 @@
40844085
"type": "string"
40854086
},
40864087
"teamDriveThemes": {
4088+
"deprecated": true,
40874089
"description": "Deprecated: Use `driveThemes` instead.",
40884090
"items": {
40894091
"properties": {
40904092
"backgroundImageLink": {
4093+
"deprecated": true,
40914094
"description": "Deprecated: Use `driveThemes/backgroundImageLink` instead.",
40924095
"type": "string"
40934096
},
40944097
"colorRgb": {
4098+
"deprecated": true,
40954099
"description": "Deprecated: Use `driveThemes/colorRgb` instead.",
40964100
"type": "string"
40974101
},
40984102
"id": {
4103+
"deprecated": true,
40994104
"description": "Deprecated: Use `driveThemes/id` instead.",
41004105
"type": "string"
41014106
}
@@ -4328,13 +4333,16 @@
43284333
},
43294334
"teamDrive": {
43304335
"$ref": "TeamDrive",
4336+
"deprecated": true,
43314337
"description": "Deprecated: Use `drive` instead."
43324338
},
43334339
"teamDriveId": {
4340+
"deprecated": true,
43344341
"description": "Deprecated: Use `driveId` instead.",
43354342
"type": "string"
43364343
},
43374344
"type": {
4345+
"deprecated": true,
43384346
"description": "Deprecated: Use `changeType` instead.",
43394347
"type": "string"
43404348
}
@@ -4956,10 +4964,12 @@
49564964
"type": "boolean"
49574965
},
49584966
"canComment": {
4967+
"deprecated": true,
49594968
"description": "Output only. Deprecated: Use `capabilities/canComment` instead.",
49604969
"type": "boolean"
49614970
},
49624971
"canReadRevisions": {
4972+
"deprecated": true,
49634973
"description": "Output only. Deprecated: Use `capabilities/canReadRevisions` instead.",
49644974
"type": "boolean"
49654975
},
@@ -4987,6 +4997,7 @@
49874997
"type": "boolean"
49884998
},
49894999
"canChangeRestrictedDownload": {
5000+
"deprecated": true,
49905001
"description": "Output only. Deprecated.",
49915002
"type": "boolean"
49925003
},
@@ -5039,6 +5050,7 @@
50395050
"type": "boolean"
50405051
},
50415052
"canMoveChildrenOutOfTeamDrive": {
5053+
"deprecated": true,
50425054
"description": "Output only. Deprecated: Use `canMoveChildrenOutOfDrive` instead.",
50435055
"type": "boolean"
50445056
},
@@ -5047,10 +5059,12 @@
50475059
"type": "boolean"
50485060
},
50495061
"canMoveChildrenWithinTeamDrive": {
5062+
"deprecated": true,
50505063
"description": "Output only. Deprecated: Use `canMoveChildrenWithinDrive` instead.",
50515064
"type": "boolean"
50525065
},
50535066
"canMoveItemIntoTeamDrive": {
5067+
"deprecated": true,
50545068
"description": "Output only. Deprecated: Use `canMoveItemOutOfDrive` instead.",
50555069
"type": "boolean"
50565070
},
@@ -5059,6 +5073,7 @@
50595073
"type": "boolean"
50605074
},
50615075
"canMoveItemOutOfTeamDrive": {
5076+
"deprecated": true,
50625077
"description": "Output only. Deprecated: Use `canMoveItemOutOfDrive` instead.",
50635078
"type": "boolean"
50645079
},
@@ -5067,10 +5082,12 @@
50675082
"type": "boolean"
50685083
},
50695084
"canMoveItemWithinTeamDrive": {
5085+
"deprecated": true,
50705086
"description": "Output only. Deprecated: Use `canMoveItemWithinDrive` instead.",
50715087
"type": "boolean"
50725088
},
50735089
"canMoveTeamDriveItem": {
5090+
"deprecated": true,
50745091
"description": "Output only. Deprecated: Use `canMoveItemWithinDrive` or `canMoveItemOutOfDrive` instead.",
50755092
"type": "boolean"
50765093
},
@@ -5087,6 +5104,7 @@
50875104
"type": "boolean"
50885105
},
50895106
"canReadTeamDrive": {
5107+
"deprecated": true,
50905108
"description": "Output only. Deprecated: Use `canReadDrive` instead.",
50915109
"type": "boolean"
50925110
},
@@ -5133,6 +5151,7 @@
51335151
"type": "boolean"
51345152
},
51355153
"copyable": {
5154+
"deprecated": true,
51365155
"description": "Output only. Deprecated: Use `capabilities/canCopy` instead.",
51375156
"type": "boolean"
51385157
},
@@ -5158,6 +5177,7 @@
51585177
"type": "string"
51595178
},
51605179
"editable": {
5180+
"deprecated": true,
51615181
"description": "Output only. Deprecated: Use `capabilities/canEdit` instead.",
51625182
"type": "boolean"
51635183
},
@@ -5371,6 +5391,7 @@
53715391
"description": "A group of labels for the file.",
53725392
"properties": {
53735393
"hidden": {
5394+
"deprecated": true,
53745395
"description": "Output only. Deprecated.",
53755396
"type": "boolean"
53765397
},
@@ -5379,6 +5400,7 @@
53795400
"type": "boolean"
53805401
},
53815402
"restricted": {
5403+
"deprecated": true,
53825404
"description": "Output only. Deprecated: Use `copyRequiresWriterPermission` instead.",
53835405
"type": "boolean"
53845406
},
@@ -5526,6 +5548,7 @@
55265548
"type": "string"
55275549
},
55285550
"shareable": {
5551+
"deprecated": true,
55295552
"description": "Output only. Deprecated: Use `capabilities/canShare` instead.",
55305553
"type": "boolean"
55315554
},
@@ -5568,6 +5591,7 @@
55685591
"type": "array"
55695592
},
55705593
"teamDriveId": {
5594+
"deprecated": true,
55715595
"description": "Output only. Deprecated: Use `driveId` instead.",
55725596
"type": "string"
55735597
},
@@ -6021,6 +6045,7 @@
60216045
"type": "array"
60226046
},
60236047
"authKey": {
6048+
"deprecated": true,
60246049
"description": "Output only. Deprecated.",
60256050
"type": "string"
60266051
},
@@ -6113,29 +6138,35 @@
61136138
"type": "string"
61146139
},
61156140
"teamDrivePermissionDetails": {
6141+
"deprecated": true,
61166142
"description": "Output only. Deprecated: Use `permissionDetails` instead.",
61176143
"items": {
61186144
"properties": {
61196145
"additionalRoles": {
6146+
"deprecated": true,
61206147
"description": "Output only. Deprecated: Use `permissionDetails/additionalRoles` instead.",
61216148
"items": {
61226149
"type": "string"
61236150
},
61246151
"type": "array"
61256152
},
61266153
"inherited": {
6154+
"deprecated": true,
61276155
"description": "Output only. Deprecated: Use `permissionDetails/inherited` instead.",
61286156
"type": "boolean"
61296157
},
61306158
"inheritedFrom": {
6159+
"deprecated": true,
61316160
"description": "Output only. Deprecated: Use `permissionDetails/inheritedFrom` instead.",
61326161
"type": "string"
61336162
},
61346163
"role": {
6164+
"deprecated": true,
61356165
"description": "Output only. Deprecated: Use `permissionDetails/role` instead.",
61366166
"type": "string"
61376167
},
61386168
"teamDrivePermissionType": {
6169+
"deprecated": true,
61396170
"description": "Output only. Deprecated: Use `permissionDetails/permissionType` instead.",
61406171
"type": "string"
61416172
}
@@ -6508,6 +6539,7 @@
65086539
"type": "boolean"
65096540
},
65106541
"canRemoveChildren": {
6542+
"deprecated": true,
65116543
"description": "Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead.",
65126544
"type": "boolean"
65136545
},

googleapiclient/discovery_cache/documents/drive.v3.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2433,7 +2433,7 @@
24332433
}
24342434
}
24352435
},
2436-
"revision": "20230629",
2436+
"revision": "20230711",
24372437
"rootUrl": "https://www.googleapis.com/",
24382438
"schemas": {
24392439
"About": {
@@ -2449,6 +2449,7 @@
24492449
"type": "boolean"
24502450
},
24512451
"canCreateTeamDrives": {
2452+
"deprecated": true,
24522453
"description": "Deprecated: Use `canCreateDrives` instead.",
24532454
"type": "boolean"
24542455
},
@@ -2545,18 +2546,22 @@
25452546
"type": "object"
25462547
},
25472548
"teamDriveThemes": {
2549+
"deprecated": true,
25482550
"description": "Deprecated: Use `driveThemes` instead.",
25492551
"items": {
25502552
"properties": {
25512553
"backgroundImageLink": {
2554+
"deprecated": true,
25522555
"description": "Deprecated: Use `driveThemes/backgroundImageLink` instead.",
25532556
"type": "string"
25542557
},
25552558
"colorRgb": {
2559+
"deprecated": true,
25562560
"description": "Deprecated: Use `driveThemes/colorRgb` instead.",
25572561
"type": "string"
25582562
},
25592563
"id": {
2564+
"deprecated": true,
25602565
"description": "Deprecated: Use `driveThemes/id` instead.",
25612566
"type": "string"
25622567
}
@@ -2607,9 +2612,11 @@
26072612
},
26082613
"teamDrive": {
26092614
"$ref": "TeamDrive",
2615+
"deprecated": true,
26102616
"description": "Deprecated: Use `drive` instead."
26112617
},
26122618
"teamDriveId": {
2619+
"deprecated": true,
26132620
"description": "Deprecated: Use `driveId` instead.",
26142621
"type": "string"
26152622
},
@@ -2619,6 +2626,7 @@
26192626
"type": "string"
26202627
},
26212628
"type": {
2629+
"deprecated": true,
26222630
"description": "Deprecated: Use `changeType` instead.",
26232631
"type": "string"
26242632
}
@@ -3076,6 +3084,7 @@
30763084
"type": "boolean"
30773085
},
30783086
"canChangeViewersCanCopyContent": {
3087+
"deprecated": true,
30793088
"description": "Deprecated: Output only.",
30803089
"type": "boolean"
30813090
},
@@ -3124,6 +3133,7 @@
31243133
"type": "boolean"
31253134
},
31263135
"canMoveChildrenOutOfTeamDrive": {
3136+
"deprecated": true,
31273137
"description": "Deprecated: Output only. Use `canMoveChildrenOutOfDrive` instead.",
31283138
"type": "boolean"
31293139
},
@@ -3132,10 +3142,12 @@
31323142
"type": "boolean"
31333143
},
31343144
"canMoveChildrenWithinTeamDrive": {
3145+
"deprecated": true,
31353146
"description": "Deprecated: Output only. Use `canMoveChildrenWithinDrive` instead.",
31363147
"type": "boolean"
31373148
},
31383149
"canMoveItemIntoTeamDrive": {
3150+
"deprecated": true,
31393151
"description": "Deprecated: Output only. Use `canMoveItemOutOfDrive` instead.",
31403152
"type": "boolean"
31413153
},
@@ -3144,6 +3156,7 @@
31443156
"type": "boolean"
31453157
},
31463158
"canMoveItemOutOfTeamDrive": {
3159+
"deprecated": true,
31473160
"description": "Deprecated: Output only. Use `canMoveItemOutOfDrive` instead.",
31483161
"type": "boolean"
31493162
},
@@ -3152,10 +3165,12 @@
31523165
"type": "boolean"
31533166
},
31543167
"canMoveItemWithinTeamDrive": {
3168+
"deprecated": true,
31553169
"description": "Deprecated: Output only. Use `canMoveItemWithinDrive` instead.",
31563170
"type": "boolean"
31573171
},
31583172
"canMoveTeamDriveItem": {
3173+
"deprecated": true,
31593174
"description": "Deprecated: Output only. Use `canMoveItemWithinDrive` or `canMoveItemOutOfDrive` instead.",
31603175
"type": "boolean"
31613176
},
@@ -3172,6 +3187,7 @@
31723187
"type": "boolean"
31733188
},
31743189
"canReadTeamDrive": {
3190+
"deprecated": true,
31753191
"description": "Deprecated: Output only. Use `canReadDrive` instead.",
31763192
"type": "boolean"
31773193
},
@@ -3590,6 +3606,7 @@
35903606
"type": "boolean"
35913607
},
35923608
"teamDriveId": {
3609+
"deprecated": true,
35933610
"description": "Deprecated: Output only. Use `driveId` instead.",
35943611
"type": "string"
35953612
},
@@ -3651,6 +3668,7 @@
36513668
"type": "string"
36523669
},
36533670
"viewersCanCopyContent": {
3671+
"deprecated": true,
36543672
"description": "Deprecated: Use `copyRequiresWriterPermission` instead.",
36553673
"type": "boolean"
36563674
},
@@ -4028,22 +4046,27 @@
40284046
"type": "string"
40294047
},
40304048
"teamDrivePermissionDetails": {
4049+
"deprecated": true,
40314050
"description": "Output only. Deprecated: Output only. Use `permissionDetails` instead.",
40324051
"items": {
40334052
"properties": {
40344053
"inherited": {
4054+
"deprecated": true,
40354055
"description": "Deprecated: Output only. Use `permissionDetails/inherited` instead.",
40364056
"type": "boolean"
40374057
},
40384058
"inheritedFrom": {
4059+
"deprecated": true,
40394060
"description": "Deprecated: Output only. Use `permissionDetails/inheritedFrom` instead.",
40404061
"type": "string"
40414062
},
40424063
"role": {
4064+
"deprecated": true,
40434065
"description": "Deprecated: Output only. Use `permissionDetails/role` instead.",
40444066
"type": "string"
40454067
},
40464068
"teamDrivePermissionType": {
4069+
"deprecated": true,
40474070
"description": "Deprecated: Output only. Use `permissionDetails/permissionType` instead.",
40484071
"type": "string"
40494072
}
@@ -4370,6 +4393,7 @@
43704393
"type": "boolean"
43714394
},
43724395
"canRemoveChildren": {
4396+
"deprecated": true,
43734397
"description": "Deprecated: Use `canDeleteChildren` or `canTrashChildren` instead.",
43744398
"type": "boolean"
43754399
},

0 commit comments

Comments
 (0)