Skip to content

Commit 5bda041

Browse files
feat(admin): update the api
#### admin:directory_v1 The following keys were added: - schemas.ByteUsage (Total Keys: 8) - schemas.ChromeOsDevice.properties.diskSpaceUsage (Total Keys: 2)
1 parent f2e314b commit 5bda041

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

docs/dyn/admin_directory_v1.chromeosdevices.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,10 @@ <h3>Method Details</h3>
211211
],
212212
&quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the Chrome device.
213213
&quot;deviceLicenseType&quot;: &quot;A String&quot;, # Output only. Device license type.
214+
&quot;diskSpaceUsage&quot;: { # Represents a data capacity with some amount of current usage in bytes. # Output only. How much disk space the device has available and is currently using.
215+
&quot;capacityBytes&quot;: &quot;A String&quot;, # Output only. The total capacity value, in bytes.
216+
&quot;usedBytes&quot;: &quot;A String&quot;, # Output only. The current usage value, in bytes.
217+
},
214218
&quot;diskVolumeReports&quot;: [ # Reports of disk space and other info about mounted/connected volumes.
215219
{
216220
&quot;volumeInfo&quot;: [ # Disk volumes
@@ -405,6 +409,10 @@ <h3>Method Details</h3>
405409
],
406410
&quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the Chrome device.
407411
&quot;deviceLicenseType&quot;: &quot;A String&quot;, # Output only. Device license type.
412+
&quot;diskSpaceUsage&quot;: { # Represents a data capacity with some amount of current usage in bytes. # Output only. How much disk space the device has available and is currently using.
413+
&quot;capacityBytes&quot;: &quot;A String&quot;, # Output only. The total capacity value, in bytes.
414+
&quot;usedBytes&quot;: &quot;A String&quot;, # Output only. The current usage value, in bytes.
415+
},
408416
&quot;diskVolumeReports&quot;: [ # Reports of disk space and other info about mounted/connected volumes.
409417
{
410418
&quot;volumeInfo&quot;: [ # Disk volumes
@@ -614,6 +622,10 @@ <h3>Method Details</h3>
614622
],
615623
&quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the Chrome device.
616624
&quot;deviceLicenseType&quot;: &quot;A String&quot;, # Output only. Device license type.
625+
&quot;diskSpaceUsage&quot;: { # Represents a data capacity with some amount of current usage in bytes. # Output only. How much disk space the device has available and is currently using.
626+
&quot;capacityBytes&quot;: &quot;A String&quot;, # Output only. The total capacity value, in bytes.
627+
&quot;usedBytes&quot;: &quot;A String&quot;, # Output only. The current usage value, in bytes.
628+
},
617629
&quot;diskVolumeReports&quot;: [ # Reports of disk space and other info about mounted/connected volumes.
618630
{
619631
&quot;volumeInfo&quot;: [ # Disk volumes
@@ -782,6 +794,10 @@ <h3>Method Details</h3>
782794
],
783795
&quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the Chrome device.
784796
&quot;deviceLicenseType&quot;: &quot;A String&quot;, # Output only. Device license type.
797+
&quot;diskSpaceUsage&quot;: { # Represents a data capacity with some amount of current usage in bytes. # Output only. How much disk space the device has available and is currently using.
798+
&quot;capacityBytes&quot;: &quot;A String&quot;, # Output only. The total capacity value, in bytes.
799+
&quot;usedBytes&quot;: &quot;A String&quot;, # Output only. The current usage value, in bytes.
800+
},
785801
&quot;diskVolumeReports&quot;: [ # Reports of disk space and other info about mounted/connected volumes.
786802
{
787803
&quot;volumeInfo&quot;: [ # Disk volumes
@@ -949,6 +965,10 @@ <h3>Method Details</h3>
949965
],
950966
&quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the Chrome device.
951967
&quot;deviceLicenseType&quot;: &quot;A String&quot;, # Output only. Device license type.
968+
&quot;diskSpaceUsage&quot;: { # Represents a data capacity with some amount of current usage in bytes. # Output only. How much disk space the device has available and is currently using.
969+
&quot;capacityBytes&quot;: &quot;A String&quot;, # Output only. The total capacity value, in bytes.
970+
&quot;usedBytes&quot;: &quot;A String&quot;, # Output only. The current usage value, in bytes.
971+
},
952972
&quot;diskVolumeReports&quot;: [ # Reports of disk space and other info about mounted/connected volumes.
953973
{
954974
&quot;volumeInfo&quot;: [ # Disk volumes
@@ -1117,6 +1137,10 @@ <h3>Method Details</h3>
11171137
],
11181138
&quot;deviceId&quot;: &quot;A String&quot;, # The unique ID of the Chrome device.
11191139
&quot;deviceLicenseType&quot;: &quot;A String&quot;, # Output only. Device license type.
1140+
&quot;diskSpaceUsage&quot;: { # Represents a data capacity with some amount of current usage in bytes. # Output only. How much disk space the device has available and is currently using.
1141+
&quot;capacityBytes&quot;: &quot;A String&quot;, # Output only. The total capacity value, in bytes.
1142+
&quot;usedBytes&quot;: &quot;A String&quot;, # Output only. The current usage value, in bytes.
1143+
},
11201144
&quot;diskVolumeReports&quot;: [ # Reports of disk space and other info about mounted/connected volumes.
11211145
{
11221146
&quot;volumeInfo&quot;: [ # Disk volumes

googleapiclient/discovery_cache/documents/admin.directory_v1.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4671,7 +4671,7 @@
46714671
}
46724672
}
46734673
},
4674-
"revision": "20240924",
4674+
"revision": "20241029",
46754675
"rootUrl": "https://admin.googleapis.com/",
46764676
"schemas": {
46774677
"Alias": {
@@ -5184,6 +5184,25 @@ false
51845184
},
51855185
"type": "object"
51865186
},
5187+
"ByteUsage": {
5188+
"description": "Represents a data capacity with some amount of current usage in bytes.",
5189+
"id": "ByteUsage",
5190+
"properties": {
5191+
"capacityBytes": {
5192+
"description": "Output only. The total capacity value, in bytes.",
5193+
"format": "int64",
5194+
"readOnly": true,
5195+
"type": "string"
5196+
},
5197+
"usedBytes": {
5198+
"description": "Output only. The current usage value, in bytes.",
5199+
"format": "int64",
5200+
"readOnly": true,
5201+
"type": "string"
5202+
}
5203+
},
5204+
"type": "object"
5205+
},
51875206
"CalendarResource": {
51885207
"description": "Public API: Resources.calendars",
51895208
"id": "CalendarResource",
@@ -5640,6 +5659,11 @@ false
56405659
"readOnly": true,
56415660
"type": "string"
56425661
},
5662+
"diskSpaceUsage": {
5663+
"$ref": "ByteUsage",
5664+
"description": "Output only. How much disk space the device has available and is currently using.",
5665+
"readOnly": true
5666+
},
56435667
"diskVolumeReports": {
56445668
"description": "Reports of disk space and other info about mounted/connected volumes.",
56455669
"items": {

0 commit comments

Comments
 (0)