Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2774)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 6, 2024
1 parent 140d0a5 commit 6476ddd
Show file tree
Hide file tree
Showing 47 changed files with 8,114 additions and 376 deletions.
4 changes: 2 additions & 2 deletions admin/directory/v1/admin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240709",
"revision": "20240903",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6245,7 +6245,7 @@
"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]. * `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).",
"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, \"crdSessionType\": string }. `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`. `crdSessionType` can only select from values `private` (which grants the remote admin exclusive control of the ChromeOS device) or `shared` (which allows the admin and the local user to share control of the ChromeOS device). If not set, `crdSessionType` defaults to `shared`. * `REBOOT`: Payload is a stringified JSON object in the form: { \"user_session_delay_seconds\": 300 }. The `user_session_delay_seconds` is the amount of seconds to wait before rebooting the device if a user is logged in. It has to be an integer in the range [0,300]. When payload is not present for reboot, 0 delay is the default. Note: This only applies if an actual user is logged in, including a Guest. If the device is in the login screen or in Kiosk mode the value is not respected and the device immediately reboots. * `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
48 changes: 29 additions & 19 deletions admin/directory/v1/admin-gen.go

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

115 changes: 109 additions & 6 deletions alloydb/v1/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"upgrade": {
"description": "Upgrades a single Cluster. Imperative only.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:upgrade",
"httpMethod": "PATCH",
"id": "alloydb.projects.locations.clusters.upgrade",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The resource name of the cluster.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:upgrade",
"request": {
"$ref": "UpgradeClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -1489,7 +1517,7 @@
}
}
},
"revision": "20240823",
"revision": "20240828",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -2063,12 +2091,16 @@
"description": "Upgrade status of the cluster.",
"enum": [
"STATUS_UNSPECIFIED",
"NOT_STARTED",
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
Expand Down Expand Up @@ -2469,6 +2501,14 @@
"readOnly": true,
"type": "array"
},
"outboundPublicIpAddresses": {
"description": "Output only. All outbound public IP addresses configured for the instance.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"pscInstanceConfig": {
"$ref": "PscInstanceConfig",
"description": "Optional. The configuration for Private Service Connect (PSC) for the instance."
Expand Down Expand Up @@ -2553,6 +2593,10 @@
},
"type": "array"
},
"enableOutboundPublicIp": {
"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.",
"type": "boolean"
},
"enablePublicIp": {
"description": "Optional. Enabling public ip for the instance.",
"type": "boolean"
Expand Down Expand Up @@ -2588,12 +2632,16 @@
"description": "Upgrade status of the instance.",
"enum": [
"STATUS_UNSPECIFIED",
"NOT_STARTED",
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
Expand Down Expand Up @@ -3238,28 +3286,38 @@
"STAGE_UNSPECIFIED",
"ALLOYDB_PRECHECK",
"PG_UPGRADE_CHECK",
"PREPARE_FOR_UPGRADE",
"PRIMARY_INSTANCE_UPGRADE",
"READ_POOL_UPGRADE"
"READ_POOL_INSTANCES_UPGRADE",
"ROLLBACK",
"CLEANUP"
],
"enumDescriptions": [
"Unspecified stage.",
"This stage is for the custom checks done before upgrade.",
"This stage is for `pg_upgrade --check` run before upgrade.",
"This stage is primary upgrade.",
"This stage is read pool upgrade."
"Pre-upgrade custom checks, not covered by pg_upgrade.",
"Pre-upgrade pg_upgrade checks.",
"Clone the original cluster.",
"Upgrade the primary instance(downtime).",
"This stage is read pool upgrade.",
"Rollback in case of critical failures.",
"Cleanup."
],
"type": "string"
},
"status": {
"description": "Status of the stage.",
"enum": [
"STATUS_UNSPECIFIED",
"NOT_STARTED",
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
Expand Down Expand Up @@ -4826,6 +4884,47 @@
},
"type": "object"
},
"UpgradeClusterRequest": {
"description": "Upgrades a cluster.",
"id": "UpgradeClusterRequest",
"properties": {
"etag": {
"description": "Optional. The current etag of the Cluster. If an etag is provided and does not match the current etag of the Cluster, upgrade will be blocked and an ABORTED error will be returned.",
"type": "string"
},
"requestId": {
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
"type": "string"
},
"validateOnly": {
"description": "Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but does not actually execute the upgrade.",
"type": "boolean"
},
"version": {
"description": "Required. The version the cluster is going to be upgraded to.",
"enum": [
"DATABASE_VERSION_UNSPECIFIED",
"POSTGRES_13",
"POSTGRES_14",
"POSTGRES_15"
],
"enumDeprecated": [
false,
true,
false,
false
],
"enumDescriptions": [
"This is an unknown database version.",
"DEPRECATED - The database version is Postgres 13.",
"The database version is Postgres 14.",
"The database version is Postgres 15."
],
"type": "string"
}
},
"type": "object"
},
"UpgradeClusterResponse": {
"description": "UpgradeClusterResponse contains the response for upgrade cluster operation.",
"id": "UpgradeClusterResponse",
Expand All @@ -4845,12 +4944,16 @@
"description": "Status of upgrade operation.",
"enum": [
"STATUS_UNSPECIFIED",
"NOT_STARTED",
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
Expand Down
Loading

0 comments on commit 6476ddd

Please sign in to comment.