File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
google/spanner/executor/v1 Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,9 @@ message SpannerAction {
132132
133133 // Action to execute change stream query.
134134 ExecuteChangeStreamQuery execute_change_stream_query = 50 ;
135+
136+ // Query cancellation action for testing the cancellation of a query.
137+ QueryCancellationAction query_cancellation = 51 ;
135138 }
136139}
137140
@@ -1048,6 +1051,16 @@ message GetOperationAction {
10481051 string operation = 1 ;
10491052}
10501053
1054+ // Query cancellation action defines the long running query and the cancel query
1055+ // format depening on the Cloud database dialect.
1056+ message QueryCancellationAction {
1057+ // Long running query.
1058+ string long_running_sql = 1 ;
1059+
1060+ // Format of the cancel query for the cloud database dialect.
1061+ string cancel_query = 2 ;
1062+ }
1063+
10511064// Action that cancels an operation.
10521065message CancelOperationAction {
10531066 // The name of the operation resource to be cancelled.
You can’t perform that action at this time.
0 commit comments