Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2443)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Feb 29, 2024
1 parent 9f9c0cf commit ced0c09
Show file tree
Hide file tree
Showing 33 changed files with 11,670 additions and 6,236 deletions.
16 changes: 10 additions & 6 deletions admin/directory/v1/admin-api.json
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240220",
"revision": "20240227",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6083,7 +6083,8 @@
"WIPE_USERS",
"REMOTE_POWERWASH",
"DEVICE_START_CRD_SESSION",
"CAPTURE_LOGS"
"CAPTURE_LOGS",
"FETCH_SUPPORT_PACKET"
],
"enumDescriptions": [
"The command type was unspecified.",
Expand All @@ -6093,7 +6094,8 @@
"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.",
"Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!",
"Starts a Chrome Remote Desktop session.",
"Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)"
"Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)",
"Fetch support packet from a device remotely. Support packet is a zip archive that contains various system logs and debug data from a ChromeOS device. The support packet can be downloaded from the downloadURL link present in the `deviceFiles` field of [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)"
],
"type": "string"
}
Expand Down Expand Up @@ -6150,7 +6152,8 @@
"WIPE_USERS",
"REMOTE_POWERWASH",
"DEVICE_START_CRD_SESSION",
"CAPTURE_LOGS"
"CAPTURE_LOGS",
"FETCH_SUPPORT_PACKET"
],
"enumDescriptions": [
"The command type was unspecified.",
Expand All @@ -6160,12 +6163,13 @@
"Wipe all the users off of the device. Executing this command in the device will remove all user profile data, but it will keep device policy and enrollment.",
"Wipes the device by performing a power wash. Executing this command in the device will remove all data including user policies, device policies and enrollment policies. Warning: This will revert the device back to a factory state with no enrollment unless the device is subject to forced or auto enrollment. Use with caution, as this is an irreversible action!",
"Starts a Chrome Remote Desktop session.",
"Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)"
"Capture the system logs of a kiosk device. The logs can be downloaded from the downloadUrl link present in `deviceFiles` field of [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)",
"Fetch support packet from a device remotely. Support packet is a zip archive that contains various system logs and debug data from a ChromeOS device. The support packet can be downloaded from the downloadURL link present in the `deviceFiles` field of [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices)"
],
"type": "string"
},
"payload": {
"description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: * `SET_VOLUME`: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is optionally a stringified JSON object in the form: { \"ackedUserPresence\": true }. `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is set to `false`. To start a Chrome Remote Desktop session for an active device, set `ackedUserPresence` to `true`. * `REBOOT`: Payload is a stringified JSON object in the form: { \"user_session_delay_seconds\": 300 }. The delay has to be in the range [0, 300].",
"description": "The payload for the command, provide it only if command supports it. The following commands support adding payload: * `SET_VOLUME`: Payload is a stringified JSON object in the form: { \"volume\": 50 }. The volume has to be an integer in the range [0,100]. * `DEVICE_START_CRD_SESSION`: Payload is optionally a stringified JSON object in the form: { \"ackedUserPresence\": true }. `ackedUserPresence` is a boolean. By default, `ackedUserPresence` is set to `false`. To start a Chrome Remote Desktop session for an active device, set `ackedUserPresence` to `true`. * `REBOOT`: Payload is a stringified JSON object in the form: { \"user_session_delay_seconds\": 300 }. The delay has to be in the range [0, 300]. * `FETCH_SUPPORT_PACKET`: Payload is optionally a stringified JSON object in the form: {\"supportPacketDetails\":{ \"issueCaseId\": optional_support_case_id_string, \"issueDescription\": optional_issue_description_string, \"requestedDataCollectors\": []}} The list of available `data_collector_enums` are as following: Chrome System Information (1), Crash IDs (2), Memory Details (3), UI Hierarchy (4), Additional ChromeOS Platform Logs (5), Device Event (6), Intel WiFi NICs Debug Dump (7), Touch Events (8), Lacros (9), Lacros System Information (10), ChromeOS Flex Logs (11), DBus Details (12), ChromeOS Network Routes (13), ChromeOS Shill (Connection Manager) Logs (14), Policies (15), ChromeOS System State and Logs (16), ChromeOS System Logs (17), ChromeOS Chrome User Logs (18), ChromeOS Bluetooth (19), ChromeOS Connected Input Devices (20), ChromeOS Traffic Counters (21), ChromeOS Virtual Keyboard (22), ChromeOS Network Health (23). See more details in [help article](https://support.google.com/chrome/a?p=remote-log).",
"type": "string"
}
},
Expand Down
31 changes: 30 additions & 1 deletion admin/directory/v1/admin-gen.go

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

