From 7d351d7e82772ccafac20227ca44b7500e575fda Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 12 Mar 2024 07:08:22 +0000 Subject: [PATCH] feat(admin): update the api #### admin:directory_v1 The following keys were added: - schemas.BacklightInfo (Total Keys: 10) - schemas.ChromeOsDevice.properties.backlightInfo (Total Keys: 3) --- .../admin_directory_v1.chromeosdevices.html | 42 +++++++++++++++++++ .../documents/admin.datatransfer_v1.json | 2 +- .../documents/admin.directory_v1.json | 34 ++++++++++++++- .../documents/admin.reports_v1.json | 2 +- 4 files changed, 77 insertions(+), 3 deletions(-) diff --git a/docs/dyn/admin_directory_v1.chromeosdevices.html b/docs/dyn/admin_directory_v1.chromeosdevices.html index 273518cd2f..a671faaf7c 100644 --- a/docs/dyn/admin_directory_v1.chromeosdevices.html +++ b/docs/dyn/admin_directory_v1.chromeosdevices.html @@ -156,6 +156,13 @@

Method Details

"annotatedLocation": "A String", # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. "annotatedUser": "A String", # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. "autoUpdateExpiration": "A String", # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support + "backlightInfo": [ # Output only. Contains backlight information for the device. + { # Information about the device's backlights. + "brightness": 42, # Output only. Current brightness of the backlight, between 0 and max_brightness. + "maxBrightness": 42, # Output only. Maximum brightness for the backlight. + "path": "A String", # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information. + }, + ], "bootMode": "A String", # 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). "cpuInfo": [ # Information regarding CPU specs in the device. { # CPU specs for a CPU. @@ -333,6 +340,13 @@

Method Details

"annotatedLocation": "A String", # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. "annotatedUser": "A String", # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. "autoUpdateExpiration": "A String", # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support + "backlightInfo": [ # Output only. Contains backlight information for the device. + { # Information about the device's backlights. + "brightness": 42, # Output only. Current brightness of the backlight, between 0 and max_brightness. + "maxBrightness": 42, # Output only. Maximum brightness for the backlight. + "path": "A String", # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information. + }, + ], "bootMode": "A String", # 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). "cpuInfo": [ # Information regarding CPU specs in the device. { # CPU specs for a CPU. @@ -525,6 +539,13 @@

Method Details

"annotatedLocation": "A String", # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. "annotatedUser": "A String", # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. "autoUpdateExpiration": "A String", # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support + "backlightInfo": [ # Output only. Contains backlight information for the device. + { # Information about the device's backlights. + "brightness": 42, # Output only. Current brightness of the backlight, between 0 and max_brightness. + "maxBrightness": 42, # Output only. Maximum brightness for the backlight. + "path": "A String", # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information. + }, + ], "bootMode": "A String", # 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). "cpuInfo": [ # Information regarding CPU specs in the device. { # CPU specs for a CPU. @@ -676,6 +697,13 @@

Method Details

"annotatedLocation": "A String", # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. "annotatedUser": "A String", # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. "autoUpdateExpiration": "A String", # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support + "backlightInfo": [ # Output only. Contains backlight information for the device. + { # Information about the device's backlights. + "brightness": 42, # Output only. Current brightness of the backlight, between 0 and max_brightness. + "maxBrightness": 42, # Output only. Maximum brightness for the backlight. + "path": "A String", # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information. + }, + ], "bootMode": "A String", # 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). "cpuInfo": [ # Information regarding CPU specs in the device. { # CPU specs for a CPU. @@ -826,6 +854,13 @@

Method Details

"annotatedLocation": "A String", # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. "annotatedUser": "A String", # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. "autoUpdateExpiration": "A String", # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support + "backlightInfo": [ # Output only. Contains backlight information for the device. + { # Information about the device's backlights. + "brightness": 42, # Output only. Current brightness of the backlight, between 0 and max_brightness. + "maxBrightness": 42, # Output only. Maximum brightness for the backlight. + "path": "A String", # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information. + }, + ], "bootMode": "A String", # 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). "cpuInfo": [ # Information regarding CPU specs in the device. { # CPU specs for a CPU. @@ -977,6 +1012,13 @@

Method Details

"annotatedLocation": "A String", # The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. "annotatedUser": "A String", # The user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed. "autoUpdateExpiration": "A String", # (Read-only) The timestamp after which the device will stop receiving Chrome updates or support + "backlightInfo": [ # Output only. Contains backlight information for the device. + { # Information about the device's backlights. + "brightness": 42, # Output only. Current brightness of the backlight, between 0 and max_brightness. + "maxBrightness": 42, # Output only. Maximum brightness for the backlight. + "path": "A String", # Output only. Path to this backlight on the system. Useful if the caller needs to correlate with other information. + }, + ], "bootMode": "A String", # 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). "cpuInfo": [ # Information regarding CPU specs in the device. { # CPU specs for a CPU. diff --git a/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json b/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json index c0c958432b..f6c4d763b4 100644 --- a/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json +++ b/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json @@ -272,7 +272,7 @@ } } }, -"revision": "20240227", +"revision": "20240304", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Application": { diff --git a/googleapiclient/discovery_cache/documents/admin.directory_v1.json b/googleapiclient/discovery_cache/documents/admin.directory_v1.json index 532cd802f0..a92141a80a 100644 --- a/googleapiclient/discovery_cache/documents/admin.directory_v1.json +++ b/googleapiclient/discovery_cache/documents/admin.directory_v1.json @@ -4671,7 +4671,7 @@ } } }, -"revision": "20240227", +"revision": "20240304", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -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", @@ -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" diff --git a/googleapiclient/discovery_cache/documents/admin.reports_v1.json b/googleapiclient/discovery_cache/documents/admin.reports_v1.json index cc917a2caf..a744105c87 100644 --- a/googleapiclient/discovery_cache/documents/admin.reports_v1.json +++ b/googleapiclient/discovery_cache/documents/admin.reports_v1.json @@ -626,7 +626,7 @@ } } }, -"revision": "20240227", +"revision": "20240304", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": {