Skip to content

Commit 7377350

Browse files
feat(spanner): update the API
#### spanner:v1 The following keys were added: - resources.projects.resources.instanceConfigs.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.instanceConfigs.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.instanceConfigs.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.instanceConfigs.resources.ssdCaches.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.instanceConfigs.resources.ssdCaches.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.instanceConfigs.resources.ssdCaches.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.instances.resources.backups.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.instances.resources.backups.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.instances.resources.backups.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.instances.resources.databases.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.instances.resources.databases.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.instances.resources.databases.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.returnPartialSuccess.type - resources.projects.resources.instances.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.instances.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.instances.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.InstancePartition.properties.autoscalingConfig.$ref - schemas.InstancePartition.properties.autoscalingConfig.description - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type The following keys were changed: - schemas.BatchCreateSessionsRequest.properties.sessionCount.description
1 parent 20f30c9 commit 7377350

File tree

2 files changed

+101
-9
lines changed

2 files changed

+101
-9
lines changed

discovery/spanner-v1.json

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,11 @@
503503
"description": "The standard list page token.",
504504
"location": "query",
505505
"type": "string"
506+
},
507+
"returnPartialSuccess": {
508+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
509+
"location": "query",
510+
"type": "boolean"
506511
}
507512
},
508513
"path": "v1/{+name}",
@@ -629,6 +634,11 @@
629634
"description": "The standard list page token.",
630635
"location": "query",
631636
"type": "string"
637+
},
638+
"returnPartialSuccess": {
639+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
640+
"location": "query",
641+
"type": "boolean"
632642
}
633643
},
634644
"path": "v1/{+name}",
@@ -1398,6 +1408,11 @@
13981408
"description": "The standard list page token.",
13991409
"location": "query",
14001410
"type": "string"
1411+
},
1412+
"returnPartialSuccess": {
1413+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
1414+
"location": "query",
1415+
"type": "boolean"
14011416
}
14021417
},
14031418
"path": "v1/{+name}",
@@ -2328,6 +2343,11 @@
23282343
"description": "The standard list page token.",
23292344
"location": "query",
23302345
"type": "string"
2346+
},
2347+
"returnPartialSuccess": {
2348+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
2349+
"location": "query",
2350+
"type": "boolean"
23312351
}
23322352
},
23332353
"path": "v1/{+name}",
@@ -3201,6 +3221,11 @@
32013221
"description": "The standard list page token.",
32023222
"location": "query",
32033223
"type": "string"
3224+
},
3225+
"returnPartialSuccess": {
3226+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
3227+
"location": "query",
3228+
"type": "boolean"
32043229
}
32053230
},
32063231
"path": "v1/{+name}",
@@ -3327,6 +3352,11 @@
33273352
"description": "The standard list page token.",
33283353
"location": "query",
33293354
"type": "string"
3355+
},
3356+
"returnPartialSuccess": {
3357+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
3358+
"location": "query",
3359+
"type": "boolean"
33303360
}
33313361
},
33323362
"path": "v1/{+name}",
@@ -3406,7 +3436,7 @@
34063436
}
34073437
}
34083438
},
3409-
"revision": "20251014",
3439+
"revision": "20251031",
34103440
"rootUrl": "https://spanner.googleapis.com/",
34113441
"schemas": {
34123442
"AdaptMessageRequest": {
@@ -3818,7 +3848,7 @@
38183848
"id": "BatchCreateSessionsRequest",
38193849
"properties": {
38203850
"sessionCount": {
3821-
"description": "Required. The number of sessions to be created in this batch call. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).",
3851+
"description": "Required. The number of sessions to be created in this batch call. At least one session is created. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).",
38223852
"format": "int32",
38233853
"type": "integer"
38243854
},
@@ -5559,6 +5589,10 @@
55595589
"description": "An isolated set of Cloud Spanner resources that databases can define placements on.",
55605590
"id": "InstancePartition",
55615591
"properties": {
5592+
"autoscalingConfig": {
5593+
"$ref": "AutoscalingConfig",
5594+
"description": "Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, fields in compute_capacity are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance partition."
5595+
},
55625596
"config": {
55635597
"description": "Required. The name of the instance partition's configuration. Values are of the form `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.",
55645598
"type": "string"
@@ -6023,6 +6057,13 @@
60236057
"$ref": "Operation"
60246058
},
60256059
"type": "array"
6060+
},
6061+
"unreachable": {
6062+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
6063+
"items": {
6064+
"type": "string"
6065+
},
6066+
"type": "array"
60266067
}
60276068
},
60286069
"type": "object"

0 commit comments

Comments
 (0)