Skip to content

Commit 8666c6c

Browse files
yoshi-automationsofisl
authored andcommitted
feat(alloydb): update the API
#### alloydb:v1beta The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration.properties.automaticFailoverRoutingConfigured.description - schemas.StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration.properties.automaticFailoverRoutingConfigured.type - schemas.User.properties.keepExtraRoles.description - schemas.User.properties.keepExtraRoles.type
1 parent 4da4418 commit 8666c6c

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

discovery/alloydb-v1beta.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@
14861486
}
14871487
}
14881488
},
1489-
"revision": "20240806",
1489+
"revision": "20240823",
14901490
"rootUrl": "https://alloydb.googleapis.com/",
14911491
"schemas": {
14921492
"AuthorizedNetwork": {
@@ -3437,6 +3437,10 @@
34373437
"description": "Configuration for availability of database instance",
34383438
"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration",
34393439
"properties": {
3440+
"automaticFailoverRoutingConfigured": {
3441+
"description": "Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.",
3442+
"type": "boolean"
3443+
},
34403444
"availabilityType": {
34413445
"description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).",
34423446
"enum": [
@@ -5028,6 +5032,10 @@
50285032
},
50295033
"type": "array"
50305034
},
5035+
"keepExtraRoles": {
5036+
"description": "Input only. If the user already exists and it has additional roles, keep them granted.",
5037+
"type": "boolean"
5038+
},
50315039
"name": {
50325040
"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.",
50335041
"readOnly": true,

src/apis/alloydb/v1beta.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,10 @@ export namespace alloydb_v1beta {
13621362
* Configuration for availability of database instance
13631363
*/
13641364
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
1365+
/**
1366+
* Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.
1367+
*/
1368+
automaticFailoverRoutingConfigured?: boolean | null;
13651369
/**
13661370
* Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
13671371
*/
@@ -1900,6 +1904,10 @@ export namespace alloydb_v1beta {
19001904
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
19011905
*/
19021906
databaseRoles?: string[] | null;
1907+
/**
1908+
* Input only. If the user already exists and it has additional roles, keep them granted.
1909+
*/
1910+
keepExtraRoles?: boolean | null;
19031911
/**
19041912
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
19051913
*/

0 commit comments

Comments
 (0)