Skip to content

Commit 584b8c0

Browse files
feat(drive): update the api
#### drive:v2 The following keys were added: - schemas.ContentRestriction.properties.systemRestricted.type (Total Keys: 1) #### drive:v3 The following keys were added: - schemas.ContentRestriction.properties.systemRestricted.type (Total Keys: 1)
1 parent 0ba0291 commit 584b8c0

File tree

6 files changed

+34
-2
lines changed

6 files changed

+34
-2
lines changed

docs/dyn/drive_v2.changes.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ <h3>Method Details</h3>
230230
},
231231
},
232232
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
233+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
233234
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
234235
},
235236
],
@@ -768,6 +769,7 @@ <h3>Method Details</h3>
768769
},
769770
},
770771
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
772+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
771773
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
772774
},
773775
],

docs/dyn/drive_v2.files.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ <h3>Method Details</h3>
216216
},
217217
},
218218
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
219+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
219220
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
220221
},
221222
],
@@ -618,6 +619,7 @@ <h3>Method Details</h3>
618619
},
619620
},
620621
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
622+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
621623
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
622624
},
623625
],
@@ -1106,6 +1108,7 @@ <h3>Method Details</h3>
11061108
},
11071109
},
11081110
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
1111+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
11091112
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
11101113
},
11111114
],
@@ -1522,6 +1525,7 @@ <h3>Method Details</h3>
15221525
},
15231526
},
15241527
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
1528+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
15251529
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
15261530
},
15271531
],
@@ -1927,6 +1931,7 @@ <h3>Method Details</h3>
19271931
},
19281932
},
19291933
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
1934+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
19301935
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
19311936
},
19321937
],
@@ -2346,6 +2351,7 @@ <h3>Method Details</h3>
23462351
},
23472352
},
23482353
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
2354+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
23492355
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
23502356
},
23512357
],
@@ -2922,6 +2928,7 @@ <h3>Method Details</h3>
29222928
},
29232929
},
29242930
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
2931+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
29252932
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
29262933
},
29272934
],
@@ -3334,6 +3341,7 @@ <h3>Method Details</h3>
33343341
},
33353342
},
33363343
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
3344+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
33373345
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
33383346
},
33393347
],
@@ -3732,6 +3740,7 @@ <h3>Method Details</h3>
37323740
},
37333741
},
37343742
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
3743+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
37353744
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
37363745
},
37373746
],
@@ -4130,6 +4139,7 @@ <h3>Method Details</h3>
41304139
},
41314140
},
41324141
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
4142+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
41334143
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
41344144
},
41354145
],
@@ -4528,6 +4538,7 @@ <h3>Method Details</h3>
45284538
},
45294539
},
45304540
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
4541+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
45314542
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
45324543
},
45334544
],
@@ -4917,6 +4928,7 @@ <h3>Method Details</h3>
49174928
},
49184929
},
49194930
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
4931+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
49204932
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
49214933
},
49224934
],
@@ -5331,6 +5343,7 @@ <h3>Method Details</h3>
53315343
},
53325344
},
53335345
&quot;restrictionDate&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
5346+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
53345347
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
53355348
},
53365349
],

docs/dyn/drive_v3.changes.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ <h3>Method Details</h3>
265265
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
266266
},
267267
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
268+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
268269
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
269270
},
270271
],

docs/dyn/drive_v3.files.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ <h3>Method Details</h3>
209209
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
210210
},
211211
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
212+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
212213
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
213214
},
214215
],
@@ -504,6 +505,7 @@ <h3>Method Details</h3>
504505
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
505506
},
506507
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
508+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
507509
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
508510
},
509511
],
@@ -792,6 +794,7 @@ <h3>Method Details</h3>
792794
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
793795
},
794796
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
797+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
795798
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
796799
},
797800
],
@@ -1090,6 +1093,7 @@ <h3>Method Details</h3>
10901093
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
10911094
},
10921095
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
1096+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
10931097
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
10941098
},
10951099
],
@@ -1472,6 +1476,7 @@ <h3>Method Details</h3>
14721476
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
14731477
},
14741478
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
1479+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
14751480
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
14761481
},
14771482
],
@@ -1807,6 +1812,7 @@ <h3>Method Details</h3>
18071812
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
18081813
},
18091814
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
1815+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
18101816
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
18111817
},
18121818
],
@@ -2278,6 +2284,7 @@ <h3>Method Details</h3>
22782284
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
22792285
},
22802286
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
2287+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
22812288
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
22822289
},
22832290
],
@@ -2577,6 +2584,7 @@ <h3>Method Details</h3>
25772584
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
25782585
},
25792586
&quot;restrictionTime&quot;: &quot;A String&quot;, # The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.
2587+
&quot;systemRestricted&quot;: True or False, # Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.
25802588
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
25812589
},
25822590
],

googleapiclient/discovery_cache/documents/drive.v2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@
38423842
}
38433843
}
38443844
},
3845-
"revision": "20231107",
3845+
"revision": "20231120",
38463846
"rootUrl": "https://www.googleapis.com/",
38473847
"schemas": {
38483848
"About": {
@@ -4738,6 +4738,10 @@
47384738
"format": "date-time",
47394739
"type": "string"
47404740
},
4741+
"systemRestricted": {
4742+
"description": "Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.",
4743+
"type": "boolean"
4744+
},
47414745
"type": {
47424746
"description": "Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.",
47434747
"type": "string"

googleapiclient/discovery_cache/documents/drive.v3.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2433,7 +2433,7 @@
24332433
}
24342434
}
24352435
},
2436-
"revision": "20231107",
2436+
"revision": "20231120",
24372437
"rootUrl": "https://www.googleapis.com/",
24382438
"schemas": {
24392439
"About": {
@@ -2837,6 +2837,10 @@
28372837
"format": "date-time",
28382838
"type": "string"
28392839
},
2840+
"systemRestricted": {
2841+
"description": "Output only. Whether the content restriction was applied by the system, for example due to an esignature. Users cannot modify or remove system restricted content restrictions.",
2842+
"type": "boolean"
2843+
},
28402844
"type": {
28412845
"description": "Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.",
28422846
"type": "string"

0 commit comments

Comments
 (0)