diff --git a/dispatch/sdk/v1/function.proto b/dispatch/sdk/v1/function.proto index c1abc22..47aaceb 100644 --- a/dispatch/sdk/v1/function.proto +++ b/dispatch/sdk/v1/function.proto @@ -6,6 +6,7 @@ import "dispatch/sdk/v1/exit.proto"; import "dispatch/sdk/v1/poll.proto"; import "dispatch/sdk/v1/status.proto"; import "google/protobuf/any.proto"; +import "google/protobuf/timestamp.proto"; // The FunctionService service is used to interface with programmable endpoints // exposing remote functions. @@ -62,6 +63,14 @@ message RunRequest { // hierarchy tree is created. This field carries the identifier of the // root function call in the tree. string root_dispatch_id = 6; + + // Time at which the function call was created. + // + // Note that if the function tail-calls, the timestamp is not reset. + google.protobuf.Timestamp creation_time = 7; + + // Time at which the function call expires. + google.protobuf.Timestamp expiration_time = 8; } // RunResponse is returned by calls to the Run method of FunctionService.