Skip to content

Commit

Permalink
feat(drive): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 7, 2023
1 parent 0ba0291 commit 584b8c0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/dyn/drive_v2.changes.html
Expand Up @@ -230,6 +230,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -768,6 +769,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down
13 changes: 13 additions & 0 deletions docs/dyn/drive_v2.files.html
Expand Up @@ -216,6 +216,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -618,6 +619,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -1106,6 +1108,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -1522,6 +1525,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -1927,6 +1931,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -2346,6 +2351,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -2922,6 +2928,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -3334,6 +3341,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -3732,6 +3740,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -4130,6 +4139,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -4528,6 +4538,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -4917,6 +4928,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -5331,6 +5343,7 @@ <h3>Method Details</h3>
},
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down
1 change: 1 addition & 0 deletions docs/dyn/drive_v3.changes.html
Expand Up @@ -265,6 +265,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down
8 changes: 8 additions & 0 deletions docs/dyn/drive_v3.files.html
Expand Up @@ -209,6 +209,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -504,6 +505,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -792,6 +794,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -1090,6 +1093,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -1472,6 +1476,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -1807,6 +1812,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -2278,6 +2284,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down Expand Up @@ -2577,6 +2584,7 @@ <h3>Method Details</h3>
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
},
&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.
&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.
&quot;type&quot;: &quot;A String&quot;, # Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.
},
],
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/drive.v2.json
Expand Up @@ -3842,7 +3842,7 @@
}
}
},
"revision": "20231107",
"revision": "20231120",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -4738,6 +4738,10 @@
"format": "date-time",
"type": "string"
},
"systemRestricted": {
"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.",
"type": "boolean"
},
"type": {
"description": "Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.",
"type": "string"
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/drive.v3.json
Expand Up @@ -2433,7 +2433,7 @@
}
}
},
"revision": "20231107",
"revision": "20231120",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -2837,6 +2837,10 @@
"format": "date-time",
"type": "string"
},
"systemRestricted": {
"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.",
"type": "boolean"
},
"type": {
"description": "Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`.",
"type": "string"
Expand Down

0 comments on commit 584b8c0

Please sign in to comment.