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
|
@@ -231,6 +231,85 @@ class Temporalio::Api::Cloud::Identity::V1::NamespaceAccess
|
|
|
231
231
|
end
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
+
class Temporalio::Api::Cloud::Identity::V1::ProjectAccess
|
|
235
|
+
include ::Google::Protobuf::MessageExts
|
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
237
|
+
|
|
238
|
+
sig do
|
|
239
|
+
params(
|
|
240
|
+
role: T.nilable(T.any(Symbol, String, Integer)),
|
|
241
|
+
custom_roles: T.nilable(T::Array[String])
|
|
242
|
+
).void
|
|
243
|
+
end
|
|
244
|
+
def initialize(
|
|
245
|
+
role: :PROJECT_ROLE_UNSPECIFIED,
|
|
246
|
+
custom_roles: []
|
|
247
|
+
)
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
251
|
+
def role
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
255
|
+
def role=(value)
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
sig { void }
|
|
259
|
+
def clear_role
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# List of project-scoped custom role IDs assigned to the principal for this project.
|
|
263
|
+
# temporal:versioning:min_version=v0.27.0
|
|
264
|
+
sig { returns(T::Array[String]) }
|
|
265
|
+
def custom_roles
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# List of project-scoped custom role IDs assigned to the principal for this project.
|
|
269
|
+
# temporal:versioning:min_version=v0.27.0
|
|
270
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
271
|
+
def custom_roles=(value)
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# List of project-scoped custom role IDs assigned to the principal for this project.
|
|
275
|
+
# temporal:versioning:min_version=v0.27.0
|
|
276
|
+
sig { void }
|
|
277
|
+
def clear_custom_roles
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
sig { params(field: String).returns(T.untyped) }
|
|
281
|
+
def [](field)
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
sig { params(field: String, value: T.untyped).void }
|
|
285
|
+
def []=(field, value)
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
289
|
+
def to_h
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ProjectAccess) }
|
|
293
|
+
def self.decode(str)
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ProjectAccess).returns(String) }
|
|
297
|
+
def self.encode(msg)
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ProjectAccess) }
|
|
301
|
+
def self.decode_json(str, **kw)
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ProjectAccess, kw: T.untyped).returns(String) }
|
|
305
|
+
def self.encode_json(msg, **kw)
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
309
|
+
def self.descriptor
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
234
313
|
class Temporalio::Api::Cloud::Identity::V1::Access
|
|
235
314
|
include ::Google::Protobuf::MessageExts
|
|
236
315
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -239,12 +318,14 @@ class Temporalio::Api::Cloud::Identity::V1::Access
|
|
|
239
318
|
params(
|
|
240
319
|
account_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::AccountAccess),
|
|
241
320
|
namespace_accesses: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)]),
|
|
321
|
+
project_accesses: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)]),
|
|
242
322
|
custom_roles_deprecated: T.nilable(T::Array[String])
|
|
243
323
|
).void
|
|
244
324
|
end
|
|
245
325
|
def initialize(
|
|
246
326
|
account_access: nil,
|
|
247
327
|
namespace_accesses: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Cloud::Identity::V1::NamespaceAccess),
|
|
328
|
+
project_accesses: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Cloud::Identity::V1::ProjectAccess),
|
|
248
329
|
custom_roles_deprecated: []
|
|
249
330
|
)
|
|
250
331
|
end
|
|
@@ -282,6 +363,27 @@ class Temporalio::Api::Cloud::Identity::V1::Access
|
|
|
282
363
|
def clear_namespace_accesses
|
|
283
364
|
end
|
|
284
365
|
|
|
366
|
+
# The map of project accesses
|
|
367
|
+
# The key is the project ID and the value is the access to the project
|
|
368
|
+
# temporal:versioning:min_version=v0.18.0
|
|
369
|
+
sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)]) }
|
|
370
|
+
def project_accesses
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
# The map of project accesses
|
|
374
|
+
# The key is the project ID and the value is the access to the project
|
|
375
|
+
# temporal:versioning:min_version=v0.18.0
|
|
376
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
377
|
+
def project_accesses=(value)
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
# The map of project accesses
|
|
381
|
+
# The key is the project ID and the value is the access to the project
|
|
382
|
+
# temporal:versioning:min_version=v0.18.0
|
|
383
|
+
sig { void }
|
|
384
|
+
def clear_project_accesses
|
|
385
|
+
end
|
|
386
|
+
|
|
285
387
|
# List of custom role IDs assigned to the user or service account.
|
|
286
388
|
# Deprecated: Not supported after v0.12.0 api version. Use account_access.custom_roles instead.
|
|
287
389
|
# temporal:versioning:max_version=v0.12.0
|
|
@@ -415,6 +517,105 @@ class Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess
|
|
|
415
517
|
end
|
|
416
518
|
end
|
|
417
519
|
|
|
520
|
+
class Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess
|
|
521
|
+
include ::Google::Protobuf::MessageExts
|
|
522
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
523
|
+
|
|
524
|
+
sig do
|
|
525
|
+
params(
|
|
526
|
+
project_id: T.nilable(String),
|
|
527
|
+
access: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess),
|
|
528
|
+
namespace_accesses: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)])
|
|
529
|
+
).void
|
|
530
|
+
end
|
|
531
|
+
def initialize(
|
|
532
|
+
project_id: "",
|
|
533
|
+
access: nil,
|
|
534
|
+
namespace_accesses: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)
|
|
535
|
+
)
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# The ID of the project the service account is assigned to - immutable.
|
|
539
|
+
sig { returns(String) }
|
|
540
|
+
def project_id
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# The ID of the project the service account is assigned to - immutable.
|
|
544
|
+
sig { params(value: String).void }
|
|
545
|
+
def project_id=(value)
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# The ID of the project the service account is assigned to - immutable.
|
|
549
|
+
sig { void }
|
|
550
|
+
def clear_project_id
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
# The project access assigned to the service account - mutable.
|
|
554
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)) }
|
|
555
|
+
def access
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
# The project access assigned to the service account - mutable.
|
|
559
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)).void }
|
|
560
|
+
def access=(value)
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# The project access assigned to the service account - mutable.
|
|
564
|
+
sig { void }
|
|
565
|
+
def clear_access
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
# The map of namespace accesses - mutable.
|
|
569
|
+
# The key is the namespace name and the value is the access to the namespace.
|
|
570
|
+
sig { returns(T::Hash[String, T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)]) }
|
|
571
|
+
def namespace_accesses
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
# The map of namespace accesses - mutable.
|
|
575
|
+
# The key is the namespace name and the value is the access to the namespace.
|
|
576
|
+
sig { params(value: ::Google::Protobuf::Map).void }
|
|
577
|
+
def namespace_accesses=(value)
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
# The map of namespace accesses - mutable.
|
|
581
|
+
# The key is the namespace name and the value is the access to the namespace.
|
|
582
|
+
sig { void }
|
|
583
|
+
def clear_namespace_accesses
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
sig { params(field: String).returns(T.untyped) }
|
|
587
|
+
def [](field)
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
sig { params(field: String, value: T.untyped).void }
|
|
591
|
+
def []=(field, value)
|
|
592
|
+
end
|
|
593
|
+
|
|
594
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
595
|
+
def to_h
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess) }
|
|
599
|
+
def self.decode(str)
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess).returns(String) }
|
|
603
|
+
def self.encode(msg)
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess) }
|
|
607
|
+
def self.decode_json(str, **kw)
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess, kw: T.untyped).returns(String) }
|
|
611
|
+
def self.encode_json(msg, **kw)
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
615
|
+
def self.descriptor
|
|
616
|
+
end
|
|
617
|
+
end
|
|
618
|
+
|
|
418
619
|
class Temporalio::Api::Cloud::Identity::V1::UserSpec
|
|
419
620
|
include ::Google::Protobuf::MessageExts
|
|
420
621
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -587,7 +788,8 @@ class Temporalio::Api::Cloud::Identity::V1::User
|
|
|
587
788
|
async_operation_id: T.nilable(String),
|
|
588
789
|
invitation: T.nilable(Temporalio::Api::Cloud::Identity::V1::Invitation),
|
|
589
790
|
created_time: T.nilable(Google::Protobuf::Timestamp),
|
|
590
|
-
last_modified_time: T.nilable(Google::Protobuf::Timestamp)
|
|
791
|
+
last_modified_time: T.nilable(Google::Protobuf::Timestamp),
|
|
792
|
+
group_memberships: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupMembership)])
|
|
591
793
|
).void
|
|
592
794
|
end
|
|
593
795
|
def initialize(
|
|
@@ -599,7 +801,8 @@ class Temporalio::Api::Cloud::Identity::V1::User
|
|
|
599
801
|
async_operation_id: "",
|
|
600
802
|
invitation: nil,
|
|
601
803
|
created_time: nil,
|
|
602
|
-
last_modified_time: nil
|
|
804
|
+
last_modified_time: nil,
|
|
805
|
+
group_memberships: []
|
|
603
806
|
)
|
|
604
807
|
end
|
|
605
808
|
|
|
@@ -759,6 +962,27 @@ class Temporalio::Api::Cloud::Identity::V1::User
|
|
|
759
962
|
def clear_last_modified_time
|
|
760
963
|
end
|
|
761
964
|
|
|
965
|
+
# The SCIM and Cloud groups the user is a member of, without their access or roles.
|
|
966
|
+
# This field is only set if include_group_memberships in the GetUser or GetUsers request is true
|
|
967
|
+
# and the caller has access to the user's full identity information.
|
|
968
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Cloud::Identity::V1::UserGroupMembership)]) }
|
|
969
|
+
def group_memberships
|
|
970
|
+
end
|
|
971
|
+
|
|
972
|
+
# The SCIM and Cloud groups the user is a member of, without their access or roles.
|
|
973
|
+
# This field is only set if include_group_memberships in the GetUser or GetUsers request is true
|
|
974
|
+
# and the caller has access to the user's full identity information.
|
|
975
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
976
|
+
def group_memberships=(value)
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
# The SCIM and Cloud groups the user is a member of, without their access or roles.
|
|
980
|
+
# This field is only set if include_group_memberships in the GetUser or GetUsers request is true
|
|
981
|
+
# and the caller has access to the user's full identity information.
|
|
982
|
+
sig { void }
|
|
983
|
+
def clear_group_memberships
|
|
984
|
+
end
|
|
985
|
+
|
|
762
986
|
sig { params(field: String).returns(T.untyped) }
|
|
763
987
|
def [](field)
|
|
764
988
|
end
|
|
@@ -792,6 +1016,86 @@ class Temporalio::Api::Cloud::Identity::V1::User
|
|
|
792
1016
|
end
|
|
793
1017
|
end
|
|
794
1018
|
|
|
1019
|
+
# A group the user is a member of.
|
|
1020
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroupMembership
|
|
1021
|
+
include ::Google::Protobuf::MessageExts
|
|
1022
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1023
|
+
|
|
1024
|
+
sig do
|
|
1025
|
+
params(
|
|
1026
|
+
group_id: T.nilable(String),
|
|
1027
|
+
display_name: T.nilable(String)
|
|
1028
|
+
).void
|
|
1029
|
+
end
|
|
1030
|
+
def initialize(
|
|
1031
|
+
group_id: "",
|
|
1032
|
+
display_name: ""
|
|
1033
|
+
)
|
|
1034
|
+
end
|
|
1035
|
+
|
|
1036
|
+
# The id of the group.
|
|
1037
|
+
sig { returns(String) }
|
|
1038
|
+
def group_id
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
# The id of the group.
|
|
1042
|
+
sig { params(value: String).void }
|
|
1043
|
+
def group_id=(value)
|
|
1044
|
+
end
|
|
1045
|
+
|
|
1046
|
+
# The id of the group.
|
|
1047
|
+
sig { void }
|
|
1048
|
+
def clear_group_id
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1051
|
+
# The display name of the group.
|
|
1052
|
+
sig { returns(String) }
|
|
1053
|
+
def display_name
|
|
1054
|
+
end
|
|
1055
|
+
|
|
1056
|
+
# The display name of the group.
|
|
1057
|
+
sig { params(value: String).void }
|
|
1058
|
+
def display_name=(value)
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1061
|
+
# The display name of the group.
|
|
1062
|
+
sig { void }
|
|
1063
|
+
def clear_display_name
|
|
1064
|
+
end
|
|
1065
|
+
|
|
1066
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1067
|
+
def [](field)
|
|
1068
|
+
end
|
|
1069
|
+
|
|
1070
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1071
|
+
def []=(field, value)
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1075
|
+
def to_h
|
|
1076
|
+
end
|
|
1077
|
+
|
|
1078
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupMembership) }
|
|
1079
|
+
def self.decode(str)
|
|
1080
|
+
end
|
|
1081
|
+
|
|
1082
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupMembership).returns(String) }
|
|
1083
|
+
def self.encode(msg)
|
|
1084
|
+
end
|
|
1085
|
+
|
|
1086
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupMembership) }
|
|
1087
|
+
def self.decode_json(str, **kw)
|
|
1088
|
+
end
|
|
1089
|
+
|
|
1090
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupMembership, kw: T.untyped).returns(String) }
|
|
1091
|
+
def self.encode_json(msg, **kw)
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1095
|
+
def self.descriptor
|
|
1096
|
+
end
|
|
1097
|
+
end
|
|
1098
|
+
|
|
795
1099
|
class Temporalio::Api::Cloud::Identity::V1::GoogleGroupSpec
|
|
796
1100
|
include ::Google::Protobuf::MessageExts
|
|
797
1101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1654,6 +1958,7 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
|
1654
1958
|
name: T.nilable(String),
|
|
1655
1959
|
access: T.nilable(Temporalio::Api::Cloud::Identity::V1::Access),
|
|
1656
1960
|
namespace_scoped_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceScopedAccess),
|
|
1961
|
+
project_scoped_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess),
|
|
1657
1962
|
description: T.nilable(String)
|
|
1658
1963
|
).void
|
|
1659
1964
|
end
|
|
@@ -1661,6 +1966,7 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
|
1661
1966
|
name: "",
|
|
1662
1967
|
access: nil,
|
|
1663
1968
|
namespace_scoped_access: nil,
|
|
1969
|
+
project_scoped_access: nil,
|
|
1664
1970
|
description: ""
|
|
1665
1971
|
)
|
|
1666
1972
|
end
|
|
@@ -1683,7 +1989,7 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
|
1683
1989
|
def clear_name
|
|
1684
1990
|
end
|
|
1685
1991
|
|
|
1686
|
-
# Note: one of `Access` or `NamespaceScopedAccess` must be provided
|
|
1992
|
+
# Note: one of `Access`, `ProjectScopedAccess`, or `NamespaceScopedAccess` must be provided.
|
|
1687
1993
|
# The access assigned to the service account.
|
|
1688
1994
|
# If set, creates an account scoped service account.
|
|
1689
1995
|
# The access is mutable.
|
|
@@ -1691,7 +1997,7 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
|
1691
1997
|
def access
|
|
1692
1998
|
end
|
|
1693
1999
|
|
|
1694
|
-
# Note: one of `Access` or `NamespaceScopedAccess` must be provided
|
|
2000
|
+
# Note: one of `Access`, `ProjectScopedAccess`, or `NamespaceScopedAccess` must be provided.
|
|
1695
2001
|
# The access assigned to the service account.
|
|
1696
2002
|
# If set, creates an account scoped service account.
|
|
1697
2003
|
# The access is mutable.
|
|
@@ -1699,7 +2005,7 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
|
1699
2005
|
def access=(value)
|
|
1700
2006
|
end
|
|
1701
2007
|
|
|
1702
|
-
# Note: one of `Access` or `NamespaceScopedAccess` must be provided
|
|
2008
|
+
# Note: one of `Access`, `ProjectScopedAccess`, or `NamespaceScopedAccess` must be provided.
|
|
1703
2009
|
# The access assigned to the service account.
|
|
1704
2010
|
# If set, creates an account scoped service account.
|
|
1705
2011
|
# The access is mutable.
|
|
@@ -1731,6 +2037,24 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountSpec
|
|
|
1731
2037
|
def clear_namespace_scoped_access
|
|
1732
2038
|
end
|
|
1733
2039
|
|
|
2040
|
+
# The project scoped access assigned to the service account.
|
|
2041
|
+
# If set, creates a project scoped service account (limited to a single project).
|
|
2042
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess)) }
|
|
2043
|
+
def project_scoped_access
|
|
2044
|
+
end
|
|
2045
|
+
|
|
2046
|
+
# The project scoped access assigned to the service account.
|
|
2047
|
+
# If set, creates a project scoped service account (limited to a single project).
|
|
2048
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectScopedAccess)).void }
|
|
2049
|
+
def project_scoped_access=(value)
|
|
2050
|
+
end
|
|
2051
|
+
|
|
2052
|
+
# The project scoped access assigned to the service account.
|
|
2053
|
+
# If set, creates a project scoped service account (limited to a single project).
|
|
2054
|
+
sig { void }
|
|
2055
|
+
def clear_project_scoped_access
|
|
2056
|
+
end
|
|
2057
|
+
|
|
1734
2058
|
# The description associated with the service account - optional.
|
|
1735
2059
|
# The description is mutable.
|
|
1736
2060
|
sig { returns(String) }
|
|
@@ -2186,13 +2510,15 @@ class Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec
|
|
|
2186
2510
|
params(
|
|
2187
2511
|
name: T.nilable(String),
|
|
2188
2512
|
description: T.nilable(String),
|
|
2189
|
-
permissions: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission)])
|
|
2513
|
+
permissions: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::Permission)]),
|
|
2514
|
+
project_id: T.nilable(String)
|
|
2190
2515
|
).void
|
|
2191
2516
|
end
|
|
2192
2517
|
def initialize(
|
|
2193
2518
|
name: "",
|
|
2194
2519
|
description: "",
|
|
2195
|
-
permissions: []
|
|
2520
|
+
permissions: [],
|
|
2521
|
+
project_id: ""
|
|
2196
2522
|
)
|
|
2197
2523
|
end
|
|
2198
2524
|
|
|
@@ -2241,6 +2567,39 @@ class Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec
|
|
|
2241
2567
|
def clear_permissions
|
|
2242
2568
|
end
|
|
2243
2569
|
|
|
2570
|
+
# The id of the project this custom role is scoped to - optional.
|
|
2571
|
+
# If unset, the custom role is scoped to the account: it can reference resources anywhere in the
|
|
2572
|
+
# account and can be assigned to principals at the account level.
|
|
2573
|
+
# If set, the custom role is scoped to the project: its resources must belong to that project, it
|
|
2574
|
+
# is not shared across projects, and it can only be assigned to principals within that project.
|
|
2575
|
+
# Immutable once the custom role is created - it cannot be changed via UpdateCustomRole.
|
|
2576
|
+
# temporal:versioning:min_version=v0.27.0
|
|
2577
|
+
sig { returns(String) }
|
|
2578
|
+
def project_id
|
|
2579
|
+
end
|
|
2580
|
+
|
|
2581
|
+
# The id of the project this custom role is scoped to - optional.
|
|
2582
|
+
# If unset, the custom role is scoped to the account: it can reference resources anywhere in the
|
|
2583
|
+
# account and can be assigned to principals at the account level.
|
|
2584
|
+
# If set, the custom role is scoped to the project: its resources must belong to that project, it
|
|
2585
|
+
# is not shared across projects, and it can only be assigned to principals within that project.
|
|
2586
|
+
# Immutable once the custom role is created - it cannot be changed via UpdateCustomRole.
|
|
2587
|
+
# temporal:versioning:min_version=v0.27.0
|
|
2588
|
+
sig { params(value: String).void }
|
|
2589
|
+
def project_id=(value)
|
|
2590
|
+
end
|
|
2591
|
+
|
|
2592
|
+
# The id of the project this custom role is scoped to - optional.
|
|
2593
|
+
# If unset, the custom role is scoped to the account: it can reference resources anywhere in the
|
|
2594
|
+
# account and can be assigned to principals at the account level.
|
|
2595
|
+
# If set, the custom role is scoped to the project: its resources must belong to that project, it
|
|
2596
|
+
# is not shared across projects, and it can only be assigned to principals within that project.
|
|
2597
|
+
# Immutable once the custom role is created - it cannot be changed via UpdateCustomRole.
|
|
2598
|
+
# temporal:versioning:min_version=v0.27.0
|
|
2599
|
+
sig { void }
|
|
2600
|
+
def clear_project_id
|
|
2601
|
+
end
|
|
2602
|
+
|
|
2244
2603
|
sig { params(field: String).returns(T.untyped) }
|
|
2245
2604
|
def [](field)
|
|
2246
2605
|
end
|
|
@@ -2447,7 +2806,7 @@ class Temporalio::Api::Cloud::Identity::V1::CustomRole
|
|
|
2447
2806
|
end
|
|
2448
2807
|
end
|
|
2449
2808
|
|
|
2450
|
-
class Temporalio::Api::Cloud::Identity::V1::
|
|
2809
|
+
class Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment
|
|
2451
2810
|
include ::Google::Protobuf::MessageExts
|
|
2452
2811
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2453
2812
|
|
|
@@ -2455,7 +2814,7 @@ class Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment
|
|
|
2455
2814
|
params(
|
|
2456
2815
|
id: T.nilable(String),
|
|
2457
2816
|
email: T.nilable(String),
|
|
2458
|
-
|
|
2817
|
+
project_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess),
|
|
2459
2818
|
inherited_access: T.nilable(T::Boolean),
|
|
2460
2819
|
resource_version: T.nilable(String)
|
|
2461
2820
|
).void
|
|
@@ -2463,53 +2822,183 @@ class Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment
|
|
|
2463
2822
|
def initialize(
|
|
2464
2823
|
id: "",
|
|
2465
2824
|
email: "",
|
|
2466
|
-
|
|
2825
|
+
project_access: nil,
|
|
2467
2826
|
inherited_access: false,
|
|
2468
2827
|
resource_version: ""
|
|
2469
2828
|
)
|
|
2470
2829
|
end
|
|
2471
2830
|
|
|
2472
|
-
# The
|
|
2831
|
+
# The id of the user
|
|
2473
2832
|
sig { returns(String) }
|
|
2474
2833
|
def id
|
|
2475
2834
|
end
|
|
2476
2835
|
|
|
2477
|
-
# The
|
|
2836
|
+
# The id of the user
|
|
2478
2837
|
sig { params(value: String).void }
|
|
2479
2838
|
def id=(value)
|
|
2480
2839
|
end
|
|
2481
2840
|
|
|
2482
|
-
# The
|
|
2841
|
+
# The id of the user
|
|
2483
2842
|
sig { void }
|
|
2484
2843
|
def clear_id
|
|
2485
2844
|
end
|
|
2486
2845
|
|
|
2487
|
-
# The email of the user
|
|
2846
|
+
# The email of the user
|
|
2488
2847
|
sig { returns(String) }
|
|
2489
2848
|
def email
|
|
2490
2849
|
end
|
|
2491
2850
|
|
|
2492
|
-
# The email of the user
|
|
2851
|
+
# The email of the user
|
|
2493
2852
|
sig { params(value: String).void }
|
|
2494
2853
|
def email=(value)
|
|
2495
2854
|
end
|
|
2496
2855
|
|
|
2497
|
-
# The email of the user
|
|
2856
|
+
# The email of the user
|
|
2498
2857
|
sig { void }
|
|
2499
2858
|
def clear_email
|
|
2500
2859
|
end
|
|
2501
2860
|
|
|
2502
|
-
# The access assigned to the user at the
|
|
2503
|
-
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::
|
|
2504
|
-
def
|
|
2861
|
+
# The access assigned to the user at the project level.
|
|
2862
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)) }
|
|
2863
|
+
def project_access
|
|
2505
2864
|
end
|
|
2506
2865
|
|
|
2507
|
-
# The access assigned to the user at the
|
|
2508
|
-
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::
|
|
2509
|
-
def
|
|
2866
|
+
# The access assigned to the user at the project level.
|
|
2867
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)).void }
|
|
2868
|
+
def project_access=(value)
|
|
2510
2869
|
end
|
|
2511
2870
|
|
|
2512
|
-
# The access assigned to the user at the
|
|
2871
|
+
# The access assigned to the user at the project level.
|
|
2872
|
+
sig { void }
|
|
2873
|
+
def clear_project_access
|
|
2874
|
+
end
|
|
2875
|
+
|
|
2876
|
+
# True if the user has inherited access to the project through an account role
|
|
2877
|
+
sig { returns(T::Boolean) }
|
|
2878
|
+
def inherited_access
|
|
2879
|
+
end
|
|
2880
|
+
|
|
2881
|
+
# True if the user has inherited access to the project through an account role
|
|
2882
|
+
sig { params(value: T::Boolean).void }
|
|
2883
|
+
def inherited_access=(value)
|
|
2884
|
+
end
|
|
2885
|
+
|
|
2886
|
+
# True if the user has inherited access to the project through an account role
|
|
2887
|
+
sig { void }
|
|
2888
|
+
def clear_inherited_access
|
|
2889
|
+
end
|
|
2890
|
+
|
|
2891
|
+
# The current resource version of the user.
|
|
2892
|
+
sig { returns(String) }
|
|
2893
|
+
def resource_version
|
|
2894
|
+
end
|
|
2895
|
+
|
|
2896
|
+
# The current resource version of the user.
|
|
2897
|
+
sig { params(value: String).void }
|
|
2898
|
+
def resource_version=(value)
|
|
2899
|
+
end
|
|
2900
|
+
|
|
2901
|
+
# The current resource version of the user.
|
|
2902
|
+
sig { void }
|
|
2903
|
+
def clear_resource_version
|
|
2904
|
+
end
|
|
2905
|
+
|
|
2906
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2907
|
+
def [](field)
|
|
2908
|
+
end
|
|
2909
|
+
|
|
2910
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2911
|
+
def []=(field, value)
|
|
2912
|
+
end
|
|
2913
|
+
|
|
2914
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2915
|
+
def to_h
|
|
2916
|
+
end
|
|
2917
|
+
|
|
2918
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment) }
|
|
2919
|
+
def self.decode(str)
|
|
2920
|
+
end
|
|
2921
|
+
|
|
2922
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment).returns(String) }
|
|
2923
|
+
def self.encode(msg)
|
|
2924
|
+
end
|
|
2925
|
+
|
|
2926
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment) }
|
|
2927
|
+
def self.decode_json(str, **kw)
|
|
2928
|
+
end
|
|
2929
|
+
|
|
2930
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment, kw: T.untyped).returns(String) }
|
|
2931
|
+
def self.encode_json(msg, **kw)
|
|
2932
|
+
end
|
|
2933
|
+
|
|
2934
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2935
|
+
def self.descriptor
|
|
2936
|
+
end
|
|
2937
|
+
end
|
|
2938
|
+
|
|
2939
|
+
class Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment
|
|
2940
|
+
include ::Google::Protobuf::MessageExts
|
|
2941
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2942
|
+
|
|
2943
|
+
sig do
|
|
2944
|
+
params(
|
|
2945
|
+
id: T.nilable(String),
|
|
2946
|
+
email: T.nilable(String),
|
|
2947
|
+
namespace_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess),
|
|
2948
|
+
inherited_access: T.nilable(T::Boolean),
|
|
2949
|
+
resource_version: T.nilable(String)
|
|
2950
|
+
).void
|
|
2951
|
+
end
|
|
2952
|
+
def initialize(
|
|
2953
|
+
id: "",
|
|
2954
|
+
email: "",
|
|
2955
|
+
namespace_access: nil,
|
|
2956
|
+
inherited_access: false,
|
|
2957
|
+
resource_version: ""
|
|
2958
|
+
)
|
|
2959
|
+
end
|
|
2960
|
+
|
|
2961
|
+
# The ID of the user.
|
|
2962
|
+
sig { returns(String) }
|
|
2963
|
+
def id
|
|
2964
|
+
end
|
|
2965
|
+
|
|
2966
|
+
# The ID of the user.
|
|
2967
|
+
sig { params(value: String).void }
|
|
2968
|
+
def id=(value)
|
|
2969
|
+
end
|
|
2970
|
+
|
|
2971
|
+
# The ID of the user.
|
|
2972
|
+
sig { void }
|
|
2973
|
+
def clear_id
|
|
2974
|
+
end
|
|
2975
|
+
|
|
2976
|
+
# The email of the user.
|
|
2977
|
+
sig { returns(String) }
|
|
2978
|
+
def email
|
|
2979
|
+
end
|
|
2980
|
+
|
|
2981
|
+
# The email of the user.
|
|
2982
|
+
sig { params(value: String).void }
|
|
2983
|
+
def email=(value)
|
|
2984
|
+
end
|
|
2985
|
+
|
|
2986
|
+
# The email of the user.
|
|
2987
|
+
sig { void }
|
|
2988
|
+
def clear_email
|
|
2989
|
+
end
|
|
2990
|
+
|
|
2991
|
+
# The access assigned to the user at the namespace level.
|
|
2992
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)) }
|
|
2993
|
+
def namespace_access
|
|
2994
|
+
end
|
|
2995
|
+
|
|
2996
|
+
# The access assigned to the user at the namespace level.
|
|
2997
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::NamespaceAccess)).void }
|
|
2998
|
+
def namespace_access=(value)
|
|
2999
|
+
end
|
|
3000
|
+
|
|
3001
|
+
# The access assigned to the user at the namespace level.
|
|
2513
3002
|
sig { void }
|
|
2514
3003
|
def clear_namespace_access
|
|
2515
3004
|
end
|
|
@@ -2577,6 +3066,133 @@ class Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment
|
|
|
2577
3066
|
end
|
|
2578
3067
|
end
|
|
2579
3068
|
|
|
3069
|
+
class Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment
|
|
3070
|
+
include ::Google::Protobuf::MessageExts
|
|
3071
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3072
|
+
|
|
3073
|
+
sig do
|
|
3074
|
+
params(
|
|
3075
|
+
id: T.nilable(String),
|
|
3076
|
+
name: T.nilable(String),
|
|
3077
|
+
project_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess),
|
|
3078
|
+
inherited_access: T.nilable(T::Boolean),
|
|
3079
|
+
resource_version: T.nilable(String)
|
|
3080
|
+
).void
|
|
3081
|
+
end
|
|
3082
|
+
def initialize(
|
|
3083
|
+
id: "",
|
|
3084
|
+
name: "",
|
|
3085
|
+
project_access: nil,
|
|
3086
|
+
inherited_access: false,
|
|
3087
|
+
resource_version: ""
|
|
3088
|
+
)
|
|
3089
|
+
end
|
|
3090
|
+
|
|
3091
|
+
# The id of the service account.
|
|
3092
|
+
sig { returns(String) }
|
|
3093
|
+
def id
|
|
3094
|
+
end
|
|
3095
|
+
|
|
3096
|
+
# The id of the service account.
|
|
3097
|
+
sig { params(value: String).void }
|
|
3098
|
+
def id=(value)
|
|
3099
|
+
end
|
|
3100
|
+
|
|
3101
|
+
# The id of the service account.
|
|
3102
|
+
sig { void }
|
|
3103
|
+
def clear_id
|
|
3104
|
+
end
|
|
3105
|
+
|
|
3106
|
+
# The name of the service account.
|
|
3107
|
+
sig { returns(String) }
|
|
3108
|
+
def name
|
|
3109
|
+
end
|
|
3110
|
+
|
|
3111
|
+
# The name of the service account.
|
|
3112
|
+
sig { params(value: String).void }
|
|
3113
|
+
def name=(value)
|
|
3114
|
+
end
|
|
3115
|
+
|
|
3116
|
+
# The name of the service account.
|
|
3117
|
+
sig { void }
|
|
3118
|
+
def clear_name
|
|
3119
|
+
end
|
|
3120
|
+
|
|
3121
|
+
# The access assigned to the service account at the project level.
|
|
3122
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)) }
|
|
3123
|
+
def project_access
|
|
3124
|
+
end
|
|
3125
|
+
|
|
3126
|
+
# The access assigned to the service account at the project level.
|
|
3127
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)).void }
|
|
3128
|
+
def project_access=(value)
|
|
3129
|
+
end
|
|
3130
|
+
|
|
3131
|
+
# The access assigned to the service account at the project level.
|
|
3132
|
+
sig { void }
|
|
3133
|
+
def clear_project_access
|
|
3134
|
+
end
|
|
3135
|
+
|
|
3136
|
+
# True if the user has inherited access to the project through an account role
|
|
3137
|
+
sig { returns(T::Boolean) }
|
|
3138
|
+
def inherited_access
|
|
3139
|
+
end
|
|
3140
|
+
|
|
3141
|
+
# True if the user has inherited access to the project through an account role
|
|
3142
|
+
sig { params(value: T::Boolean).void }
|
|
3143
|
+
def inherited_access=(value)
|
|
3144
|
+
end
|
|
3145
|
+
|
|
3146
|
+
# True if the user has inherited access to the project through an account role
|
|
3147
|
+
sig { void }
|
|
3148
|
+
def clear_inherited_access
|
|
3149
|
+
end
|
|
3150
|
+
|
|
3151
|
+
sig { returns(String) }
|
|
3152
|
+
def resource_version
|
|
3153
|
+
end
|
|
3154
|
+
|
|
3155
|
+
sig { params(value: String).void }
|
|
3156
|
+
def resource_version=(value)
|
|
3157
|
+
end
|
|
3158
|
+
|
|
3159
|
+
sig { void }
|
|
3160
|
+
def clear_resource_version
|
|
3161
|
+
end
|
|
3162
|
+
|
|
3163
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3164
|
+
def [](field)
|
|
3165
|
+
end
|
|
3166
|
+
|
|
3167
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3168
|
+
def []=(field, value)
|
|
3169
|
+
end
|
|
3170
|
+
|
|
3171
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3172
|
+
def to_h
|
|
3173
|
+
end
|
|
3174
|
+
|
|
3175
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment) }
|
|
3176
|
+
def self.decode(str)
|
|
3177
|
+
end
|
|
3178
|
+
|
|
3179
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment).returns(String) }
|
|
3180
|
+
def self.encode(msg)
|
|
3181
|
+
end
|
|
3182
|
+
|
|
3183
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment) }
|
|
3184
|
+
def self.decode_json(str, **kw)
|
|
3185
|
+
end
|
|
3186
|
+
|
|
3187
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment, kw: T.untyped).returns(String) }
|
|
3188
|
+
def self.encode_json(msg, **kw)
|
|
3189
|
+
end
|
|
3190
|
+
|
|
3191
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3192
|
+
def self.descriptor
|
|
3193
|
+
end
|
|
3194
|
+
end
|
|
3195
|
+
|
|
2580
3196
|
class Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment
|
|
2581
3197
|
include ::Google::Protobuf::MessageExts
|
|
2582
3198
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2707,6 +3323,133 @@ class Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment
|
|
|
2707
3323
|
end
|
|
2708
3324
|
end
|
|
2709
3325
|
|
|
3326
|
+
class Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment
|
|
3327
|
+
include ::Google::Protobuf::MessageExts
|
|
3328
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3329
|
+
|
|
3330
|
+
sig do
|
|
3331
|
+
params(
|
|
3332
|
+
id: T.nilable(String),
|
|
3333
|
+
display_name: T.nilable(String),
|
|
3334
|
+
project_access: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess),
|
|
3335
|
+
inherited_access: T.nilable(T::Boolean),
|
|
3336
|
+
resource_version: T.nilable(String)
|
|
3337
|
+
).void
|
|
3338
|
+
end
|
|
3339
|
+
def initialize(
|
|
3340
|
+
id: "",
|
|
3341
|
+
display_name: "",
|
|
3342
|
+
project_access: nil,
|
|
3343
|
+
inherited_access: false,
|
|
3344
|
+
resource_version: ""
|
|
3345
|
+
)
|
|
3346
|
+
end
|
|
3347
|
+
|
|
3348
|
+
# The id of the group
|
|
3349
|
+
sig { returns(String) }
|
|
3350
|
+
def id
|
|
3351
|
+
end
|
|
3352
|
+
|
|
3353
|
+
# The id of the group
|
|
3354
|
+
sig { params(value: String).void }
|
|
3355
|
+
def id=(value)
|
|
3356
|
+
end
|
|
3357
|
+
|
|
3358
|
+
# The id of the group
|
|
3359
|
+
sig { void }
|
|
3360
|
+
def clear_id
|
|
3361
|
+
end
|
|
3362
|
+
|
|
3363
|
+
# The display name of the group
|
|
3364
|
+
sig { returns(String) }
|
|
3365
|
+
def display_name
|
|
3366
|
+
end
|
|
3367
|
+
|
|
3368
|
+
# The display name of the group
|
|
3369
|
+
sig { params(value: String).void }
|
|
3370
|
+
def display_name=(value)
|
|
3371
|
+
end
|
|
3372
|
+
|
|
3373
|
+
# The display name of the group
|
|
3374
|
+
sig { void }
|
|
3375
|
+
def clear_display_name
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3378
|
+
# The access assigned to the group at the project level.
|
|
3379
|
+
sig { returns(T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)) }
|
|
3380
|
+
def project_access
|
|
3381
|
+
end
|
|
3382
|
+
|
|
3383
|
+
# The access assigned to the group at the project level.
|
|
3384
|
+
sig { params(value: T.nilable(Temporalio::Api::Cloud::Identity::V1::ProjectAccess)).void }
|
|
3385
|
+
def project_access=(value)
|
|
3386
|
+
end
|
|
3387
|
+
|
|
3388
|
+
# The access assigned to the group at the project level.
|
|
3389
|
+
sig { void }
|
|
3390
|
+
def clear_project_access
|
|
3391
|
+
end
|
|
3392
|
+
|
|
3393
|
+
# True if the group has inherited access to the project through an account role
|
|
3394
|
+
sig { returns(T::Boolean) }
|
|
3395
|
+
def inherited_access
|
|
3396
|
+
end
|
|
3397
|
+
|
|
3398
|
+
# True if the group has inherited access to the project through an account role
|
|
3399
|
+
sig { params(value: T::Boolean).void }
|
|
3400
|
+
def inherited_access=(value)
|
|
3401
|
+
end
|
|
3402
|
+
|
|
3403
|
+
# True if the group has inherited access to the project through an account role
|
|
3404
|
+
sig { void }
|
|
3405
|
+
def clear_inherited_access
|
|
3406
|
+
end
|
|
3407
|
+
|
|
3408
|
+
sig { returns(String) }
|
|
3409
|
+
def resource_version
|
|
3410
|
+
end
|
|
3411
|
+
|
|
3412
|
+
sig { params(value: String).void }
|
|
3413
|
+
def resource_version=(value)
|
|
3414
|
+
end
|
|
3415
|
+
|
|
3416
|
+
sig { void }
|
|
3417
|
+
def clear_resource_version
|
|
3418
|
+
end
|
|
3419
|
+
|
|
3420
|
+
sig { params(field: String).returns(T.untyped) }
|
|
3421
|
+
def [](field)
|
|
3422
|
+
end
|
|
3423
|
+
|
|
3424
|
+
sig { params(field: String, value: T.untyped).void }
|
|
3425
|
+
def []=(field, value)
|
|
3426
|
+
end
|
|
3427
|
+
|
|
3428
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
3429
|
+
def to_h
|
|
3430
|
+
end
|
|
3431
|
+
|
|
3432
|
+
sig { params(str: String).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment) }
|
|
3433
|
+
def self.decode(str)
|
|
3434
|
+
end
|
|
3435
|
+
|
|
3436
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment).returns(String) }
|
|
3437
|
+
def self.encode(msg)
|
|
3438
|
+
end
|
|
3439
|
+
|
|
3440
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment) }
|
|
3441
|
+
def self.decode_json(str, **kw)
|
|
3442
|
+
end
|
|
3443
|
+
|
|
3444
|
+
sig { params(msg: Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment, kw: T.untyped).returns(String) }
|
|
3445
|
+
def self.encode_json(msg, **kw)
|
|
3446
|
+
end
|
|
3447
|
+
|
|
3448
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
3449
|
+
def self.descriptor
|
|
3450
|
+
end
|
|
3451
|
+
end
|
|
3452
|
+
|
|
2710
3453
|
class Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment
|
|
2711
3454
|
include ::Google::Protobuf::MessageExts
|
|
2712
3455
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -3070,3 +3813,26 @@ module Temporalio::Api::Cloud::Identity::V1::NamespaceAccess::Permission
|
|
|
3070
3813
|
def self.descriptor
|
|
3071
3814
|
end
|
|
3072
3815
|
end
|
|
3816
|
+
|
|
3817
|
+
module Temporalio::Api::Cloud::Identity::V1::ProjectAccess::ProjectRole
|
|
3818
|
+
self::PROJECT_ROLE_UNSPECIFIED = T.let(0, Integer)
|
|
3819
|
+
self::PROJECT_ROLE_ADMIN = T.let(1, Integer)
|
|
3820
|
+
self::PROJECT_ROLE_WRITE = T.let(2, Integer)
|
|
3821
|
+
self::PROJECT_ROLE_READ = T.let(3, Integer)
|
|
3822
|
+
self::PROJECT_ROLE_LIST = T.let(4, Integer)
|
|
3823
|
+
self::PROJECT_ROLE_CONTRIBUTE = T.let(5, Integer)
|
|
3824
|
+
self::PROJECT_ROLE_MEMBER = T.let(6, Integer)
|
|
3825
|
+
self::PROJECT_ROLE_DEVELOPER = T.let(7, Integer)
|
|
3826
|
+
|
|
3827
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
3828
|
+
def self.lookup(value)
|
|
3829
|
+
end
|
|
3830
|
+
|
|
3831
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
3832
|
+
def self.resolve(value)
|
|
3833
|
+
end
|
|
3834
|
+
|
|
3835
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
3836
|
+
def self.descriptor
|
|
3837
|
+
end
|
|
3838
|
+
end
|