|
2565 | 2565 | }
|
2566 | 2566 | }
|
2567 | 2567 | },
|
2568 |
| - "revision": "20230530", |
| 2568 | + "revision": "20230614", |
2569 | 2569 | "rootUrl": "https://spanner.googleapis.com/",
|
2570 | 2570 | "schemas": {
|
2571 | 2571 | "Backup": {
|
|
3216 | 3216 | },
|
3217 | 3217 | "type": "object"
|
3218 | 3218 | },
|
| 3219 | + "DdlStatementActionInfo": { |
| 3220 | + "description": "Action information extracted from a DDL statement. This proto is used to display the brief info of the DDL statement for the operation UpdateDatabaseDdl.", |
| 3221 | + "id": "DdlStatementActionInfo", |
| 3222 | + "properties": { |
| 3223 | + "action": { |
| 3224 | + "description": "The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.", |
| 3225 | + "type": "string" |
| 3226 | + }, |
| 3227 | + "entityNames": { |
| 3228 | + "description": "The entity name(s) being operated on the DDL statement. E.g. 1. For statement \"CREATE TABLE t1(...)\", `entity_names` = [\"t1\"]. 2. For statement \"GRANT ROLE r1, r2 ...\", `entity_names` = [\"r1\", \"r2\"]. 3. For statement \"ANALYZE\", `entity_names` = [].", |
| 3229 | + "items": { |
| 3230 | + "type": "string" |
| 3231 | + }, |
| 3232 | + "type": "array" |
| 3233 | + }, |
| 3234 | + "entityType": { |
| 3235 | + "description": "The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, e.g. for statement \"ANALYZE\", `entity_type` = \"\".", |
| 3236 | + "type": "string" |
| 3237 | + } |
| 3238 | + }, |
| 3239 | + "type": "object" |
| 3240 | + }, |
3219 | 3241 | "Delete": {
|
3220 | 3242 | "description": "Arguments to delete operations.",
|
3221 | 3243 | "id": "Delete",
|
|
5370 | 5392 | "description": "Metadata type for the operation returned by UpdateDatabaseDdl.",
|
5371 | 5393 | "id": "UpdateDatabaseDdlMetadata",
|
5372 | 5394 | "properties": {
|
| 5395 | + "actions": { |
| 5396 | + "description": "The brief action info for the DDL statements. `actions[i]` is the brief info for `statements[i]`.", |
| 5397 | + "items": { |
| 5398 | + "$ref": "DdlStatementActionInfo" |
| 5399 | + }, |
| 5400 | + "type": "array" |
| 5401 | + }, |
5373 | 5402 | "commitTimestamps": {
|
5374 | 5403 | "description": "Reports the commit timestamps of all statements that have succeeded so far, where `commit_timestamps[i]` is the commit timestamp for the statement `statements[i]`.",
|
5375 | 5404 | "items": {
|
|
5383 | 5412 | "type": "string"
|
5384 | 5413 | },
|
5385 | 5414 | "progress": {
|
5386 |
| - "description": "The progress of the UpdateDatabaseDdl operations. Currently, only index creation statements will have a continuously updating progress. For non-index creation statements, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed. `progress[i]` is the operation progress for `statements[i]`.", |
| 5415 | + "description": "The progress of the UpdateDatabaseDdl operations. All DDL statements will have continuously updating progress, and `progress[i]` is the operation progress for `statements[i]`. Also, `progress[i]` will have start time and end time populated with commit timestamp of operation, as well as a progress of 100% once the operation has completed.", |
5387 | 5416 | "items": {
|
5388 | 5417 | "$ref": "OperationProgress"
|
5389 | 5418 | },
|
|
0 commit comments