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.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +33 -11
  3. data/Cargo.toml +1 -0
  4. data/README.md +168 -11
  5. data/ext/Cargo.toml +3 -3
  6. data/lib/temporalio/api/cloud/account/v1/message.rb +2 -1
  7. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +43 -1
  8. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  9. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  10. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  11. data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
  12. data/lib/temporalio/api/cloud/nexus/v1/message.rb +1 -1
  13. data/lib/temporalio/api/cloud/project/v1/message.rb +28 -0
  14. data/lib/temporalio/api/cloud/region/v1/message.rb +1 -1
  15. data/lib/temporalio/api/cloud/sink/v1/message.rb +2 -1
  16. data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
  17. data/lib/temporalio/api/enums/v1/namespace.rb +2 -1
  18. data/lib/temporalio/api/operatorservice/v1/request_response.rb +9 -1
  19. data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
  20. data/lib/temporalio/api/payload_visitor.rb +66 -0
  21. data/lib/temporalio/api/taskqueue/v1/message.rb +3 -1
  22. data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
  23. data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
  24. data/lib/temporalio/client/connection/cloud_service.rb +285 -0
  25. data/lib/temporalio/client/connection/operator_service.rb +45 -0
  26. data/lib/temporalio/client/schedule.rb +56 -8
  27. data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +0 -2
  28. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +3 -5
  29. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +0 -2
  30. data/lib/temporalio/contrib/aws/s3_driver.rb +0 -2
  31. data/lib/temporalio/converters/data_converter.rb +52 -1
  32. data/lib/temporalio/converters/external_storage.rb +6 -12
  33. data/lib/temporalio/converters/external_storage_concurrency.rb +4 -2
  34. data/lib/temporalio/converters/storage_driver.rb +3 -4
  35. data/lib/temporalio/converters/storage_driver_activity_info.rb +0 -2
  36. data/lib/temporalio/converters/storage_driver_claim.rb +0 -2
  37. data/lib/temporalio/converters/storage_driver_limiter.rb +16 -0
  38. data/lib/temporalio/converters/storage_driver_retrieve_context.rb +7 -6
  39. data/lib/temporalio/converters/storage_driver_select_context.rb +11 -5
  40. data/lib/temporalio/converters/storage_driver_store_context.rb +11 -7
  41. data/lib/temporalio/converters/storage_driver_workflow_info.rb +0 -2
  42. data/lib/temporalio/error.rb +10 -3
  43. data/lib/temporalio/internal/bridge/worker.rb +1 -0
  44. data/lib/temporalio/internal/client/described_schedule_action.rb +41 -0
  45. data/lib/temporalio/internal/client/implementation.rb +92 -48
  46. data/lib/temporalio/internal/external_storage_references.rb +5 -4
  47. data/lib/temporalio/internal/external_storage_runner.rb +177 -0
  48. data/lib/temporalio/internal/storage_operation_metrics.rb +76 -0
  49. data/lib/temporalio/internal/worker/activity_worker.rb +60 -24
  50. data/lib/temporalio/internal/worker/workflow_worker.rb +211 -15
  51. data/lib/temporalio/version.rb +1 -1
  52. data/lib/temporalio/worker/workflow_replayer.rb +5 -3
  53. data/lib/temporalio/worker.rb +4 -2
  54. data/rbi/temporalio/api/cloud/account/v1/message.rbi +84 -2
  55. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +5006 -1157
  56. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +171 -0
  57. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +71 -16
  58. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +789 -23
  59. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +765 -15
  60. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +19 -2
  61. data/rbi/temporalio/api/cloud/project/v1/message.rbi +334 -0
  62. data/rbi/temporalio/api/cloud/region/v1/message.rbi +1 -0
  63. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +147 -0
  64. data/rbi/temporalio/api/common/v1/message.rbi +6 -0
  65. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +2 -0
  66. data/rbi/temporalio/api/enums/v1/namespace.rbi +20 -0
  67. data/rbi/temporalio/api/history/v1/message.rbi +40 -18
  68. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +480 -0
  69. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +32 -0
  70. data/rbi/temporalio/api/payload_visitor.rbi +33 -0
  71. data/rbi/temporalio/api/schedule/v1/message.rbi +12 -6
  72. data/rbi/temporalio/api/taskqueue/v1/message.rbi +179 -13
  73. data/rbi/temporalio/api/worker/v1/message.rbi +6 -6
  74. data/rbi/temporalio/api/workflow/v1/message.rbi +12 -6
  75. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +140 -41
  76. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +3 -0
  77. data/rbi/temporalio/client/connection/cloud_service.rbi +57 -0
  78. data/rbi/temporalio/client/connection/operator_service.rbi +9 -0
  79. data/rbi/temporalio/converters/data_converter.rbi +43 -2
  80. data/rbi/temporalio/converters/external_storage.rbi +2 -7
  81. data/rbi/temporalio/converters/storage_driver_limiter.rbi +4 -0
  82. data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +1 -1
  83. data/rbi/temporalio/converters/storage_driver_select_context.rbi +6 -2
  84. data/rbi/temporalio/converters/storage_driver_store_context.rbi +6 -2
  85. data/rbi/temporalio/error.rbi +3 -1
  86. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +6 -0
  87. data/rbi/temporalio/internal/bridge/worker.rbi +4 -2
  88. data/rbi/temporalio/internal/client/described_schedule_action.rbi +22 -0
  89. data/rbi/temporalio/internal/client/implementation.rbi +30 -0
  90. data/rbi/temporalio/internal/external_storage_runner.rbi +36 -0
  91. data/rbi/temporalio/internal/storage_operation_metrics.rbi +27 -0
  92. data/rbi/temporalio/internal/worker/activity_worker.rbi +24 -4
  93. data/rbi/temporalio/internal/worker/workflow_worker.rbi +61 -1
  94. data/rbi/temporalio/workflow.rbi +0 -12
  95. data/sig/temporalio/api/cloud/account/v1/message.rbs +30 -0
  96. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +2122 -601
  97. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +29 -4
  98. data/sig/temporalio/api/cloud/identity/v1/message.rbs +342 -1
  99. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +341 -2
  100. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +9 -0
  101. data/sig/temporalio/api/cloud/project/v1/message.rbs +164 -0
  102. data/sig/temporalio/api/cloud/region/v1/message.rbs +5 -3
  103. data/sig/temporalio/api/cloud/sink/v1/message.rbs +66 -0
  104. data/sig/temporalio/api/common/v1/message.rbs +6 -0
  105. data/sig/temporalio/api/enums/v1/event_type.rbs +1 -0
  106. data/sig/temporalio/api/enums/v1/failed_cause.rbs +9 -3
  107. data/sig/temporalio/api/enums/v1/namespace.rbs +30 -2
  108. data/sig/temporalio/api/enums/v1/time_skipping.rbs +1 -0
  109. data/sig/temporalio/api/history/v1/message.rbs +8 -0
  110. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +188 -0
  111. data/sig/temporalio/api/payload_visitor.rbs +11 -0
  112. data/sig/temporalio/api/schedule/v1/message.rbs +2 -0
  113. data/sig/temporalio/api/taskqueue/v1/message.rbs +66 -5
  114. data/sig/temporalio/api/worker/v1/message.rbs +2 -2
  115. data/sig/temporalio/api/workflow/v1/message.rbs +2 -0
  116. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +53 -9
  117. data/sig/temporalio/client/connection/cloud_service.rbs +76 -0
  118. data/sig/temporalio/client/connection/operator_service.rbs +12 -0
  119. data/sig/temporalio/client/schedule.rbs +24 -3
  120. data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +2 -1
  121. data/sig/temporalio/contrib/open_telemetry.rbs +4 -4
  122. data/sig/temporalio/converters/data_converter.rbs +19 -1
  123. data/sig/temporalio/converters/external_storage.rbs +1 -3
  124. data/sig/temporalio/converters/storage_driver_limiter.rbs +5 -0
  125. data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +1 -1
  126. data/sig/temporalio/converters/storage_driver_select_context.rbs +3 -1
  127. data/sig/temporalio/converters/storage_driver_store_context.rbs +3 -1
  128. data/sig/temporalio/error.rbs +4 -1
  129. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +4 -0
  130. data/sig/temporalio/internal/bridge/worker.rbs +2 -0
  131. data/sig/temporalio/internal/client/described_schedule_action.rbs +18 -0
  132. data/sig/temporalio/internal/client/implementation.rbs +22 -0
  133. data/sig/temporalio/internal/external_storage_runner.rbs +32 -0
  134. data/sig/temporalio/internal/storage_operation_metrics.rbs +25 -0
  135. data/sig/temporalio/internal/worker/activity_worker.rbs +11 -2
  136. data/sig/temporalio/internal/worker/workflow_worker.rbs +32 -1
  137. metadata +13 -2
  138. data/sig/open_telemetry.rbs +0 -47
