Skip to content

Commit 6476ddd

Browse files
feat(all): auto-regenerate discovery clients (#2774)
1 parent 140d0a5 commit 6476ddd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+8114
-376
lines changed

‎admin/directory/v1/admin-api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4671,7 +4671,7 @@
46714671
}
46724672
}
46734673
},
4674-
"revision": "20240709",
4674+
"revision": "20240903",
46754675
"rootUrl": "https://admin.googleapis.com/",
46764676
"schemas": {
46774677
"Alias": {
@@ -6245,7 +6245,7 @@
62456245
"type": "string"
62466246
},
62476247
"payload": {
6248-
"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).",
6248+
"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).",
62496249
"type": "string"
62506250
}
62516251
},

‎admin/directory/v1/admin-gen.go

Lines changed: 29 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎alloydb/v1/alloydb-api.json

Lines changed: 109 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,34 @@
735735
"scopes": [
736736
"https://www.googleapis.com/auth/cloud-platform"
737737
]
738+
},
739+
"upgrade": {
740+
"description": "Upgrades a single Cluster. Imperative only.",
741+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:upgrade",
742+
"httpMethod": "PATCH",
743+
"id": "alloydb.projects.locations.clusters.upgrade",
744+
"parameterOrder": [
745+
"name"
746+
],
747+
"parameters": {
748+
"name": {
749+
"description": "Required. The resource name of the cluster.",
750+
"location": "path",
751+
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
752+
"required": true,
753+
"type": "string"
754+
}
755+
},
756+
"path": "v1/{+name}:upgrade",
757+
"request": {
758+
"$ref": "UpgradeClusterRequest"
759+
},
760+
"response": {
761+
"$ref": "Operation"
762+
},
763+
"scopes": [
764+
"https://www.googleapis.com/auth/cloud-platform"
765+
]
738766
}
739767
},
740768
"resources": {
@@ -1489,7 +1517,7 @@
14891517
}
14901518
}
14911519
},
1492-
"revision": "20240823",
1520+
"revision": "20240828",
14931521
"rootUrl": "https://alloydb.googleapis.com/",
14941522
"schemas": {
14951523
"AuthorizedNetwork": {
@@ -2063,12 +2091,16 @@
20632091
"description": "Upgrade status of the cluster.",
20642092
"enum": [
20652093
"STATUS_UNSPECIFIED",
2094+
"NOT_STARTED",
2095+
"IN_PROGRESS",
20662096
"SUCCESS",
20672097
"FAILED",
20682098
"PARTIAL_SUCCESS"
20692099
],
20702100
"enumDescriptions": [
20712101
"Unspecified status.",
2102+
"Not started.",
2103+
"In progress.",
20722104
"Operation succeeded.",
20732105
"Operation failed.",
20742106
"Operation partially succeeded."
@@ -2469,6 +2501,14 @@
24692501
"readOnly": true,
24702502
"type": "array"
24712503
},
2504+
"outboundPublicIpAddresses": {
2505+
"description": "Output only. All outbound public IP addresses configured for the instance.",
2506+
"items": {
2507+
"type": "string"
2508+
},
2509+
"readOnly": true,
2510+
"type": "array"
2511+
},
24722512
"pscInstanceConfig": {
24732513
"$ref": "PscInstanceConfig",
24742514
"description": "Optional. The configuration for Private Service Connect (PSC) for the instance."
@@ -2553,6 +2593,10 @@
25532593
},
25542594
"type": "array"
25552595
},
2596+
"enableOutboundPublicIp": {
2597+
"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.",
2598+
"type": "boolean"
2599+
},
25562600
"enablePublicIp": {
25572601
"description": "Optional. Enabling public ip for the instance.",
25582602
"type": "boolean"
@@ -2588,12 +2632,16 @@
25882632
"description": "Upgrade status of the instance.",
25892633
"enum": [
25902634
"STATUS_UNSPECIFIED",
2635+
"NOT_STARTED",
2636+
"IN_PROGRESS",
25912637
"SUCCESS",
25922638
"FAILED",
25932639
"PARTIAL_SUCCESS"
25942640
],
25952641
"enumDescriptions": [
25962642
"Unspecified status.",
2643+
"Not started.",
2644+
"In progress.",
25972645
"Operation succeeded.",
25982646
"Operation failed.",
25992647
"Operation partially succeeded."
@@ -3238,28 +3286,38 @@
32383286
"STAGE_UNSPECIFIED",
32393287
"ALLOYDB_PRECHECK",
32403288
"PG_UPGRADE_CHECK",
3289+
"PREPARE_FOR_UPGRADE",
32413290
"PRIMARY_INSTANCE_UPGRADE",
3242-
"READ_POOL_UPGRADE"
3291+
"READ_POOL_INSTANCES_UPGRADE",
3292+
"ROLLBACK",
3293+
"CLEANUP"
32433294
],
32443295
"enumDescriptions": [
32453296
"Unspecified stage.",
3246-
"This stage is for the custom checks done before upgrade.",
3247-
"This stage is for `pg_upgrade --check` run before upgrade.",
3248-
"This stage is primary upgrade.",
3249-
"This stage is read pool upgrade."
3297+
"Pre-upgrade custom checks, not covered by pg_upgrade.",
3298+
"Pre-upgrade pg_upgrade checks.",
3299+
"Clone the original cluster.",
3300+
"Upgrade the primary instance(downtime).",
3301+
"This stage is read pool upgrade.",
3302+
"Rollback in case of critical failures.",
3303+
"Cleanup."
32503304
],
32513305
"type": "string"
32523306
},
32533307
"status": {
32543308
"description": "Status of the stage.",
32553309
"enum": [
32563310
"STATUS_UNSPECIFIED",
3311+
"NOT_STARTED",
3312+
"IN_PROGRESS",
32573313
"SUCCESS",
32583314
"FAILED",
32593315
"PARTIAL_SUCCESS"
32603316
],
32613317
"enumDescriptions": [
32623318
"Unspecified status.",
3319+
"Not started.",
3320+
"In progress.",
32633321
"Operation succeeded.",
32643322
"Operation failed.",
32653323
"Operation partially succeeded."
@@ -4826,6 +4884,47 @@
48264884
},
48274885
"type": "object"
48284886
},
4887+
"UpgradeClusterRequest": {
4888+
"description": "Upgrades a cluster.",
4889+
"id": "UpgradeClusterRequest",
4890+
"properties": {
4891+
"etag": {
4892+
"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.",
4893+
"type": "string"
4894+
},
4895+
"requestId": {
4896+
"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).",
4897+
"type": "string"
4898+
},
4899+
"validateOnly": {
4900+
"description": "Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but does not actually execute the upgrade.",
4901+
"type": "boolean"
4902+
},
4903+
"version": {
4904+
"description": "Required. The version the cluster is going to be upgraded to.",
4905+
"enum": [
4906+
"DATABASE_VERSION_UNSPECIFIED",
4907+
"POSTGRES_13",
4908+
"POSTGRES_14",
4909+
"POSTGRES_15"
4910+
],
4911+
"enumDeprecated": [
4912+
false,
4913+
true,
4914+
false,
4915+
false
4916+
],
4917+
"enumDescriptions": [
4918+
"This is an unknown database version.",
4919+
"DEPRECATED - The database version is Postgres 13.",
4920+
"The database version is Postgres 14.",
4921+
"The database version is Postgres 15."
4922+
],
4923+
"type": "string"
4924+
}
4925+
},
4926+
"type": "object"
4927+
},
48294928
"UpgradeClusterResponse": {
48304929
"description": "UpgradeClusterResponse contains the response for upgrade cluster operation.",
48314930
"id": "UpgradeClusterResponse",
@@ -4845,12 +4944,16 @@
48454944
"description": "Status of upgrade operation.",
48464945
"enum": [
48474946
"STATUS_UNSPECIFIED",
4947+
"NOT_STARTED",
4948+
"IN_PROGRESS",
48484949
"SUCCESS",
48494950
"FAILED",
48504951
"PARTIAL_SUCCESS"
48514952
],
48524953
"enumDescriptions": [
48534954
"Unspecified status.",
4955+
"Not started.",
4956+
"In progress.",
48544957
"Operation succeeded.",
48554958
"Operation failed.",
48564959
"Operation partially succeeded."

0 commit comments

Comments
 (0)