Skip to content

Commit

Permalink
feat(bigtableadmin): update the API
Browse files Browse the repository at this point in the history
#### bigtableadmin:v2

The following keys were added:
- schemas.MultiClusterRoutingUseAny.properties.clusterIds.description
- schemas.MultiClusterRoutingUseAny.properties.clusterIds.items.type
- schemas.MultiClusterRoutingUseAny.properties.clusterIds.type
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 18, 2021
1 parent 0de2e24 commit 8ef0acf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
12 changes: 10 additions & 2 deletions discovery/bigtableadmin-v2.json
Expand Up @@ -1803,7 +1803,7 @@
}
}
},
"revision": "20210907",
"revision": "20210921",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
Expand Down Expand Up @@ -2730,7 +2730,15 @@
"MultiClusterRoutingUseAny": {
"description": "Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.",
"id": "MultiClusterRoutingUseAny",
"properties": {},
"properties": {
"clusterIds": {
"description": "The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Operation": {
Expand Down
7 changes: 6 additions & 1 deletion src/apis/bigtableadmin/v2.ts
Expand Up @@ -762,7 +762,12 @@ export namespace bigtableadmin_v2 {
/**
* Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
*/
export interface Schema$MultiClusterRoutingUseAny {}
export interface Schema$MultiClusterRoutingUseAny {
/**
* The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.
*/
clusterIds?: string[] | null;
}
/**
* This resource represents a long-running operation that is the result of a network API call.
*/
Expand Down

0 comments on commit 8ef0acf

Please sign in to comment.