Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2331)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 4, 2024
1 parent 240f763 commit 858fb57
Show file tree
Hide file tree
Showing 12 changed files with 419 additions and 367 deletions.
20 changes: 10 additions & 10 deletions admin/directory/v1/admin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
"methods": {
"action": {
"deprecated": true,
"description": "DEPRECATED: Use BatchChangeChromeOsDeviceStatus 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).",
"description": "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).",
"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action",
"httpMethod": "POST",
"id": "directory.chromeosdevices.action",
Expand Down Expand Up @@ -615,7 +615,7 @@
"chromeos": {
"methods": {
"batchChangeStatus": {
"description": "Changes the status of a batch of ChromeOS devices.",
"description": "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).",
"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos:batchChangeStatus",
"httpMethod": "POST",
"id": "admin.customer.devices.chromeos.batchChangeStatus",
Expand All @@ -624,7 +624,7 @@
],
"parameters": {
"customerId": {
"description": "Required. Immutable ID of the G Suite account.",
"description": "Required. Immutable ID of the Google Workspace account.",
"location": "path",
"required": true,
"type": "string"
Expand Down Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20231219",
"revision": "20240102",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -4815,7 +4815,7 @@
"id": "BatchChangeChromeOsDeviceStatusRequest",
"properties": {
"changeChromeOsDeviceStatusAction": {
"description": "Required. The Action to take on the ChromeOS device in order to change its status.",
"description": "Required. The action to take on the ChromeOS device in order to change its status.",
"enum": [
"CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_UNSPECIFIED",
"CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION",
Expand All @@ -4824,14 +4824,14 @@
],
"enumDescriptions": [
"Default value. Value is unused.",
"If you have ChromeOS devices that are no longer being used in your organization, you should deprovision them so that you’re no longer managing them. Deprovisioning the device removes all policies that were on the device as well as device-level printers and the ability to use the device as a kiosk. Depending on the upgrade that’s associated with the device this action might release the license back into the license pool; which allows you to use the license on a different device.",
"Use this action if a user loses their device or it’s stolen, this makes it such that the device is still managed, so it will still receive policies, but noone can use it. Depending on the upgrade that’s associated with the device this action might release the license back into the license pool; which allows you to use the license on a different device.",
"Reenable the device once it's no longer lost or it's been recovered. This allows the device to be used again. Depending on the upgrade associated with the device this might consume one license from the license pool, meaning that if there aren't enough licenses available the operation will fail."
"Deprovisions a ChromeOS device. If you have ChromeOS devices that are no longer being used in your organization, you should deprovision them so that you’re no longer managing them. Deprovisioning the device removes all policies that were on the device as well as device-level printers and the ability to use the device as a kiosk. Depending on the upgrade that’s associated with the device this action might release the license back into the license pool; which allows you to use the license on a different device.",
"Disables a ChromeOS device. Use this action if a user loses their device or it’s stolen, this makes it such that the device is still managed, so it will still receive policies, but no one can use it. Depending on the upgrade that’s associated with the device this action might release the license back into the license pool; which allows you to use the license on a different device.",
"Reenables a ChromeOS device to be used after being disabled. Reenables the device once it's no longer lost or it's been recovered. This allows the device to be used again. Depending on the upgrade associated with the device this might consume one license from the license pool, meaning that if there aren't enough licenses available the operation will fail."
],
"type": "string"
},
"deprovisionReason": {
"description": "Optional. The reason behind a device deprovision, must be provided for all deprovisions, otherwise it must not be provided. It must be one of the non-deprecated deprovision reasons.",
"description": "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.",
"enum": [
"DEPROVISION_REASON_UNSPECIFIED",
"DEPROVISION_REASON_SAME_MODEL_REPLACEMENT",
Expand Down Expand Up @@ -4874,7 +4874,7 @@
"type": "string"
},
"deviceIds": {
"description": "Required. List of the IDs of the ChromeOS devices to change.",
"description": "Required. List of the IDs of the ChromeOS devices to change. Maximum 50.",
"items": {
"type": "string"
},
Expand Down
91 changes: 49 additions & 42 deletions admin/directory/v1/admin-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion calendar/v3/calendar-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 23 additions & 1 deletion chromeuxreport/v1/chromeuxreport-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}
}
},
"revision": "20231030",
"revision": "20240102",
"rootUrl": "https://chromeuxreport.googleapis.com/",
"schemas": {
"Bin": {
Expand Down Expand Up @@ -191,6 +191,21 @@
},
"type": "object"
},
"FractionTimeseries": {
"description": "For enum metrics, provides fraction timeseries which add up to approximately 1.0 per entry (k-th element into the repeated fractions field for any k \u003c= len) across fraction_timeseries.",
"id": "FractionTimeseries",
"properties": {
"fractions": {
"description": "Values between 0.0 and 1.0 (inclusive) and NaN.",
"items": {
"format": "double",
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"HistoryKey": {
"description": "Key defines all the dimensions that identify this record as unique.",
"id": "HistoryKey",
Expand Down Expand Up @@ -312,6 +327,13 @@
"description": "A `metric timeseries` is a set of user experience data for a single web performance metric, like \"first contentful paint\". It contains a summary histogram of real world Chrome usage as a series of `bins`, where each bin has density values for a particular time period.",
"id": "MetricTimeseries",
"properties": {
"fractionTimeseries": {
"additionalProperties": {
"$ref": "FractionTimeseries"
},
"description": "Mapping from labels to timeseries of fractions attributed to this label.",
"type": "object"
},
"histogramTimeseries": {
"description": "The histogram of user experiences for a metric. The histogram will have at least one bin and the densities of all bins will add up to ~1, for each timeseries entry.",
"items": {
Expand Down
Loading

0 comments on commit 858fb57

Please sign in to comment.