Skip to content

Commit ada8fc6

Browse files
yoshi-automationsofisl
authored andcommitted
feat(alloydb): update the API
#### alloydb:v1alpha 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 #### alloydb:v1 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 5608606 commit ada8fc6

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

discovery/alloydb-v1.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@
14891489
}
14901490
}
14911491
},
1492-
"revision": "20240806",
1492+
"revision": "20240823",
14931493
"rootUrl": "https://alloydb.googleapis.com/",
14941494
"schemas": {
14951495
"AuthorizedNetwork": {
@@ -3300,6 +3300,10 @@
33003300
"description": "Configuration for availability of database instance",
33013301
"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration",
33023302
"properties": {
3303+
"automaticFailoverRoutingConfigured": {
3304+
"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.",
3305+
"type": "boolean"
3306+
},
33033307
"availabilityType": {
33043308
"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).",
33053309
"enum": [
@@ -4867,6 +4871,10 @@
48674871
},
48684872
"type": "array"
48694873
},
4874+
"keepExtraRoles": {
4875+
"description": "Input only. If the user already exists and it has additional roles, keep them granted.",
4876+
"type": "boolean"
4877+
},
48704878
"name": {
48714879
"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.",
48724880
"readOnly": true,

discovery/alloydb-v1alpha.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@
15171517
}
15181518
}
15191519
},
1520-
"revision": "20240806",
1520+
"revision": "20240823",
15211521
"rootUrl": "https://alloydb.googleapis.com/",
15221522
"schemas": {
15231523
"AuthorizedNetwork": {
@@ -3489,6 +3489,10 @@
34893489
"description": "Configuration for availability of database instance",
34903490
"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration",
34913491
"properties": {
3492+
"automaticFailoverRoutingConfigured": {
3493+
"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.",
3494+
"type": "boolean"
3495+
},
34923496
"availabilityType": {
34933497
"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).",
34943498
"enum": [
@@ -5124,6 +5128,10 @@
51245128
},
51255129
"type": "array"
51265130
},
5131+
"keepExtraRoles": {
5132+
"description": "Input only. If the user already exists and it has additional roles, keep them granted.",
5133+
"type": "boolean"
5134+
},
51275135
"name": {
51285136
"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.",
51295137
"readOnly": true,

src/apis/alloydb/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,6 +1254,10 @@ export namespace alloydb_v1 {
12541254
* Configuration for availability of database instance
12551255
*/
12561256
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
1257+
/**
1258+
* 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.
1259+
*/
1260+
automaticFailoverRoutingConfigured?: boolean | null;
12571261
/**
12581262
* 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).
12591263
*/
@@ -1783,6 +1787,10 @@ export namespace alloydb_v1 {
17831787
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
17841788
*/
17851789
databaseRoles?: string[] | null;
1790+
/**
1791+
* Input only. If the user already exists and it has additional roles, keep them granted.
1792+
*/
1793+
keepExtraRoles?: boolean | null;
17861794
/**
17871795
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
17881796
*/

src/apis/alloydb/v1alpha.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,6 +1378,10 @@ export namespace alloydb_v1alpha {
13781378
* Configuration for availability of database instance
13791379
*/
13801380
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
1381+
/**
1382+
* 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.
1383+
*/
1384+
automaticFailoverRoutingConfigured?: boolean | null;
13811385
/**
13821386
* 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).
13831387
*/
@@ -1937,6 +1941,10 @@ export namespace alloydb_v1alpha {
19371941
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
19381942
*/
19391943
databaseRoles?: string[] | null;
1944+
/**
1945+
* Input only. If the user already exists and it has additional roles, keep them granted.
1946+
*/
1947+
keepExtraRoles?: boolean | null;
19401948
/**
19411949
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
19421950
*/

0 commit comments

Comments
 (0)