Skip to content

Commit 599c09f

Browse files
yoshi-automationsofisl
authored andcommitted
feat(spanner): update the API
#### spanner:v1 The following keys were added: - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.flatPath - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.httpMethod - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.id - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.parameterOrder - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.parameters.name.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.parameters.name.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.parameters.name.pattern - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.parameters.name.required - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.parameters.name.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.path - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.response.$ref - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.cancel.scopes - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.flatPath - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.httpMethod - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.id - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.parameterOrder - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.parameters.name.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.parameters.name.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.parameters.name.pattern - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.parameters.name.required - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.parameters.name.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.path - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.response.$ref - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.delete.scopes - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.flatPath - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.httpMethod - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.id - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.parameterOrder - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.parameters.name.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.parameters.name.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.parameters.name.pattern - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.parameters.name.required - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.parameters.name.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.path - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.response.$ref - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.get.scopes - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.flatPath - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.httpMethod - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.id - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameterOrder - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.filter.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.filter.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.filter.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.name.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.name.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.name.pattern - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.name.required - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.name.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageSize.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageSize.format - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageSize.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageSize.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageToken.description - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageToken.location - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.parameters.pageToken.type - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.path - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.response.$ref - resources.projects.resources.instances.resources.instancePartitions.resources.operations.methods.list.scopes
1 parent 2f45541 commit 599c09f

File tree

2 files changed

+728
-1
lines changed

2 files changed

+728
-1
lines changed

discovery/spanner-v1.json

Lines changed: 129 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2247,6 +2247,134 @@
22472247
}
22482248
}
22492249
},
2250+
"instancePartitions": {
2251+
"resources": {
2252+
"operations": {
2253+
"methods": {
2254+
"cancel": {
2255+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
2256+
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}:cancel",
2257+
"httpMethod": "POST",
2258+
"id": "spanner.projects.instances.instancePartitions.operations.cancel",
2259+
"parameterOrder": [
2260+
"name"
2261+
],
2262+
"parameters": {
2263+
"name": {
2264+
"description": "The name of the operation resource to be cancelled.",
2265+
"location": "path",
2266+
"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+$",
2267+
"required": true,
2268+
"type": "string"
2269+
}
2270+
},
2271+
"path": "v1/{+name}:cancel",
2272+
"response": {
2273+
"$ref": "Empty"
2274+
},
2275+
"scopes": [
2276+
"https://www.googleapis.com/auth/cloud-platform",
2277+
"https://www.googleapis.com/auth/spanner.admin"
2278+
]
2279+
},
2280+
"delete": {
2281+
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
2282+
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}",
2283+
"httpMethod": "DELETE",
2284+
"id": "spanner.projects.instances.instancePartitions.operations.delete",
2285+
"parameterOrder": [
2286+
"name"
2287+
],
2288+
"parameters": {
2289+
"name": {
2290+
"description": "The name of the operation resource to be deleted.",
2291+
"location": "path",
2292+
"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+$",
2293+
"required": true,
2294+
"type": "string"
2295+
}
2296+
},
2297+
"path": "v1/{+name}",
2298+
"response": {
2299+
"$ref": "Empty"
2300+
},
2301+
"scopes": [
2302+
"https://www.googleapis.com/auth/cloud-platform",
2303+
"https://www.googleapis.com/auth/spanner.admin"
2304+
]
2305+
},
2306+
"get": {
2307+
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
2308+
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations/{operationsId}",
2309+
"httpMethod": "GET",
2310+
"id": "spanner.projects.instances.instancePartitions.operations.get",
2311+
"parameterOrder": [
2312+
"name"
2313+
],
2314+
"parameters": {
2315+
"name": {
2316+
"description": "The name of the operation resource.",
2317+
"location": "path",
2318+
"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+$",
2319+
"required": true,
2320+
"type": "string"
2321+
}
2322+
},
2323+
"path": "v1/{+name}",
2324+
"response": {
2325+
"$ref": "Operation"
2326+
},
2327+
"scopes": [
2328+
"https://www.googleapis.com/auth/cloud-platform",
2329+
"https://www.googleapis.com/auth/spanner.admin"
2330+
]
2331+
},
2332+
"list": {
2333+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
2334+
"flatPath": "v1/projects/{projectsId}/instances/{instancesId}/instancePartitions/{instancePartitionsId}/operations",
2335+
"httpMethod": "GET",
2336+
"id": "spanner.projects.instances.instancePartitions.operations.list",
2337+
"parameterOrder": [
2338+
"name"
2339+
],
2340+
"parameters": {
2341+
"filter": {
2342+
"description": "The standard list filter.",
2343+
"location": "query",
2344+
"type": "string"
2345+
},
2346+
"name": {
2347+
"description": "The name of the operation's parent resource.",
2348+
"location": "path",
2349+
"pattern": "^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations$",
2350+
"required": true,
2351+
"type": "string"
2352+
},
2353+
"pageSize": {
2354+
"description": "The standard list page size.",
2355+
"format": "int32",
2356+
"location": "query",
2357+
"type": "integer"
2358+
},
2359+
"pageToken": {
2360+
"description": "The standard list page token.",
2361+
"location": "query",
2362+
"type": "string"
2363+
}
2364+
},
2365+
"path": "v1/{+name}",
2366+
"response": {
2367+
"$ref": "ListOperationsResponse"
2368+
},
2369+
"scopes": [
2370+
"https://www.googleapis.com/auth/cloud-platform",
2371+
"https://www.googleapis.com/auth/spanner.admin"
2372+
]
2373+
}
2374+
}
2375+
}
2376+
}
2377+
},
22502378
"operations": {
22512379
"methods": {
22522380
"cancel": {
@@ -2437,7 +2565,7 @@
24372565
}
24382566
}
24392567
},
2440-
"revision": "20230403",
2568+
"revision": "20230426",
24412569
"rootUrl": "https://spanner.googleapis.com/",
24422570
"schemas": {
24432571
"Backup": {

0 commit comments

Comments
 (0)