@@ -27,6 +27,7 @@ import "google/protobuf/empty.proto";
27
27
import "google/protobuf/field_mask.proto" ;
28
28
import "google/protobuf/struct.proto" ;
29
29
import "google/protobuf/timestamp.proto" ;
30
+ import "google/rpc/status.proto" ;
30
31
import "google/spanner/admin/database/v1/backup.proto" ;
31
32
import "google/spanner/admin/database/v1/backup_schedule.proto" ;
32
33
import "google/spanner/admin/database/v1/common.proto" ;
@@ -485,6 +486,13 @@ service DatabaseAdmin {
485
486
};
486
487
option (google.api.method_signature ) = "parent" ;
487
488
}
489
+
490
+ // This is an internal API called by Spanner Graph jobs. You should never need
491
+ // to call this API directly.
492
+ rpc InternalUpdateGraphOperation (InternalUpdateGraphOperationRequest )
493
+ returns (InternalUpdateGraphOperationResponse ) {
494
+ option (google.api.method_signature ) = "database,operation_id" ;
495
+ }
488
496
}
489
497
490
498
// Information about the database restore.
@@ -1282,3 +1290,25 @@ message SplitPoints {
1282
1290
google.protobuf.Timestamp expire_time = 5
1283
1291
[(google.api.field_behavior ) = OPTIONAL ];
1284
1292
}
1293
+
1294
+ // Internal request proto, do not use directly.
1295
+ message InternalUpdateGraphOperationRequest {
1296
+ // Internal field, do not use directly.
1297
+ string database = 1 [
1298
+ (google.api.field_behavior ) = REQUIRED ,
1299
+ (google.api.resource_reference ) = {
1300
+ type : "spanner.googleapis.com/Database"
1301
+ }
1302
+ ];
1303
+ // Internal field, do not use directly.
1304
+ string operation_id = 2 [(google.api.field_behavior ) = REQUIRED ];
1305
+ // Internal field, do not use directly.
1306
+ string vm_identity_token = 5 [(google.api.field_behavior ) = REQUIRED ];
1307
+ // Internal field, do not use directly.
1308
+ double progress = 3 [(google.api.field_behavior ) = OPTIONAL ];
1309
+ // Internal field, do not use directly.
1310
+ google.rpc.Status status = 6 [(google.api.field_behavior ) = OPTIONAL ];
1311
+ }
1312
+
1313
+ // Internal response proto, do not use directly.
1314
+ message InternalUpdateGraphOperationResponse {}
0 commit comments