dapr-ruby 0.4.5 → 1.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/.ruby-version +1 -1
 - data/dapr/proto/common/v1/common.proto +1 -1
 - data/dapr/proto/runtime/v1/appcallback.proto +30 -0
 - data/dapr/proto/runtime/v1/dapr.proto +288 -56
 - data/dapr.gemspec +1 -0
 - data/lib/dapr/proto/common/v1/common_pb.rb +16 -75
 - data/lib/dapr/proto/runtime/v1/appcallback_pb.rb +26 -122
 - data/lib/dapr/proto/runtime/v1/appcallback_services_pb.rb +9 -12
 - data/lib/dapr/proto/runtime/v1/dapr_pb.rb +110 -508
 - data/lib/dapr/proto/runtime/v1/dapr_services_pb.rb +58 -70
 - data/lib/dapr/version.rb +1 -1
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 73d387f801d75a19fd5b91340ab51efc3763088b52a54496d5da502054d7c564
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 943ac08684541a8fad025af6b77cfeb24d8550346e669b816d763ce2558d486a
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 3daf7c2512e8d2f2c4deca17469d638064f03b9e421f6445a0d3af9f33dfb232fb74bc4ebf9a4bd69c2450bb26df1cb540d63a4ab4312e0ccd3861f2b4da48f0
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4256104b2907db71aa933ee729978e327aa98aeafed818c5bdbfb78523483af2ef7c330c2a309db22304ab1d549b6dafd3924ff577a9b48e160489a949017801
         
     | 
    
        data/.ruby-version
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.3. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.3.4
         
     | 
| 
         @@ -77,7 +77,7 @@ message InvokeRequest { 
     | 
|
| 
       77 
77 
     | 
    
         
             
              HTTPExtension http_extension = 4;
         
     | 
| 
       78 
78 
     | 
    
         
             
            }
         
     | 
| 
       79 
79 
     | 
    
         | 
| 
       80 
     | 
    
         
            -
            // InvokeResponse is the response message  
     | 
| 
      
 80 
     | 
    
         
            +
            // InvokeResponse is the response message including data and its content type
         
     | 
| 
       81 
81 
     | 
    
         
             
            // from app callback.
         
     | 
| 
       82 
82 
     | 
    
         
             
            // This message is used in InvokeService of Dapr gRPC Service and OnInvoke
         
     | 
| 
       83 
83 
     | 
    
         
             
            // of AppCallback gRPC service.
         
     | 
| 
         @@ -15,6 +15,7 @@ syntax = "proto3"; 
     | 
|
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            package dapr.proto.runtime.v1;
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
      
 18 
     | 
    
         
            +
            import "google/protobuf/any.proto";
         
     | 
| 
       18 
19 
     | 
    
         
             
            import "google/protobuf/empty.proto";
         
     | 
| 
       19 
20 
     | 
    
         
             
            import "dapr/proto/common/v1/common.proto";
         
     | 
| 
       20 
21 
     | 
    
         
             
            import "google/protobuf/struct.proto";
         
     | 
