Skip to content

Commit 0b109da

Browse files
feat(spanner): update the api
#### spanner:v1 The following keys were added: - schemas.DdlStatementActionInfo (Total Keys: 6) - schemas.UpdateDatabaseDdlMetadata.properties.actions (Total Keys: 2)
1 parent 4c80b00 commit 0b109da

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

googleapiclient/discovery_cache/documents/spanner.v1.json

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@
25652565
}
25662566
}
25672567
},
2568-
"revision": "20230530",
2568+
"revision": "20230614",
25692569
"rootUrl": "https://spanner.googleapis.com/",
25702570
"schemas": {
25712571
"Backup": {
@@ -3216,6 +3216,28 @@
32163216
},
32173217
"type": "object"
32183218
},
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+
},
32193241
"Delete": {
32203242
"description": "Arguments to delete operations.",
32213243
"id": "Delete",
@@ -5370,6 +5392,13 @@
53705392
"description": "Metadata type for the operation returned by UpdateDatabaseDdl.",
53715393
"id": "UpdateDatabaseDdlMetadata",
53725394
"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+
},
53735402
"commitTimestamps": {
53745403
"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]`.",
53755404
"items": {
@@ -5383,7 +5412,7 @@
53835412
"type": "string"
53845413
},
53855414
"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.",
53875416
"items": {
53885417
"$ref": "OperationProgress"
53895418
},

0 commit comments

Comments
 (0)