Skip to content

Commit

Permalink
feat(alloydb): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 30, 2024
1 parent 5608606 commit ada8fc6
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
10 changes: 9 additions & 1 deletion discovery/alloydb-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
}
}
},
"revision": "20240806",
"revision": "20240823",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -3300,6 +3300,10 @@
"description": "Configuration for availability of database instance",
"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration",
"properties": {
"automaticFailoverRoutingConfigured": {
"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.",
"type": "boolean"
},
"availabilityType": {
"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).",
"enum": [
Expand Down Expand Up @@ -4867,6 +4871,10 @@
},
"type": "array"
},
"keepExtraRoles": {
"description": "Input only. If the user already exists and it has additional roles, keep them granted.",
"type": "boolean"
},
"name": {
"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.",
"readOnly": true,
Expand Down
10 changes: 9 additions & 1 deletion discovery/alloydb-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@
}
}
},
"revision": "20240806",
"revision": "20240823",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -3489,6 +3489,10 @@
"description": "Configuration for availability of database instance",
"id": "StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration",
"properties": {
"automaticFailoverRoutingConfigured": {
"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.",
"type": "boolean"
},
"availabilityType": {
"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).",
"enum": [
Expand Down Expand Up @@ -5124,6 +5128,10 @@
},
"type": "array"
},
"keepExtraRoles": {
"description": "Input only. If the user already exists and it has additional roles, keep them granted.",
"type": "boolean"
},
"name": {
"description": "Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.",
"readOnly": true,
Expand Down
8 changes: 8 additions & 0 deletions src/apis/alloydb/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,10 @@ export namespace alloydb_v1 {
* Configuration for availability of database instance
*/
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
/**
* 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.
*/
automaticFailoverRoutingConfigured?: boolean | null;
/**
* 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).
*/
Expand Down Expand Up @@ -1783,6 +1787,10 @@ export namespace alloydb_v1 {
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
*/
databaseRoles?: string[] | null;
/**
* Input only. If the user already exists and it has additional roles, keep them granted.
*/
keepExtraRoles?: boolean | null;
/**
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
*/
Expand Down
8 changes: 8 additions & 0 deletions src/apis/alloydb/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,10 @@ export namespace alloydb_v1alpha {
* Configuration for availability of database instance
*/
export interface Schema$StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration {
/**
* 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.
*/
automaticFailoverRoutingConfigured?: boolean | null;
/**
* 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).
*/
Expand Down Expand Up @@ -1937,6 +1941,10 @@ export namespace alloydb_v1alpha {
* Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
*/
databaseRoles?: string[] | null;
/**
* Input only. If the user already exists and it has additional roles, keep them granted.
*/
keepExtraRoles?: boolean | null;
/**
* Output only. Name of the resource in the form of projects/{project\}/locations/{location\}/cluster/{cluster\}/users/{user\}.
*/
Expand Down

0 comments on commit ada8fc6

Please sign in to comment.