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
|
@@ -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.
|
|
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.
|
|
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.
|
|
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
|