@@ -27,6 +27,7 @@ import "google/protobuf/empty.proto";
2727import "google/protobuf/field_mask.proto" ;
2828import "google/protobuf/struct.proto" ;
2929import "google/protobuf/timestamp.proto" ;
30+ import "google/rpc/status.proto" ;
3031import "google/spanner/admin/database/v1/backup.proto" ;
3132import "google/spanner/admin/database/v1/backup_schedule.proto" ;
3233import "google/spanner/admin/database/v1/common.proto" ;
@@ -485,6 +486,13 @@ service DatabaseAdmin {
485486 };
486487 option (google.api.method_signature ) = "parent" ;
487488 }
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+ }
488496}
489497
490498// Information about the database restore.
@@ -1282,3 +1290,25 @@ message SplitPoints {
12821290 google.protobuf.Timestamp expire_time = 5
12831291 [(google.api.field_behavior ) = OPTIONAL ];
12841292}
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