4 changes: 2 additions & 2 deletions androidmanagement/v1/androidmanagement-api.json
Expand Up @@ -148,7 +148,7 @@
]
},
"delete": {
"description": "Deletes an enterprise. Only available for EMM-managed enterprises.",
"description": "Permanently deletes an enterprise and all accounts and data associated with it. Warning: this will result in a cascaded deletion of all AM API devices associated with the deleted enterprise. Only available for EMM-managed enterprises.",
"flatPath": "v1/enterprises/{enterprisesId}",
"httpMethod": "DELETE",
"id": "androidmanagement.enterprises.delete",
Expand Down Expand Up @@ -1163,7 +1163,7 @@
}
}
},
"revision": "20240213",
"revision": "20240221",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down
8 changes: 5 additions & 3 deletions androidmanagement/v1/androidmanagement-gen.go

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

12 changes: 1 addition & 11 deletions bigtableadmin/v2/bigtableadmin-api.json
Expand Up @@ -1875,7 +1875,7 @@
}
}
},
"revision": "20240126",
"revision": "20240221",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
Expand Down Expand Up @@ -2146,10 +2146,6 @@
"consistencyToken": {
"description": "Required. The token created using GenerateConsistencyToken for the Table.",
"type": "string"
},
"standardReadRemoteWrites": {
"$ref": "StandardReadRemoteWrites",
"description": "Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters."
}
},
"type": "object"
Expand Down Expand Up @@ -3324,12 +3320,6 @@
},
"type": "object"
},
"StandardReadRemoteWrites": {
"description": "Checks that all writes before the consistency token was generated is replicated in every cluster and readable.",
"id": "StandardReadRemoteWrites",
"properties": {},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
Expand Down
11 changes: 0 additions & 11 deletions bigtableadmin/v2/bigtableadmin-gen.go

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

42 changes: 41 additions & 1 deletion chromemanagement/v1/chromemanagement-api.json
Expand Up @@ -1040,7 +1040,7 @@
}
}
},
"revision": "20240221",
"revision": "20240227",
"rootUrl": "https://chromemanagement.googleapis.com/",
"schemas": {
"GoogleChromeManagementV1AndroidAppInfo": {
Expand Down Expand Up @@ -3113,6 +3113,38 @@
},
"type": "object"
},
"GoogleChromeManagementV1RuntimeCountersReport": {
"description": "Runtime counters retrieved from CPU. Currently the runtime counters telemetry is only supported by Intel vPro PSR on Gen 14+.",
"id": "GoogleChromeManagementV1RuntimeCountersReport",
"properties": {
"enterHibernationCount": {
"description": "Number of times that the device has entered into the hibernation state. Currently obtained via the PSR, count from S0-\u003eS4.",
"format": "int64",
"type": "string"
},
"enterPoweroffCount": {
"description": "Number of times that the device has entered into the power-off state. Currently obtained via the PSR, count from S0-\u003eS5.",
"format": "int64",
"type": "string"
},
"enterSleepCount": {
"description": "Number of times that the device has entered into the sleep state. Currently obtained via the PSR, count from S0-\u003eS3.",
"format": "int64",
"type": "string"
},
"reportTime": {
"description": "Timestamp when the report was collected.",
"format": "google-datetime",
"type": "string"
},
"uptimeRuntimeDuration": {
"description": "Total lifetime runtime. Currently always S0 runtime from Intel vPro PSR.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleChromeManagementV1StorageInfo": {
"description": "Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_STORAGE_INFO",
"id": "GoogleChromeManagementV1StorageInfo",
Expand Down Expand Up @@ -3344,6 +3376,14 @@
"readOnly": true,
"type": "array"
},
"runtimeCountersReport": {
"description": "Output only. Runtime counters reports collected device lifetime runtime, as well as the counts of S0-\u003eS3, S0-\u003eS4, and S0-\u003eS5 transitions, meaning entering into sleep, hibernation, and power-off states",
"items": {
"$ref": "GoogleChromeManagementV1RuntimeCountersReport"
},
"readOnly": true,
"type": "array"
},
"serialNumber": {
"description": "Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.",
"readOnly": true,
Expand Down

0 comments on commit ced0c09

Please sign in to comment.