Skip to content

Commit

Permalink
feat(admin): update the api
Browse files Browse the repository at this point in the history
#### admin:directory_v1

The following keys were added:
- schemas.BacklightInfo (Total Keys: 10)
- schemas.ChromeOsDevice.properties.backlightInfo (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent d87425b commit 7d351d7
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 3 deletions.
42 changes: 42 additions & 0 deletions docs/dyn/admin_directory_v1.chromeosdevices.html
Expand Up @@ -156,6 +156,13 @@ <h3>Method Details</h3>
&quot;annotatedLocation&quot;: &quot;A String&quot;, # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
&quot;annotatedUser&quot;: &quot;A String&quot;, # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
&quot;autoUpdateExpiration&quot;: &quot;A String&quot;, # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support
&quot;backlightInfo&quot;: [ # Output only. Contains backlight information for the device.
{ # Information about the device&#x27;s backlights.
&quot;brightness&quot;: 42, # Output only. Current brightness of the backlight, between 0 and max_brightness.
&quot;maxBrightness&quot;: 42, # Output only. Maximum brightness for the backlight.
&quot;path&quot;: &quot;A String&quot;, # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.
},
],
&quot;bootMode&quot;: &quot;A String&quot;, # The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices&#x27;s developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
&quot;cpuInfo&quot;: [ # Information regarding CPU specs in the device.
{ # CPU specs for a CPU.
Expand Down Expand Up @@ -333,6 +340,13 @@ <h3>Method Details</h3>
&quot;annotatedLocation&quot;: &quot;A String&quot;, # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
&quot;annotatedUser&quot;: &quot;A String&quot;, # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
&quot;autoUpdateExpiration&quot;: &quot;A String&quot;, # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support
&quot;backlightInfo&quot;: [ # Output only. Contains backlight information for the device.
{ # Information about the device&#x27;s backlights.
&quot;brightness&quot;: 42, # Output only. Current brightness of the backlight, between 0 and max_brightness.
&quot;maxBrightness&quot;: 42, # Output only. Maximum brightness for the backlight.
&quot;path&quot;: &quot;A String&quot;, # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.
},
],
&quot;bootMode&quot;: &quot;A String&quot;, # The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices&#x27;s developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
&quot;cpuInfo&quot;: [ # Information regarding CPU specs in the device.
{ # CPU specs for a CPU.
Expand Down Expand Up @@ -525,6 +539,13 @@ <h3>Method Details</h3>
&quot;annotatedLocation&quot;: &quot;A String&quot;, # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
&quot;annotatedUser&quot;: &quot;A String&quot;, # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
&quot;autoUpdateExpiration&quot;: &quot;A String&quot;, # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support
&quot;backlightInfo&quot;: [ # Output only. Contains backlight information for the device.
{ # Information about the device&#x27;s backlights.
&quot;brightness&quot;: 42, # Output only. Current brightness of the backlight, between 0 and max_brightness.
&quot;maxBrightness&quot;: 42, # Output only. Maximum brightness for the backlight.
&quot;path&quot;: &quot;A String&quot;, # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.
},
],
&quot;bootMode&quot;: &quot;A String&quot;, # The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices&#x27;s developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
&quot;cpuInfo&quot;: [ # Information regarding CPU specs in the device.
{ # CPU specs for a CPU.
Expand Down Expand Up @@ -676,6 +697,13 @@ <h3>Method Details</h3>
&quot;annotatedLocation&quot;: &quot;A String&quot;, # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
&quot;annotatedUser&quot;: &quot;A String&quot;, # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
&quot;autoUpdateExpiration&quot;: &quot;A String&quot;, # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support
&quot;backlightInfo&quot;: [ # Output only. Contains backlight information for the device.
{ # Information about the device&#x27;s backlights.
&quot;brightness&quot;: 42, # Output only. Current brightness of the backlight, between 0 and max_brightness.
&quot;maxBrightness&quot;: 42, # Output only. Maximum brightness for the backlight.
&quot;path&quot;: &quot;A String&quot;, # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.
},
],
&quot;bootMode&quot;: &quot;A String&quot;, # The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices&#x27;s developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
&quot;cpuInfo&quot;: [ # Information regarding CPU specs in the device.
{ # CPU specs for a CPU.
Expand Down Expand Up @@ -826,6 +854,13 @@ <h3>Method Details</h3>
&quot;annotatedLocation&quot;: &quot;A String&quot;, # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
&quot;annotatedUser&quot;: &quot;A String&quot;, # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
&quot;autoUpdateExpiration&quot;: &quot;A String&quot;, # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support
&quot;backlightInfo&quot;: [ # Output only. Contains backlight information for the device.
{ # Information about the device&#x27;s backlights.
&quot;brightness&quot;: 42, # Output only. Current brightness of the backlight, between 0 and max_brightness.
&quot;maxBrightness&quot;: 42, # Output only. Maximum brightness for the backlight.
&quot;path&quot;: &quot;A String&quot;, # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.
},
],
&quot;bootMode&quot;: &quot;A String&quot;, # The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices&#x27;s developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
&quot;cpuInfo&quot;: [ # Information regarding CPU specs in the device.
{ # CPU specs for a CPU.
Expand Down Expand Up @@ -977,6 +1012,13 @@ <h3>Method Details</h3>
&quot;annotatedLocation&quot;: &quot;A String&quot;, # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
&quot;annotatedUser&quot;: &quot;A String&quot;, # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
&quot;autoUpdateExpiration&quot;: &quot;A String&quot;, # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support
&quot;backlightInfo&quot;: [ # Output only. Contains backlight information for the device.
{ # Information about the device&#x27;s backlights.
&quot;brightness&quot;: 42, # Output only. Current brightness of the backlight, between 0 and max_brightness.
&quot;maxBrightness&quot;: 42, # Output only. Maximum brightness for the backlight.
&quot;path&quot;: &quot;A String&quot;, # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.
},
],
&quot;bootMode&quot;: &quot;A String&quot;, # The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices&#x27;s developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
&quot;cpuInfo&quot;: [ # Information regarding CPU specs in the device.
{ # CPU specs for a CPU.
Expand Down
Expand Up @@ -272,7 +272,7 @@
}
}
},
"revision": "20240227",
"revision": "20240304",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Application": {
Expand Down
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240227",
"revision": "20240304",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -4810,6 +4810,30 @@
},
"type": "object"
},
"BacklightInfo": {
"description": "Information about the device's backlights.",
"id": "BacklightInfo",
"properties": {
"brightness": {
"description": "Output only. Current brightness of the backlight, between 0 and max_brightness.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"maxBrightness": {
"description": "Output only. Maximum brightness for the backlight.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"path": {
"description": "Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"BatchChangeChromeOsDeviceStatusRequest": {
"description": "A request for changing the status of a batch of ChromeOS devices.",
"id": "BatchChangeChromeOsDeviceStatusRequest",
Expand Down Expand Up @@ -5383,6 +5407,14 @@ false
"format": "int64",
"type": "string"
},
"backlightInfo": {
"description": "Output only. Contains backlight information for the device.",
"items": {
"$ref": "BacklightInfo"
},
"readOnly": true,
"type": "array"
},
"bootMode": {
"description": "The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).",
"type": "string"
Expand Down
Expand Up @@ -626,7 +626,7 @@
}
}
},
"revision": "20240227",
"revision": "20240304",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Activities": {
Expand Down

0 comments on commit 7d351d7

Please sign in to comment.