@@ -281,6 +281,15 @@ module Temporalio::Api::Cloud::CloudService::V1::CloudService
281
281
  def delete_nexus_endpoint(request)
282
282
  end
283
283
 
284
+ # Move a nexus endpoint to a different project within the same account
285
+ sig do
286
+ params(
287
+ request: Temporalio::Api::Cloud::CloudService::V1::MoveNexusEndpointToProjectRequest
288
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::MoveNexusEndpointToProjectResponse)
289
+ end
290
+ def move_nexus_endpoint_to_project(request)
291
+ end
292
+
284
293
  # Get all user groups
285
294
  sig do
286
295
  params(
@@ -498,6 +507,51 @@ module Temporalio::Api::Cloud::CloudService::V1::CloudService
498
507
  def validate_namespace_export_sink(request)
499
508
  end
500
509
 
510
+ # Create a caller rate limit
511
+ sig do
512
+ params(
513
+ request: Temporalio::Api::Cloud::CloudService::V1::CreateCallerRateLimitRequest
514
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::CreateCallerRateLimitResponse)
515
+ end
516
+ def create_caller_rate_limit(request)
517
+ end
518
+
519
+ # Get a caller rate limit
520
+ sig do
521
+ params(
522
+ request: Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitRequest
523
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitResponse)
524
+ end
525
+ def get_caller_rate_limit(request)
526
+ end
527
+
528
+ # Get caller rate limits
529
+ sig do
530
+ params(
531
+ request: Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest
532
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsResponse)
533
+ end
534
+ def get_caller_rate_limits(request)
535
+ end
536
+
537
+ # Update a caller rate limit
538
+ sig do
539
+ params(
540
+ request: Temporalio::Api::Cloud::CloudService::V1::UpdateCallerRateLimitRequest
541
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::UpdateCallerRateLimitResponse)
542
+ end
543
+ def update_caller_rate_limit(request)
544
+ end
545
+
546
+ # Delete a caller rate limit
547
+ sig do
548
+ params(
549
+ request: Temporalio::Api::Cloud::CloudService::V1::DeleteCallerRateLimitRequest
550
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::DeleteCallerRateLimitResponse)
551
+ end
552
+ def delete_caller_rate_limit(request)
553
+ end
554
+
501
555
  # Update the tags for a namespace
502
556
  sig do
503
557
  params(
@@ -705,5 +759,122 @@ module Temporalio::Api::Cloud::CloudService::V1::CloudService
705
759
  end
706
760
  def get_user_group_namespace_assignments(request)
707
761
  end
762
+
763
+ # Get all projects
764
+ sig do
765
+ params(
766
+ request: Temporalio::Api::Cloud::CloudService::V1::GetProjectsRequest
767
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetProjectsResponse)
768
+ end
769
+ def get_projects(request)
770
+ end
771
+
772
+ # Get a project
773
+ sig do
774
+ params(
775
+ request: Temporalio::Api::Cloud::CloudService::V1::GetProjectRequest
776
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetProjectResponse)
777
+ end
778
+ def get_project(request)
779
+ end
780
+
781
+ # Create a new project
782
+ sig do
783
+ params(
784
+ request: Temporalio::Api::Cloud::CloudService::V1::CreateProjectRequest
785
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::CreateProjectResponse)
786
+ end
787
+ def create_project(request)
788
+ end
789
+
790
+ # Update a project
791
+ sig do
792
+ params(
793
+ request: Temporalio::Api::Cloud::CloudService::V1::UpdateProjectRequest
794
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::UpdateProjectResponse)
795
+ end
796
+ def update_project(request)
797
+ end
798
+
799
+ # Move a namespace to a different project within the same account
800
+ sig do
801
+ params(
802
+ request: Temporalio::Api::Cloud::CloudService::V1::MoveNamespaceToProjectRequest
803
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::MoveNamespaceToProjectResponse)
804
+ end
805
+ def move_namespace_to_project(request)
806
+ end
807
+
808
+ # Delete a project
809
+ sig do
810
+ params(
811
+ request: Temporalio::Api::Cloud::CloudService::V1::DeleteProjectRequest
812
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::DeleteProjectResponse)
813
+ end
814
+ def delete_project(request)
815
+ end
816
+
817
+ # Set a user's access to a project
818
+ sig do
819
+ params(
820
+ request: Temporalio::Api::Cloud::CloudService::V1::SetUserProjectAccessRequest
821
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::SetUserProjectAccessResponse)
822
+ end
823
+ def set_user_project_access(request)
824
+ end
825
+
826
+ # Set a user group's access to a project
827
+ sig do
828
+ params(
829
+ request: Temporalio::Api::Cloud::CloudService::V1::SetUserGroupProjectAccessRequest
830
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::SetUserGroupProjectAccessResponse)
831
+ end
832
+ def set_user_group_project_access(request)
833
+ end
834
+
835
+ # Set a service account's access to a project
836
+ sig do
837
+ params(
838
+ request: Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountProjectAccessRequest
839
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountProjectAccessResponse)
840
+ end
841
+ def set_service_account_project_access(request)
842
+ end
843
+
844
+ # Get users with access to a project
845
+ sig do
846
+ params(
847
+ request: Temporalio::Api::Cloud::CloudService::V1::GetUserProjectAssignmentsRequest
848
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetUserProjectAssignmentsResponse)
849
+ end
850
+ def get_user_project_assignments(request)
851
+ end
852
+
853
+ # Get service accounts with access to a project
854
+ sig do
855
+ params(
856
+ request: Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountProjectAssignmentsRequest
857
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountProjectAssignmentsResponse)
858
+ end
859
+ def get_service_account_project_assignments(request)
860
+ end
861
+
862
+ # Get user groups with access to a project
863
+ sig do
864
+ params(
865
+ request: Temporalio::Api::Cloud::CloudService::V1::GetUserGroupProjectAssignmentsRequest
866
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetUserGroupProjectAssignmentsResponse)
867
+ end
868
+ def get_user_group_project_assignments(request)
869
+ end
870
+
871
+ # Get service accounts scoped to a project
872
+ sig do
873
+ params(
874
+ request: Temporalio::Api::Cloud::CloudService::V1::GetProjectScopedServiceAccountsRequest
875
+ ).returns(Temporalio::Api::Cloud::CloudService::V1::GetProjectScopedServiceAccountsResponse)
876
+ end
877
+ def get_project_scoped_service_accounts(request)
878
+ end
708
879
  end
709
880
  end
@@ -13,7 +13,8 @@ class Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule
13
13
  resource_version: T.nilable(String),
14
14
  state: T.nilable(T.any(Symbol, String, Integer)),
15
15
  async_operation_id: T.nilable(String),
16
- created_time: T.nilable(Google::Protobuf::Timestamp)
16
+ created_time: T.nilable(Google::Protobuf::Timestamp),
17
+ project_id: T.nilable(String)
17
18
  ).void
18
19
  end
19
20
  def initialize(
@@ -22,7 +23,8 @@ class Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule
22
23
  resource_version: "",
23
24
  state: :RESOURCE_STATE_UNSPECIFIED,
24
25
  async_operation_id: "",
25
- created_time: nil
26
+ created_time: nil,
27
+ project_id: ""
26
28
  )
27
29
  end
28
30
 
@@ -116,6 +118,21 @@ class Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule
116
118
  def clear_created_time
117
119
  end
118
120
 
121
+ # The ID of the project this connectivity rule belongs to.
122
+ sig { returns(String) }
123
+ def project_id
124
+ end
125
+
126
+ # The ID of the project this connectivity rule belongs to.
127
+ sig { params(value: String).void }
128
+ def project_id=(value)
129
+ end
130
+
131
+ # The ID of the project this connectivity rule belongs to.
132
+ sig { void }
133
+ def clear_project_id
134
+ end
135
+
119
136
  sig { params(field: String).returns(T.untyped) }
120
137
  def [](field)
121
138
  end
@@ -308,67 +325,105 @@ class Temporalio::Api::Cloud::ConnectivityRule::V1::PrivateConnectivityRule
308
325
  params(
309
326
  connection_id: T.nilable(String),
310
327
  gcp_project_id: T.nilable(String),
311
- region: T.nilable(String)
328
+ region: T.nilable(String),
329
+ azure_pe_resource_id: T.nilable(String)
312
330
  ).void
313
331
  end
314
332
  def initialize(
315
333
  connection_id: "",
316
334
  gcp_project_id: "",
317
- region: ""
335
+ region: "",
336
+ azure_pe_resource_id: ""
318
337
  )
319
338
  end
320
339
 
321
- # Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
340
+ # Connection id provided by user to enforce the private connectivity.
341
+ # For AWS: VPC endpoint ID (e.g. "vpce-0123456789abcdef0").
342
+ # For GCP: PSC connection ID (numeric string).
343
+ # For Azure: not set by the customer; populated internally with the PPv2 LinkID
344
+ # returned by the infra plane during Private Endpoint connection approval.
322
345
  sig { returns(String) }
323
346
  def connection_id
324
347
  end
325
348
 
326
- # Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
349
+ # Connection id provided by user to enforce the private connectivity.
350
+ # For AWS: VPC endpoint ID (e.g. "vpce-0123456789abcdef0").
351
+ # For GCP: PSC connection ID (numeric string).
352
+ # For Azure: not set by the customer; populated internally with the PPv2 LinkID
353
+ # returned by the infra plane during Private Endpoint connection approval.
327
354
  sig { params(value: String).void }
328
355
  def connection_id=(value)
329
356
  end
330
357
 
331
- # Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
358
+ # Connection id provided by user to enforce the private connectivity.
359
+ # For AWS: VPC endpoint ID (e.g. "vpce-0123456789abcdef0").
360
+ # For GCP: PSC connection ID (numeric string).
361
+ # For Azure: not set by the customer; populated internally with the PPv2 LinkID
362
+ # returned by the infra plane during Private Endpoint connection approval.
332
363
  sig { void }
333
364
  def clear_connection_id
334
365
  end
335
366
 
336
- # For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs
337
- # AWS only needs the connection_id
367
+ # For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs.
368
+ # AWS only needs the connection_id.
338
369
  sig { returns(String) }
339
370
  def gcp_project_id
340
371
  end
341
372
 
342
- # For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs
343
- # AWS only needs the connection_id
373
+ # For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs.
374
+ # AWS only needs the connection_id.
344
375
  sig { params(value: String).void }
345
376
  def gcp_project_id=(value)
346
377
  end
347
378
 
348
- # For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs
349
- # AWS only needs the connection_id
379
+ # For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs.
380
+ # AWS only needs the connection_id.
350
381
  sig { void }
351
382
  def clear_gcp_project_id
352
383
  end
353
384
 
354
385
  # The region of the connectivity rule. This should align with the namespace.
355
- # Example: "aws-us-west-2"
386
+ # Example: "aws-us-west-2", "gcp-us-central1", "azure-eastus"
356
387
  sig { returns(String) }
357
388
  def region
358
389
  end
359
390
 
360
391
  # The region of the connectivity rule. This should align with the namespace.
361
- # Example: "aws-us-west-2"
392
+ # Example: "aws-us-west-2", "gcp-us-central1", "azure-eastus"
362
393
  sig { params(value: String).void }
363
394
  def region=(value)
364
395
  end
365
396
 
366
397
  # The region of the connectivity rule. This should align with the namespace.
367
- # Example: "aws-us-west-2"
398
+ # Example: "aws-us-west-2", "gcp-us-central1", "azure-eastus"
368
399
  sig { void }
369
400
  def clear_region
370
401
  end
371
402
 
403
+ # azure_pe_resource_id is the ARM resource ID of the customer's Azure Private Endpoint.
404
+ # Required for Azure private connectivity rules.
405
+ # Example: "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/privateEndpoints/{name}"
406
+ # temporal:versioning:min_version=v0.18.0
407
+ sig { returns(String) }
408
+ def azure_pe_resource_id
409
+ end
410
+
411
+ # azure_pe_resource_id is the ARM resource ID of the customer's Azure Private Endpoint.
412
+ # Required for Azure private connectivity rules.
413
+ # Example: "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/privateEndpoints/{name}"
414
+ # temporal:versioning:min_version=v0.18.0
415
+ sig { params(value: String).void }
416
+ def azure_pe_resource_id=(value)
417
+ end
418
+
419
+ # azure_pe_resource_id is the ARM resource ID of the customer's Azure Private Endpoint.
420
+ # Required for Azure private connectivity rules.
421
+ # Example: "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/privateEndpoints/{name}"
422
+ # temporal:versioning:min_version=v0.18.0
423
+ sig { void }
424
+ def clear_azure_pe_resource_id
425
+ end
426
+
372
427
  sig { params(field: String).returns(T.untyped) }
373
428
  def [](field)
374
429
  end