Skip to content

Commit 386e701

Browse files
yoshi-automationfeywind
authored andcommitted
feat(datastore): update the API
#### datastore:v1beta1 The following keys were changed: - endpoints #### datastore:v1beta3 The following keys were changed: - endpoints #### datastore:v1 The following keys were added: - resources.projects.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.GoogleLongrunningListOperationsResponse.properties.unreachable.description - schemas.GoogleLongrunningListOperationsResponse.properties.unreachable.items.type - schemas.GoogleLongrunningListOperationsResponse.properties.unreachable.type The following keys were changed: - endpoints
1 parent 1b4419c commit 386e701

File tree

4 files changed

+87
-34
lines changed

4 files changed

+87
-34
lines changed

discovery/datastore-v1.json

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@
203203
"endpointUrl": "https://datastore.us-east5.rep.googleapis.com/",
204204
"location": "us-east5"
205205
},
206-
{
207-
"description": "Regional Endpoint",
208-
"endpointUrl": "https://datastore.us-east7.rep.googleapis.com/",
209-
"location": "us-east7"
210-
},
211206
{
212207
"description": "Regional Endpoint",
213208
"endpointUrl": "https://datastore.us-south1.rep.googleapis.com/",
@@ -233,6 +228,11 @@
233228
"endpointUrl": "https://datastore.us-west4.rep.googleapis.com/",
234229
"location": "us-west4"
235230
},
231+
{
232+
"description": "Regional Endpoint",
233+
"endpointUrl": "https://datastore.us-east7.rep.googleapis.com/",
234+
"location": "us-east7"
235+
},
236236
{
237237
"description": "Regional Endpoint",
238238
"endpointUrl": "https://datastore.us-west8.rep.googleapis.com/",
@@ -423,11 +423,6 @@
423423
"endpointUrl": "https://batch-datastore.us-east5.rep.googleapis.com/",
424424
"location": "us-east5"
425425
},
426-
{
427-
"description": "Regional Endpoint",
428-
"endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/",
429-
"location": "us-east7"
430-
},
431426
{
432427
"description": "Regional Endpoint",
433428
"endpointUrl": "https://batch-datastore.us-south1.rep.googleapis.com/",
@@ -453,10 +448,25 @@
453448
"endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/",
454449
"location": "us-west4"
455450
},
451+
{
452+
"description": "Regional Endpoint",
453+
"endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/",
454+
"location": "us-east7"
455+
},
456456
{
457457
"description": "Regional Endpoint",
458458
"endpointUrl": "https://batch-datastore.us-west8.rep.googleapis.com/",
459459
"location": "us-west8"
460+
},
461+
{
462+
"description": "Regional Endpoint",
463+
"endpointUrl": "https://datastore.eu.rep.googleapis.com/",
464+
"location": "eu"
465+
},
466+
{
467+
"description": "Regional Endpoint",
468+
"endpointUrl": "https://datastore.us.rep.googleapis.com/",
469+
"location": "us"
460470
}
461471
],
462472
"fullyEncodeReservedExpansion": true,
@@ -1080,6 +1090,11 @@
10801090
"description": "The standard list page token.",
10811091
"location": "query",
10821092
"type": "string"
1093+
},
1094+
"returnPartialSuccess": {
1095+
"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.",
1096+
"location": "query",
1097+
"type": "boolean"
10831098
}
10841099
},
10851100
"path": "v1/{+name}/operations",
@@ -1096,7 +1111,7 @@
10961111
}
10971112
}
10981113
},
1099-
"revision": "20250918",
1114+
"revision": "20251001",
11001115
"rootUrl": "https://datastore.googleapis.com/",
11011116
"schemas": {
11021117
"Aggregation": {
@@ -2221,6 +2236,13 @@
22212236
"$ref": "GoogleLongrunningOperation"
22222237
},
22232238
"type": "array"
2239+
},
2240+
"unreachable": {
2241+
"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.",
2242+
"items": {
2243+
"type": "string"
2244+
},
2245+
"type": "array"
22242246
}
22252247
},
22262248
"type": "object"

