@maxim_mazurok/gapi.client.admin-directory_v1 0.2.20260407 → 0.3.20260407

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 +62 -62
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -288,12 +288,12 @@ declare namespace gapi.client {
288
288
  }
289
289
  interface ChromeOsDevice {
290
290
  /** A list of active time ranges (Read-only). */
291
- activeTimeRanges?: Array<{
291
+ activeTimeRanges?: {
292
292
  /** Duration of usage in milliseconds. */
293
293
  activeTime?: number;
294
294
  /** Date of usage */
295
295
  date?: string;
296
- }>;
296
+ }[];
297
297
  /** The asset identifier as noted by an administrator or specified during enrollment. */
298
298
  annotatedAssetId?: string;
299
299
  /** The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. */
@@ -313,43 +313,43 @@ declare namespace gapi.client {
313
313
  /** Output only. Chrome OS type of the device. */
314
314
  chromeOsType?: 'chromeOsTypeUnspecified' | 'chromeOsFlex' | 'chromeOs';
315
315
  /** Information regarding CPU specs in the device. */
316
- cpuInfo?: Array<{
316
+ cpuInfo?: {
317
317
  /** The CPU architecture. */
318
318
  architecture?: string;
319
319
  /** Information for the Logical CPUs */
320
- logicalCpus?: Array<{
320
+ logicalCpus?: {
321
321
  /** C-States indicate the power consumption state of the CPU. For more information look at documentation published by the CPU maker. */
322
- cStates?: Array<{
322
+ cStates?: {
323
323
  /** Name of the state. */
324
324
  displayName?: string;
325
325
  /** Time spent in the state since the last reboot. */
326
326
  sessionDuration?: string;
327
- }>;
327
+ }[];
328
328
  /** Current frequency the CPU is running at. */
329
329
  currentScalingFrequencyKhz?: number;
330
330
  /** Idle time since last boot. */
331
331
  idleDuration?: string;
332
332
  /** Maximum frequency the CPU is allowed to run at, by policy. */
333
333
  maxScalingFrequencyKhz?: number;
334
- }>;
334
+ }[];
335
335
  /** The max CPU clock speed in kHz. */
336
336
  maxClockSpeedKhz?: number;
337
337
  /** The CPU model name. */
338
338
  model?: string;
339
- }>;
339
+ }[];
340
340
  /** Reports of CPU utilization and temperature (Read-only) */
341
- cpuStatusReports?: Array<{
341
+ cpuStatusReports?: {
342
342
  /** A list of CPU temperature samples. */
343
- cpuTemperatureInfo?: Array<{
343
+ cpuTemperatureInfo?: {
344
344
  /** CPU label */
345
345
  label?: string;
346
346
  /** Temperature in Celsius degrees. */
347
347
  temperature?: number;
348
- }>;
348
+ }[];
349
349
  cpuUtilizationPercentageInfo?: number[];
350
350
  /** Date and time the report was received. */
351
351
  reportTime?: string;
352
- }>;
352
+ }[];
353
353
  /** (Read-only) Deprovision reason. */
354
354
  deprovisionReason?:
355
355
  | 'DEPROVISION_REASON_UNSPECIFIED'
@@ -364,7 +364,7 @@ declare namespace gapi.client {
364
364
  | 'DEPROVISION_REASON_NOT_REQUIRED'
365
365
  | 'DEPROVISION_REASON_REPAIR_CENTER';
366
366
  /** A list of device files to download (Read-only) */
367
- deviceFiles?: Array<{
367
+ deviceFiles?: {
368
368
  /** Date and time the file was created */
369
369
  createTime?: string;
370
370
  /** File download URL */
@@ -373,7 +373,7 @@ declare namespace gapi.client {
373
373
  name?: string;
374
374
  /** File type */
375
375
  type?: string;
376
- }>;
376
+ }[];
377
377
  /** The unique ID of the Chrome device. */
378
378
  deviceId?: string;
379
379
  /** Output only. Device license type. */
@@ -391,17 +391,17 @@ declare namespace gapi.client {
391
391
  /** Output only. How much disk space the device has available and is currently using. */
392
392
  diskSpaceUsage?: ByteUsage;
393
393
  /** Reports of disk space and other info about mounted/connected volumes. */
394
- diskVolumeReports?: Array<{
394
+ diskVolumeReports?: {
395
395
  /** Disk volumes */
396
- volumeInfo?: Array<{
396
+ volumeInfo?: {
397
397
  /** Free disk space [in bytes] */
398
398
  storageFree?: string;
399
399
  /** Total disk space [in bytes] */
400
400
  storageTotal?: string;
401
401
  /** Volume id */
402
402
  volumeId?: string;
403
- }>;
404
- }>;
403
+ }[];
404
+ }[];
405
405
  /** (Read-only) Built-in MAC address for the docking station that the device connected to. Factory sets Media access control address (MAC address) assigned for use by a dock. It is reserved specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits without any delimiter (uppercase letters). This is only relevant for some devices. */
406
406
  dockMacAddress?: string;
407
407
  /** ETag of the resource. */
@@ -429,12 +429,12 @@ declare namespace gapi.client {
429
429
  /** Date and time the device was last enrolled (Read-only) */
430
430
  lastEnrollmentTime?: string;
431
431
  /** Contains last known network (Read-only) */
432
- lastKnownNetwork?: Array<{
432
+ lastKnownNetwork?: {
433
433
  /** The IP address. */
434
434
  ipAddress?: string;
435
435
  /** The WAN IP address. */
436
436
  wanIpAddress?: string;
437
- }>;
437
+ }[];
438
438
  /** Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only) */
439
439
  lastSync?: string;
440
440
  /** The device's wireless MAC address. If the device does not have this information, it is not included in the response. */
@@ -466,14 +466,14 @@ declare namespace gapi.client {
466
466
  /** The Chrome device's platform version. */
467
467
  platformVersion?: string;
468
468
  /** A list of recent device users, in descending order, by last login time. */
469
- recentUsers?: Array<{
469
+ recentUsers?: {
470
470
  /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */
471
471
  email?: string;
472
472
  /** The type of the user. */
473
473
  type?: string;
474
- }>;
474
+ }[];
475
475
  /** A list of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
476
- screenshotFiles?: Array<{
476
+ screenshotFiles?: {
477
477
  /** Date and time the file was created */
478
478
  createTime?: string;
479
479
  /** File download URL */
@@ -482,7 +482,7 @@ declare namespace gapi.client {
482
482
  name?: string;
483
483
  /** File type */
484
484
  type?: string;
485
- }>;
485
+ }[];
486
486
  /** The Chrome device serial number entered when the device was enabled. This value is the same as the Admin console's *Serial Number* in the *Chrome OS Devices* tab. */
487
487
  serialNumber?: string;
488
488
  /** The status of the device. */
@@ -490,11 +490,11 @@ declare namespace gapi.client {
490
490
  /** Final date the device will be supported (Read-only) */
491
491
  supportEndDate?: string;
492
492
  /** Reports of amounts of available RAM memory (Read-only) */
493
- systemRamFreeReports?: Array<{
493
+ systemRamFreeReports?: {
494
494
  /** Date and time the report was received. */
495
495
  reportTime?: string;
496
496
  systemRamFreeInfo?: string[];
497
- }>;
497
+ }[];
498
498
  /** Total RAM on the device [in bytes] (Read-only) */
499
499
  systemRamTotal?: string;
500
500
  /** Trusted Platform Module (TPM) (Read-only) */
@@ -870,7 +870,7 @@ declare namespace gapi.client {
870
870
  /** Adb (USB debugging) enabled or disabled on device (Read-only) */
871
871
  adbStatus?: boolean;
872
872
  /** The list of applications installed on an Android mobile device. It is not applicable to Google Sync and iOS devices. The list includes any Android applications that access Google Workspace data. When updating an applications list, it is important to note that updates replace the existing list. If the Android device has two existing applications and the API updates the list with five applications, the is now the updated list of five applications. */
873
- applications?: Array<{
873
+ applications?: {
874
874
  /** The application's display name. An example is `Browser`. */
875
875
  displayName?: string;
876
876
  /** The application's package name. An example is `com.android.browser`. */
@@ -881,7 +881,7 @@ declare namespace gapi.client {
881
881
  versionCode?: number;
882
882
  /** The application's version name. An example is `3.2-140714`. */
883
883
  versionName?: string;
884
- }>;
884
+ }[];
885
885
  /** The device's baseband version. */
886
886
  basebandVersion?: string;
887
887
  /** Mobile Device Bootloader version (Read-only) */
@@ -1132,12 +1132,12 @@ declare namespace gapi.client {
1132
1132
  /** Name of the role. */
1133
1133
  roleName?: string;
1134
1134
  /** The set of privileges that are granted to this role. */
1135
- rolePrivileges?: Array<{
1135
+ rolePrivileges?: {
1136
1136
  /** The name of the privilege. */
1137
1137
  privilegeName?: string;
1138
1138
  /** The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](https://developers.google.com/workspace/admin/directory/v1/reference/privileges/list). */
1139
1139
  serviceId?: string;
1140
- }>;
1140
+ }[];
1141
1141
  }
1142
1142
  interface RoleAssignment {
1143
1143
  /** The unique ID of the entity this role is assigned to—either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts). */
@@ -1230,7 +1230,7 @@ declare namespace gapi.client {
1230
1230
  /** The status code, which should be an enum value of google.rpc.Code. */
1231
1231
  code?: number;
1232
1232
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1233
- details?: Array<{[P in string]: any}>;
1233
+ details?: {[P in string]: any}[];
1234
1234
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1235
1235
  message?: string;
1236
1236
  }
@@ -2858,12 +2858,12 @@ declare namespace gapi.client {
2858
2858
  }
2859
2859
  interface ChromeOsDevice {
2860
2860
  /** A list of active time ranges (Read-only). */
2861
- activeTimeRanges?: Array<{
2861
+ activeTimeRanges?: {
2862
2862
  /** Duration of usage in milliseconds. */
2863
2863
  activeTime?: number;
2864
2864
  /** Date of usage */
2865
2865
  date?: string;
2866
- }>;
2866
+ }[];
2867
2867
  /** The asset identifier as noted by an administrator or specified during enrollment. */
2868
2868
  annotatedAssetId?: string;
2869
2869
  /** The address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed. */
@@ -2883,43 +2883,43 @@ declare namespace gapi.client {
2883
2883
  /** Output only. Chrome OS type of the device. */
2884
2884
  chromeOsType?: 'chromeOsTypeUnspecified' | 'chromeOsFlex' | 'chromeOs';
2885
2885
  /** Information regarding CPU specs in the device. */
2886
- cpuInfo?: Array<{
2886
+ cpuInfo?: {
2887
2887
  /** The CPU architecture. */
2888
2888
  architecture?: string;
2889
2889
  /** Information for the Logical CPUs */
2890
- logicalCpus?: Array<{
2890
+ logicalCpus?: {
2891
2891
  /** C-States indicate the power consumption state of the CPU. For more information look at documentation published by the CPU maker. */
2892
- cStates?: Array<{
2892
+ cStates?: {
2893
2893
  /** Name of the state. */
2894
2894
  displayName?: string;
2895
2895
  /** Time spent in the state since the last reboot. */
2896
2896
  sessionDuration?: string;
2897
- }>;
2897
+ }[];
2898
2898
  /** Current frequency the CPU is running at. */
2899
2899
  currentScalingFrequencyKhz?: number;
2900
2900
  /** Idle time since last boot. */
2901
2901
  idleDuration?: string;
2902
2902
  /** Maximum frequency the CPU is allowed to run at, by policy. */
2903
2903
  maxScalingFrequencyKhz?: number;
2904
- }>;
2904
+ }[];
2905
2905
  /** The max CPU clock speed in kHz. */
2906
2906
  maxClockSpeedKhz?: number;
2907
2907
  /** The CPU model name. */
2908
2908
  model?: string;
2909
- }>;
2909
+ }[];
2910
2910
  /** Reports of CPU utilization and temperature (Read-only) */
2911
- cpuStatusReports?: Array<{
2911
+ cpuStatusReports?: {
2912
2912
  /** A list of CPU temperature samples. */
2913
- cpuTemperatureInfo?: Array<{
2913
+ cpuTemperatureInfo?: {
2914
2914
  /** CPU label */
2915
2915
  label?: string;
2916
2916
  /** Temperature in Celsius degrees. */
2917
2917
  temperature?: number;
2918
- }>;
2918
+ }[];
2919
2919
  cpuUtilizationPercentageInfo?: number[];
2920
2920
  /** Date and time the report was received. */
2921
2921
  reportTime?: string;
2922
- }>;
2922
+ }[];
2923
2923
  /** (Read-only) Deprovision reason. */
2924
2924
  deprovisionReason?:
2925
2925
  | 'DEPROVISION_REASON_UNSPECIFIED'
@@ -2934,7 +2934,7 @@ declare namespace gapi.client {
2934
2934
  | 'DEPROVISION_REASON_NOT_REQUIRED'
2935
2935
  | 'DEPROVISION_REASON_REPAIR_CENTER';
2936
2936
  /** A list of device files to download (Read-only) */
2937
- deviceFiles?: Array<{
2937
+ deviceFiles?: {
2938
2938
  /** Date and time the file was created */
2939
2939
  createTime?: string;
2940
2940
  /** File download URL */
@@ -2943,7 +2943,7 @@ declare namespace gapi.client {
2943
2943
  name?: string;
2944
2944
  /** File type */
2945
2945
  type?: string;
2946
- }>;
2946
+ }[];
2947
2947
  /** The unique ID of the Chrome device. */
2948
2948
  deviceId?: string;
2949
2949
  /** Output only. Device license type. */
@@ -2961,17 +2961,17 @@ declare namespace gapi.client {
2961
2961
  /** Output only. How much disk space the device has available and is currently using. */
2962
2962
  diskSpaceUsage?: ByteUsage;
2963
2963
  /** Reports of disk space and other info about mounted/connected volumes. */
2964
- diskVolumeReports?: Array<{
2964
+ diskVolumeReports?: {
2965
2965
  /** Disk volumes */
2966
- volumeInfo?: Array<{
2966
+ volumeInfo?: {
2967
2967
  /** Free disk space [in bytes] */
2968
2968
  storageFree?: string;
2969
2969
  /** Total disk space [in bytes] */
2970
2970
  storageTotal?: string;
2971
2971
  /** Volume id */
2972
2972
  volumeId?: string;
2973
- }>;
2974
- }>;
2973
+ }[];
2974
+ }[];
2975
2975
  /** (Read-only) Built-in MAC address for the docking station that the device connected to. Factory sets Media access control address (MAC address) assigned for use by a dock. It is reserved specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits without any delimiter (uppercase letters). This is only relevant for some devices. */
2976
2976
  dockMacAddress?: string;
2977
2977
  /** ETag of the resource. */
@@ -2999,12 +2999,12 @@ declare namespace gapi.client {
2999
2999
  /** Date and time the device was last enrolled (Read-only) */
3000
3000
  lastEnrollmentTime?: string;
3001
3001
  /** Contains last known network (Read-only) */
3002
- lastKnownNetwork?: Array<{
3002
+ lastKnownNetwork?: {
3003
3003
  /** The IP address. */
3004
3004
  ipAddress?: string;
3005
3005
  /** The WAN IP address. */
3006
3006
  wanIpAddress?: string;
3007
- }>;
3007
+ }[];
3008
3008
  /** Date and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only) */
3009
3009
  lastSync?: string;
3010
3010
  /** The device's wireless MAC address. If the device does not have this information, it is not included in the response. */
@@ -3036,14 +3036,14 @@ declare namespace gapi.client {
3036
3036
  /** The Chrome device's platform version. */
3037
3037
  platformVersion?: string;
3038
3038
  /** A list of recent device users, in descending order, by last login time. */
3039
- recentUsers?: Array<{
3039
+ recentUsers?: {
3040
3040
  /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */
3041
3041
  email?: string;
3042
3042
  /** The type of the user. */
3043
3043
  type?: string;
3044
- }>;
3044
+ }[];
3045
3045
  /** A list of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
3046
- screenshotFiles?: Array<{
3046
+ screenshotFiles?: {
3047
3047
  /** Date and time the file was created */
3048
3048
  createTime?: string;
3049
3049
  /** File download URL */
@@ -3052,7 +3052,7 @@ declare namespace gapi.client {
3052
3052
  name?: string;
3053
3053
  /** File type */
3054
3054
  type?: string;
3055
- }>;
3055
+ }[];
3056
3056
  /** The Chrome device serial number entered when the device was enabled. This value is the same as the Admin console's *Serial Number* in the *Chrome OS Devices* tab. */
3057
3057
  serialNumber?: string;
3058
3058
  /** The status of the device. */
@@ -3060,11 +3060,11 @@ declare namespace gapi.client {
3060
3060
  /** Final date the device will be supported (Read-only) */
3061
3061
  supportEndDate?: string;
3062
3062
  /** Reports of amounts of available RAM memory (Read-only) */
3063
- systemRamFreeReports?: Array<{
3063
+ systemRamFreeReports?: {
3064
3064
  /** Date and time the report was received. */
3065
3065
  reportTime?: string;
3066
3066
  systemRamFreeInfo?: string[];
3067
- }>;
3067
+ }[];
3068
3068
  /** Total RAM on the device [in bytes] (Read-only) */
3069
3069
  systemRamTotal?: string;
3070
3070
  /** Trusted Platform Module (TPM) (Read-only) */
@@ -3440,7 +3440,7 @@ declare namespace gapi.client {
3440
3440
  /** Adb (USB debugging) enabled or disabled on device (Read-only) */
3441
3441
  adbStatus?: boolean;
3442
3442
  /** The list of applications installed on an Android mobile device. It is not applicable to Google Sync and iOS devices. The list includes any Android applications that access Google Workspace data. When updating an applications list, it is important to note that updates replace the existing list. If the Android device has two existing applications and the API updates the list with five applications, the is now the updated list of five applications. */
3443
- applications?: Array<{
3443
+ applications?: {
3444
3444
  /** The application's display name. An example is `Browser`. */
3445
3445
  displayName?: string;
3446
3446
  /** The application's package name. An example is `com.android.browser`. */
@@ -3451,7 +3451,7 @@ declare namespace gapi.client {
3451
3451
  versionCode?: number;
3452
3452
  /** The application's version name. An example is `3.2-140714`. */
3453
3453
  versionName?: string;
3454
- }>;
3454
+ }[];
3455
3455
  /** The device's baseband version. */
3456
3456
  basebandVersion?: string;
3457
3457
  /** Mobile Device Bootloader version (Read-only) */
@@ -3702,12 +3702,12 @@ declare namespace gapi.client {
3702
3702
  /** Name of the role. */
3703
3703
  roleName?: string;
3704
3704
  /** The set of privileges that are granted to this role. */
3705
- rolePrivileges?: Array<{
3705
+ rolePrivileges?: {
3706
3706
  /** The name of the privilege. */
3707
3707
  privilegeName?: string;
3708
3708
  /** The obfuscated ID of the service this privilege is for. This value is returned with [`Privileges.list()`](https://developers.google.com/workspace/admin/directory/v1/reference/privileges/list). */
3709
3709
  serviceId?: string;
3710
- }>;
3710
+ }[];
3711
3711
  }
3712
3712
  interface RoleAssignment {
3713
3713
  /** The unique ID of the entity this role is assigned to—either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts). */
@@ -3800,7 +3800,7 @@ declare namespace gapi.client {
3800
3800
  /** The status code, which should be an enum value of google.rpc.Code. */
3801
3801
  code?: number;
3802
3802
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
3803
- details?: Array<{[P in string]: any}>;
3803
+ details?: {[P in string]: any}[];
3804
3804
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
3805
3805
  message?: string;
3806
3806
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.2.20260407",
3
+ "version": "0.3.20260407",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "repository": {
6
6
  "type": "git",