| 
         @@ -59,8 +60,37 @@ service AppCallbackHealthCheck { 
     | 
|
| 
       59 
60 
     | 
    
         
             
            service AppCallbackAlpha {
         
     | 
| 
       60 
61 
     | 
    
         
             
                // Subscribes bulk events from Pubsub
         
     | 
| 
       61 
62 
     | 
    
         
             
              rpc OnBulkTopicEventAlpha1(TopicEventBulkRequest) returns (TopicEventBulkResponse) {}
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
              // Sends job back to the app's endpoint at trigger time.
         
     | 
| 
      
 65 
     | 
    
         
            +
              rpc OnJobEventAlpha1 (JobEventRequest) returns (JobEventResponse);
         
     | 
| 
      
 66 
     | 
    
         
            +
            }
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
            message JobEventRequest {
         
     | 
| 
      
 69 
     | 
    
         
            +
              // Job name.
         
     | 
| 
      
 70 
     | 
    
         
            +
              string name = 1;
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
              // Job data to be sent back to app.
         
     | 
| 
      
 73 
     | 
    
         
            +
              google.protobuf.Any data = 2;
         
     | 
| 
      
 74 
     | 
    
         
            +
             
     | 
| 
      
 75 
     | 
    
         
            +
              // Required. method is a method name which will be invoked by caller.
         
     | 
| 
      
 76 
     | 
    
         
            +
              string method = 3;
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
      
 78 
     | 
    
         
            +
              // The type of data content.
         
     | 
| 
      
 79 
     | 
    
         
            +
              //
         
     | 
| 
      
 80 
     | 
    
         
            +
              // This field is required if data delivers http request body
         
     | 
| 
      
 81 
     | 
    
         
            +
              // Otherwise, this is optional.
         
     | 
| 
      
 82 
     | 
    
         
            +
              string content_type = 4;
         
     | 
| 
      
 83 
     | 
    
         
            +
             
     | 
| 
      
 84 
     | 
    
         
            +
              // HTTP specific fields if request conveys http-compatible request.
         
     | 
| 
      
 85 
     | 
    
         
            +
              //
         
     | 
| 
      
 86 
     | 
    
         
            +
              // This field is required for http-compatible request. Otherwise,
         
     | 
| 
      
 87 
     | 
    
         
            +
              // this field is optional.
         
     | 
| 
      
 88 
     | 
    
         
            +
              common.v1.HTTPExtension http_extension = 5;
         
     | 
| 
       62 
89 
     | 
    
         
             
            }
         
     | 
| 
       63 
90 
     | 
    
         | 
| 
      
 91 
     | 
    
         
            +
            // JobEventResponse is the response from the app when a job is triggered.
         
     | 
| 
      
 92 
     | 
    
         
            +
            message JobEventResponse {}
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
       64 
94 
     | 
    
         
             
            // TopicEventRequest message is compatible with CloudEvent spec v1.0
         
     | 
| 
       65 
95 
     | 
    
         
             
            // https://github.com/cloudevents/spec/blob/v1.0/spec.md
         
     | 
| 
       66 
96 
     | 
    
         
             
            message TopicEventRequest {
         
     | 
| 
         @@ -19,6 +19,7 @@ import "google/protobuf/any.proto"; 
     | 
|
| 
       19 
19 
     | 
    
         
             
            import "google/protobuf/empty.proto";
         
     | 
| 
       20 
20 
     | 
    
         
             
            import "google/protobuf/timestamp.proto";
         
     | 
| 
       21 
21 
     | 
    
         
             
            import "dapr/proto/common/v1/common.proto";
         
     | 
| 
      
 22 
     | 
    
         
            +
            import "dapr/proto/runtime/v1/appcallback.proto";
         
     | 
| 
       22 
23 
     | 
    
         | 
| 
       23 
24 
     | 
    
         
             
            option csharp_namespace = "Dapr.Client.Autogen.Grpc.v1";
         
     | 
| 
       24 
25 
     | 
    
         
             
            option java_outer_classname = "DaprProtos";
         
     | 
| 
         @@ -58,6 +59,10 @@ service Dapr { 
     | 
|
| 
       58 
59 
     | 
    
         
             
              // Bulk Publishes multiple events to the specified topic.
         
     | 
| 
       59 
60 
     | 
    
         
             
              rpc BulkPublishEventAlpha1(BulkPublishRequest) returns (BulkPublishResponse) {}
         
     | 
| 
       60 
61 
     | 
    
         | 
| 
      
 62 
     | 
    
         
            +
              // SubscribeTopicEventsAlpha1 subscribes to a PubSub topic and receives topic
         
     | 
| 
      
 63 
     | 
    
         
            +
              // events from it.
         
     | 
| 
      
 64 
     | 
    
         
            +
              rpc SubscribeTopicEventsAlpha1(stream SubscribeTopicEventsRequestAlpha1) returns (stream SubscribeTopicEventsResponseAlpha1) {}
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
       61 
66 
     | 
    
         
             
              // Invokes binding data to specific output bindings
         
     | 
| 
       62 
67 
     | 
    
         
             
              rpc InvokeBinding(InvokeBindingRequest) returns (InvokeBindingResponse) {}
         
     | 
| 
       63 
68 
     | 
    
         | 
| 
         @@ -79,9 +84,6 @@ service Dapr { 
     | 
|
| 
       79 
84 
     | 
    
         
             
              // Unregister an actor reminder.
         
     | 
| 
       80 
85 
     | 
    
         
             
              rpc UnregisterActorReminder(UnregisterActorReminderRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
       81 
86 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
              // Rename an actor reminder.
         
     | 
| 
       83 
     | 
    
         
            -
              rpc RenameActorReminder(RenameActorReminderRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
87 
     | 
    
         
             
              // Gets the state for a specific actor.
         
     | 
| 
       86 
88 
     | 
    
         
             
              rpc GetActorState(GetActorStateRequest) returns (GetActorStateResponse) {}
         
     | 
| 
       87 
89 
     | 
    
         | 
| 
         @@ -122,7 +124,7 @@ service Dapr { 
     | 
|
| 
       122 
124 
     | 
    
         
             
              rpc DecryptAlpha1(stream DecryptRequest) returns (stream DecryptResponse);
         
     | 
| 
       123 
125 
     | 
    
         | 
| 
       124 
126 
     | 
    
         
             
              // Gets metadata of the sidecar
         
     | 
| 
       125 
     | 
    
         
            -
              rpc GetMetadata ( 
     | 
| 
      
 127 
     | 
    
         
            +
              rpc GetMetadata (GetMetadataRequest) returns (GetMetadataResponse) {}
         
     | 
| 
       126 
128 
     | 
    
         | 
| 
       127 
129 
     | 
    
         
             
              // Sets value in extended metadata of the sidecar
         
     | 
| 
       128 
130 
     | 
    
         
             
              rpc SetMetadata (SetMetadataRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
         @@ -169,8 +171,37 @@ service Dapr { 
     | 
|
| 
       169 
171 
     | 
    
         
             
              // Raise an event to a running workflow instance
         
     | 
| 
       170 
172 
     | 
    
         
             
              rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
       171 
173 
     | 
    
         | 
| 
      
 174 
     | 
    
         
            +
              // Starts a new instance of a workflow
         
     | 
| 
      
 175 
     | 
    
         
            +
              rpc StartWorkflowBeta1 (StartWorkflowRequest) returns (StartWorkflowResponse) {}
         
     | 
| 
      
 176 
     | 
    
         
            +
             
     | 
| 
      
 177 
     | 
    
         
            +
              // Gets details about a started workflow instance
         
     | 
| 
      
 178 
     | 
    
         
            +
              rpc GetWorkflowBeta1 (GetWorkflowRequest) returns (GetWorkflowResponse) {}
         
     | 
| 
      
 179 
     | 
    
         
            +
             
     | 
| 
      
 180 
     | 
    
         
            +
              // Purge Workflow
         
     | 
| 
      
 181 
     | 
    
         
            +
              rpc PurgeWorkflowBeta1 (PurgeWorkflowRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
              // Terminates a running workflow instance
         
     | 
| 
      
 184 
     | 
    
         
            +
              rpc TerminateWorkflowBeta1 (TerminateWorkflowRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
      
 185 
     | 
    
         
            +
             
     | 
| 
      
 186 
     | 
    
         
            +
              // Pauses a running workflow instance
         
     | 
| 
      
 187 
     | 
    
         
            +
              rpc PauseWorkflowBeta1 (PauseWorkflowRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
      
 188 
     | 
    
         
            +
             
     | 
| 
      
 189 
     | 
    
         
            +
              // Resumes a paused workflow instance
         
     | 
| 
      
 190 
     | 
    
         
            +
              rpc ResumeWorkflowBeta1 (ResumeWorkflowRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
      
 191 
     | 
    
         
            +
             
     | 
| 
      
 192 
     | 
    
         
            +
              // Raise an event to a running workflow instance
         
     | 
| 
      
 193 
     | 
    
         
            +
              rpc RaiseEventWorkflowBeta1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
       172 
194 
     | 
    
         
             
              // Shutdown the sidecar
         
     | 
| 
       173 
     | 
    
         
            -
              rpc Shutdown ( 
     | 
| 
      
 195 
     | 
    
         
            +
              rpc Shutdown (ShutdownRequest) returns (google.protobuf.Empty) {}
         
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
              // Create and schedule a job
         
     | 
| 
      
 198 
     | 
    
         
            +
              rpc ScheduleJobAlpha1(ScheduleJobRequest) returns (ScheduleJobResponse) {}
         
     | 
| 
      
 199 
     | 
    
         
            +
             
     | 
| 
      
 200 
     | 
    
         
            +
              // Gets a scheduled job
         
     | 
| 
      
 201 
     | 
    
         
            +
              rpc GetJobAlpha1(GetJobRequest) returns (GetJobResponse) {}
         
     | 
| 
      
 202 
     | 
    
         
            +
             
     | 
| 
      
 203 
     | 
    
         
            +
              // Delete a job
         
     | 
| 
      
 204 
     | 
    
         
            +
              rpc DeleteJobAlpha1(DeleteJobRequest) returns (DeleteJobResponse) {}
         
     | 
| 
       174 
205 
     | 
    
         
             
            }
         
     | 
| 
       175 
206 
     | 
    
         | 
| 
       176 
207 
     | 
    
         
             
            // InvokeServiceRequest represents the request message for Service invocation.
         
     | 
| 
         @@ -387,7 +418,6 @@ message BulkPublishResponse { 
     | 
|
| 
       387 
418 
     | 
    
         | 
| 
       388 
419 
     | 
    
         
             
            // BulkPublishResponseFailedEntry is the message containing the entryID and error of a failed event in BulkPublishEvent call
         
     | 
| 
       389 
420 
     | 
    
         
             
            message BulkPublishResponseFailedEntry {
         
     | 
| 
       390 
     | 
    
         
            -
             
     | 
| 
       391 
421 
     | 
    
         
             
              // The response scoped unique ID referring to this message
         
     | 
| 
       392 
422 
     | 
    
         
             
              string entry_id = 1;
         
     | 
| 
       393 
423 
     | 
    
         | 
| 
         @@ -395,6 +425,61 @@ message BulkPublishResponseFailedEntry { 
     | 
|
| 
       395 
425 
     | 
    
         
             
              string error = 2;
         
     | 
| 
       396 
426 
     | 
    
         
             
            }
         
     | 
| 
       397 
427 
     | 
    
         | 
| 
      
 428 
     | 
    
         
            +
            // SubscribeTopicEventsRequestAlpha1 is a message containing the details for
         
     | 
| 
      
 429 
     | 
    
         
            +
            // subscribing to a topic via streaming.
         
     | 
| 
      
 430 
     | 
    
         
            +
            // The first message must always be the initial request. All subsequent
         
     | 
| 
      
 431 
     | 
    
         
            +
            // messages must be event processed responses.
         
     | 
| 
      
 432 
     | 
    
         
            +
            message SubscribeTopicEventsRequestAlpha1 {
         
     | 
| 
      
 433 
     | 
    
         
            +
              oneof subscribe_topic_events_request_type {
         
     | 
| 
      
 434 
     | 
    
         
            +
                SubscribeTopicEventsRequestInitialAlpha1 initial_request = 1;
         
     | 
| 
      
 435 
     | 
    
         
            +
                SubscribeTopicEventsRequestProcessedAlpha1 event_processed = 2;
         
     | 
| 
      
 436 
     | 
    
         
            +
              }
         
     | 
| 
      
 437 
     | 
    
         
            +
            }
         
     | 
| 
      
 438 
     | 
    
         
            +
             
     | 
| 
      
 439 
     | 
    
         
            +
            // SubscribeTopicEventsRequestInitialAlpha1 is the initial message containing
         
     | 
| 
      
 440 
     | 
    
         
            +
            // the details for subscribing to a topic via streaming.
         
     | 
| 
      
 441 
     | 
    
         
            +
            message SubscribeTopicEventsRequestInitialAlpha1 {
         
     | 
| 
      
 442 
     | 
    
         
            +
              // The name of the pubsub component
         
     | 
| 
      
 443 
     | 
    
         
            +
              string pubsub_name = 1;
         
     | 
| 
      
 444 
     | 
    
         
            +
             
     | 
| 
      
 445 
     | 
    
         
            +
              // The pubsub topic
         
     | 
| 
      
 446 
     | 
    
         
            +
              string topic = 2;
         
     | 
| 
      
 447 
     | 
    
         
            +
             
     | 
| 
      
 448 
     | 
    
         
            +
              // The metadata passing to pub components
         
     | 
| 
      
 449 
     | 
    
         
            +
              //
         
     | 
| 
      
 450 
     | 
    
         
            +
              // metadata property:
         
     | 
| 
      
 451 
     | 
    
         
            +
              // - key : the key of the message.
         
     | 
| 
      
 452 
     | 
    
         
            +
              map<string, string> metadata = 3;
         
     | 
| 
      
 453 
     | 
    
         
            +
             
     | 
| 
      
 454 
     | 
    
         
            +
              // dead_letter_topic is the topic to which messages that fail to be processed
         
     | 
| 
      
 455 
     | 
    
         
            +
              // are sent.
         
     | 
| 
      
 456 
     | 
    
         
            +
              optional string dead_letter_topic = 4;
         
     | 
| 
      
 457 
     | 
    
         
            +
            }
         
     | 
| 
      
 458 
     | 
    
         
            +
             
     | 
| 
      
 459 
     | 
    
         
            +
            // SubscribeTopicEventsRequestProcessedAlpha1 is the message containing the
         
     | 
| 
      
 460 
     | 
    
         
            +
            // subscription to a topic.
         
     | 
| 
      
 461 
     | 
    
         
            +
            message SubscribeTopicEventsRequestProcessedAlpha1 {
         
     | 
| 
      
 462 
     | 
    
         
            +
              // id is the unique identifier for the subscription request.
         
     | 
| 
      
 463 
     | 
    
         
            +
              string id = 1;
         
     | 
| 
      
 464 
     | 
    
         
            +
             
     | 
| 
      
 465 
     | 
    
         
            +
              // status is the result of the subscription request.
         
     | 
| 
      
 466 
     | 
    
         
            +
              TopicEventResponse status = 2;
         
     | 
| 
      
 467 
     | 
    
         
            +
            }
         
     | 
| 
      
 468 
     | 
    
         
            +
             
     | 
| 
      
 469 
     | 
    
         
            +
             
     | 
| 
      
 470 
     | 
    
         
            +
            // SubscribeTopicEventsResponseAlpha1 is a message returned from daprd
         
     | 
| 
      
 471 
     | 
    
         
            +
            // when subscribing to a topic via streaming.
         
     | 
| 
      
 472 
     | 
    
         
            +
            message SubscribeTopicEventsResponseAlpha1 {
         
     | 
| 
      
 473 
     | 
    
         
            +
              oneof subscribe_topic_events_response_type {
         
     | 
| 
      
 474 
     | 
    
         
            +
                SubscribeTopicEventsResponseInitialAlpha1 initial_response = 1;
         
     | 
| 
      
 475 
     | 
    
         
            +
                TopicEventRequest event_message = 2;
         
     | 
| 
      
 476 
     | 
    
         
            +
              }
         
     | 
| 
      
 477 
     | 
    
         
            +
            }
         
     | 
| 
      
 478 
     | 
    
         
            +
             
     | 
| 
      
 479 
     | 
    
         
            +
            // SubscribeTopicEventsResponseInitialAlpha1 is the initial response from daprd
         
     | 
| 
      
 480 
     | 
    
         
            +
            // when subscribing to a topic.
         
     | 
| 
      
 481 
     | 
    
         
            +
            message SubscribeTopicEventsResponseInitialAlpha1 {}
         
     | 
| 
      
 482 
     | 
    
         
            +
             
     | 
| 
       398 
483 
     | 
    
         | 
| 
       399 
484 
     | 
    
         
             
            // InvokeBindingRequest is the message to send data to output bindings
         
     | 
| 
       400 
485 
     | 
    
         
             
            message InvokeBindingRequest {
         
     | 
| 
         @@ -489,65 +574,60 @@ message ExecuteStateTransactionRequest { 
     | 
|
| 
       489 
574 
     | 
    
         | 
| 
       490 
575 
     | 
    
         
             
            // RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id.
         
     | 
| 
       491 
576 
     | 
    
         
             
            message RegisterActorTimerRequest {
         
     | 
| 
       492 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       493 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 577 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 578 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       494 
579 
     | 
    
         
             
              string name = 3;
         
     | 
| 
       495 
     | 
    
         
            -
              string due_time = 4;
         
     | 
| 
      
 580 
     | 
    
         
            +
              string due_time = 4 [json_name = "dueTime"];
         
     | 
| 
       496 
581 
     | 
    
         
             
              string period = 5;
         
     | 
| 
       497 
582 
     | 
    
         
             
              string callback = 6;
         
     | 
| 
       498 
     | 
    
         
            -
              bytes 
     | 
| 
      
 583 
     | 
    
         
            +
              bytes data = 7;
         
     | 
| 
       499 
584 
     | 
    
         
             
              string ttl = 8;
         
     | 
| 
       500 
585 
     | 
    
         
             
            }
         
     | 
| 
       501 
586 
     | 
    
         | 
| 
       502 
587 
     | 
    
         
             
            // UnregisterActorTimerRequest is the message to unregister an actor timer
         
     | 
| 
       503 
588 
     | 
    
         
             
            message UnregisterActorTimerRequest {
         
     | 
| 
       504 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       505 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 589 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 590 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       506 
591 
     | 
    
         
             
              string name = 3;
         
     | 
| 
       507 
592 
     | 
    
         
             
            }
         
     | 
| 
       508 
593 
     | 
    
         | 
| 
       509 
594 
     | 
    
         
             
            // RegisterActorReminderRequest is the message to register a reminder for an actor of a given type and id.
         
     | 
| 
       510 
595 
     | 
    
         
             
            message RegisterActorReminderRequest {
         
     | 
| 
       511 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       512 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 596 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 597 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       513 
598 
     | 
    
         
             
              string name = 3;
         
     | 
| 
       514 
     | 
    
         
            -
              string due_time = 4;
         
     | 
| 
      
 599 
     | 
    
         
            +
              string due_time = 4 [json_name = "dueTime"];
         
     | 
| 
       515 
600 
     | 
    
         
             
              string period = 5;
         
     | 
| 
       516 
     | 
    
         
            -
              bytes 
     | 
| 
      
 601 
     | 
    
         
            +
              bytes data = 6;
         
     | 
| 
       517 
602 
     | 
    
         
             
              string ttl = 7;
         
     | 
| 
       518 
603 
     | 
    
         
             
            }
         
     | 
| 
       519 
604 
     | 
    
         | 
| 
       520 
605 
     | 
    
         
             
            // UnregisterActorReminderRequest is the message to unregister an actor reminder.
         
     | 
| 
       521 
606 
     | 
    
         
             
            message UnregisterActorReminderRequest {
         
     | 
| 
       522 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       523 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 607 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 608 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       524 
609 
     | 
    
         
             
              string name = 3;
         
     | 
| 
       525 
610 
     | 
    
         
             
            }
         
     | 
| 
       526 
611 
     | 
    
         | 
| 
       527 
     | 
    
         
            -
            // RenameActorReminderRequest is the message to rename an actor reminder.
         
     | 
| 
       528 
     | 
    
         
            -
            message RenameActorReminderRequest {
         
     | 
| 
       529 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       530 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
       531 
     | 
    
         
            -
              string old_name = 3;
         
     | 
| 
       532 
     | 
    
         
            -
              string new_name = 4;
         
     | 
| 
       533 
     | 
    
         
            -
            }
         
     | 
| 
       534 
     | 
    
         
            -
             
     | 
| 
       535 
612 
     | 
    
         
             
            // GetActorStateRequest is the message to get key-value states from specific actor.
         
     | 
| 
       536 
613 
     | 
    
         
             
            message GetActorStateRequest {
         
     | 
| 
       537 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       538 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 614 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 615 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       539 
616 
     | 
    
         
             
              string key = 3;
         
     | 
| 
       540 
617 
     | 
    
         
             
            }
         
     | 
| 
       541 
618 
     | 
    
         | 
| 
       542 
619 
     | 
    
         
             
            // GetActorStateResponse is the response conveying the actor's state value.
         
     | 
| 
       543 
620 
     | 
    
         
             
            message GetActorStateResponse {
         
     | 
| 
       544 
621 
     | 
    
         
             
              bytes data = 1;
         
     | 
| 
      
 622 
     | 
    
         
            +
             
     | 
| 
      
 623 
     | 
    
         
            +
              // The metadata which will be sent to app.
         
     | 
| 
      
 624 
     | 
    
         
            +
              map<string, string> metadata = 2;
         
     | 
| 
       545 
625 
     | 
    
         
             
            }
         
     | 
| 
       546 
626 
     | 
    
         | 
| 
       547 
627 
     | 
    
         
             
            // ExecuteActorStateTransactionRequest is the message to execute multiple operations on a specified actor.
         
     | 
| 
       548 
628 
     | 
    
         
             
            message ExecuteActorStateTransactionRequest {
         
     | 
| 
       549 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       550 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 629 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 630 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       551 
631 
     | 
    
         
             
              repeated TransactionalActorStateOperation operations = 3;
         
     | 
| 
       552 
632 
     | 
    
         
             
            }
         
     | 
| 
       553 
633 
     | 
    
         | 
| 
         @@ -565,8 +645,8 @@ message TransactionalActorStateOperation { 
     | 
|
| 
       565 
645 
     | 
    
         | 
| 
       566 
646 
     | 
    
         
             
            // InvokeActorRequest is the message to call an actor.
         
     | 
| 
       567 
647 
     | 
    
         
             
            message InvokeActorRequest {
         
     | 
| 
       568 
     | 
    
         
            -
              string actor_type = 1;
         
     | 
| 
       569 
     | 
    
         
            -
              string actor_id = 2;
         
     | 
| 
      
 648 
     | 
    
         
            +
              string actor_type = 1 [json_name = "actorType"];
         
     | 
| 
      
 649 
     | 
    
         
            +
              string actor_id = 2 [json_name = "actorId"];
         
     | 
| 
       570 
650 
     | 
    
         
             
              string method = 3;
         
     | 
| 
       571 
651 
     | 
    
         
             
              bytes  data = 4;
         
     | 
| 
       572 
652 
     | 
    
         
             
              map<string, string> metadata = 5;
         
     | 
| 
         @@ -577,13 +657,46 @@ message InvokeActorResponse { 
     | 
|
| 
       577 
657 
     | 
    
         
             
              bytes data = 1;
         
     | 
| 
       578 
658 
     | 
    
         
             
            }
         
     | 
| 
       579 
659 
     | 
    
         | 
| 
       580 
     | 
    
         
            -
            //  
     | 
| 
      
 660 
     | 
    
         
            +
            // GetMetadataRequest is the message for the GetMetadata request.
         
     | 
| 
      
 661 
     | 
    
         
            +
            message GetMetadataRequest {
         
     | 
| 
      
 662 
     | 
    
         
            +
              // Empty
         
     | 
| 
      
 663 
     | 
    
         
            +
            }
         
     | 
| 
      
 664 
     | 
    
         
            +
             
     | 
| 
      
 665 
     | 
    
         
            +
            // GetMetadataResponse is a message that is returned on GetMetadata rpc call.
         
     | 
| 
       581 
666 
     | 
    
         
             
            message GetMetadataResponse {
         
     | 
| 
       582 
667 
     | 
    
         
             
              string id = 1;
         
     | 
| 
       583 
     | 
    
         
            -
               
     | 
| 
       584 
     | 
    
         
            -
              repeated  
     | 
| 
       585 
     | 
    
         
            -
               
     | 
| 
       586 
     | 
    
         
            -
               
     | 
| 
      
 668 
     | 
    
         
            +
              // Deprecated alias for actor_runtime.active_actors.
         
     | 
| 
      
 669 
     | 
    
         
            +
              repeated ActiveActorsCount active_actors_count = 2 [json_name = "actors", deprecated = true];
         
     | 
| 
      
 670 
     | 
    
         
            +
              repeated RegisteredComponents registered_components = 3 [json_name = "components"];
         
     | 
| 
      
 671 
     | 
    
         
            +
              map<string, string> extended_metadata = 4 [json_name = "extended"];
         
     | 
| 
      
 672 
     | 
    
         
            +
              repeated PubsubSubscription subscriptions = 5 [json_name = "subscriptions"];
         
     | 
| 
      
 673 
     | 
    
         
            +
              repeated MetadataHTTPEndpoint http_endpoints = 6 [json_name = "httpEndpoints"];
         
     | 
| 
      
 674 
     | 
    
         
            +
              AppConnectionProperties app_connection_properties = 7 [json_name = "appConnectionProperties"];
         
     | 
| 
      
 675 
     | 
    
         
            +
              string runtime_version = 8 [json_name = "runtimeVersion"];
         
     | 
| 
      
 676 
     | 
    
         
            +
              repeated string enabled_features = 9 [json_name = "enabledFeatures"];
         
     | 
| 
      
 677 
     | 
    
         
            +
              ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"];
         
     | 
| 
      
 678 
     | 
    
         
            +
              //TODO: Cassie: probably add scheduler runtime status
         
     | 
| 
      
 679 
     | 
    
         
            +
            }
         
     | 
| 
      
 680 
     | 
    
         
            +
             
     | 
| 
      
 681 
     | 
    
         
            +
            message ActorRuntime {
         
     | 
| 
      
 682 
     | 
    
         
            +
              enum ActorRuntimeStatus {
         
     | 
| 
      
 683 
     | 
    
         
            +
                // Indicates that the actor runtime is still being initialized.
         
     | 
| 
      
 684 
     | 
    
         
            +
                INITIALIZING = 0;
         
     | 
| 
      
 685 
     | 
    
         
            +
                // Indicates that the actor runtime is disabled.
         
     | 
| 
      
 686 
     | 
    
         
            +
                // This normally happens when Dapr is started without "placement-host-address"
         
     | 
| 
      
 687 
     | 
    
         
            +
                DISABLED = 1;
         
     | 
| 
      
 688 
     | 
    
         
            +
                // Indicates the actor runtime is running, either as an actor host or client.
         
     | 
| 
      
 689 
     | 
    
         
            +
                RUNNING = 2;
         
     | 
| 
      
 690 
     | 
    
         
            +
              }
         
     | 
| 
      
 691 
     | 
    
         
            +
             
     | 
| 
      
 692 
     | 
    
         
            +
              // Contains an enum indicating whether the actor runtime has been initialized.
         
     | 
| 
      
 693 
     | 
    
         
            +
              ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"];
         
     | 
| 
      
 694 
     | 
    
         
            +
              // Count of active actors per type.
         
     | 
| 
      
 695 
     | 
    
         
            +
              repeated ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
         
     | 
| 
      
 696 
     | 
    
         
            +
              // Indicates whether the actor runtime is ready to host actors.
         
     | 
| 
      
 697 
     | 
    
         
            +
              bool host_ready = 3 [json_name = "hostReady"];
         
     | 
| 
      
 698 
     | 
    
         
            +
              // Custom message from the placement provider.
         
     | 
| 
      
 699 
     | 
    
         
            +
              string placement = 4 [json_name = "placement"];
         
     | 
| 
       587 
700 
     | 
    
         
             
            }
         
     | 
| 
       588 
701 
     | 
    
         | 
| 
       589 
702 
     | 
    
         
             
            message ActiveActorsCount {
         
     | 
| 
         @@ -598,12 +711,44 @@ message RegisteredComponents { 
     | 
|
| 
       598 
711 
     | 
    
         
             
              repeated string capabilities = 4;
         
     | 
| 
       599 
712 
     | 
    
         
             
            }
         
     | 
| 
       600 
713 
     | 
    
         | 
| 
      
 714 
     | 
    
         
            +
            message MetadataHTTPEndpoint {
         
     | 
| 
      
 715 
     | 
    
         
            +
              string name = 1 [json_name = "name"];
         
     | 
| 
      
 716 
     | 
    
         
            +
            }
         
     | 
| 
      
 717 
     | 
    
         
            +
             
     | 
| 
      
 718 
     | 
    
         
            +
            message AppConnectionProperties {
         
     | 
| 
      
 719 
     | 
    
         
            +
              int32 port = 1;
         
     | 
| 
      
 720 
     | 
    
         
            +
              string protocol = 2;
         
     | 
| 
      
 721 
     | 
    
         
            +
              string channel_address = 3 [json_name = "channelAddress"];
         
     | 
| 
      
 722 
     | 
    
         
            +
              int32 max_concurrency = 4 [json_name = "maxConcurrency"];
         
     | 
| 
      
 723 
     | 
    
         
            +
              AppConnectionHealthProperties health = 5;
         
     | 
| 
      
 724 
     | 
    
         
            +
            }
         
     | 
| 
      
 725 
     | 
    
         
            +
             
     | 
| 
      
 726 
     | 
    
         
            +
            message AppConnectionHealthProperties {
         
     | 
| 
      
 727 
     | 
    
         
            +
              string health_check_path = 1 [json_name = "healthCheckPath"];
         
     | 
| 
      
 728 
     | 
    
         
            +
              string health_probe_interval = 2 [json_name = "healthProbeInterval"];
         
     | 
| 
      
 729 
     | 
    
         
            +
              string health_probe_timeout = 3 [json_name = "healthProbeTimeout"];
         
     | 
| 
      
 730 
     | 
    
         
            +
              int32 health_threshold = 4 [json_name = "healthThreshold"];
         
     | 
| 
      
 731 
     | 
    
         
            +
            }
         
     | 
| 
      
 732 
     | 
    
         
            +
             
     | 
| 
       601 
733 
     | 
    
         
             
            message PubsubSubscription {
         
     | 
| 
       602 
     | 
    
         
            -
              string pubsub_name = 1;
         
     | 
| 
       603 
     | 
    
         
            -
              string topic = 2;
         
     | 
| 
       604 
     | 
    
         
            -
              map<string,string> metadata = 3;
         
     | 
| 
       605 
     | 
    
         
            -
              PubsubSubscriptionRules rules = 4;
         
     | 
| 
       606 
     | 
    
         
            -
              string dead_letter_topic = 5;
         
     | 
| 
      
 734 
     | 
    
         
            +
              string pubsub_name = 1 [json_name = "pubsubname"];
         
     | 
| 
      
 735 
     | 
    
         
            +
              string topic = 2 [json_name = "topic"];
         
     | 
| 
      
 736 
     | 
    
         
            +
              map<string,string> metadata = 3 [json_name = "metadata"];
         
     | 
| 
      
 737 
     | 
    
         
            +
              PubsubSubscriptionRules rules = 4 [json_name = "rules"];
         
     | 
| 
      
 738 
     | 
    
         
            +
              string dead_letter_topic = 5 [json_name = "deadLetterTopic"];
         
     | 
| 
      
 739 
     | 
    
         
            +
              PubsubSubscriptionType type = 6 [json_name = "type"];
         
     | 
| 
      
 740 
     | 
    
         
            +
            }
         
     | 
| 
      
 741 
     | 
    
         
            +
             
     | 
| 
      
 742 
     | 
    
         
            +
            // PubsubSubscriptionType indicates the type of subscription
         
     | 
| 
      
 743 
     | 
    
         
            +
            enum PubsubSubscriptionType {
         
     | 
| 
      
 744 
     | 
    
         
            +
              // UNKNOWN is the default value for the subscription type.
         
     | 
| 
      
 745 
     | 
    
         
            +
              UNKNOWN = 0;
         
     | 
| 
      
 746 
     | 
    
         
            +
              // Declarative subscription (k8s CRD)
         
     | 
| 
      
 747 
     | 
    
         
            +
              DECLARATIVE = 1;
         
     | 
| 
      
 748 
     | 
    
         
            +
              // Programmatically created subscription
         
     | 
| 
      
 749 
     | 
    
         
            +
              PROGRAMMATIC = 2;
         
     | 
| 
      
 750 
     | 
    
         
            +
              // Bidirectional Streaming subscription
         
     | 
| 
      
 751 
     | 
    
         
            +
              STREAMING = 3;
         
     | 
| 
       607 
752 
     | 
    
         
             
            }
         
     | 
| 
       608 
753 
     | 
    
         | 
| 
       609 
754 
     | 
    
         
             
            message PubsubSubscriptionRules {
         
     | 
| 
         @@ -900,7 +1045,7 @@ message EncryptRequest { 
     | 
|
| 
       900 
1045 
     | 
    
         
             
              // Request details. Must be present in the first message only.
         
     | 
| 
       901 
1046 
     | 
    
         
             
              EncryptRequestOptions options = 1;
         
     | 
| 
       902 
1047 
     | 
    
         
             
              // Chunk of data of arbitrary size.
         
     | 
| 
       903 
     | 
    
         
            -
               
     | 
| 
      
 1048 
     | 
    
         
            +
              common.v1.StreamPayload payload = 2;
         
     | 
| 
       904 
1049 
     | 
    
         
             
            }
         
     | 
| 
       905 
1050 
     | 
    
         | 
| 
       906 
1051 
     | 
    
         
             
            // EncryptRequestOptions contains options for the first message in the EncryptAlpha1 request.
         
     | 
| 
         @@ -928,7 +1073,7 @@ message EncryptRequestOptions { 
     | 
|
| 
       928 
1073 
     | 
    
         
             
            // EncryptResponse is the response for EncryptAlpha1.
         
     | 
| 
       929 
1074 
     | 
    
         
             
            message EncryptResponse {
         
     | 
| 
       930 
1075 
     | 
    
         
             
              // Chunk of data.
         
     | 
| 
       931 
     | 
    
         
            -
               
     | 
| 
      
 1076 
     | 
    
         
            +
              common.v1.StreamPayload payload = 1;
         
     | 
| 
       932 
1077 
     | 
    
         
             
            }
         
     | 
| 
       933 
1078 
     | 
    
         | 
| 
       934 
1079 
     | 
    
         
             
            // DecryptRequest is the request for DecryptAlpha1.
         
     | 
| 
         @@ -936,7 +1081,7 @@ message DecryptRequest { 
     | 
|
| 
       936 
1081 
     | 
    
         
             
              // Request details. Must be present in the first message only.
         
     | 
| 
       937 
1082 
     | 
    
         
             
              DecryptRequestOptions options = 1;
         
     | 
| 
       938 
1083 
     | 
    
         
             
              // Chunk of data of arbitrary size.
         
     | 
| 
       939 
     | 
    
         
            -
               
     | 
| 
      
 1084 
     | 
    
         
            +
              common.v1.StreamPayload payload = 2;
         
     | 
| 
       940 
1085 
     | 
    
         
             
            }
         
     | 
| 
       941 
1086 
     | 
    
         | 
| 
       942 
1087 
     | 
    
         
             
            // DecryptRequestOptions contains options for the first message in the DecryptAlpha1 request.
         
     | 
| 
         @@ -952,10 +1097,10 @@ message DecryptRequestOptions { 
     | 
|
| 
       952 
1097 
     | 
    
         
             
            // DecryptResponse is the response for DecryptAlpha1.
         
     | 
| 
       953 
1098 
     | 
    
         
             
            message DecryptResponse {
         
     | 
| 
       954 
1099 
     | 
    
         
             
              // Chunk of data.
         
     | 
| 
       955 
     | 
    
         
            -
               
     | 
| 
      
 1100 
     | 
    
         
            +
              common.v1.StreamPayload payload = 1;
         
     | 
| 
       956 
1101 
     | 
    
         
             
            }
         
     | 
| 
       957 
1102 
     | 
    
         | 
| 
       958 
     | 
    
         
            -
            // GetWorkflowRequest is the request for  
     | 
| 
      
 1103 
     | 
    
         
            +
            // GetWorkflowRequest is the request for GetWorkflowBeta1.
         
     | 
| 
       959 
1104 
     | 
    
         
             
            message GetWorkflowRequest {
         
     | 
| 
       960 
1105 
     | 
    
         
             
              // ID of the workflow instance to query.
         
     | 
| 
       961 
1106 
     | 
    
         
             
              string instance_id  = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -963,7 +1108,7 @@ message GetWorkflowRequest { 
     | 
|
| 
       963 
1108 
     | 
    
         
             
              string workflow_component = 2 [json_name = "workflowComponent"];
         
     | 
| 
       964 
1109 
     | 
    
         
             
            }
         
     | 
| 
       965 
1110 
     | 
    
         | 
| 
       966 
     | 
    
         
            -
            // GetWorkflowResponse is the response for  
     | 
| 
      
 1111 
     | 
    
         
            +
            // GetWorkflowResponse is the response for GetWorkflowBeta1.
         
     | 
| 
       967 
1112 
     | 
    
         
             
            message GetWorkflowResponse {
         
     | 
| 
       968 
1113 
     | 
    
         
             
              // ID of the workflow instance.
         
     | 
| 
       969 
1114 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -979,7 +1124,7 @@ message GetWorkflowResponse { 
     | 
|
| 
       979 
1124 
     | 
    
         
             
              map<string, string> properties = 6;
         
     | 
| 
       980 
1125 
     | 
    
         
             
            }
         
     | 
| 
       981 
1126 
     | 
    
         | 
| 
       982 
     | 
    
         
            -
            // StartWorkflowRequest is the request for  
     | 
| 
      
 1127 
     | 
    
         
            +
            // StartWorkflowRequest is the request for StartWorkflowBeta1.
         
     | 
| 
       983 
1128 
     | 
    
         
             
            message StartWorkflowRequest {
         
     | 
| 
       984 
1129 
     | 
    
         
             
              // The ID to assign to the started workflow instance. If empty, a random ID is generated.
         
     | 
| 
       985 
1130 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -993,13 +1138,13 @@ message StartWorkflowRequest { 
     | 
|
| 
       993 
1138 
     | 
    
         
             
              bytes input = 5;
         
     | 
| 
       994 
1139 
     | 
    
         
             
            }
         
     | 
| 
       995 
1140 
     | 
    
         | 
| 
       996 
     | 
    
         
            -
            // StartWorkflowResponse is the response for  
     | 
| 
      
 1141 
     | 
    
         
            +
            // StartWorkflowResponse is the response for StartWorkflowBeta1.
         
     | 
| 
       997 
1142 
     | 
    
         
             
            message StartWorkflowResponse {
         
     | 
| 
       998 
1143 
     | 
    
         
             
              // ID of the started workflow instance.
         
     | 
| 
       999 
1144 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
       1000 
1145 
     | 
    
         
             
            }
         
     | 
| 
       1001 
1146 
     | 
    
         | 
| 
       1002 
     | 
    
         
            -
            // TerminateWorkflowRequest is the request for  
     | 
| 
      
 1147 
     | 
    
         
            +
            // TerminateWorkflowRequest is the request for TerminateWorkflowBeta1.
         
     | 
| 
       1003 
1148 
     | 
    
         
             
            message TerminateWorkflowRequest {
         
     | 
| 
       1004 
1149 
     | 
    
         
             
              // ID of the workflow instance to terminate.
         
     | 
| 
       1005 
1150 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -1007,7 +1152,7 @@ message TerminateWorkflowRequest { 
     | 
|
| 
       1007 
1152 
     | 
    
         
             
              string workflow_component = 2 [json_name = "workflowComponent"];
         
     | 
| 
       1008 
1153 
     | 
    
         
             
            }
         
     | 
| 
       1009 
1154 
     | 
    
         | 
| 
       1010 
     | 
    
         
            -
            // PauseWorkflowRequest is the request for  
     | 
| 
      
 1155 
     | 
    
         
            +
            // PauseWorkflowRequest is the request for PauseWorkflowBeta1.
         
     | 
| 
       1011 
1156 
     | 
    
         
             
            message PauseWorkflowRequest {
         
     | 
| 
       1012 
1157 
     | 
    
         
             
              // ID of the workflow instance to pause.
         
     | 
| 
       1013 
1158 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -1015,7 +1160,7 @@ message PauseWorkflowRequest { 
     | 
|
| 
       1015 
1160 
     | 
    
         
             
              string workflow_component = 2 [json_name = "workflowComponent"];
         
     | 
| 
       1016 
1161 
     | 
    
         
             
            }
         
     | 
| 
       1017 
1162 
     | 
    
         | 
| 
       1018 
     | 
    
         
            -
            // ResumeWorkflowRequest is the request for  
     | 
| 
      
 1163 
     | 
    
         
            +
            // ResumeWorkflowRequest is the request for ResumeWorkflowBeta1.
         
     | 
| 
       1019 
1164 
     | 
    
         
             
            message ResumeWorkflowRequest {
         
     | 
| 
       1020 
1165 
     | 
    
         
             
              // ID of the workflow instance to resume.
         
     | 
| 
       1021 
1166 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -1023,7 +1168,7 @@ message ResumeWorkflowRequest { 
     | 
|
| 
       1023 
1168 
     | 
    
         
             
              string workflow_component = 2 [json_name = "workflowComponent"];
         
     | 
| 
       1024 
1169 
     | 
    
         
             
            }
         
     | 
| 
       1025 
1170 
     | 
    
         | 
| 
       1026 
     | 
    
         
            -
            // RaiseEventWorkflowRequest is the request for  
     | 
| 
      
 1171 
     | 
    
         
            +
            // RaiseEventWorkflowRequest is the request for RaiseEventWorkflowBeta1.
         
     | 
| 
       1027 
1172 
     | 
    
         
             
            message RaiseEventWorkflowRequest {
         
     | 
| 
       1028 
1173 
     | 
    
         
             
              // ID of the workflow instance to raise an event for.
         
     | 
| 
       1029 
1174 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
         @@ -1035,10 +1180,97 @@ message RaiseEventWorkflowRequest { 
     | 
|
| 
       1035 
1180 
     | 
    
         
             
              bytes event_data = 4;
         
     | 
| 
       1036 
1181 
     | 
    
         
             
            }
         
     | 
| 
       1037 
1182 
     | 
    
         | 
| 
       1038 
     | 
    
         
            -
            // PurgeWorkflowRequest is the request for  
     | 
| 
      
 1183 
     | 
    
         
            +
            // PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
         
     | 
| 
       1039 
1184 
     | 
    
         
             
            message PurgeWorkflowRequest {
         
     | 
| 
       1040 
1185 
     | 
    
         
             
              // ID of the workflow instance to purge.
         
     | 
| 
       1041 
1186 
     | 
    
         
             
              string instance_id = 1 [json_name = "instanceID"];
         
     | 
| 
       1042 
1187 
     | 
    
         
             
              // Name of the workflow component.
         
     | 
| 
       1043 
1188 
     | 
    
         
             
              string workflow_component = 2 [json_name = "workflowComponent"];
         
     | 
| 
       1044 
     | 
    
         
            -
            }
         
     | 
| 
      
 1189 
     | 
    
         
            +
            }
         
     | 
| 
      
 1190 
     | 
    
         
            +
             
     | 
| 
      
 1191 
     | 
    
         
            +
            // ShutdownRequest is the request for Shutdown.
         
     | 
| 
      
 1192 
     | 
    
         
            +
            message ShutdownRequest {
         
     | 
| 
      
 1193 
     | 
    
         
            +
              // Empty
         
     | 
| 
      
 1194 
     | 
    
         
            +
            }
         
     | 
| 
      
 1195 
     | 
    
         
            +
             
     | 
| 
      
 1196 
     | 
    
         
            +
            // Job is the definition of a job. At least one of schedule or due_time must be
         
     | 
| 
      
 1197 
     | 
    
         
            +
            // provided but can also be provided together.
         
     | 
| 
      
 1198 
     | 
    
         
            +
            message Job {
         
     | 
| 
      
 1199 
     | 
    
         
            +
              // The unique name for the job.
         
     | 
| 
      
 1200 
     | 
    
         
            +
              string name = 1 [json_name = "name"];
         
     | 
| 
      
 1201 
     | 
    
         
            +
             
     | 
| 
      
 1202 
     | 
    
         
            +
              // schedule is an optional schedule at which the job is to be run.
         
     | 
| 
      
 1203 
     | 
    
         
            +
              // Accepts both systemd timer style cron expressions, as well as human
         
     | 
| 
      
 1204 
     | 
    
         
            +
              // readable '@' prefixed period strings as defined below.
         
     | 
| 
      
 1205 
     | 
    
         
            +
              //
         
     | 
| 
      
 1206 
     | 
    
         
            +
              // Systemd timer style cron accepts 6 fields:
         
     | 
| 
      
 1207 
     | 
    
         
            +
              // seconds | minutes | hours | day of month | month        | day of week
         
     | 
| 
      
 1208 
     | 
    
         
            +
              // 0-59    | 0-59    | 0-23  | 1-31         | 1-12/jan-dec | 0-7/sun-sat
         
     | 
| 
      
 1209 
     | 
    
         
            +
              //
         
     | 
| 
      
 1210 
     | 
    
         
            +
              // "0 30 * * * *" - every hour on the half hour
         
     | 
| 
      
 1211 
     | 
    
         
            +
              // "0 15 3 * * *" - every day at 03:15
         
     | 
| 
      
 1212 
     | 
    
         
            +
              //
         
     | 
| 
      
 1213 
     | 
    
         
            +
              // Period string expressions:
         
     | 
| 
      
 1214 
     | 
    
         
            +
            	// Entry                  | Description                                | Equivalent To
         
     | 
| 
      
 1215 
     | 
    
         
            +
            	// -----                  | -----------                                | -------------
         
     | 
| 
      
 1216 
     | 
    
         
            +
              // @every <duration>      | Run every <duration> (e.g. '@every 1h30m') | N/A
         
     | 
| 
      
 1217 
     | 
    
         
            +
            	// @yearly (or @annually) | Run once a year, midnight, Jan. 1st        | 0 0 0 1 1 *
         
     | 
| 
      
 1218 
     | 
    
         
            +
            	// @monthly               | Run once a month, midnight, first of month | 0 0 0 1 * *
         
     | 
| 
      
 1219 
     | 
    
         
            +
            	// @weekly                | Run once a week, midnight on Sunday        | 0 0 0 * * 0
         
     | 
| 
      
 1220 
     | 
    
         
            +
            	// @daily (or @midnight)  | Run once a day, midnight                   | 0 0 0 * * *
         
     | 
| 
      
 1221 
     | 
    
         
            +
            	// @hourly                | Run once an hour, beginning of hour        | 0 0 * * * *
         
     | 
| 
      
 1222 
     | 
    
         
            +
              optional string schedule = 2 [json_name = "schedule"];
         
     | 
| 
      
 1223 
     | 
    
         
            +
             
     | 
| 
      
 1224 
     | 
    
         
            +
              // repeats is the optional number of times in which the job should be
         
     | 
| 
      
 1225 
     | 
    
         
            +
              // triggered. If not set, the job will run indefinitely or until expiration.
         
     | 
| 
      
 1226 
     | 
    
         
            +
              optional uint32 repeats = 3 [json_name = "repeats"];
         
     | 
| 
      
 1227 
     | 
    
         
            +
             
     | 
| 
      
 1228 
     | 
    
         
            +
              // due_time is the optional time at which the job should be active, or the
         
     | 
| 
      
 1229 
     | 
    
         
            +
              // "one shot" time if other scheduling type fields are not provided. Accepts
         
     | 
| 
      
 1230 
     | 
    
         
            +
              // a "point in time" string in the format of RFC3339, Go duration string
         
     | 
| 
      
 1231 
     | 
    
         
            +
              // (calculated from job creation time), or non-repeating ISO8601.
         
     | 
| 
      
 1232 
     | 
    
         
            +
              optional string due_time = 4 [json_name = "dueTime"];
         
     | 
| 
      
 1233 
     | 
    
         
            +
             
     | 
| 
      
 1234 
     | 
    
         
            +
              // ttl is the optional time to live or expiration of the job. Accepts a
         
     | 
| 
      
 1235 
     | 
    
         
            +
              // "point in time" string in the format of RFC3339, Go duration string
         
     | 
| 
      
 1236 
     | 
    
         
            +
              // (calculated from job creation time), or non-repeating ISO8601.
         
     | 
| 
      
 1237 
     | 
    
         
            +
              optional string ttl = 5 [json_name = "ttl"];
         
     | 
| 
      
 1238 
     | 
    
         
            +
             
     | 
| 
      
 1239 
     | 
    
         
            +
              // payload is the serialized job payload that will be sent to the recipient
         
     | 
| 
      
 1240 
     | 
    
         
            +
              // when the job is triggered.
         
     | 
| 
      
 1241 
     | 
    
         
            +
              google.protobuf.Any data = 6 [json_name = "data"];
         
     | 
| 
      
 1242 
     | 
    
         
            +
            }
         
     | 
| 
      
 1243 
     | 
    
         
            +
             
     | 
| 
      
 1244 
     | 
    
         
            +
            // ScheduleJobRequest is the message to create/schedule the job.
         
     | 
| 
      
 1245 
     | 
    
         
            +
            message ScheduleJobRequest {
         
     | 
| 
      
 1246 
     | 
    
         
            +
              // The job details.
         
     | 
| 
      
 1247 
     | 
    
         
            +
              Job job = 1;
         
     | 
| 
      
 1248 
     | 
    
         
            +
            }
         
     | 
| 
      
 1249 
     | 
    
         
            +
             
     | 
| 
      
 1250 
     | 
    
         
            +
            // ScheduleJobResponse is the message response to create/schedule the job.
         
     | 
| 
      
 1251 
     | 
    
         
            +
            message ScheduleJobResponse {
         
     | 
| 
      
 1252 
     | 
    
         
            +
              // Empty
         
     | 
| 
      
 1253 
     | 
    
         
            +
            }
         
     | 
| 
      
 1254 
     | 
    
         
            +
             
     | 
| 
      
 1255 
     | 
    
         
            +
            // GetJobRequest is the message to retrieve a job.
         
     | 
| 
      
 1256 
     | 
    
         
            +
            message GetJobRequest {
         
     | 
| 
      
 1257 
     | 
    
         
            +
              // The name of the job.
         
     | 
| 
      
 1258 
     | 
    
         
            +
              string name = 1;
         
     | 
| 
      
 1259 
     | 
    
         
            +
            }
         
     | 
| 
      
 1260 
     | 
    
         
            +
             
     | 
| 
      
 1261 
     | 
    
         
            +
            // GetJobResponse is the message's response for a job retrieved.
         
     | 
| 
      
 1262 
     | 
    
         
            +
            message GetJobResponse {
         
     | 
| 
      
 1263 
     | 
    
         
            +
              // The job details.
         
     | 
| 
      
 1264 
     | 
    
         
            +
              Job job = 1;
         
     | 
| 
      
 1265 
     | 
    
         
            +
            }
         
     | 
| 
      
 1266 
     | 
    
         
            +
             
     | 
| 
      
 1267 
     | 
    
         
            +
            // DeleteJobRequest is the message to delete the job by name.
         
     | 
| 
      
 1268 
     | 
    
         
            +
            message DeleteJobRequest {
         
     | 
| 
      
 1269 
     | 
    
         
            +
              // The name of the job.
         
     | 
| 
      
 1270 
     | 
    
         
            +
              string name = 1;
         
     | 
| 
      
 1271 
     | 
    
         
            +
            }
         
     | 
| 
      
 1272 
     | 
    
         
            +
             
     | 
| 
      
 1273 
     | 
    
         
            +
            // DeleteJobResponse is the message response to delete the job by name.
         
     | 
| 
      
 1274 
     | 
    
         
            +
            message DeleteJobResponse {
         
     | 
| 
      
 1275 
     | 
    
         
            +
              // Empty
         
     | 
| 
      
 1276 
     | 
    
         
            +
            }
         
     | 
    
        data/dapr.gemspec
    CHANGED
    
    | 
         @@ -14,6 +14,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       14 
14 
     | 
    
         
             
              spec.description   = 'Dapr SDK for Ruby'
         
     | 
| 
       15 
15 
     | 
    
         
             
              spec.homepage      = 'https://github.com/rubyists/dapr-ruby-sdk'
         
     | 
| 
       16 
16 
     | 
    
         
             
              spec.license       = 'MIT'
         
     | 
| 
      
 17 
     | 
    
         
            +
              spec.required_ruby_version = '>= 3.3.0'
         
     | 
| 
       17 
18 
     | 
    
         | 
| 
       18 
19 
     | 
    
         
             
              # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
         
     | 
| 
       19 
20 
     | 
    
         
             
              # to allow pushing to a single host or delete this section to allow pushing to any host.
         
     |