discovery/datastore-v1beta1.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@
203203
"endpointUrl": "https://datastore.us-east5.rep.googleapis.com/",
204204
"location": "us-east5"
205205
},
206-
{
207-
"description": "Regional Endpoint",
208-
"endpointUrl": "https://datastore.us-east7.rep.googleapis.com/",
209-
"location": "us-east7"
210-
},
211206
{
212207
"description": "Regional Endpoint",
213208
"endpointUrl": "https://datastore.us-south1.rep.googleapis.com/",
@@ -233,6 +228,11 @@
233228
"endpointUrl": "https://datastore.us-west4.rep.googleapis.com/",
234229
"location": "us-west4"
235230
},
231+
{
232+
"description": "Regional Endpoint",
233+
"endpointUrl": "https://datastore.us-east7.rep.googleapis.com/",
234+
"location": "us-east7"
235+
},
236236
{
237237
"description": "Regional Endpoint",
238238
"endpointUrl": "https://datastore.us-west8.rep.googleapis.com/",
@@ -423,11 +423,6 @@
423423
"endpointUrl": "https://batch-datastore.us-east5.rep.googleapis.com/",
424424
"location": "us-east5"
425425
},
426-
{
427-
"description": "Regional Endpoint",
428-
"endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/",
429-
"location": "us-east7"
430-
},
431426
{
432427
"description": "Regional Endpoint",
433428
"endpointUrl": "https://batch-datastore.us-south1.rep.googleapis.com/",
@@ -453,10 +448,25 @@
453448
"endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/",
454449
"location": "us-west4"
455450
},
451+
{
452+
"description": "Regional Endpoint",
453+
"endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/",
454+
"location": "us-east7"
455+
},
456456
{
457457
"description": "Regional Endpoint",
458458
"endpointUrl": "https://batch-datastore.us-west8.rep.googleapis.com/",
459459
"location": "us-west8"
460+
},
461+
{
462+
"description": "Regional Endpoint",
463+
"endpointUrl": "https://datastore.eu.rep.googleapis.com/",
464+
"location": "eu"
465+
},
466+
{
467+
"description": "Regional Endpoint",
468+
"endpointUrl": "https://datastore.us.rep.googleapis.com/",
469+
"location": "us"
460470
}
461471
],
462472
"fullyEncodeReservedExpansion": true,
@@ -610,7 +620,7 @@
610620
}
611621
}
612622
},
613-
"revision": "20250918",
623+
"revision": "20251001",
614624
"rootUrl": "https://datastore.googleapis.com/",
615625
"schemas": {
616626
"GoogleDatastoreAdminV1CommonMetadata": {

discovery/datastore-v1beta3.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@
203203
"endpointUrl": "https://datastore.us-east5.rep.googleapis.com/",
204204
"location": "us-east5"
205205
},
206-
{
207-
"description": "Regional Endpoint",
208-
"endpointUrl": "https://datastore.us-east7.rep.googleapis.com/",
209-
"location": "us-east7"
210-
},
211206
{
212207
"description": "Regional Endpoint",
213208
"endpointUrl": "https://datastore.us-south1.rep.googleapis.com/",
@@ -233,6 +228,11 @@
233228
"endpointUrl": "https://datastore.us-west4.rep.googleapis.com/",
234229
"location": "us-west4"
235230
},
231+
{
232+
"description": "Regional Endpoint",
233+
"endpointUrl": "https://datastore.us-east7.rep.googleapis.com/",
234+
"location": "us-east7"
235+
},
236236
{
237237
"description": "Regional Endpoint",
238238
"endpointUrl": "https://datastore.us-west8.rep.googleapis.com/",
@@ -423,11 +423,6 @@
423423
"endpointUrl": "https://batch-datastore.us-east5.rep.googleapis.com/",
424424
"location": "us-east5"
425425
},
426-
{
427-
"description": "Regional Endpoint",
428-
"endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/",
429-
"location": "us-east7"
430-
},
431426
{
432427
"description": "Regional Endpoint",
433428
"endpointUrl": "https://batch-datastore.us-south1.rep.googleapis.com/",
@@ -453,10 +448,25 @@
453448
"endpointUrl": "https://batch-datastore.us-west4.rep.googleapis.com/",
454449
"location": "us-west4"
455450
},
451+
{
452+
"description": "Regional Endpoint",
453+
"endpointUrl": "https://batch-datastore.us-east7.rep.googleapis.com/",
454+
"location": "us-east7"
455+
},
456456
{
457457
"description": "Regional Endpoint",
458458
"endpointUrl": "https://batch-datastore.us-west8.rep.googleapis.com/",
459459
"location": "us-west8"
460+
},
461+
{
462+
"description": "Regional Endpoint",
463+
"endpointUrl": "https://datastore.eu.rep.googleapis.com/",
464+
"location": "eu"
465+
},
466+
{
467+
"description": "Regional Endpoint",
468+
"endpointUrl": "https://datastore.us.rep.googleapis.com/",
469+
"location": "us"
460470
}
461471
],
462472
"fullyEncodeReservedExpansion": true,
@@ -778,7 +788,7 @@
778788
}
779789
}
780790
},
781-
"revision": "20250918",
791+
"revision": "20251001",
782792
"rootUrl": "https://datastore.googleapis.com/",
783793
"schemas": {
784794
"Aggregation": {

src/apis/datastore/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,10 @@ export namespace datastore_v1 {
832832
* A list of operations that matches the specified filter in the request.
833833
*/
834834
operations?: Schema$GoogleLongrunningOperation[];
835+
/**
836+
* 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.
837+
*/
838+
unreachable?: string[] | null;
835839
}
836840
/**
837841
* This resource represents a long-running operation that is the result of a network API call.
@@ -4334,13 +4338,16 @@ export namespace datastore_v1 {
43344338
* pageSize: 'placeholder-value',
43354339
* // The standard list page token.
43364340
* pageToken: 'placeholder-value',
4341+
* // 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.
4342+
* returnPartialSuccess: 'placeholder-value',
43374343
* });
43384344
* console.log(res.data);
43394345
*
43404346
* // Example response
43414347
* // {
43424348
* // "nextPageToken": "my_nextPageToken",
4343-
* // "operations": []
4349+
* // "operations": [],
4350+
* // "unreachable": []
43444351
* // }
43454352
* }
43464353
*
@@ -4489,5 +4496,9 @@ export namespace datastore_v1 {
44894496
* The standard list page token.
44904497
*/
44914498
pageToken?: string;
4499+
/**
4500+
* 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.
4501+
*/
4502+
returnPartialSuccess?: boolean;
44924503
}
44934504
}

0 commit comments

Comments
 (0)