8000 feat(all): auto-regenerate discovery clients (#2652) · googleapis/google-api-go-client@10c47f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10c47f3

Browse files
feat(all): auto-regenerate discovery clients (#2652)
1 parent 695484b commit 10c47f3

18 files changed

+1552
-478
lines changed

alloydb/v1/alloydb-api.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,34 @@
707707
"scopes": [
708708
"https://www.googleapis.com/auth/cloud-platform"
709709
]
710+
},
711+
"switchover": {
712+
"description": "Switches the role of PRIMARY and SECONDARY cluster without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster to replicate from this newly promoted cluster.",
713+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:switchover",
714+
"httpMethod": "POST",
715+
"id": "alloydb.projects.locations.clusters.switchover",
716+
"parameterOrder": [
717+
"name"
718+
],
719+
"parameters": {
720+
"name": {
721+
"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field",
722+
"location": "path",
723+
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
724+
"required": true,
725+
"type": "string"
726+
}
727+
},
728+
"path": "v1/{+name}:switchover",
729+
"request": {
730+
"$ref": "SwitchoverClusterRequest"
731+
},
732+
"response": {
733+
"$ref": "Operation"
734+
},
735+
"scopes": [
736+
"https://www.googleapis.com/auth/cloud-platform"
737+
]
710738
}
711739
},
712740
"resources": {
@@ -1461,7 +1489,7 @@
14611489
}
14621490
}
14631491
},
1464-
"revision": "20240605",
1492+
"revision": "20240612",
14651493
"rootUrl": "https://alloydb.googleapis.com/",
14661494
"schemas": {
14671495
"AuthorizedNetwork": {
@@ -4522,6 +4550,21 @@
45224550
},
45234551
"type": "object"
45244552
},
4553+
"SwitchoverClusterRequest": {
4554+
"description": "Message for switching over to a cluster",
4555+
"id": "SwitchoverClusterRequest",
4556+
"properties": {
4557+
"requestId": {
4558+
"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).",
4559+
"type": "string"
4560+
},
4561+
"validateOnly": {
4562+
"description": "Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.",
4563+
"type": "boolean"
4564+
}
4565+
},
4566+
"type": "object"
4567+
},
45254568
"TimeBasedRetention": {
45264569
"description": "A time based retention policy specifies that all backups within a certain time period should be retained.",
45274570
"id": "TimeBasedRetention",

alloydb/v1/alloydb-gen.go

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

alloydb/v1alpha/alloydb-api.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,34 @@
707707
"scopes": [
708708
"https://www.googleapis.com/auth/cloud-platform"
709709
]
710+
},
711+
"switchover": {
712+
"description": "Switches the role of PRIMARY and SECONDARY cluster without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster to replicate from this newly promoted cluster.",
713+
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:switchover",
714+
"httpMethod": "POST",
715+
"id": "alloydb.projects.locations.clusters.switchover",
716+
"parameterOrder": [
717+
"name"
718+
],
719+
"parameters": {
720+
"name": {
721+
"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field",
722+
"location": "path",
723+
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
724+
"required": true,
725+
"type": "string"
726+
}
727+
},
728+
"path": "v1alpha/{+name}:switchover",
729+
"request": {
730+
"$ref": "SwitchoverClusterRequest"
731+
},
732+
"response": {
733+
"$ref": "Operation"
734+
},
735+
"scopes": [
736+
"https://www.googleapis.com/auth/cloud-platform"
737+
]
710738
}
711739
},
712740
"resources": {
@@ -1461,7 +1489,7 @@
14611489
}
14621490
}
14631491
},
1464-
"revision": "20240605",
1492+
"revision": "20240612",
14651493
"rootUrl": "https://alloydb.googleapis.com/",
14661494
"schemas": {
14671495
"AuthorizedNetwork": {
@@ -4664,6 +4692,21 @@
46644692
},
46654693
"type": "object"
46664694
},
4695+
"SwitchoverClusterRequest": {
4696+
"description": "Message for switching over to a cluster",
4697+
"id": "SwitchoverClusterRequest",
4698+
"properties": {
4699+
"requestId": {
4700+
"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).",
4701+
"type": "string"
4702+
},
4703+
"validateOnly": {
4704+
"description": "Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.",
4705+
"type": "boolean"
4706+
}
4707+
},
4708+
"type": "object"
4709+
},
46674710
"TimeBasedRetention": {
46684711
"description": "A time based retention policy specifies that all backups within a certain time period should be retained.",
46694712
"id": "TimeBasedRetention",

0 commit comments

Comments
 (0)
0