temporalio 1.11.0 → 1.12.0
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/Cargo.lock +33 -11
- data/Cargo.toml +1 -0
- data/README.md +168 -11
- data/ext/Cargo.toml +3 -3
- data/lib/temporalio/api/cloud/account/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +43 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/nexus/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/project/v1/message.rb +28 -0
- data/lib/temporalio/api/cloud/region/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/sink/v1/message.rb +2 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
- data/lib/temporalio/api/enums/v1/namespace.rb +2 -1
- data/lib/temporalio/api/operatorservice/v1/request_response.rb +9 -1
- data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
- data/lib/temporalio/api/payload_visitor.rb +66 -0
- data/lib/temporalio/api/taskqueue/v1/message.rb +3 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
- data/lib/temporalio/client/connection/cloud_service.rb +285 -0
- data/lib/temporalio/client/connection/operator_service.rb +45 -0
- data/lib/temporalio/client/schedule.rb +56 -8
- data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +0 -2
- data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +3 -5
- data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +0 -2
- data/lib/temporalio/contrib/aws/s3_driver.rb +0 -2
- data/lib/temporalio/converters/data_converter.rb +52 -1
- data/lib/temporalio/converters/external_storage.rb +6 -12
- data/lib/temporalio/converters/external_storage_concurrency.rb +4 -2
- data/lib/temporalio/converters/storage_driver.rb +3 -4
- data/lib/temporalio/converters/storage_driver_activity_info.rb +0 -2
- data/lib/temporalio/converters/storage_driver_claim.rb +0 -2
- data/lib/temporalio/converters/storage_driver_limiter.rb +16 -0
- data/lib/temporalio/converters/storage_driver_retrieve_context.rb +7 -6
- data/lib/temporalio/converters/storage_driver_select_context.rb +11 -5
- data/lib/temporalio/converters/storage_driver_store_context.rb +11 -7
- data/lib/temporalio/converters/storage_driver_workflow_info.rb +0 -2
- data/lib/temporalio/error.rb +10 -3
- data/lib/temporalio/internal/bridge/worker.rb +1 -0
- data/lib/temporalio/internal/client/described_schedule_action.rb +41 -0
- data/lib/temporalio/internal/client/implementation.rb +92 -48
- data/lib/temporalio/internal/external_storage_references.rb +5 -4
- data/lib/temporalio/internal/external_storage_runner.rb +177 -0
- data/lib/temporalio/internal/storage_operation_metrics.rb +76 -0
- data/lib/temporalio/internal/worker/activity_worker.rb +60 -24
- data/lib/temporalio/internal/worker/workflow_worker.rb +211 -15
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/workflow_replayer.rb +5 -3
- data/lib/temporalio/worker.rb +4 -2
- data/rbi/temporalio/api/cloud/account/v1/message.rbi +84 -2
- data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +5006 -1157
- data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +171 -0
- data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +71 -16
- data/rbi/temporalio/api/cloud/identity/v1/message.rbi +789 -23
- data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +765 -15
- data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +19 -2
- data/rbi/temporalio/api/cloud/project/v1/message.rbi +334 -0
- data/rbi/temporalio/api/cloud/region/v1/message.rbi +1 -0
- data/rbi/temporalio/api/cloud/sink/v1/message.rbi +147 -0
- data/rbi/temporalio/api/common/v1/message.rbi +6 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +2 -0
- data/rbi/temporalio/api/enums/v1/namespace.rbi +20 -0
- data/rbi/temporalio/api/history/v1/message.rbi +40 -18
- data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +480 -0
- data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +32 -0
- data/rbi/temporalio/api/payload_visitor.rbi +33 -0
- data/rbi/temporalio/api/schedule/v1/message.rbi +12 -6
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +179 -13
- data/rbi/temporalio/api/worker/v1/message.rbi +6 -6
- data/rbi/temporalio/api/workflow/v1/message.rbi +12 -6
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +140 -41
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +3 -0
- data/rbi/temporalio/client/connection/cloud_service.rbi +57 -0
- data/rbi/temporalio/client/connection/operator_service.rbi +9 -0
- data/rbi/temporalio/converters/data_converter.rbi +43 -2
- data/rbi/temporalio/converters/external_storage.rbi +2 -7
- data/rbi/temporalio/converters/storage_driver_limiter.rbi +4 -0
- data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +1 -1
- data/rbi/temporalio/converters/storage_driver_select_context.rbi +6 -2
- data/rbi/temporalio/converters/storage_driver_store_context.rbi +6 -2
- data/rbi/temporalio/error.rbi +3 -1
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +6 -0
- data/rbi/temporalio/internal/bridge/worker.rbi +4 -2
- data/rbi/temporalio/internal/client/described_schedule_action.rbi +22 -0
- data/rbi/temporalio/internal/client/implementation.rbi +30 -0
- data/rbi/temporalio/internal/external_storage_runner.rbi +36 -0
- data/rbi/temporalio/internal/storage_operation_metrics.rbi +27 -0
- data/rbi/temporalio/internal/worker/activity_worker.rbi +24 -4
- data/rbi/temporalio/internal/worker/workflow_worker.rbi +61 -1
- data/rbi/temporalio/workflow.rbi +0 -12
- data/sig/temporalio/api/cloud/account/v1/message.rbs +30 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +2122 -601
- data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +29 -4
- data/sig/temporalio/api/cloud/identity/v1/message.rbs +342 -1
- data/sig/temporalio/api/cloud/namespace/v1/message.rbs +341 -2
- data/sig/temporalio/api/cloud/nexus/v1/message.rbs +9 -0
- data/sig/temporalio/api/cloud/project/v1/message.rbs +164 -0
- data/sig/temporalio/api/cloud/region/v1/message.rbs +5 -3
- data/sig/temporalio/api/cloud/sink/v1/message.rbs +66 -0
- data/sig/temporalio/api/common/v1/message.rbs +6 -0
- data/sig/temporalio/api/enums/v1/event_type.rbs +1 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +9 -3
- data/sig/temporalio/api/enums/v1/namespace.rbs +30 -2
- data/sig/temporalio/api/enums/v1/time_skipping.rbs +1 -0
- data/sig/temporalio/api/history/v1/message.rbs +8 -0
- data/sig/temporalio/api/operatorservice/v1/request_response.rbs +188 -0
- data/sig/temporalio/api/payload_visitor.rbs +11 -0
- data/sig/temporalio/api/schedule/v1/message.rbs +2 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +66 -5
- data/sig/temporalio/api/worker/v1/message.rbs +2 -2
- data/sig/temporalio/api/workflow/v1/message.rbs +2 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +53 -9
- data/sig/temporalio/client/connection/cloud_service.rbs +76 -0
- data/sig/temporalio/client/connection/operator_service.rbs +12 -0
- data/sig/temporalio/client/schedule.rbs +24 -3
- data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +2 -1
- data/sig/temporalio/contrib/open_telemetry.rbs +4 -4
- data/sig/temporalio/converters/data_converter.rbs +19 -1
- data/sig/temporalio/converters/external_storage.rbs +1 -3
- data/sig/temporalio/converters/storage_driver_limiter.rbs +5 -0
- data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +1 -1
- data/sig/temporalio/converters/storage_driver_select_context.rbs +3 -1
- data/sig/temporalio/converters/storage_driver_store_context.rbs +3 -1
- data/sig/temporalio/error.rbs +4 -1
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +4 -0
- data/sig/temporalio/internal/bridge/worker.rbs +2 -0
- data/sig/temporalio/internal/client/described_schedule_action.rbs +18 -0
- data/sig/temporalio/internal/client/implementation.rbs +22 -0
- data/sig/temporalio/internal/external_storage_runner.rbs +32 -0
- data/sig/temporalio/internal/storage_operation_metrics.rbs +25 -0
- data/sig/temporalio/internal/worker/activity_worker.rbs +11 -2
- data/sig/temporalio/internal/worker/workflow_worker.rbs +32 -1
- metadata +13 -2
- data/sig/open_telemetry.rbs +0 -47
|
@@ -436,7 +436,8 @@ class Temporalio::Api::Cloud::Nexus::V1::Endpoint
|
|
|
436
436
|
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
437
437
|
async_operation_id: T.nilable(String),
|
|
438
438
|
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
439
|
-
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
439
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp),
|
|
440
|
+
project_id: T.nilable(String)
|
|
440
441
|
).void
|
|
441
442
|
end
|
|
442
443
|
def initialize(
|
|
@@ -446,7 +447,8 @@ class Temporalio::Api::Cloud::Nexus::V1::Endpoint
|
|
|
446
447
|
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
447
448
|
async_operation_id: "",
|
|
448
449
|
created_time: nil,
|
|
449
|
-
last_modified_time: nil
|
|
450
|
+
last_modified_time: nil,
|
|
451
|
+
project_id: ""
|
|
450
452
|
)
|
|
451
453
|
end
|
|
452
454
|
|
|
@@ -561,6 +563,21 @@ class Temporalio::Api::Cloud::Nexus::V1::Endpoint
|
|
|
561
563
|
def clear_last_modified_time
|
|
562
564
|
end
|
|
563
565
|
|
|
566
|
+
# The id of the project this endpoint belongs to.
|
|
567
|
+
sig { returns(String) }
|
|
568
|
+
def project_id
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# The id of the project this endpoint belongs to.
|
|
572
|
+
sig { params(value: String).void }
|
|
573
|
+
def project_id=(value)
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# The id of the project this endpoint belongs to.
|
|
577
|
+
sig { void }
|
|
578
|
+
def clear_project_id
|
|
579
|
+
end
|
|
580
|
+
|
|
564
581
|
sig { params(field: String).returns(T.untyped) }
|
|
565
582
|
def [](field)
|
|
566
583
|
end
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/cloud/project/v1/message.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
class Temporalio::Api::Cloud::Project::V1::ProjectSpec
|
|
6
|
+
include ::Google::Protobuf::MessageExts
|
|
7
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8
|
+
|
|
9
|
+
sig do
|
|
10
|
+
params(
|
|
11
|
+
display_name: T.nilable(String),
|
|
12
|
+
description: T.nilable(String),
|
|
13
|
+
lifecycle: T.nilable(Temporalio::Api::Cloud::Project::V1::LifecycleSpec)
|
|
14
|
+
).void
|
|
15
|
+
end
|
|
16
|
+
def initialize(
|
|
17
|
+
display_name: "",
|
|
18
|
+
description: "",
|
|
19
|
+
lifecycle: nil
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# The display name of the project.
|
|
24
|
+
sig { returns(String) }
|
|
25
|
+
def display_name
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# The display name of the project.
|
|
29
|
+
sig { params(value: String).void }
|
|
30
|
+
def display_name=(value)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# The display name of the project.
|
|
34
|
+
sig { void }
|
|
35
|
+
def clear_display_name
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# A description of the project.
|
|
39
|
+
sig { returns(String) }
|
|
40
|
+
def description
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# A description of the project.
|
|
44
|
+
sig { params(value: String).void }
|
|
45
|
+
def description=(value)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# A description of the project.
|
|
49
|
+
sig { void }
|
|
50
|
+
def clear_description
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# The lifecycle configuration for the project.
|
|
54
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Project::V1::LifecycleSpec)) }
|
|
55
|
+
def lifecycle
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# The lifecycle configuration for the project.
|
|
59
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Project::V1::LifecycleSpec)).void }
|
|
60
|
+
def lifecycle=(value)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# The lifecycle configuration for the project.
|
|
64
|
+
sig { void }
|
|
65
|
+
def clear_lifecycle
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
sig { params(field: String).returns(T.untyped) }
|
|
69
|
+
def [](field)
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
sig { params(field: String, value: T.untyped).void }
|
|
73
|
+
def []=(field, value)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
77
|
+
def to_h
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Project::V1::ProjectSpec) }
|
|
81
|
+
def self.decode(str)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
sig { params(msg: Temporalio::Api::Cloud::Project::V1::ProjectSpec).returns(String) }
|
|
85
|
+
def self.encode(msg)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Project::V1::ProjectSpec) }
|
|
89
|
+
def self.decode_json(str, **kw)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
sig { params(msg: Temporalio::Api::Cloud::Project::V1::ProjectSpec, kw: T.untyped).returns(String) }
|
|
93
|
+
def self.encode_json(msg, **kw)
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
97
|
+
def self.descriptor
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
class Temporalio::Api::Cloud::Project::V1::LifecycleSpec
|
|
102
|
+
include ::Google::Protobuf::MessageExts
|
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
|
+
|
|
105
|
+
sig do
|
|
106
|
+
params(
|
|
107
|
+
enable_delete_protection: T.nilable(T::Boolean)
|
|
108
|
+
).void
|
|
109
|
+
end
|
|
110
|
+
def initialize(
|
|
111
|
+
enable_delete_protection: false
|
|
112
|
+
)
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# If true, the project cannot be deleted.
|
|
116
|
+
sig { returns(T::Boolean) }
|
|
117
|
+
def enable_delete_protection
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# If true, the project cannot be deleted.
|
|
121
|
+
sig { params(value: T::Boolean).void }
|
|
122
|
+
def enable_delete_protection=(value)
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# If true, the project cannot be deleted.
|
|
126
|
+
sig { void }
|
|
127
|
+
def clear_enable_delete_protection
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
sig { params(field: String).returns(T.untyped) }
|
|
131
|
+
def [](field)
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
sig { params(field: String, value: T.untyped).void }
|
|
135
|
+
def []=(field, value)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
139
|
+
def to_h
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Project::V1::LifecycleSpec) }
|
|
143
|
+
def self.decode(str)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
sig { params(msg: Temporalio::Api::Cloud::Project::V1::LifecycleSpec).returns(String) }
|
|
147
|
+
def self.encode(msg)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Project::V1::LifecycleSpec) }
|
|
151
|
+
def self.decode_json(str, **kw)
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
sig { params(msg: Temporalio::Api::Cloud::Project::V1::LifecycleSpec, kw: T.untyped).returns(String) }
|
|
155
|
+
def self.encode_json(msg, **kw)
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
159
|
+
def self.descriptor
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class Temporalio::Api::Cloud::Project::V1::Project
|
|
164
|
+
include ::Google::Protobuf::MessageExts
|
|
165
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
166
|
+
|
|
167
|
+
sig do
|
|
168
|
+
params(
|
|
169
|
+
id: T.nilable(String),
|
|
170
|
+
spec: T.nilable(Temporalio::Api::Cloud::Project::V1::ProjectSpec),
|
|
171
|
+
resource_version: T.nilable(String),
|
|
172
|
+
state: T.nilable(T.any(Symbol, String, Integer)),
|
|
173
|
+
async_operation_id: T.nilable(String),
|
|
174
|
+
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
175
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
176
|
+
).void
|
|
177
|
+
end
|
|
178
|
+
def initialize(
|
|
179
|
+
id: "",
|
|
180
|
+
spec: nil,
|
|
181
|
+
resource_version: "",
|
|
182
|
+
state: :RESOURCE_STATE_UNSPECIFIED,
|
|
183
|
+
async_operation_id: "",
|
|
184
|
+
created_time: nil,
|
|
185
|
+
last_modified_time: nil
|
|
186
|
+
)
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# The id of the user
|
|
190
|
+
sig { returns(String) }
|
|
191
|
+
def id
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# The id of the user
|
|
195
|
+
sig { params(value: String).void }
|
|
196
|
+
def id=(value)
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# The id of the user
|
|
200
|
+
sig { void }
|
|
201
|
+
def clear_id
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# The project specification
|
|
205
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Project::V1::ProjectSpec)) }
|
|
206
|
+
def spec
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# The project specification
|
|
210
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Project::V1::ProjectSpec)).void }
|
|
211
|
+
def spec=(value)
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# The project specification
|
|
215
|
+
sig { void }
|
|
216
|
+
def clear_spec
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# The current version of the project specification
|
|
220
|
+
# The next update operation will have to include this version
|
|
221
|
+
sig { returns(String) }
|
|
222
|
+
def resource_version
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# The current version of the project specification
|
|
226
|
+
# The next update operation will have to include this version
|
|
227
|
+
sig { params(value: String).void }
|
|
228
|
+
def resource_version=(value)
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# The current version of the project specification
|
|
232
|
+
# The next update operation will have to include this version
|
|
233
|
+
sig { void }
|
|
234
|
+
def clear_resource_version
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# The current state of the project.
|
|
238
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
239
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
240
|
+
def state
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# The current state of the project.
|
|
244
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
245
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
246
|
+
def state=(value)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# The current state of the project.
|
|
250
|
+
# For any failed state, reach out to Temporal Cloud support for remediation.
|
|
251
|
+
sig { void }
|
|
252
|
+
def clear_state
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# The id of the async operation that is creating/updating/deleting the project, if any
|
|
256
|
+
sig { returns(String) }
|
|
257
|
+
def async_operation_id
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# The id of the async operation that is creating/updating/deleting the project, if any
|
|
261
|
+
sig { params(value: String).void }
|
|
262
|
+
def async_operation_id=(value)
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# The id of the async operation that is creating/updating/deleting the project, if any
|
|
266
|
+
sig { void }
|
|
267
|
+
def clear_async_operation_id
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
# The date and time when the project was created
|
|
271
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
272
|
+
def created_time
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
# The date and time when the project was created
|
|
276
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
277
|
+
def created_time=(value)
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# The date and time when the project was created
|
|
281
|
+
sig { void }
|
|
282
|
+
def clear_created_time
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# The date and time when the project was last modified
|
|
286
|
+
# Will not be set if the project has never been modified
|
|
287
|
+
sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
|
|
288
|
+
def last_modified_time
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
# The date and time when the project was last modified
|
|
292
|
+
# Will not be set if the project has never been modified
|
|
293
|
+
sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
|
|
294
|
+
def last_modified_time=(value)
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# The date and time when the project was last modified
|
|
298
|
+
# Will not be set if the project has never been modified
|
|
299
|
+
sig { void }
|
|
300
|
+
def clear_last_modified_time
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
sig { params(field: String).returns(T.untyped) }
|
|
304
|
+
def [](field)
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
sig { params(field: String, value: T.untyped).void }
|
|
308
|
+
def []=(field, value)
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
312
|
+
def to_h
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Project::V1::Project) }
|
|
316
|
+
def self.decode(str)
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
sig { params(msg: Temporalio::Api::Cloud::Project::V1::Project).returns(String) }
|
|
320
|
+
def self.encode(msg)
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Project::V1::Project) }
|
|
324
|
+
def self.decode_json(str, **kw)
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
sig { params(msg: Temporalio::Api::Cloud::Project::V1::Project, kw: T.untyped).returns(String) }
|
|
328
|
+
def self.encode_json(msg, **kw)
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
332
|
+
def self.descriptor
|
|
333
|
+
end
|
|
334
|
+
end
|
|
@@ -151,6 +151,7 @@ module Temporalio::Api::Cloud::Region::V1::Region::CloudProvider
|
|
|
151
151
|
self::CLOUD_PROVIDER_UNSPECIFIED = T.let(0, Integer)
|
|
152
152
|
self::CLOUD_PROVIDER_AWS = T.let(1, Integer)
|
|
153
153
|
self::CLOUD_PROVIDER_GCP = T.let(2, Integer)
|
|
154
|
+
self::CLOUD_PROVIDER_AZURE = T.let(3, Integer)
|
|
154
155
|
|
|
155
156
|
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
156
157
|
def self.lookup(value)
|
|
@@ -245,6 +245,153 @@ class Temporalio::Api::Cloud::Sink::V1::GCSSpec
|
|
|
245
245
|
end
|
|
246
246
|
end
|
|
247
247
|
|
|
248
|
+
class Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec
|
|
249
|
+
include ::Google::Protobuf::MessageExts
|
|
250
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
251
|
+
|
|
252
|
+
sig do
|
|
253
|
+
params(
|
|
254
|
+
tenant_id: T.nilable(String),
|
|
255
|
+
storage_account: T.nilable(String),
|
|
256
|
+
container_name: T.nilable(String),
|
|
257
|
+
region: T.nilable(String),
|
|
258
|
+
subscription_id: T.nilable(String),
|
|
259
|
+
resource_group: T.nilable(String)
|
|
260
|
+
).void
|
|
261
|
+
end
|
|
262
|
+
def initialize(
|
|
263
|
+
tenant_id: "",
|
|
264
|
+
storage_account: "",
|
|
265
|
+
container_name: "",
|
|
266
|
+
region: "",
|
|
267
|
+
subscription_id: "",
|
|
268
|
+
resource_group: ""
|
|
269
|
+
)
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
# The customer's Azure tenant ID where the storage account exists and where Temporal's app registration is consented/granted access.
|
|
273
|
+
sig { returns(String) }
|
|
274
|
+
def tenant_id
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
# The customer's Azure tenant ID where the storage account exists and where Temporal's app registration is consented/granted access.
|
|
278
|
+
sig { params(value: String).void }
|
|
279
|
+
def tenant_id=(value)
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# The customer's Azure tenant ID where the storage account exists and where Temporal's app registration is consented/granted access.
|
|
283
|
+
sig { void }
|
|
284
|
+
def clear_tenant_id
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# The name of the destination Azure storage account where Temporal will send data.
|
|
288
|
+
sig { returns(String) }
|
|
289
|
+
def storage_account
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# The name of the destination Azure storage account where Temporal will send data.
|
|
293
|
+
sig { params(value: String).void }
|
|
294
|
+
def storage_account=(value)
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# The name of the destination Azure storage account where Temporal will send data.
|
|
298
|
+
sig { void }
|
|
299
|
+
def clear_storage_account
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# The name of the destination Azure Blob container where Temporal will send data.
|
|
303
|
+
sig { returns(String) }
|
|
304
|
+
def container_name
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
# The name of the destination Azure Blob container where Temporal will send data.
|
|
308
|
+
sig { params(value: String).void }
|
|
309
|
+
def container_name=(value)
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# The name of the destination Azure Blob container where Temporal will send data.
|
|
313
|
+
sig { void }
|
|
314
|
+
def clear_container_name
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# The region where the Azure storage account is located.
|
|
318
|
+
sig { returns(String) }
|
|
319
|
+
def region
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# The region where the Azure storage account is located.
|
|
323
|
+
sig { params(value: String).void }
|
|
324
|
+
def region=(value)
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
# The region where the Azure storage account is located.
|
|
328
|
+
sig { void }
|
|
329
|
+
def clear_region
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# The Azure subscription ID that contains the storage account.
|
|
333
|
+
sig { returns(String) }
|
|
334
|
+
def subscription_id
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
# The Azure subscription ID that contains the storage account.
|
|
338
|
+
sig { params(value: String).void }
|
|
339
|
+
def subscription_id=(value)
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# The Azure subscription ID that contains the storage account.
|
|
343
|
+
sig { void }
|
|
344
|
+
def clear_subscription_id
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# The Azure resource group that contains the storage account.
|
|
348
|
+
sig { returns(String) }
|
|
349
|
+
def resource_group
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
# The Azure resource group that contains the storage account.
|
|
353
|
+
sig { params(value: String).void }
|
|
354
|
+
def resource_group=(value)
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
# The Azure resource group that contains the storage account.
|
|
358
|
+
sig { void }
|
|
359
|
+
def clear_resource_group
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
sig { params(field: String).returns(T.untyped) }
|
|
363
|
+
def [](field)
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
sig { params(field: String, value: T.untyped).void }
|
|
367
|
+
def []=(field, value)
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
371
|
+
def to_h
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec) }
|
|
375
|
+
def self.decode(str)
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
sig { params(msg: Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec).returns(String) }
|
|
379
|
+
def self.encode(msg)
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec) }
|
|
383
|
+
def self.decode_json(str, **kw)
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
sig { params(msg: Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec, kw: T.untyped).returns(String) }
|
|
387
|
+
def self.encode_json(msg, **kw)
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
391
|
+
def self.descriptor
|
|
392
|
+
end
|
|
393
|
+
end
|
|
394
|
+
|
|
248
395
|
class Temporalio::Api::Cloud::Sink::V1::KinesisSpec
|
|
249
396
|
include ::Google::Protobuf::MessageExts
|
|
250
397
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2159,6 +2159,7 @@ end
|
|
|
2159
2159
|
# but a parent's fast_forward won't affect its child's execution. A flag is provided to disable propagation of the
|
|
2160
2160
|
# "enabled" flag to child workflows; regardless of that flag, a child workflow inherits the virtual time from the
|
|
2161
2161
|
# parent execution as its start time.
|
|
2162
|
+
# Experimental. Might change in the future.
|
|
2162
2163
|
class Temporalio::Api::Common::V1::TimeSkippingConfig
|
|
2163
2164
|
include ::Google::Protobuf::MessageExts
|
|
2164
2165
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2308,6 +2309,8 @@ class Temporalio::Api::Common::V1::TimeSkippingConfig
|
|
|
2308
2309
|
end
|
|
2309
2310
|
end
|
|
2310
2311
|
|
|
2312
|
+
# Controls a time-skipping fast-forward for an execution.
|
|
2313
|
+
# Experimental. Might change in the future.
|
|
2311
2314
|
class Temporalio::Api::Common::V1::FastForwardConfig
|
|
2312
2315
|
include ::Google::Protobuf::MessageExts
|
|
2313
2316
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2419,6 +2422,7 @@ end
|
|
|
2419
2422
|
|
|
2420
2423
|
# The time-skipping state that needs to be propagated from one execution to another, or through a chain of runs
|
|
2421
2424
|
# within the same execution.
|
|
2425
|
+
# Experimental. Might change in the future.
|
|
2422
2426
|
class Temporalio::Api::Common::V1::TimeSkippingStatePropagation
|
|
2423
2427
|
include ::Google::Protobuf::MessageExts
|
|
2424
2428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2519,6 +2523,7 @@ class Temporalio::Api::Common::V1::TimeSkippingStatePropagation
|
|
|
2519
2523
|
end
|
|
2520
2524
|
|
|
2521
2525
|
# Describes the current time-skipping state of a workflow execution.
|
|
2526
|
+
# Experimental. Might change in the future.
|
|
2522
2527
|
class Temporalio::Api::Common::V1::TimeSkippingInfo
|
|
2523
2528
|
include ::Google::Protobuf::MessageExts
|
|
2524
2529
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2648,6 +2653,7 @@ class Temporalio::Api::Common::V1::TimeSkippingInfo
|
|
|
2648
2653
|
end
|
|
2649
2654
|
|
|
2650
2655
|
# TimeSkippingFastForwardInfo describes the current time-skipping fast-forward on an execution.
|
|
2656
|
+
# Experimental. Might change in the future.
|
|
2651
2657
|
class Temporalio::Api::Common::V1::TimeSkippingFastForwardInfo
|
|
2652
2658
|
include ::Google::Protobuf::MessageExts
|
|
2653
2659
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -146,6 +146,8 @@ module Temporalio::Api::Enums::V1::ResourceExhaustedCause
|
|
|
146
146
|
self::RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT = T.let(9, Integer)
|
|
147
147
|
self::RESOURCE_EXHAUSTED_CAUSE_WORKER_DEPLOYMENT_LIMITS = T.let(10, Integer)
|
|
148
148
|
self::RESOURCE_EXHAUSTED_CAUSE_BANDWIDTH_LIMIT = T.let(11, Integer)
|
|
149
|
+
self::RESOURCE_EXHAUSTED_CAUSE_CALLER_RPS_LIMIT = T.let(12, Integer)
|
|
150
|
+
self::RESOURCE_EXHAUSTED_CAUSE_SHARD_PERSISTENCE_LIMIT = T.let(13, Integer)
|
|
149
151
|
|
|
150
152
|
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
151
153
|
def self.lookup(value)
|
|
@@ -7,6 +7,26 @@ module Temporalio::Api::Enums::V1::NamespaceState
|
|
|
7
7
|
self::NAMESPACE_STATE_REGISTERED = T.let(1, Integer)
|
|
8
8
|
self::NAMESPACE_STATE_DEPRECATED = T.let(2, Integer)
|
|
9
9
|
self::NAMESPACE_STATE_DELETED = T.let(3, Integer)
|
|
10
|
+
self::NAMESPACE_STATE_SOFT_DELETED = T.let(4, Integer)
|
|
11
|
+
|
|
12
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
13
|
+
def self.lookup(value)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
17
|
+
def self.resolve(value)
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
21
|
+
def self.descriptor
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
module Temporalio::Api::Enums::V1::NamespaceRestoreState
|
|
26
|
+
self::NAMESPACE_RESTORE_STATE_UNSPECIFIED = T.let(0, Integer)
|
|
27
|
+
self::NAMESPACE_RESTORE_STATE_RUNNING = T.let(1, Integer)
|
|
28
|
+
self::NAMESPACE_RESTORE_STATE_COMPLETED = T.let(2, Integer)
|
|
29
|
+
self::NAMESPACE_RESTORE_STATE_FAILED = T.let(3, Integer)
|
|
10
30
|
|
|
11
31
|
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
12
32
|
def self.lookup(value)
|