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
|
@@ -44,6 +44,11 @@ module Temporalio
|
|
|
44
44
|
def has_created_time?: () -> bool
|
|
45
45
|
def clear_created_time: () -> void
|
|
46
46
|
|
|
47
|
+
# The ID of the project this connectivity rule belongs to.
|
|
48
|
+
attr_reader project_id(): ::String
|
|
49
|
+
attr_writer project_id(): ::String | ::Symbol
|
|
50
|
+
def clear_project_id: () -> void
|
|
51
|
+
|
|
47
52
|
type init_map = {
|
|
48
53
|
id: (::String | ::Symbol)?,
|
|
49
54
|
"id" => (::String | ::Symbol)?,
|
|
@@ -57,6 +62,8 @@ module Temporalio
|
|
|
57
62
|
"async_operation_id" => (::String | ::Symbol)?,
|
|
58
63
|
created_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
59
64
|
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
65
|
+
project_id: (::String | ::Symbol)?,
|
|
66
|
+
"project_id" => (::String | ::Symbol)?,
|
|
60
67
|
}
|
|
61
68
|
|
|
62
69
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -68,6 +75,7 @@ module Temporalio
|
|
|
68
75
|
| ("state" name) -> (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Integer)
|
|
69
76
|
| ("async_operation_id" name) -> ::String
|
|
70
77
|
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
78
|
+
| ("project_id" name) -> ::String
|
|
71
79
|
|
|
72
80
|
def []=:
|
|
73
81
|
("id" name, (::String | ::Symbol) value) -> void
|
|
@@ -76,6 +84,7 @@ module Temporalio
|
|
|
76
84
|
| ("state" name, (::Temporalio::Api::Cloud::Resource::V1::ResourceState::names | ::Temporalio::Api::Cloud::Resource::V1::ResourceState::strings | ::Integer | ::Float) value) -> void
|
|
77
85
|
| ("async_operation_id" name, (::String | ::Symbol) value) -> void
|
|
78
86
|
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
87
|
+
| ("project_id" name, (::String | ::Symbol) value) -> void
|
|
79
88
|
end
|
|
80
89
|
|
|
81
90
|
# The connectivity rule specification passed in on create/update operations.
|
|
@@ -138,23 +147,35 @@ module Temporalio
|
|
|
138
147
|
# A private connectivity rule allows connections from a specific private vpc only.
|
|
139
148
|
class PrivateConnectivityRule < ::Google::Protobuf::AbstractMessage
|
|
140
149
|
|
|
141
|
-
# Connection id provided to enforce the private connectivity.
|
|
150
|
+
# Connection id provided by user to enforce the private connectivity.
|
|
151
|
+
# For AWS: VPC endpoint ID (e.g. "vpce-0123456789abcdef0").
|
|
152
|
+
# For GCP: PSC connection ID (numeric string).
|
|
153
|
+
# For Azure: not set by the customer; populated internally with the PPv2 LinkID
|
|
154
|
+
# returned by the infra plane during Private Endpoint connection approval.
|
|
142
155
|
attr_reader connection_id(): ::String
|
|
143
156
|
attr_writer connection_id(): ::String | ::Symbol
|
|
144
157
|
def clear_connection_id: () -> void
|
|
145
158
|
|
|
146
|
-
# For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs
|
|
147
|
-
# AWS only needs the connection_id
|
|
159
|
+
# For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs.
|
|
160
|
+
# AWS only needs the connection_id.
|
|
148
161
|
attr_reader gcp_project_id(): ::String
|
|
149
162
|
attr_writer gcp_project_id(): ::String | ::Symbol
|
|
150
163
|
def clear_gcp_project_id: () -> void
|
|
151
164
|
|
|
152
165
|
# The region of the connectivity rule. This should align with the namespace.
|
|
153
|
-
# Example: "aws-us-west-2"
|
|
166
|
+
# Example: "aws-us-west-2", "gcp-us-central1", "azure-eastus"
|
|
154
167
|
attr_reader region(): ::String
|
|
155
168
|
attr_writer region(): ::String | ::Symbol
|
|
156
169
|
def clear_region: () -> void
|
|
157
170
|
|
|
171
|
+
# azure_pe_resource_id is the ARM resource ID of the customer's Azure Private Endpoint.
|
|
172
|
+
# Required for Azure private connectivity rules.
|
|
173
|
+
# Example: "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/privateEndpoints/{name}"
|
|
174
|
+
# temporal:versioning:min_version=v0.18.0
|
|
175
|
+
attr_reader azure_pe_resource_id(): ::String
|
|
176
|
+
attr_writer azure_pe_resource_id(): ::String | ::Symbol
|
|
177
|
+
def clear_azure_pe_resource_id: () -> void
|
|
178
|
+
|
|
158
179
|
type init_map = {
|
|
159
180
|
connection_id: (::String | ::Symbol)?,
|
|
160
181
|
"connection_id" => (::String | ::Symbol)?,
|
|
@@ -162,6 +183,8 @@ module Temporalio
|
|
|
162
183
|
"gcp_project_id" => (::String | ::Symbol)?,
|
|
163
184
|
region: (::String | ::Symbol)?,
|
|
164
185
|
"region" => (::String | ::Symbol)?,
|
|
186
|
+
azure_pe_resource_id: (::String | ::Symbol)?,
|
|
187
|
+
"azure_pe_resource_id" => (::String | ::Symbol)?,
|
|
165
188
|
}
|
|
166
189
|
|
|
167
190
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -170,11 +193,13 @@ module Temporalio
|
|
|
170
193
|
("connection_id" name) -> ::String
|
|
171
194
|
| ("gcp_project_id" name) -> ::String
|
|
172
195
|
| ("region" name) -> ::String
|
|
196
|
+
| ("azure_pe_resource_id" name) -> ::String
|
|
173
197
|
|
|
174
198
|
def []=:
|
|
175
199
|
("connection_id" name, (::String | ::Symbol) value) -> void
|
|
176
200
|
| ("gcp_project_id" name, (::String | ::Symbol) value) -> void
|
|
177
201
|
| ("region" name, (::String | ::Symbol) value) -> void
|
|
202
|
+
| ("azure_pe_resource_id" name, (::String | ::Symbol) value) -> void
|
|
178
203
|
end
|
|
179
204
|
end
|
|
180
205
|
end
|
|
@@ -150,6 +150,66 @@ module Temporalio
|
|
|
150
150
|
| ("permission" name, (::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::names | ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission::strings | ::Integer | ::Float) value) -> void
|
|
151
151
|
end
|
|
152
152
|
|
|
153
|
+
class ProjectAccess < ::Google::Protobuf::AbstractMessage
|
|
154
|
+
module ProjectRole
|
|
155
|
+
|
|
156
|
+
PROJECT_ROLE_UNSPECIFIED: 0
|
|
157
|
+
|
|
158
|
+
PROJECT_ROLE_ADMIN: 1
|
|
159
|
+
|
|
160
|
+
PROJECT_ROLE_WRITE: 2
|
|
161
|
+
|
|
162
|
+
PROJECT_ROLE_READ: 3
|
|
163
|
+
|
|
164
|
+
PROJECT_ROLE_LIST: 4
|
|
165
|
+
|
|
166
|
+
PROJECT_ROLE_CONTRIBUTE: 5
|
|
167
|
+
|
|
168
|
+
PROJECT_ROLE_MEMBER: 6
|
|
169
|
+
|
|
170
|
+
PROJECT_ROLE_DEVELOPER: 7
|
|
171
|
+
|
|
172
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
type names = :PROJECT_ROLE_UNSPECIFIED | :PROJECT_ROLE_ADMIN | :PROJECT_ROLE_WRITE | :PROJECT_ROLE_READ | :PROJECT_ROLE_LIST | :PROJECT_ROLE_CONTRIBUTE | :PROJECT_ROLE_MEMBER | :PROJECT_ROLE_DEVELOPER
|
|
179
|
+
|
|
180
|
+
type strings = "PROJECT_ROLE_UNSPECIFIED" | "PROJECT_ROLE_ADMIN" | "PROJECT_ROLE_WRITE" | "PROJECT_ROLE_READ" | "PROJECT_ROLE_LIST" | "PROJECT_ROLE_CONTRIBUTE" | "PROJECT_ROLE_MEMBER" | "PROJECT_ROLE_DEVELOPER"
|
|
181
|
+
|
|
182
|
+
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
attr_reader role(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::names | ::Integer
|
|
186
|
+
attr_writer role(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::names | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::strings | ::Integer | ::Float
|
|
187
|
+
attr_reader role_const(): ::Integer
|
|
188
|
+
def clear_role: () -> void
|
|
189
|
+
|
|
190
|
+
# List of project-scoped custom role IDs assigned to the principal for this project.
|
|
191
|
+
# temporal:versioning:min_version=v0.27.0
|
|
192
|
+
attr_accessor custom_roles(): ::Google::Protobuf::RepeatedField
|
|
193
|
+
def clear_custom_roles: () -> void
|
|
194
|
+
|
|
195
|
+
type init_map = {
|
|
196
|
+
role: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::names | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::strings | ::Integer | ::Float)?,
|
|
197
|
+
"role" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::names | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::strings | ::Integer | ::Float)?,
|
|
198
|
+
custom_roles: ::Array[::String | ::Symbol]?,
|
|
199
|
+
"custom_roles" => ::Array[::String | ::Symbol]?,
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
def initialize: (?init_map initial_value) -> void
|
|
203
|
+
|
|
204
|
+
def []:
|
|
205
|
+
("role" name) -> (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::names | ::Integer)
|
|
206
|
+
| ("custom_roles" name) -> (::Google::Protobuf::RepeatedField)
|
|
207
|
+
|
|
208
|
+
def []=:
|
|
209
|
+
("role" name, (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::names | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole::strings | ::Integer | ::Float) value) -> void
|
|
210
|
+
| ("custom_roles" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
211
|
+
end
|
|
212
|
+
|
|
153
213
|
class Access < ::Google::Protobuf::AbstractMessage
|
|
154
214
|
|
|
155
215
|
# The account access
|
|
@@ -162,6 +222,12 @@ module Temporalio
|
|
|
162
222
|
attr_accessor namespace_accesses(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]
|
|
163
223
|
def clear_namespace_accesses: () -> void
|
|
164
224
|
|
|
225
|
+
# The map of project accesses
|
|
226
|
+
# The key is the project ID and the value is the access to the project
|
|
227
|
+
# temporal:versioning:min_version=v0.18.0
|
|
228
|
+
attr_accessor project_accesses(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess]
|
|
229
|
+
def clear_project_accesses: () -> void
|
|
230
|
+
|
|
165
231
|
# List of custom role IDs assigned to the user or service account.
|
|
166
232
|
# Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead.
|
|
167
233
|
# temporal:versioning:max_version=v0.12.0
|
|
@@ -174,6 +240,8 @@ module Temporalio
|
|
|
174
240
|
"account_access" => (::Temporalio::Api::Cloud::Identity::V1::AccountAccess | ::Temporalio::Api::Cloud::Identity::V1::AccountAccess::init_map)?,
|
|
175
241
|
namespace_accesses: ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]?,
|
|
176
242
|
"namespace_accesses" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]?,
|
|
243
|
+
project_accesses: ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess]?,
|
|
244
|
+
"project_accesses" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess]?,
|
|
177
245
|
custom_roles_deprecated: ::Array[::String | ::Symbol]?,
|
|
178
246
|
"custom_roles_deprecated" => ::Array[::String | ::Symbol]?,
|
|
179
247
|
}
|
|
@@ -183,11 +251,13 @@ module Temporalio
|
|
|
183
251
|
def []:
|
|
184
252
|
("account_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::AccountAccess?
|
|
185
253
|
| ("namespace_accesses" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess])
|
|
254
|
+
| ("project_accesses" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess])
|
|
186
255
|
| ("custom_roles_deprecated" name) -> (::Google::Protobuf::RepeatedField)
|
|
187
256
|
|
|
188
257
|
def []=:
|
|
189
258
|
("account_access" name, ::Temporalio::Api::Cloud::Identity::V1::AccountAccess? value) -> void
|
|
190
259
|
| ("namespace_accesses" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]) value) -> void
|
|
260
|
+
| ("project_accesses" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess]) value) -> void
|
|
191
261
|
| ("custom_roles_deprecated" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
192
262
|
end
|
|
193
263
|
|
|
@@ -221,6 +291,45 @@ module Temporalio
|
|
|
221
291
|
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess? value) -> void
|
|
222
292
|
end
|
|
223
293
|
|
|
294
|
+
class ProjectScopedAccess < ::Google::Protobuf::AbstractMessage
|
|
295
|
+
|
|
296
|
+
# The ID of the project the service account is assigned to - immutable.
|
|
297
|
+
attr_reader project_id(): ::String
|
|
298
|
+
attr_writer project_id(): ::String | ::Symbol
|
|
299
|
+
def clear_project_id: () -> void
|
|
300
|
+
|
|
301
|
+
# The project access assigned to the service account - mutable.
|
|
302
|
+
attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
303
|
+
def has_access?: () -> bool
|
|
304
|
+
def clear_access: () -> void
|
|
305
|
+
|
|
306
|
+
# The map of namespace accesses - mutable.
|
|
307
|
+
# The key is the namespace name and the value is the access to the namespace.
|
|
308
|
+
attr_accessor namespace_accesses(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]
|
|
309
|
+
def clear_namespace_accesses: () -> void
|
|
310
|
+
|
|
311
|
+
type init_map = {
|
|
312
|
+
project_id: (::String | ::Symbol)?,
|
|
313
|
+
"project_id" => (::String | ::Symbol)?,
|
|
314
|
+
access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
315
|
+
"access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
316
|
+
namespace_accesses: ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]?,
|
|
317
|
+
"namespace_accesses" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]?,
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
def initialize: (?init_map initial_value) -> void
|
|
321
|
+
|
|
322
|
+
def []:
|
|
323
|
+
("project_id" name) -> ::String
|
|
324
|
+
| ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
325
|
+
| ("namespace_accesses" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess])
|
|
326
|
+
|
|
327
|
+
def []=:
|
|
328
|
+
("project_id" name, (::String | ::Symbol) value) -> void
|
|
329
|
+
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
|
|
330
|
+
| ("namespace_accesses" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Cloud::Identity::V1::NamespaceAccess]) value) -> void
|
|
331
|
+
end
|
|
332
|
+
|
|
224
333
|
class UserSpec < ::Google::Protobuf::AbstractMessage
|
|
225
334
|
|
|
226
335
|
# The email address associated to the user
|
|
@@ -341,6 +450,12 @@ module Temporalio
|
|
|
341
450
|
def has_last_modified_time?: () -> bool
|
|
342
451
|
def clear_last_modified_time: () -> void
|
|
343
452
|
|
|
453
|
+
# The SCIM and Cloud groups the user is a member of, without their access or roles.
|
|
454
|
+
# This field is only set if include_group_memberships in the GetUser or GetUsers request is true
|
|
455
|
+
# and the caller has access to the user's full identity information.
|
|
456
|
+
attr_accessor group_memberships(): ::Google::Protobuf::RepeatedField
|
|
457
|
+
def clear_group_memberships: () -> void
|
|
458
|
+
|
|
344
459
|
type init_map = {
|
|
345
460
|
id: (::String | ::Symbol)?,
|
|
346
461
|
"id" => (::String | ::Symbol)?,
|
|
@@ -360,6 +475,8 @@ module Temporalio
|
|
|
360
475
|
"created_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
361
476
|
last_modified_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
362
477
|
"last_modified_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
478
|
+
group_memberships: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupMembership]?,
|
|
479
|
+
"group_memberships" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupMembership]?,
|
|
363
480
|
}
|
|
364
481
|
|
|
365
482
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -374,6 +491,7 @@ module Temporalio
|
|
|
374
491
|
| ("invitation" name) -> ::Temporalio::Api::Cloud::Identity::V1::Invitation?
|
|
375
492
|
| ("created_time" name) -> ::Google::Protobuf::Timestamp?
|
|
376
493
|
| ("last_modified_time" name) -> ::Google::Protobuf::Timestamp?
|
|
494
|
+
| ("group_memberships" name) -> ::Google::Protobuf::RepeatedField
|
|
377
495
|
|
|
378
496
|
def []=:
|
|
379
497
|
("id" name, (::String | ::Symbol) value) -> void
|
|
@@ -385,6 +503,38 @@ module Temporalio
|
|
|
385
503
|
| ("invitation" name, ::Temporalio::Api::Cloud::Identity::V1::Invitation? value) -> void
|
|
386
504
|
| ("created_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
387
505
|
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
506
|
+
| ("group_memberships" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
# A group the user is a member of.
|
|
510
|
+
class UserGroupMembership < ::Google::Protobuf::AbstractMessage
|
|
511
|
+
|
|
512
|
+
# The id of the group.
|
|
513
|
+
attr_reader group_id(): ::String
|
|
514
|
+
attr_writer group_id(): ::String | ::Symbol
|
|
515
|
+
def clear_group_id: () -> void
|
|
516
|
+
|
|
517
|
+
# The display name of the group.
|
|
518
|
+
attr_reader display_name(): ::String
|
|
519
|
+
attr_writer display_name(): ::String | ::Symbol
|
|
520
|
+
def clear_display_name: () -> void
|
|
521
|
+
|
|
522
|
+
type init_map = {
|
|
523
|
+
group_id: (::String | ::Symbol)?,
|
|
524
|
+
"group_id" => (::String | ::Symbol)?,
|
|
525
|
+
display_name: (::String | ::Symbol)?,
|
|
526
|
+
"display_name" => (::String | ::Symbol)?,
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
def initialize: (?init_map initial_value) -> void
|
|
530
|
+
|
|
531
|
+
def []:
|
|
532
|
+
("group_id" name) -> ::String
|
|
533
|
+
| ("display_name" name) -> ::String
|
|
534
|
+
|
|
535
|
+
def []=:
|
|
536
|
+
("group_id" name, (::String | ::Symbol) value) -> void
|
|
537
|
+
| ("display_name" name, (::String | ::Symbol) value) -> void
|
|
388
538
|
end
|
|
389
539
|
|
|
390
540
|
class GoogleGroupSpec < ::Google::Protobuf::AbstractMessage
|
|
@@ -755,7 +905,7 @@ module Temporalio
|
|
|
755
905
|
attr_writer name(): ::String | ::Symbol
|
|
756
906
|
def clear_name: () -> void
|
|
757
907
|
|
|
758
|
-
# Note: one of `Access` or `NamespaceScopedAccess` must be provided
|
|
908
|
+
# Note: one of `Access`, `ProjectScopedAccess`, or `NamespaceScopedAccess` must be provided.
|
|
759
909
|
# The access assigned to the service account.
|
|
760
910
|
# If set, creates an account scoped service account.
|
|
761
911
|
# The access is mutable.
|
|
@@ -771,6 +921,12 @@ module Temporalio
|
|
|
771
921
|
def has_namespace_scoped_access?: () -> bool
|
|
772
922
|
def clear_namespace_scoped_access: () -> void
|
|
773
923
|
|
|
924
|
+
# The project scoped access assigned to the service account.
|
|
925
|
+
# If set, creates a project scoped service account (limited to a single project).
|
|
926
|
+
attr_accessor project_scoped_access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess?
|
|
927
|
+
def has_project_scoped_access?: () -> bool
|
|
928
|
+
def clear_project_scoped_access: () -> void
|
|
929
|
+
|
|
774
930
|
# The description associated with the service account - optional.
|
|
775
931
|
# The description is mutable.
|
|
776
932
|
attr_reader description(): ::String
|
|
@@ -784,6 +940,8 @@ module Temporalio
|
|
|
784
940
|
"access" => (::Temporalio::Api::Cloud::Identity::V1::Access | ::Temporalio::Api::Cloud::Identity::V1::Access::init_map)?,
|
|
785
941
|
namespace_scoped_access: (::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess::init_map)?,
|
|
786
942
|
"namespace_scoped_access" => (::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess | ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess::init_map)?,
|
|
943
|
+
project_scoped_access: (::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess::init_map)?,
|
|
944
|
+
"project_scoped_access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess::init_map)?,
|
|
787
945
|
description: (::String | ::Symbol)?,
|
|
788
946
|
"description" => (::String | ::Symbol)?,
|
|
789
947
|
}
|
|
@@ -794,12 +952,14 @@ module Temporalio
|
|
|
794
952
|
("name" name) -> ::String
|
|
795
953
|
| ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::Access?
|
|
796
954
|
| ("namespace_scoped_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess?
|
|
955
|
+
| ("project_scoped_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess?
|
|
797
956
|
| ("description" name) -> ::String
|
|
798
957
|
|
|
799
958
|
def []=:
|
|
800
959
|
("name" name, (::String | ::Symbol) value) -> void
|
|
801
960
|
| ("access" name, ::Temporalio::Api::Cloud::Identity::V1::Access? value) -> void
|
|
802
961
|
| ("namespace_scoped_access" name, ::Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess? value) -> void
|
|
962
|
+
| ("project_scoped_access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess? value) -> void
|
|
803
963
|
| ("description" name, (::String | ::Symbol) value) -> void
|
|
804
964
|
end
|
|
805
965
|
|
|
@@ -1066,6 +1226,17 @@ module Temporalio
|
|
|
1066
1226
|
attr_accessor permissions(): ::Google::Protobuf::RepeatedField
|
|
1067
1227
|
def clear_permissions: () -> void
|
|
1068
1228
|
|
|
1229
|
+
# The id of the project this custom role is scoped to - optional.
|
|
1230
|
+
# If unset, the custom role is scoped to the account: it can reference resources anywhere in the
|
|
1231
|
+
# account and can be assigned to principals at the account level.
|
|
1232
|
+
# If set, the custom role is scoped to the project: its resources must belong to that project, it
|
|
1233
|
+
# is not shared across projects, and it can only be assigned to principals within that project.
|
|
1234
|
+
# Immutable once the custom role is created - it cannot be changed via UpdateCustomRole.
|
|
1235
|
+
# temporal:versioning:min_version=v0.27.0
|
|
1236
|
+
attr_reader project_id(): ::String
|
|
1237
|
+
attr_writer project_id(): ::String | ::Symbol
|
|
1238
|
+
def clear_project_id: () -> void
|
|
1239
|
+
|
|
1069
1240
|
type init_map = {
|
|
1070
1241
|
name: (::String | ::Symbol)?,
|
|
1071
1242
|
"name" => (::String | ::Symbol)?,
|
|
@@ -1073,6 +1244,8 @@ module Temporalio
|
|
|
1073
1244
|
"description" => (::String | ::Symbol)?,
|
|
1074
1245
|
permissions: ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission]?,
|
|
1075
1246
|
"permissions" => ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission]?,
|
|
1247
|
+
project_id: (::String | ::Symbol)?,
|
|
1248
|
+
"project_id" => (::String | ::Symbol)?,
|
|
1076
1249
|
}
|
|
1077
1250
|
|
|
1078
1251
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -1081,11 +1254,13 @@ module Temporalio
|
|
|
1081
1254
|
("name" name) -> ::String
|
|
1082
1255
|
| ("description" name) -> ::String
|
|
1083
1256
|
| ("permissions" name) -> ::Google::Protobuf::RepeatedField
|
|
1257
|
+
| ("project_id" name) -> ::String
|
|
1084
1258
|
|
|
1085
1259
|
def []=:
|
|
1086
1260
|
("name" name, (::String | ::Symbol) value) -> void
|
|
1087
1261
|
| ("description" name, (::String | ::Symbol) value) -> void
|
|
1088
1262
|
| ("permissions" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
1263
|
+
| ("project_id" name, (::String | ::Symbol) value) -> void
|
|
1089
1264
|
end
|
|
1090
1265
|
|
|
1091
1266
|
class CustomRole < ::Google::Protobuf::AbstractMessage
|
|
@@ -1169,6 +1344,62 @@ module Temporalio
|
|
|
1169
1344
|
| ("last_modified_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
1170
1345
|
end
|
|
1171
1346
|
|
|
1347
|
+
class UserProjectAssignment < ::Google::Protobuf::AbstractMessage
|
|
1348
|
+
|
|
1349
|
+
# The id of the user
|
|
1350
|
+
attr_reader id(): ::String
|
|
1351
|
+
attr_writer id(): ::String | ::Symbol
|
|
1352
|
+
def clear_id: () -> void
|
|
1353
|
+
|
|
1354
|
+
# The email of the user
|
|
1355
|
+
attr_reader email(): ::String
|
|
1356
|
+
attr_writer email(): ::String | ::Symbol
|
|
1357
|
+
def clear_email: () -> void
|
|
1358
|
+
|
|
1359
|
+
# The access assigned to the user at the project level.
|
|
1360
|
+
attr_accessor project_access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
1361
|
+
def has_project_access?: () -> bool
|
|
1362
|
+
def clear_project_access: () -> void
|
|
1363
|
+
|
|
1364
|
+
# True if the user has inherited access to the project through an account role
|
|
1365
|
+
attr_accessor inherited_access(): bool
|
|
1366
|
+
def clear_inherited_access: () -> void
|
|
1367
|
+
|
|
1368
|
+
# The current resource version of the user.
|
|
1369
|
+
attr_reader resource_version(): ::String
|
|
1370
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1371
|
+
def clear_resource_version: () -> void
|
|
1372
|
+
|
|
1373
|
+
type init_map = {
|
|
1374
|
+
id: (::String | ::Symbol)?,
|
|
1375
|
+
"id" => (::String | ::Symbol)?,
|
|
1376
|
+
email: (::String | ::Symbol)?,
|
|
1377
|
+
"email" => (::String | ::Symbol)?,
|
|
1378
|
+
project_access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
1379
|
+
"project_access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
1380
|
+
inherited_access: bool?,
|
|
1381
|
+
"inherited_access" => bool?,
|
|
1382
|
+
resource_version: (::String | ::Symbol)?,
|
|
1383
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
def initialize: (?init_map initial_value) -> void
|
|
1387
|
+
|
|
1388
|
+
def []:
|
|
1389
|
+
("id" name) -> ::String
|
|
1390
|
+
| ("email" name) -> ::String
|
|
1391
|
+
| ("project_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
1392
|
+
| ("inherited_access" name) -> bool
|
|
1393
|
+
| ("resource_version" name) -> ::String
|
|
1394
|
+
|
|
1395
|
+
def []=:
|
|
1396
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1397
|
+
| ("email" name, (::String | ::Symbol) value) -> void
|
|
1398
|
+
| ("project_access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
|
|
1399
|
+
| ("inherited_access" name, bool value) -> void
|
|
1400
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1401
|
+
end
|
|
1402
|
+
|
|
1172
1403
|
class UserNamespaceAssignment < ::Google::Protobuf::AbstractMessage
|
|
1173
1404
|
|
|
1174
1405
|
# The ID of the user.
|
|
@@ -1225,6 +1456,61 @@ module Temporalio
|
|
|
1225
1456
|
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1226
1457
|
end
|
|
1227
1458
|
|
|
1459
|
+
class ServiceAccountProjectAssignment < ::Google::Protobuf::AbstractMessage
|
|
1460
|
+
|
|
1461
|
+
# The id of the service account.
|
|
1462
|
+
attr_reader id(): ::String
|
|
1463
|
+
attr_writer id(): ::String | ::Symbol
|
|
1464
|
+
def clear_id: () -> void
|
|
1465
|
+
|
|
1466
|
+
# The name of the service account.
|
|
1467
|
+
attr_reader name(): ::String
|
|
1468
|
+
attr_writer name(): ::String | ::Symbol
|
|
1469
|
+
def clear_name: () -> void
|
|
1470
|
+
|
|
1471
|
+
# The access assigned to the service account at the project level.
|
|
1472
|
+
attr_accessor project_access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
1473
|
+
def has_project_access?: () -> bool
|
|
1474
|
+
def clear_project_access: () -> void
|
|
1475
|
+
|
|
1476
|
+
# True if the user has inherited access to the project through an account role
|
|
1477
|
+
attr_accessor inherited_access(): bool
|
|
1478
|
+
def clear_inherited_access: () -> void
|
|
1479
|
+
|
|
1480
|
+
attr_reader resource_version(): ::String
|
|
1481
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1482
|
+
def clear_resource_version: () -> void
|
|
1483
|
+
|
|
1484
|
+
type init_map = {
|
|
1485
|
+
id: (::String | ::Symbol)?,
|
|
1486
|
+
"id" => (::String | ::Symbol)?,
|
|
1487
|
+
name: (::String | ::Symbol)?,
|
|
1488
|
+
"name" => (::String | ::Symbol)?,
|
|
1489
|
+
project_access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
1490
|
+
"project_access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
1491
|
+
inherited_access: bool?,
|
|
1492
|
+
"inherited_access" => bool?,
|
|
1493
|
+
resource_version: (::String | ::Symbol)?,
|
|
1494
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
def initialize: (?init_map initial_value) -> void
|
|
1498
|
+
|
|
1499
|
+
def []:
|
|
1500
|
+
("id" name) -> ::String
|
|
1501
|
+
| ("name" name) -> ::String
|
|
1502
|
+
| ("project_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
1503
|
+
| ("inherited_access" name) -> bool
|
|
1504
|
+
| ("resource_version" name) -> ::String
|
|
1505
|
+
|
|
1506
|
+
def []=:
|
|
1507
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1508
|
+
| ("name" name, (::String | ::Symbol) value) -> void
|
|
1509
|
+
| ("project_access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
|
|
1510
|
+
| ("inherited_access" name, bool value) -> void
|
|
1511
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1512
|
+
end
|
|
1513
|
+
|
|
1228
1514
|
class ServiceAccountNamespaceAssignment < ::Google::Protobuf::AbstractMessage
|
|
1229
1515
|
|
|
1230
1516
|
# The ID of the service account.
|
|
@@ -1281,6 +1567,61 @@ module Temporalio
|
|
|
1281
1567
|
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1282
1568
|
end
|
|
1283
1569
|
|
|
1570
|
+
class UserGroupProjectAssignment < ::Google::Protobuf::AbstractMessage
|
|
1571
|
+
|
|
1572
|
+
# The id of the group
|
|
1573
|
+
attr_reader id(): ::String
|
|
1574
|
+
attr_writer id(): ::String | ::Symbol
|
|
1575
|
+
def clear_id: () -> void
|
|
1576
|
+
|
|
1577
|
+
# The display name of the group
|
|
1578
|
+
attr_reader display_name(): ::String
|
|
1579
|
+
attr_writer display_name(): ::String | ::Symbol
|
|
1580
|
+
def clear_display_name: () -> void
|
|
1581
|
+
|
|
1582
|
+
# The access assigned to the group at the project level.
|
|
1583
|
+
attr_accessor project_access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
1584
|
+
def has_project_access?: () -> bool
|
|
1585
|
+
def clear_project_access: () -> void
|
|
1586
|
+
|
|
1587
|
+
# True if the group has inherited access to the project through an account role
|
|
1588
|
+
attr_accessor inherited_access(): bool
|
|
1589
|
+
def clear_inherited_access: () -> void
|
|
1590
|
+
|
|
1591
|
+
attr_reader resource_version(): ::String
|
|
1592
|
+
attr_writer resource_version(): ::String | ::Symbol
|
|
1593
|
+
def clear_resource_version: () -> void
|
|
1594
|
+
|
|
1595
|
+
type init_map = {
|
|
1596
|
+
id: (::String | ::Symbol)?,
|
|
1597
|
+
"id" => (::String | ::Symbol)?,
|
|
1598
|
+
display_name: (::String | ::Symbol)?,
|
|
1599
|
+
"display_name" => (::String | ::Symbol)?,
|
|
1600
|
+
project_access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
1601
|
+
"project_access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
|
|
1602
|
+
inherited_access: bool?,
|
|
1603
|
+
"inherited_access" => bool?,
|
|
1604
|
+
resource_version: (::String | ::Symbol)?,
|
|
1605
|
+
"resource_version" => (::String | ::Symbol)?,
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
def initialize: (?init_map initial_value) -> void
|
|
1609
|
+
|
|
1610
|
+
def []:
|
|
1611
|
+
("id" name) -> ::String
|
|
1612
|
+
| ("display_name" name) -> ::String
|
|
1613
|
+
| ("project_access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
|
|
1614
|
+
| ("inherited_access" name) -> bool
|
|
1615
|
+
| ("resource_version" name) -> ::String
|
|
1616
|
+
|
|
1617
|
+
def []=:
|
|
1618
|
+
("id" name, (::String | ::Symbol) value) -> void
|
|
1619
|
+
| ("display_name" name, (::String | ::Symbol) value) -> void
|
|
1620
|
+
| ("project_access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
|
|
1621
|
+
| ("inherited_access" name, bool value) -> void
|
|
1622
|
+
| ("resource_version" name, (::String | ::Symbol) value) -> void
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1284
1625
|
class UserGroupNamespaceAssignment < ::Google::Protobuf::AbstractMessage
|
|
1285
1626
|
|
|
1286
1627
|
# The ID of the group.
|