@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20231219 → 0.0.20240116
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.
- package/index.d.ts +11 -11
- package/package.json +1 -1
- package/readme.md +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://admin.googleapis.com/$discovery/rest?version=directory_v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240116
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -73,11 +73,11 @@ declare namespace gapi.client {
|
|
|
73
73
|
severity?: string;
|
|
74
74
|
}
|
|
75
75
|
interface BatchChangeChromeOsDeviceStatusRequest {
|
|
76
|
-
/** Required. The
|
|
76
|
+
/** Required. The action to take on the ChromeOS device in order to change its status. */
|
|
77
77
|
changeChromeOsDeviceStatusAction?: string;
|
|
78
|
-
/** Optional. The reason behind a device deprovision
|
|
78
|
+
/** Optional. The reason behind a device deprovision. Must be provided if 'changeChromeOsDeviceStatusAction' is set to 'CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION'. Otherwise, omit this field. */
|
|
79
79
|
deprovisionReason?: string;
|
|
80
|
-
/** Required. List of the IDs of the ChromeOS devices to change. */
|
|
80
|
+
/** Required. List of the IDs of the ChromeOS devices to change. Maximum 50. */
|
|
81
81
|
deviceIds?: string[];
|
|
82
82
|
}
|
|
83
83
|
interface BatchChangeChromeOsDeviceStatusResponse {
|
|
@@ -1550,7 +1550,7 @@ declare namespace gapi.client {
|
|
|
1550
1550
|
}): Request<DirectoryChromeosdevicesCommand>;
|
|
1551
1551
|
}
|
|
1552
1552
|
interface ChromeosResource {
|
|
1553
|
-
/** Changes the status of a batch of ChromeOS devices. */
|
|
1553
|
+
/** Changes the status of a batch of ChromeOS devices. For more information about changing a ChromeOS device state [Repair, repurpose, or retire ChromeOS devices](https://support.google.com/chrome/a/answer/3523633). */
|
|
1554
1554
|
batchChangeStatus(request: {
|
|
1555
1555
|
/** V1 error format. */
|
|
1556
1556
|
'$.xgafv'?: string;
|
|
@@ -1560,7 +1560,7 @@ declare namespace gapi.client {
|
|
|
1560
1560
|
alt?: string;
|
|
1561
1561
|
/** JSONP */
|
|
1562
1562
|
callback?: string;
|
|
1563
|
-
/** Required. Immutable ID of the
|
|
1563
|
+
/** Required. Immutable ID of the Google Workspace account. */
|
|
1564
1564
|
customerId: string;
|
|
1565
1565
|
/** Selector specifying which fields to include in a partial response. */
|
|
1566
1566
|
fields?: string;
|
|
@@ -1589,7 +1589,7 @@ declare namespace gapi.client {
|
|
|
1589
1589
|
alt?: string;
|
|
1590
1590
|
/** JSONP */
|
|
1591
1591
|
callback?: string;
|
|
1592
|
-
/** Required. Immutable ID of the
|
|
1592
|
+
/** Required. Immutable ID of the Google Workspace account. */
|
|
1593
1593
|
customerId: string;
|
|
1594
1594
|
/** Selector specifying which fields to include in a partial response. */
|
|
1595
1595
|
fields?: string;
|
|
@@ -2433,11 +2433,11 @@ declare namespace gapi.client {
|
|
|
2433
2433
|
severity?: string;
|
|
2434
2434
|
}
|
|
2435
2435
|
interface BatchChangeChromeOsDeviceStatusRequest {
|
|
2436
|
-
/** Required. The
|
|
2436
|
+
/** Required. The action to take on the ChromeOS device in order to change its status. */
|
|
2437
2437
|
changeChromeOsDeviceStatusAction?: string;
|
|
2438
|
-
/** Optional. The reason behind a device deprovision
|
|
2438
|
+
/** Optional. The reason behind a device deprovision. Must be provided if 'changeChromeOsDeviceStatusAction' is set to 'CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION'. Otherwise, omit this field. */
|
|
2439
2439
|
deprovisionReason?: string;
|
|
2440
|
-
/** Required. List of the IDs of the ChromeOS devices to change. */
|
|
2440
|
+
/** Required. List of the IDs of the ChromeOS devices to change. Maximum 50. */
|
|
2441
2441
|
deviceIds?: string[];
|
|
2442
2442
|
}
|
|
2443
2443
|
interface BatchChangeChromeOsDeviceStatusResponse {
|
|
@@ -3908,7 +3908,7 @@ declare namespace gapi.client {
|
|
|
3908
3908
|
}): Request<Asps>;
|
|
3909
3909
|
}
|
|
3910
3910
|
interface ChromeosdevicesResource {
|
|
3911
|
-
/**
|
|
3911
|
+
/** Use [BatchChangeChromeOsDeviceStatus](/admin-sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633). */
|
|
3912
3912
|
action(request: {
|
|
3913
3913
|
/** V1 error format. */
|
|
3914
3914
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -176,7 +176,7 @@ Stops watching resources through this channel.
|
|
|
176
176
|
await gapi.client.admin.channels.stop({});
|
|
177
177
|
|
|
178
178
|
/*
|
|
179
|
-
|
|
179
|
+
Use [BatchChangeChromeOsDeviceStatus](/admin-sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633).
|
|
180
180
|
*/
|
|
181
181
|
await gapi.client.directory.chromeosdevices.action({
|
|
182
182
|
customerId: 'customerId',
|