@maxim_mazurok/gapi.client.androidmanagement-v1 0.0.20240613 → 0.0.20240618

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +21 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://androidmanagement.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240613
12
+ // Revision: 20240618
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -505,6 +505,12 @@ declare namespace gapi.client {
505
505
  /** Display width in pixels. */
506
506
  width?: number;
507
507
  }
508
+ interface DisplaySettings {
509
+ /** Optional. Controls the screen brightness settings. */
510
+ screenBrightnessSettings?: ScreenBrightnessSettings;
511
+ /** Optional. Controls the screen timeout settings. */
512
+ screenTimeoutSettings?: ScreenTimeoutSettings;
513
+ }
508
514
  interface DnsEvent {
509
515
  /** The hostname that was looked up. */
510
516
  hostname?: string;
@@ -1062,6 +1068,8 @@ declare namespace gapi.client {
1062
1068
  deviceOwnerLockScreenInfo?: UserFacingMessage;
1063
1069
  /** Covers controls for radio state such as Wi-Fi, bluetooth, and more. */
1064
1070
  deviceRadioState?: DeviceRadioState;
1071
+ /** Optional. Controls for the display settings. */
1072
+ displaySettings?: DisplaySettings;
1065
1073
  /** Whether encryption is enabled */
1066
1074
  encryptionPolicy?: string;
1067
1075
  /** Whether app verification is force-enabled. */
@@ -1253,6 +1261,18 @@ declare namespace gapi.client {
1253
1261
  /** User ID in which the change was requested in. */
1254
1262
  targetUserId?: number;
1255
1263
  }
1264
+ interface ScreenBrightnessSettings {
1265
+ /** Optional. The screen brightness between 1 and 255 where 1 is the lowest and 255 is the highest brightness. A value of 0 (default) means no screen brightness set. Any other value is rejected. screenBrightnessMode must be either BRIGHTNESS_AUTOMATIC or BRIGHTNESS_FIXED to set this. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. */
1266
+ screenBrightness?: number;
1267
+ /** Optional. Controls the screen brightness mode. */
1268
+ screenBrightnessMode?: string;
1269
+ }
1270
+ interface ScreenTimeoutSettings {
1271
+ /** Optional. Controls the screen timeout duration. The screen timeout duration must be greater than 0, otherwise it is rejected. Additionally, it should not be greater than maximumTimeToLock, otherwise the screen timeout is set to maximumTimeToLock and a NonComplianceDetail with INVALID_VALUE reason and SCREEN_TIMEOUT_GREATER_THAN_MAXIMUM_TIME_TO_LOCK specific reason is reported. If the screen timeout is less than a certain lower bound, it is set to the lower bound. The lower bound may vary across devices. If this is set, screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. */
1272
+ screenTimeout?: string;
1273
+ /** Optional. Controls whether the user is allowed to configure the screen timeout. */
1274
+ screenTimeoutMode?: string;
1275
+ }
1256
1276
  interface SecurityPosture {
1257
1277
  /** Device's security posture value. */
1258
1278
  devicePosture?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidmanagement-v1",
3
- "version": "0.0.20240613",
3
+ "version": "0.0.20240618",
4
4
  "description": "TypeScript typings for Android Management API v1",
5
5
  "repository": {
6
6
  "type": "git",