temporalio 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +33 -11
  3. data/Cargo.toml +1 -0
  4. data/README.md +168 -11
  5. data/ext/Cargo.toml +3 -3
  6. data/lib/temporalio/api/cloud/account/v1/message.rb +2 -1
  7. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +43 -1
  8. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  9. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  10. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  11. data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
  12. data/lib/temporalio/api/cloud/nexus/v1/message.rb +1 -1
  13. data/lib/temporalio/api/cloud/project/v1/message.rb +28 -0
  14. data/lib/temporalio/api/cloud/region/v1/message.rb +1 -1
  15. data/lib/temporalio/api/cloud/sink/v1/message.rb +2 -1
  16. data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
  17. data/lib/temporalio/api/enums/v1/namespace.rb +2 -1
  18. data/lib/temporalio/api/operatorservice/v1/request_response.rb +9 -1
  19. data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
  20. data/lib/temporalio/api/payload_visitor.rb +66 -0
  21. data/lib/temporalio/api/taskqueue/v1/message.rb +3 -1
  22. data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
  23. data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
  24. data/lib/temporalio/client/connection/cloud_service.rb +285 -0
  25. data/lib/temporalio/client/connection/operator_service.rb +45 -0
  26. data/lib/temporalio/client/schedule.rb +56 -8
  27. data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +0 -2
  28. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +3 -5
  29. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +0 -2
  30. data/lib/temporalio/contrib/aws/s3_driver.rb +0 -2
  31. data/lib/temporalio/converters/data_converter.rb +52 -1
  32. data/lib/temporalio/converters/external_storage.rb +6 -12
  33. data/lib/temporalio/converters/external_storage_concurrency.rb +4 -2
  34. data/lib/temporalio/converters/storage_driver.rb +3 -4
  35. data/lib/temporalio/converters/storage_driver_activity_info.rb +0 -2
  36. data/lib/temporalio/converters/storage_driver_claim.rb +0 -2
  37. data/lib/temporalio/converters/storage_driver_limiter.rb +16 -0
  38. data/lib/temporalio/converters/storage_driver_retrieve_context.rb +7 -6
  39. data/lib/temporalio/converters/storage_driver_select_context.rb +11 -5
  40. data/lib/temporalio/converters/storage_driver_store_context.rb +11 -7
  41. data/lib/temporalio/converters/storage_driver_workflow_info.rb +0 -2
  42. data/lib/temporalio/error.rb +10 -3
  43. data/lib/temporalio/internal/bridge/worker.rb +1 -0
  44. data/lib/temporalio/internal/client/described_schedule_action.rb +41 -0
  45. data/lib/temporalio/internal/client/implementation.rb +92 -48
  46. data/lib/temporalio/internal/external_storage_references.rb +5 -4
  47. data/lib/temporalio/internal/external_storage_runner.rb +177 -0
  48. data/lib/temporalio/internal/storage_operation_metrics.rb +76 -0
  49. data/lib/temporalio/internal/worker/activity_worker.rb +60 -24
  50. data/lib/temporalio/internal/worker/workflow_worker.rb +211 -15
  51. data/lib/temporalio/version.rb +1 -1
  52. data/lib/temporalio/worker/workflow_replayer.rb +5 -3
  53. data/lib/temporalio/worker.rb +4 -2
  54. data/rbi/temporalio/api/cloud/account/v1/message.rbi +84 -2
  55. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +5006 -1157
  56. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +171 -0
  57. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +71 -16
  58. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +789 -23
  59. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +765 -15
  60. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +19 -2
  61. data/rbi/temporalio/api/cloud/project/v1/message.rbi +334 -0
  62. data/rbi/temporalio/api/cloud/region/v1/message.rbi +1 -0
  63. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +147 -0
  64. data/rbi/temporalio/api/common/v1/message.rbi +6 -0
  65. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +2 -0
  66. data/rbi/temporalio/api/enums/v1/namespace.rbi +20 -0
  67. data/rbi/temporalio/api/history/v1/message.rbi +40 -18
  68. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +480 -0
  69. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +32 -0
  70. data/rbi/temporalio/api/payload_visitor.rbi +33 -0
  71. data/rbi/temporalio/api/schedule/v1/message.rbi +12 -6
  72. data/rbi/temporalio/api/taskqueue/v1/message.rbi +179 -13
  73. data/rbi/temporalio/api/worker/v1/message.rbi +6 -6
  74. data/rbi/temporalio/api/workflow/v1/message.rbi +12 -6
  75. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +140 -41
  76. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +3 -0
  77. data/rbi/temporalio/client/connection/cloud_service.rbi +57 -0
  78. data/rbi/temporalio/client/connection/operator_service.rbi +9 -0
  79. data/rbi/temporalio/converters/data_converter.rbi +43 -2
  80. data/rbi/temporalio/converters/external_storage.rbi +2 -7
  81. data/rbi/temporalio/converters/storage_driver_limiter.rbi +4 -0
  82. data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +1 -1
  83. data/rbi/temporalio/converters/storage_driver_select_context.rbi +6 -2
  84. data/rbi/temporalio/converters/storage_driver_store_context.rbi +6 -2
  85. data/rbi/temporalio/error.rbi +3 -1
  86. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +6 -0
  87. data/rbi/temporalio/internal/bridge/worker.rbi +4 -2
  88. data/rbi/temporalio/internal/client/described_schedule_action.rbi +22 -0
  89. data/rbi/temporalio/internal/client/implementation.rbi +30 -0
  90. data/rbi/temporalio/internal/external_storage_runner.rbi +36 -0
  91. data/rbi/temporalio/internal/storage_operation_metrics.rbi +27 -0
  92. data/rbi/temporalio/internal/worker/activity_worker.rbi +24 -4
  93. data/rbi/temporalio/internal/worker/workflow_worker.rbi +61 -1
  94. data/rbi/temporalio/workflow.rbi +0 -12
  95. data/sig/temporalio/api/cloud/account/v1/message.rbs +30 -0
  96. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +2122 -601
  97. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +29 -4
  98. data/sig/temporalio/api/cloud/identity/v1/message.rbs +342 -1
  99. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +341 -2
  100. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +9 -0
  101. data/sig/temporalio/api/cloud/project/v1/message.rbs +164 -0
  102. data/sig/temporalio/api/cloud/region/v1/message.rbs +5 -3
  103. data/sig/temporalio/api/cloud/sink/v1/message.rbs +66 -0
  104. data/sig/temporalio/api/common/v1/message.rbs +6 -0
  105. data/sig/temporalio/api/enums/v1/event_type.rbs +1 -0
  106. data/sig/temporalio/api/enums/v1/failed_cause.rbs +9 -3
  107. data/sig/temporalio/api/enums/v1/namespace.rbs +30 -2
  108. data/sig/temporalio/api/enums/v1/time_skipping.rbs +1 -0
  109. data/sig/temporalio/api/history/v1/message.rbs +8 -0
  110. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +188 -0
  111. data/sig/temporalio/api/payload_visitor.rbs +11 -0
  112. data/sig/temporalio/api/schedule/v1/message.rbs +2 -0
  113. data/sig/temporalio/api/taskqueue/v1/message.rbs +66 -5
  114. data/sig/temporalio/api/worker/v1/message.rbs +2 -2
  115. data/sig/temporalio/api/workflow/v1/message.rbs +2 -0
  116. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +53 -9
  117. data/sig/temporalio/client/connection/cloud_service.rbs +76 -0
  118. data/sig/temporalio/client/connection/operator_service.rbs +12 -0
  119. data/sig/temporalio/client/schedule.rbs +24 -3
  120. data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +2 -1
  121. data/sig/temporalio/contrib/open_telemetry.rbs +4 -4
  122. data/sig/temporalio/converters/data_converter.rbs +19 -1
  123. data/sig/temporalio/converters/external_storage.rbs +1 -3
  124. data/sig/temporalio/converters/storage_driver_limiter.rbs +5 -0
  125. data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +1 -1
  126. data/sig/temporalio/converters/storage_driver_select_context.rbs +3 -1
  127. data/sig/temporalio/converters/storage_driver_store_context.rbs +3 -1
  128. data/sig/temporalio/error.rbs +4 -1
  129. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +4 -0
  130. data/sig/temporalio/internal/bridge/worker.rbs +2 -0
  131. data/sig/temporalio/internal/client/described_schedule_action.rbs +18 -0
  132. data/sig/temporalio/internal/client/implementation.rbs +22 -0
  133. data/sig/temporalio/internal/external_storage_runner.rbs +32 -0
  134. data/sig/temporalio/internal/storage_operation_metrics.rbs +25 -0
  135. data/sig/temporalio/internal/worker/activity_worker.rbs +11 -2
  136. data/sig/temporalio/internal/worker/workflow_worker.rbs +32 -1
  137. metadata +13 -2
  138. data/sig/open_telemetry.rbs +0 -47
@@ -85,6 +85,11 @@ module Temporalio
85
85
  attr_writer namespace(): ::String | ::Symbol
86
86
  def clear_namespace: () -> void
87
87
 
88
+ # Whether to include each user's group memberships in the response - optional.
89
+ # Defaults to false.
90
+ attr_accessor include_group_memberships(): bool
91
+ def clear_include_group_memberships: () -> void
92
+
88
93
  type init_map = {
89
94
  page_size: (::Integer | ::Float)?,
90
95
  "page_size" => (::Integer | ::Float)?,
@@ -94,6 +99,8 @@ module Temporalio
94
99
  "email" => (::String | ::Symbol)?,
95
100
  namespace: (::String | ::Symbol)?,
96
101
  "namespace" => (::String | ::Symbol)?,
102
+ include_group_memberships: bool?,
103
+ "include_group_memberships" => bool?,
97
104
  }
98
105
 
99
106
  def initialize: (?init_map initial_value) -> void
@@ -103,12 +110,14 @@ module Temporalio
103
110
  | ("page_token" name) -> ::String
104
111
  | ("email" name) -> ::String
105
112
  | ("namespace" name) -> ::String
113
+ | ("include_group_memberships" name) -> bool
106
114
 
107
115
  def []=:
108
116
  ("page_size" name, (::Integer | ::Float) value) -> void
109
117
  | ("page_token" name, (::String | ::Symbol) value) -> void
110
118
  | ("email" name, (::String | ::Symbol) value) -> void
111
119
  | ("namespace" name, (::String | ::Symbol) value) -> void
120
+ | ("include_group_memberships" name, bool value) -> void
112
121
  end
113
122
 
114
123
  class GetUsersResponse < ::Google::Protobuf::AbstractMessage
@@ -147,18 +156,27 @@ module Temporalio
147
156
  attr_writer user_id(): ::String | ::Symbol
148
157
  def clear_user_id: () -> void
149
158
 
159
+ # Whether to include the user's group memberships in the response - optional.
160
+ # Defaults to false.
161
+ attr_accessor include_group_memberships(): bool
162
+ def clear_include_group_memberships: () -> void
163
+
150
164
  type init_map = {
151
165
  user_id: (::String | ::Symbol)?,
152
166
  "user_id" => (::String | ::Symbol)?,
167
+ include_group_memberships: bool?,
168
+ "include_group_memberships" => bool?,
153
169
  }
154
170
 
155
171
  def initialize: (?init_map initial_value) -> void
156
172
 
157
173
  def []:
158
174
  ("user_id" name) -> ::String
175
+ | ("include_group_memberships" name) -> bool
159
176
 
160
177
  def []=:
161
178
  ("user_id" name, (::String | ::Symbol) value) -> void
179
+ | ("include_group_memberships" name, bool value) -> void
162
180
  end
163
181
 
164
182
  class GetUserResponse < ::Google::Protobuf::AbstractMessage
@@ -512,6 +530,12 @@ module Temporalio
512
530
  attr_accessor tags(): ::Google::Protobuf::Map[::String, ::String]
513
531
  def clear_tags: () -> void
514
532
 
533
+ # The id of the project to create the namespace in - optional.
534
+ # If not set, the namespace will be created in the account's default project.
535
+ attr_reader project_id(): ::String
536
+ attr_writer project_id(): ::String | ::Symbol
537
+ def clear_project_id: () -> void
538
+
515
539
  type init_map = {
516
540
  spec: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
517
541
  "spec" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::init_map)?,
@@ -519,6 +543,8 @@ module Temporalio
519
543
  "async_operation_id" => (::String | ::Symbol)?,
520
544
  tags: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
521
545
  "tags" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
546
+ project_id: (::String | ::Symbol)?,
547
+ "project_id" => (::String | ::Symbol)?,
522
548
  }
523
549
 
524
550
  def initialize: (?init_map initial_value) -> void
@@ -527,11 +553,13 @@ module Temporalio
527
553
  ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec?
528
554
  | ("async_operation_id" name) -> ::String
529
555
  | ("tags" name) -> (::Google::Protobuf::Map[::String, ::String])
556
+ | ("project_id" name) -> ::String
530
557
 
531
558
  def []=:
532
559
  ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec? value) -> void
533
560
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
534
561
  | ("tags" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
562
+ | ("project_id" name, (::String | ::Symbol) value) -> void
535
563
  end
536
564
 
537
565
  class CreateNamespaceResponse < ::Google::Protobuf::AbstractMessage
@@ -585,6 +613,11 @@ module Temporalio
585
613
  attr_writer name(): ::String | ::Symbol
586
614
  def clear_name: () -> void
587
615
 
616
+ # Filter namespaces by project id - optional.
617
+ attr_reader project_id(): ::String
618
+ attr_writer project_id(): ::String | ::Symbol
619
+ def clear_project_id: () -> void
620
+
588
621
  type init_map = {
589
622
  page_size: (::Integer | ::Float)?,
590
623
  "page_size" => (::Integer | ::Float)?,
@@ -592,6 +625,8 @@ module Temporalio
592
625
  "page_token" => (::String | ::Symbol)?,
593
626
  name: (::String | ::Symbol)?,
594
627
  "name" => (::String | ::Symbol)?,
628
+ project_id: (::String | ::Symbol)?,
629
+ "project_id" => (::String | ::Symbol)?,
595
630
  }
596
631
 
597
632
  def initialize: (?init_map initial_value) -> void
@@ -600,11 +635,13 @@ module Temporalio
600
635
  ("page_size" name) -> ::Integer
601
636
  | ("page_token" name) -> ::String
602
637
  | ("name" name) -> ::String
638
+ | ("project_id" name) -> ::String
603
639
 
604
640
  def []=:
605
641
  ("page_size" name, (::Integer | ::Float) value) -> void
606
642
  | ("page_token" name, (::String | ::Symbol) value) -> void
607
643
  | ("name" name, (::String | ::Symbol) value) -> void
644
+ | ("project_id" name, (::String | ::Symbol) value) -> void
608
645
  end
609
646
 
610
647
  class GetNamespacesResponse < ::Google::Protobuf::AbstractMessage
@@ -1531,6 +1568,11 @@ module Temporalio
1531
1568
  attr_writer name(): ::String | ::Symbol
1532
1569
  def clear_name: () -> void
1533
1570
 
1571
+ # Filter endpoints by their project id - optional.
1572
+ attr_reader project_id(): ::String
1573
+ attr_writer project_id(): ::String | ::Symbol
1574
+ def clear_project_id: () -> void
1575
+
1534
1576
  type init_map = {
1535
1577
  page_size: (::Integer | ::Float)?,
1536
1578
  "page_size" => (::Integer | ::Float)?,
@@ -1542,6 +1584,8 @@ module Temporalio
1542
1584
  "target_task_queue" => (::String | ::Symbol)?,
1543
1585
  name: (::String | ::Symbol)?,
1544
1586
  "name" => (::String | ::Symbol)?,
1587
+ project_id: (::String | ::Symbol)?,
1588
+ "project_id" => (::String | ::Symbol)?,
1545
1589
  }
1546
1590
 
1547
1591
  def initialize: (?init_map initial_value) -> void
@@ -1552,6 +1596,7 @@ module Temporalio
1552
1596
  | ("target_namespace_id" name) -> ::String
1553
1597
  | ("target_task_queue" name) -> ::String
1554
1598
  | ("name" name) -> ::String
1599
+ | ("project_id" name) -> ::String
1555
1600
 
1556
1601
  def []=:
1557
1602
  ("page_size" name, (::Integer | ::Float) value) -> void
@@ -1559,6 +1604,7 @@ module Temporalio
1559
1604
  | ("target_namespace_id" name, (::String | ::Symbol) value) -> void
1560
1605
  | ("target_task_queue" name, (::String | ::Symbol) value) -> void
1561
1606
  | ("name" name, (::String | ::Symbol) value) -> void
1607
+ | ("project_id" name, (::String | ::Symbol) value) -> void
1562
1608
  end
1563
1609
 
1564
1610
  class GetNexusEndpointsResponse < ::Google::Protobuf::AbstractMessage
@@ -1644,11 +1690,19 @@ module Temporalio
1644
1690
  attr_writer async_operation_id(): ::String | ::Symbol
1645
1691
  def clear_async_operation_id: () -> void
1646
1692
 
1693
+ # The id of the project to associate this endpoint with - optional.
1694
+ # If not set, the endpoint will be created in the account's default project.
1695
+ attr_reader project_id(): ::String
1696
+ attr_writer project_id(): ::String | ::Symbol
1697
+ def clear_project_id: () -> void
1698
+
1647
1699
  type init_map = {
1648
1700
  spec: (::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec | ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec::init_map)?,
1649
1701
  "spec" => (::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec | ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec::init_map)?,
1650
1702
  async_operation_id: (::String | ::Symbol)?,
1651
1703
  "async_operation_id" => (::String | ::Symbol)?,
1704
+ project_id: (::String | ::Symbol)?,
1705
+ "project_id" => (::String | ::Symbol)?,
1652
1706
  }
1653
1707
 
1654
1708
  def initialize: (?init_map initial_value) -> void
@@ -1656,10 +1710,12 @@ module Temporalio
1656
1710
  def []:
1657
1711
  ("spec" name) -> ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec?
1658
1712
  | ("async_operation_id" name) -> ::String
1713
+ | ("project_id" name) -> ::String
1659
1714
 
1660
1715
  def []=:
1661
1716
  ("spec" name, ::Temporalio::Api::Cloud::Nexus::V1::EndpointSpec? value) -> void
1662
1717
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1718
+ | ("project_id" name, (::String | ::Symbol) value) -> void
1663
1719
  end
1664
1720
 
1665
1721
  class CreateNexusEndpointResponse < ::Google::Protobuf::AbstractMessage
@@ -1823,6 +1879,85 @@ module Temporalio
1823
1879
  ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1824
1880
  end
1825
1881
 
1882
+ class MoveNexusEndpointToProjectRequest < ::Google::Protobuf::AbstractMessage
1883
+
1884
+ # The id of the nexus endpoint to move.
1885
+ attr_reader endpoint_id(): ::String
1886
+ attr_writer endpoint_id(): ::String | ::Symbol
1887
+ def clear_endpoint_id: () -> void
1888
+
1889
+ # The id of the project to move the endpoint to.
1890
+ attr_reader destination_project_id(): ::String
1891
+ attr_writer destination_project_id(): ::String | ::Symbol
1892
+ def clear_destination_project_id: () -> void
1893
+
1894
+ # The id of the project the caller expects the endpoint to currently belong to.
1895
+ attr_reader expected_source_project_id(): ::String
1896
+ attr_writer expected_source_project_id(): ::String | ::Symbol
1897
+ def clear_expected_source_project_id: () -> void
1898
+
1899
+ # The version of the endpoint for which this move is intended for.
1900
+ # The latest version can be found in the GetNexusEndpoint operation response.
1901
+ attr_reader resource_version(): ::String
1902
+ attr_writer resource_version(): ::String | ::Symbol
1903
+ def clear_resource_version: () -> void
1904
+
1905
+ # The id to use for this async operation - optional.
1906
+ attr_reader async_operation_id(): ::String
1907
+ attr_writer async_operation_id(): ::String | ::Symbol
1908
+ def clear_async_operation_id: () -> void
1909
+
1910
+ type init_map = {
1911
+ endpoint_id: (::String | ::Symbol)?,
1912
+ "endpoint_id" => (::String | ::Symbol)?,
1913
+ destination_project_id: (::String | ::Symbol)?,
1914
+ "destination_project_id" => (::String | ::Symbol)?,
1915
+ expected_source_project_id: (::String | ::Symbol)?,
1916
+ "expected_source_project_id" => (::String | ::Symbol)?,
1917
+ resource_version: (::String | ::Symbol)?,
1918
+ "resource_version" => (::String | ::Symbol)?,
1919
+ async_operation_id: (::String | ::Symbol)?,
1920
+ "async_operation_id" => (::String | ::Symbol)?,
1921
+ }
1922
+
1923
+ def initialize: (?init_map initial_value) -> void
1924
+
1925
+ def []:
1926
+ ("endpoint_id" name) -> ::String
1927
+ | ("destination_project_id" name) -> ::String
1928
+ | ("expected_source_project_id" name) -> ::String
1929
+ | ("resource_version" name) -> ::String
1930
+ | ("async_operation_id" name) -> ::String
1931
+
1932
+ def []=:
1933
+ ("endpoint_id" name, (::String | ::Symbol) value) -> void
1934
+ | ("destination_project_id" name, (::String | ::Symbol) value) -> void
1935
+ | ("expected_source_project_id" name, (::String | ::Symbol) value) -> void
1936
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
1937
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
1938
+ end
1939
+
1940
+ class MoveNexusEndpointToProjectResponse < ::Google::Protobuf::AbstractMessage
1941
+
1942
+ # The async operation
1943
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1944
+ def has_async_operation?: () -> bool
1945
+ def clear_async_operation: () -> void
1946
+
1947
+ type init_map = {
1948
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1949
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
1950
+ }
1951
+
1952
+ def initialize: (?init_map initial_value) -> void
1953
+
1954
+ def []:
1955
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
1956
+
1957
+ def []=:
1958
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
1959
+ end
1960
+
1826
1961
  class GetUserGroupsRequest < ::Google::Protobuf::AbstractMessage
1827
1962
  class GoogleGroupFilter < ::Google::Protobuf::AbstractMessage
1828
1963
 
@@ -2628,6 +2763,75 @@ module Temporalio
2628
2763
  | ("next_page_token" name, (::String | ::Symbol) value) -> void
2629
2764
  end
2630
2765
 
2766
+ class GetProjectScopedServiceAccountsRequest < ::Google::Protobuf::AbstractMessage
2767
+
2768
+ # The project to list project scoped service accounts for.
2769
+ attr_reader project_id(): ::String
2770
+ attr_writer project_id(): ::String | ::Symbol
2771
+ def clear_project_id: () -> void
2772
+
2773
+ # The requested size of the page to retrieve - optional.
2774
+ # Cannot exceed 1000. Defaults to 100.
2775
+ attr_reader page_size(): ::Integer
2776
+ attr_writer page_size(): ::Integer | ::Float
2777
+ def clear_page_size: () -> void
2778
+
2779
+ # The page token if this is continuing from another response - optional.
2780
+ attr_reader page_token(): ::String
2781
+ attr_writer page_token(): ::String | ::Symbol
2782
+ def clear_page_token: () -> void
2783
+
2784
+ type init_map = {
2785
+ project_id: (::String | ::Symbol)?,
2786
+ "project_id" => (::String | ::Symbol)?,
2787
+ page_size: (::Integer | ::Float)?,
2788
+ "page_size" => (::Integer | ::Float)?,
2789
+ page_token: (::String | ::Symbol)?,
2790
+ "page_token" => (::String | ::Symbol)?,
2791
+ }
2792
+
2793
+ def initialize: (?init_map initial_value) -> void
2794
+
2795
+ def []:
2796
+ ("project_id" name) -> ::String
2797
+ | ("page_size" name) -> ::Integer
2798
+ | ("page_token" name) -> ::String
2799
+
2800
+ def []=:
2801
+ ("project_id" name, (::String | ::Symbol) value) -> void
2802
+ | ("page_size" name, (::Integer | ::Float) value) -> void
2803
+ | ("page_token" name, (::String | ::Symbol) value) -> void
2804
+ end
2805
+
2806
+ class GetProjectScopedServiceAccountsResponse < ::Google::Protobuf::AbstractMessage
2807
+
2808
+ # The list of project scoped service accounts in ascending ID order.
2809
+ attr_accessor service_accounts(): ::Google::Protobuf::RepeatedField
2810
+ def clear_service_accounts: () -> void
2811
+
2812
+ # The next page token, set if there is another page.
2813
+ attr_reader next_page_token(): ::String
2814
+ attr_writer next_page_token(): ::String | ::Symbol
2815
+ def clear_next_page_token: () -> void
2816
+
2817
+ type init_map = {
2818
+ service_accounts: ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccount]?,
2819
+ "service_accounts" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccount]?,
2820
+ next_page_token: (::String | ::Symbol)?,
2821
+ "next_page_token" => (::String | ::Symbol)?,
2822
+ }
2823
+
2824
+ def initialize: (?init_map initial_value) -> void
2825
+
2826
+ def []:
2827
+ ("service_accounts" name) -> ::Google::Protobuf::RepeatedField
2828
+ | ("next_page_token" name) -> ::String
2829
+
2830
+ def []=:
2831
+ ("service_accounts" name, ::Google::Protobuf::RepeatedField value) -> void
2832
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
2833
+ end
2834
+
2631
2835
  class UpdateServiceAccountRequest < ::Google::Protobuf::AbstractMessage
2632
2836
 
2633
2837
  # The ID of the service account to update.
@@ -3375,26 +3579,22 @@ module Temporalio
3375
3579
  def initialize: (?init_map initial_value) -> void
3376
3580
  end
3377
3581
 
3378
- class UpdateNamespaceTagsRequest < ::Google::Protobuf::AbstractMessage
3582
+ class CreateCallerRateLimitRequest < ::Google::Protobuf::AbstractMessage
3379
3583
 
3380
- # The namespace to set tags for.
3584
+ # The target namespace for this caller rate limit.
3585
+ # Required.
3381
3586
  attr_reader namespace(): ::String
3382
3587
  attr_writer namespace(): ::String | ::Symbol
3383
3588
  def clear_namespace: () -> void
3384
3589
 
3385
- # A list of tags to add or update.
3386
- # If a key of an existing tag is added, the tag's value is updated.
3387
- # At least one of tags_to_upsert or tags_to_remove must be specified.
3388
- attr_accessor tags_to_upsert(): ::Google::Protobuf::Map[::String, ::String]
3389
- def clear_tags_to_upsert: () -> void
3390
-
3391
- # A list of tag keys to remove.
3392
- # If a tag key doesn't exist, it is silently ignored.
3393
- # At least one of tags_to_upsert or tags_to_remove must be specified.
3394
- attr_accessor tags_to_remove(): ::Google::Protobuf::RepeatedField
3395
- def clear_tags_to_remove: () -> void
3590
+ # The caller rate limit specification.
3591
+ # Required.
3592
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec?
3593
+ def has_spec?: () -> bool
3594
+ def clear_spec: () -> void
3396
3595
 
3397
- # The id to use for this async operation - optional.
3596
+ # The id to use for this async operation.
3597
+ # Optional, if not provided a random id will be generated.
3398
3598
  attr_reader async_operation_id(): ::String
3399
3599
  attr_writer async_operation_id(): ::String | ::Symbol
3400
3600
  def clear_async_operation_id: () -> void
@@ -3402,10 +3602,8 @@ module Temporalio
3402
3602
  type init_map = {
3403
3603
  namespace: (::String | ::Symbol)?,
3404
3604
  "namespace" => (::String | ::Symbol)?,
3405
- tags_to_upsert: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
3406
- "tags_to_upsert" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
3407
- tags_to_remove: ::Array[::String | ::Symbol]?,
3408
- "tags_to_remove" => ::Array[::String | ::Symbol]?,
3605
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec | ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec::init_map)?,
3606
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec | ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec::init_map)?,
3409
3607
  async_operation_id: (::String | ::Symbol)?,
3410
3608
  "async_operation_id" => (::String | ::Symbol)?,
3411
3609
  }
@@ -3414,18 +3612,26 @@ module Temporalio
3414
3612
 
3415
3613
  def []:
3416
3614
  ("namespace" name) -> ::String
3417
- | ("tags_to_upsert" name) -> (::Google::Protobuf::Map[::String, ::String])
3418
- | ("tags_to_remove" name) -> (::Google::Protobuf::RepeatedField)
3615
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec?
3419
3616
  | ("async_operation_id" name) -> ::String
3420
3617
 
3421
3618
  def []=:
3422
3619
  ("namespace" name, (::String | ::Symbol) value) -> void
3423
- | ("tags_to_upsert" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
3424
- | ("tags_to_remove" name, (::Google::Protobuf::RepeatedField) value) -> void
3620
+ | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec? value) -> void
3425
3621
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3426
3622
  end
3427
3623
 
3428
- class UpdateNamespaceTagsResponse < ::Google::Protobuf::AbstractMessage
3624
+ class CreateCallerRateLimitResponse < ::Google::Protobuf::AbstractMessage
3625
+
3626
+ # The target namespace for this caller rate limit.
3627
+ attr_reader namespace(): ::String
3628
+ attr_writer namespace(): ::String | ::Symbol
3629
+ def clear_namespace: () -> void
3630
+
3631
+ # The id of the created caller rate limit.
3632
+ attr_reader caller_rate_limit_id(): ::String
3633
+ attr_writer caller_rate_limit_id(): ::String | ::Symbol
3634
+ def clear_caller_rate_limit_id: () -> void
3429
3635
 
3430
3636
  # The async operation.
3431
3637
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
@@ -3433,6 +3639,10 @@ module Temporalio
3433
3639
  def clear_async_operation: () -> void
3434
3640
 
3435
3641
  type init_map = {
3642
+ namespace: (::String | ::Symbol)?,
3643
+ "namespace" => (::String | ::Symbol)?,
3644
+ caller_rate_limit_id: (::String | ::Symbol)?,
3645
+ "caller_rate_limit_id" => (::String | ::Symbol)?,
3436
3646
  async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3437
3647
  "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3438
3648
  }
@@ -3440,169 +3650,171 @@ module Temporalio
3440
3650
  def initialize: (?init_map initial_value) -> void
3441
3651
 
3442
3652
  def []:
3443
- ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3653
+ ("namespace" name) -> ::String
3654
+ | ("caller_rate_limit_id" name) -> ::String
3655
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3444
3656
 
3445
3657
  def []=:
3446
- ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3658
+ ("namespace" name, (::String | ::Symbol) value) -> void
3659
+ | ("caller_rate_limit_id" name, (::String | ::Symbol) value) -> void
3660
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3447
3661
  end
3448
3662
 
3449
- class CreateConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3663
+ class GetCallerRateLimitRequest < ::Google::Protobuf::AbstractMessage
3450
3664
 
3451
- # The connectivity rule specification.
3452
- attr_accessor spec(): ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec?
3453
- def has_spec?: () -> bool
3454
- def clear_spec: () -> void
3665
+ # The target namespace for the caller rate limit.
3666
+ # Required.
3667
+ attr_reader namespace(): ::String
3668
+ attr_writer namespace(): ::String | ::Symbol
3669
+ def clear_namespace: () -> void
3455
3670
 
3456
- # The id to use for this async operation.
3457
- # Optional, if not provided a random id will be generated.
3458
- attr_reader async_operation_id(): ::String
3459
- attr_writer async_operation_id(): ::String | ::Symbol
3460
- def clear_async_operation_id: () -> void
3671
+ # The id of the caller rate limit.
3672
+ # Required.
3673
+ attr_reader caller_rate_limit_id(): ::String
3674
+ attr_writer caller_rate_limit_id(): ::String | ::Symbol
3675
+ def clear_caller_rate_limit_id: () -> void
3461
3676
 
3462
3677
  type init_map = {
3463
- spec: (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec::init_map)?,
3464
- "spec" => (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec::init_map)?,
3465
- async_operation_id: (::String | ::Symbol)?,
3466
- "async_operation_id" => (::String | ::Symbol)?,
3678
+ namespace: (::String | ::Symbol)?,
3679
+ "namespace" => (::String | ::Symbol)?,
3680
+ caller_rate_limit_id: (::String | ::Symbol)?,
3681
+ "caller_rate_limit_id" => (::String | ::Symbol)?,
3467
3682
  }
3468
3683
 
3469
3684
  def initialize: (?init_map initial_value) -> void
3470
3685
 
3471
3686
  def []:
3472
- ("spec" name) -> ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec?
3473
- | ("async_operation_id" name) -> ::String
3687
+ ("namespace" name) -> ::String
3688
+ | ("caller_rate_limit_id" name) -> ::String
3474
3689
 
3475
3690
  def []=:
3476
- ("spec" name, ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec? value) -> void
3477
- | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3691
+ ("namespace" name, (::String | ::Symbol) value) -> void
3692
+ | ("caller_rate_limit_id" name, (::String | ::Symbol) value) -> void
3478
3693
  end
3479
3694
 
3480
- class CreateConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3481
-
3482
- # The id of the connectivity rule that was created.
3483
- attr_reader connectivity_rule_id(): ::String
3484
- attr_writer connectivity_rule_id(): ::String | ::Symbol
3485
- def clear_connectivity_rule_id: () -> void
3695
+ class GetCallerRateLimitResponse < ::Google::Protobuf::AbstractMessage
3486
3696
 
3487
- # The async operation
3488
- attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3489
- def has_async_operation?: () -> bool
3490
- def clear_async_operation: () -> void
3697
+ # The caller rate limit retrieved.
3698
+ attr_accessor caller_rate_limit(): ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit?
3699
+ def has_caller_rate_limit?: () -> bool
3700
+ def clear_caller_rate_limit: () -> void
3491
3701
 
3492
3702
  type init_map = {
3493
- connectivity_rule_id: (::String | ::Symbol)?,
3494
- "connectivity_rule_id" => (::String | ::Symbol)?,
3495
- async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3496
- "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3703
+ caller_rate_limit: (::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit | ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit::init_map)?,
3704
+ "caller_rate_limit" => (::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit | ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit::init_map)?,
3497
3705
  }
3498
3706
 
3499
3707
  def initialize: (?init_map initial_value) -> void
3500
3708
 
3501
3709
  def []:
3502
- ("connectivity_rule_id" name) -> ::String
3503
- | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3710
+ ("caller_rate_limit" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit?
3504
3711
 
3505
3712
  def []=:
3506
- ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3507
- | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3713
+ ("caller_rate_limit" name, ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit? value) -> void
3508
3714
  end
3509
3715
 
3510
- class GetConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3511
-
3512
- # The id of the connectivity rule to get.
3513
- attr_reader connectivity_rule_id(): ::String
3514
- attr_writer connectivity_rule_id(): ::String | ::Symbol
3515
- def clear_connectivity_rule_id: () -> void
3516
-
3517
- type init_map = {
3518
- connectivity_rule_id: (::String | ::Symbol)?,
3519
- "connectivity_rule_id" => (::String | ::Symbol)?,
3520
- }
3521
-
3522
- def initialize: (?init_map initial_value) -> void
3523
-
3524
- def []:
3525
- ("connectivity_rule_id" name) -> ::String
3716
+ class GetCallerRateLimitsRequest < ::Google::Protobuf::AbstractMessage
3717
+ class CallerFilter < ::Google::Protobuf::AbstractMessage
3526
3718
 
3527
- def []=:
3528
- ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3529
- end
3719
+ # The type of caller to filter on.
3720
+ # Required when caller_filter is set. Accepted values are "namespace".
3721
+ attr_reader caller_type(): ::String
3722
+ attr_writer caller_type(): ::String | ::Symbol
3723
+ def clear_caller_type: () -> void
3530
3724
 
3531
- class GetConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3725
+ # Optional, list the default rate limit for the type.
3726
+ attr_accessor default(): bool
3727
+ def clear_default: () -> void
3532
3728
 
3533
- attr_accessor connectivity_rule(): ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule?
3534
- def has_connectivity_rule?: () -> bool
3535
- def clear_connectivity_rule: () -> void
3729
+ # Optional, list the rate limit for a specific caller.
3730
+ attr_reader caller(): ::String
3731
+ attr_writer caller(): ::String | ::Symbol
3732
+ def clear_caller: () -> void
3536
3733
 
3537
- type init_map = {
3538
- connectivity_rule: (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule::init_map)?,
3539
- "connectivity_rule" => (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule::init_map)?,
3540
- }
3734
+ type init_map = {
3735
+ caller_type: (::String | ::Symbol)?,
3736
+ "caller_type" => (::String | ::Symbol)?,
3737
+ default: bool?,
3738
+ "default" => bool?,
3739
+ caller: (::String | ::Symbol)?,
3740
+ "caller" => (::String | ::Symbol)?,
3741
+ }
3541
3742
 
3542
- def initialize: (?init_map initial_value) -> void
3743
+ def initialize: (?init_map initial_value) -> void
3543
3744
 
3544
- def []:
3545
- ("connectivity_rule" name) -> ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule?
3745
+ def []:
3746
+ ("caller_type" name) -> ::String
3747
+ | ("default" name) -> bool
3748
+ | ("caller" name) -> ::String
3546
3749
 
3547
- def []=:
3548
- ("connectivity_rule" name, ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule? value) -> void
3549
- end
3750
+ def []=:
3751
+ ("caller_type" name, (::String | ::Symbol) value) -> void
3752
+ | ("default" name, bool value) -> void
3753
+ | ("caller" name, (::String | ::Symbol) value) -> void
3754
+ end
3550
3755
 
3551
- class GetConnectivityRulesRequest < ::Google::Protobuf::AbstractMessage
3756
+ # The target namespace for the caller rate limits.
3757
+ # Required.
3758
+ attr_reader namespace(): ::String
3759
+ attr_writer namespace(): ::String | ::Symbol
3760
+ def clear_namespace: () -> void
3552
3761
 
3553
- # The requested size of the page to retrieve.
3554
- # Optional, defaults to 100.
3762
+ # The size of the page to retrieve.
3763
+ # Optional, defaults to 100. Cannot exceed 1000.
3555
3764
  attr_reader page_size(): ::Integer
3556
3765
  attr_writer page_size(): ::Integer | ::Float
3557
3766
  def clear_page_size: () -> void
3558
3767
 
3559
- # The page token if this is continuing from another response.
3560
- # Optional, defaults to empty.
3768
+ # Optional. The page token when continuing from another response.
3561
3769
  attr_reader page_token(): ::String
3562
3770
  attr_writer page_token(): ::String | ::Symbol
3563
3771
  def clear_page_token: () -> void
3564
3772
 
3565
- # Filter connectivity rule by the namespace id.
3566
- attr_reader namespace(): ::String
3567
- attr_writer namespace(): ::String | ::Symbol
3568
- def clear_namespace: () -> void
3773
+ # Optional. Filter the caller rate limits by caller.
3774
+ attr_accessor caller_filter(): ::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter?
3775
+ def has_caller_filter?: () -> bool
3776
+ def clear_caller_filter: () -> void
3569
3777
 
3570
3778
  type init_map = {
3779
+ namespace: (::String | ::Symbol)?,
3780
+ "namespace" => (::String | ::Symbol)?,
3571
3781
  page_size: (::Integer | ::Float)?,
3572
3782
  "page_size" => (::Integer | ::Float)?,
3573
3783
  page_token: (::String | ::Symbol)?,
3574
3784
  "page_token" => (::String | ::Symbol)?,
3575
- namespace: (::String | ::Symbol)?,
3576
- "namespace" => (::String | ::Symbol)?,
3785
+ caller_filter: (::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter | ::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter::init_map)?,
3786
+ "caller_filter" => (::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter | ::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter::init_map)?,
3577
3787
  }
3578
3788
 
3579
3789
  def initialize: (?init_map initial_value) -> void
3580
3790
 
3581
3791
  def []:
3582
- ("page_size" name) -> ::Integer
3792
+ ("namespace" name) -> ::String
3793
+ | ("page_size" name) -> ::Integer
3583
3794
  | ("page_token" name) -> ::String
3584
- | ("namespace" name) -> ::String
3795
+ | ("caller_filter" name) -> ::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter?
3585
3796
 
3586
3797
  def []=:
3587
- ("page_size" name, (::Integer | ::Float) value) -> void
3798
+ ("namespace" name, (::String | ::Symbol) value) -> void
3799
+ | ("page_size" name, (::Integer | ::Float) value) -> void
3588
3800
  | ("page_token" name, (::String | ::Symbol) value) -> void
3589
- | ("namespace" name, (::String | ::Symbol) value) -> void
3801
+ | ("caller_filter" name, ::Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest::CallerFilter? value) -> void
3590
3802
  end
3591
3803
 
3592
- class GetConnectivityRulesResponse < ::Google::Protobuf::AbstractMessage
3804
+ class GetCallerRateLimitsResponse < ::Google::Protobuf::AbstractMessage
3593
3805
 
3594
- # connectivity_rules returned
3595
- attr_accessor connectivity_rules(): ::Google::Protobuf::RepeatedField
3596
- def clear_connectivity_rules: () -> void
3806
+ # The list of caller rate limits.
3807
+ attr_accessor caller_rate_limits(): ::Google::Protobuf::RepeatedField
3808
+ def clear_caller_rate_limits: () -> void
3597
3809
 
3598
- # The next page token
3810
+ # The page token to list the next page of rate limits.
3599
3811
  attr_reader next_page_token(): ::String
3600
3812
  attr_writer next_page_token(): ::String | ::Symbol
3601
3813
  def clear_next_page_token: () -> void
3602
3814
 
3603
3815
  type init_map = {
3604
- connectivity_rules: ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
3605
- "connectivity_rules" => ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
3816
+ caller_rate_limits: ::Array[::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit]?,
3817
+ "caller_rate_limits" => ::Array[::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit]?,
3606
3818
  next_page_token: (::String | ::Symbol)?,
3607
3819
  "next_page_token" => (::String | ::Symbol)?,
3608
3820
  }
@@ -3610,23 +3822,37 @@ module Temporalio
3610
3822
  def initialize: (?init_map initial_value) -> void
3611
3823
 
3612
3824
  def []:
3613
- ("connectivity_rules" name) -> ::Google::Protobuf::RepeatedField
3825
+ ("caller_rate_limits" name) -> ::Google::Protobuf::RepeatedField
3614
3826
  | ("next_page_token" name) -> ::String
3615
3827
 
3616
3828
  def []=:
3617
- ("connectivity_rules" name, ::Google::Protobuf::RepeatedField value) -> void
3829
+ ("caller_rate_limits" name, ::Google::Protobuf::RepeatedField value) -> void
3618
3830
  | ("next_page_token" name, (::String | ::Symbol) value) -> void
3619
3831
  end
3620
3832
 
3621
- class DeleteConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3833
+ class UpdateCallerRateLimitRequest < ::Google::Protobuf::AbstractMessage
3622
3834
 
3623
- # The ID of the connectivity rule that need be deleted, required.
3624
- attr_reader connectivity_rule_id(): ::String
3625
- attr_writer connectivity_rule_id(): ::String | ::Symbol
3626
- def clear_connectivity_rule_id: () -> void
3835
+ # The target namespace for the caller rate limit.
3836
+ # Required.
3837
+ attr_reader namespace(): ::String
3838
+ attr_writer namespace(): ::String | ::Symbol
3839
+ def clear_namespace: () -> void
3627
3840
 
3628
- # The resource version which should be the same from the the db, required
3629
- # The latest version can be found in the GetConnectivityRule operation response
3841
+ # The id of the caller rate limit.
3842
+ # Required.
3843
+ attr_reader caller_rate_limit_id(): ::String
3844
+ attr_writer caller_rate_limit_id(): ::String | ::Symbol
3845
+ def clear_caller_rate_limit_id: () -> void
3846
+
3847
+ # The updated caller rate limit specification.
3848
+ # Required.
3849
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec?
3850
+ def has_spec?: () -> bool
3851
+ def clear_spec: () -> void
3852
+
3853
+ # The version of the caller rate limit spec being updated.
3854
+ # The latest version can be found in the GetCallerRateLimit operation response.
3855
+ # Required.
3630
3856
  attr_reader resource_version(): ::String
3631
3857
  attr_writer resource_version(): ::String | ::Symbol
3632
3858
  def clear_resource_version: () -> void
@@ -3638,8 +3864,12 @@ module Temporalio
3638
3864
  def clear_async_operation_id: () -> void
3639
3865
 
3640
3866
  type init_map = {
3641
- connectivity_rule_id: (::String | ::Symbol)?,
3642
- "connectivity_rule_id" => (::String | ::Symbol)?,
3867
+ namespace: (::String | ::Symbol)?,
3868
+ "namespace" => (::String | ::Symbol)?,
3869
+ caller_rate_limit_id: (::String | ::Symbol)?,
3870
+ "caller_rate_limit_id" => (::String | ::Symbol)?,
3871
+ spec: (::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec | ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec::init_map)?,
3872
+ "spec" => (::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec | ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec::init_map)?,
3643
3873
  resource_version: (::String | ::Symbol)?,
3644
3874
  "resource_version" => (::String | ::Symbol)?,
3645
3875
  async_operation_id: (::String | ::Symbol)?,
@@ -3649,19 +3879,23 @@ module Temporalio
3649
3879
  def initialize: (?init_map initial_value) -> void
3650
3880
 
3651
3881
  def []:
3652
- ("connectivity_rule_id" name) -> ::String
3882
+ ("namespace" name) -> ::String
3883
+ | ("caller_rate_limit_id" name) -> ::String
3884
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec?
3653
3885
  | ("resource_version" name) -> ::String
3654
3886
  | ("async_operation_id" name) -> ::String
3655
3887
 
3656
3888
  def []=:
3657
- ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3889
+ ("namespace" name, (::String | ::Symbol) value) -> void
3890
+ | ("caller_rate_limit_id" name, (::String | ::Symbol) value) -> void
3891
+ | ("spec" name, ::Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec? value) -> void
3658
3892
  | ("resource_version" name, (::String | ::Symbol) value) -> void
3659
3893
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3660
3894
  end
3661
3895
 
3662
- class DeleteConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3896
+ class UpdateCallerRateLimitResponse < ::Google::Protobuf::AbstractMessage
3663
3897
 
3664
- # The async operation
3898
+ # The async operation.
3665
3899
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3666
3900
  def has_async_operation?: () -> bool
3667
3901
  def clear_async_operation: () -> void
@@ -3680,153 +3914,207 @@ module Temporalio
3680
3914
  ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3681
3915
  end
3682
3916
 
3683
- class GetAuditLogsRequest < ::Google::Protobuf::AbstractMessage
3917
+ class DeleteCallerRateLimitRequest < ::Google::Protobuf::AbstractMessage
3684
3918
 
3685
- # The requested size of the page to retrieve - optional.
3686
- # Cannot exceed 1000. Defaults to 100.
3687
- attr_reader page_size(): ::Integer
3688
- attr_writer page_size(): ::Integer | ::Float
3689
- def clear_page_size: () -> void
3919
+ # The target namespace for the caller rate limit.
3920
+ # Required.
3921
+ attr_reader namespace(): ::String
3922
+ attr_writer namespace(): ::String | ::Symbol
3923
+ def clear_namespace: () -> void
3690
3924
 
3691
- # The page token if this is continuing from another response - optional.
3692
- attr_reader page_token(): ::String
3693
- attr_writer page_token(): ::String | ::Symbol
3694
- def clear_page_token: () -> void
3925
+ # The id of the caller rate limit.
3926
+ # Required.
3927
+ attr_reader caller_rate_limit_id(): ::String
3928
+ attr_writer caller_rate_limit_id(): ::String | ::Symbol
3929
+ def clear_caller_rate_limit_id: () -> void
3695
3930
 
3696
- # Filter for UTC time >= (defaults to 30 days ago) - optional.
3697
- attr_reader start_time_inclusive(): ::Google::Protobuf::Timestamp?
3698
- attr_writer start_time_inclusive(): (::Google::Protobuf::Timestamp | ::Time)?
3699
- def has_start_time_inclusive?: () -> bool
3700
- def clear_start_time_inclusive: () -> void
3931
+ # The version of the caller rate limit spec being deleted.
3932
+ # The latest version can be found in the GetCallerRateLimit operation response.
3933
+ # Required.
3934
+ attr_reader resource_version(): ::String
3935
+ attr_writer resource_version(): ::String | ::Symbol
3936
+ def clear_resource_version: () -> void
3701
3937
 
3702
- # Filter for UTC time < (defaults to current time) - optional.
3703
- attr_reader end_time_exclusive(): ::Google::Protobuf::Timestamp?
3704
- attr_writer end_time_exclusive(): (::Google::Protobuf::Timestamp | ::Time)?
3705
- def has_end_time_exclusive?: () -> bool
3706
- def clear_end_time_exclusive: () -> void
3938
+ # The id to use for this async operation.
3939
+ # Optional, if not provided a random id will be generated.
3940
+ attr_reader async_operation_id(): ::String
3941
+ attr_writer async_operation_id(): ::String | ::Symbol
3942
+ def clear_async_operation_id: () -> void
3707
3943
 
3708
3944
  type init_map = {
3709
- page_size: (::Integer | ::Float)?,
3710
- "page_size" => (::Integer | ::Float)?,
3711
- page_token: (::String | ::Symbol)?,
3712
- "page_token" => (::String | ::Symbol)?,
3713
- start_time_inclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3714
- "start_time_inclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3715
- end_time_exclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3716
- "end_time_exclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
3945
+ namespace: (::String | ::Symbol)?,
3946
+ "namespace" => (::String | ::Symbol)?,
3947
+ caller_rate_limit_id: (::String | ::Symbol)?,
3948
+ "caller_rate_limit_id" => (::String | ::Symbol)?,
3949
+ resource_version: (::String | ::Symbol)?,
3950
+ "resource_version" => (::String | ::Symbol)?,
3951
+ async_operation_id: (::String | ::Symbol)?,
3952
+ "async_operation_id" => (::String | ::Symbol)?,
3717
3953
  }
3718
3954
 
3719
3955
  def initialize: (?init_map initial_value) -> void
3720
3956
 
3721
3957
  def []:
3722
- ("page_size" name) -> ::Integer
3723
- | ("page_token" name) -> ::String
3724
- | ("start_time_inclusive" name) -> ::Google::Protobuf::Timestamp?
3725
- | ("end_time_exclusive" name) -> ::Google::Protobuf::Timestamp?
3958
+ ("namespace" name) -> ::String
3959
+ | ("caller_rate_limit_id" name) -> ::String
3960
+ | ("resource_version" name) -> ::String
3961
+ | ("async_operation_id" name) -> ::String
3726
3962
 
3727
3963
  def []=:
3728
- ("page_size" name, (::Integer | ::Float) value) -> void
3729
- | ("page_token" name, (::String | ::Symbol) value) -> void
3730
- | ("start_time_inclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
3731
- | ("end_time_exclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
3964
+ ("namespace" name, (::String | ::Symbol) value) -> void
3965
+ | ("caller_rate_limit_id" name, (::String | ::Symbol) value) -> void
3966
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
3967
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3732
3968
  end
3733
3969
 
3734
- class GetAuditLogsResponse < ::Google::Protobuf::AbstractMessage
3735
-
3736
- # The list of audit logs ordered by emit time, log_id
3737
- attr_accessor logs(): ::Google::Protobuf::RepeatedField
3738
- def clear_logs: () -> void
3970
+ class DeleteCallerRateLimitResponse < ::Google::Protobuf::AbstractMessage
3739
3971
 
3740
- # The next page's token.
3741
- attr_reader next_page_token(): ::String
3742
- attr_writer next_page_token(): ::String | ::Symbol
3743
- def clear_next_page_token: () -> void
3972
+ # The async operation.
3973
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3974
+ def has_async_operation?: () -> bool
3975
+ def clear_async_operation: () -> void
3744
3976
 
3745
3977
  type init_map = {
3746
- logs: ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?,
3747
- "logs" => ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?,
3748
- next_page_token: (::String | ::Symbol)?,
3749
- "next_page_token" => (::String | ::Symbol)?,
3978
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3979
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3750
3980
  }
3751
3981
 
3752
3982
  def initialize: (?init_map initial_value) -> void
3753
3983
 
3754
3984
  def []:
3755
- ("logs" name) -> ::Google::Protobuf::RepeatedField
3756
- | ("next_page_token" name) -> ::String
3985
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3757
3986
 
3758
3987
  def []=:
3759
- ("logs" name, ::Google::Protobuf::RepeatedField value) -> void
3760
- | ("next_page_token" name, (::String | ::Symbol) value) -> void
3988
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3761
3989
  end
3762
3990
 
3763
- class ValidateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
3991
+ class UpdateNamespaceTagsRequest < ::Google::Protobuf::AbstractMessage
3764
3992
 
3765
- # The audit log sink spec that will be validated
3766
- attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3767
- def has_spec?: () -> bool
3768
- def clear_spec: () -> void
3993
+ # The namespace to set tags for.
3994
+ attr_reader namespace(): ::String
3995
+ attr_writer namespace(): ::String | ::Symbol
3996
+ def clear_namespace: () -> void
3997
+
3998
+ # A list of tags to add or update.
3999
+ # If a key of an existing tag is added, the tag's value is updated.
4000
+ # At least one of tags_to_upsert or tags_to_remove must be specified.
4001
+ attr_accessor tags_to_upsert(): ::Google::Protobuf::Map[::String, ::String]
4002
+ def clear_tags_to_upsert: () -> void
4003
+
4004
+ # A list of tag keys to remove.
4005
+ # If a tag key doesn't exist, it is silently ignored.
4006
+ # At least one of tags_to_upsert or tags_to_remove must be specified.
4007
+ attr_accessor tags_to_remove(): ::Google::Protobuf::RepeatedField
4008
+ def clear_tags_to_remove: () -> void
4009
+
4010
+ # The id to use for this async operation - optional.
4011
+ attr_reader async_operation_id(): ::String
4012
+ attr_writer async_operation_id(): ::String | ::Symbol
4013
+ def clear_async_operation_id: () -> void
3769
4014
 
3770
4015
  type init_map = {
3771
- spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3772
- "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4016
+ namespace: (::String | ::Symbol)?,
4017
+ "namespace" => (::String | ::Symbol)?,
4018
+ tags_to_upsert: ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
4019
+ "tags_to_upsert" => ::Hash[::String | ::Symbol, ::String | ::Symbol]?,
4020
+ tags_to_remove: ::Array[::String | ::Symbol]?,
4021
+ "tags_to_remove" => ::Array[::String | ::Symbol]?,
4022
+ async_operation_id: (::String | ::Symbol)?,
4023
+ "async_operation_id" => (::String | ::Symbol)?,
3773
4024
  }
3774
4025
 
3775
4026
  def initialize: (?init_map initial_value) -> void
3776
4027
 
3777
4028
  def []:
3778
- ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4029
+ ("namespace" name) -> ::String
4030
+ | ("tags_to_upsert" name) -> (::Google::Protobuf::Map[::String, ::String])
4031
+ | ("tags_to_remove" name) -> (::Google::Protobuf::RepeatedField)
4032
+ | ("async_operation_id" name) -> ::String
3779
4033
 
3780
4034
  def []=:
3781
- ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
4035
+ ("namespace" name, (::String | ::Symbol) value) -> void
4036
+ | ("tags_to_upsert" name, (::Google::Protobuf::Map[::String, ::String]) value) -> void
4037
+ | ("tags_to_remove" name, (::Google::Protobuf::RepeatedField) value) -> void
4038
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3782
4039
  end
3783
4040
 
3784
- class ValidateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4041
+ class UpdateNamespaceTagsResponse < ::Google::Protobuf::AbstractMessage
4042
+
4043
+ # The async operation.
4044
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4045
+ def has_async_operation?: () -> bool
4046
+ def clear_async_operation: () -> void
3785
4047
 
3786
4048
  type init_map = {
4049
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4050
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3787
4051
  }
3788
4052
 
3789
4053
  def initialize: (?init_map initial_value) -> void
4054
+
4055
+ def []:
4056
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4057
+
4058
+ def []=:
4059
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3790
4060
  end
3791
4061
 
3792
- class CreateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4062
+ class CreateConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3793
4063
 
3794
- # The specification for the audit log sink.
3795
- attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4064
+ # The connectivity rule specification.
4065
+ attr_accessor spec(): ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec?
3796
4066
  def has_spec?: () -> bool
3797
4067
  def clear_spec: () -> void
3798
4068
 
3799
- # Optional. The ID to use for this async operation.
4069
+ # The id to use for this async operation.
4070
+ # Optional, if not provided a random id will be generated.
3800
4071
  attr_reader async_operation_id(): ::String
3801
4072
  attr_writer async_operation_id(): ::String | ::Symbol
3802
4073
  def clear_async_operation_id: () -> void
3803
4074
 
4075
+ # The ID of the project this connectivity rule belongs to - optional.
4076
+ # If not set, the connectivity rule will be created in the account's default project.
4077
+ attr_reader project_id(): ::String
4078
+ attr_writer project_id(): ::String | ::Symbol
4079
+ def clear_project_id: () -> void
4080
+
3804
4081
  type init_map = {
3805
- spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3806
- "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4082
+ spec: (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec::init_map)?,
4083
+ "spec" => (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec::init_map)?,
3807
4084
  async_operation_id: (::String | ::Symbol)?,
3808
4085
  "async_operation_id" => (::String | ::Symbol)?,
4086
+ project_id: (::String | ::Symbol)?,
4087
+ "project_id" => (::String | ::Symbol)?,
3809
4088
  }
3810
4089
 
3811
4090
  def initialize: (?init_map initial_value) -> void
3812
4091
 
3813
4092
  def []:
3814
- ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4093
+ ("spec" name) -> ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec?
3815
4094
  | ("async_operation_id" name) -> ::String
4095
+ | ("project_id" name) -> ::String
3816
4096
 
3817
4097
  def []=:
3818
- ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
4098
+ ("spec" name, ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRuleSpec? value) -> void
3819
4099
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4100
+ | ("project_id" name, (::String | ::Symbol) value) -> void
3820
4101
  end
3821
4102
 
3822
- class CreateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4103
+ class CreateConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3823
4104
 
3824
- # The async operation.
4105
+ # The id of the connectivity rule that was created.
4106
+ attr_reader connectivity_rule_id(): ::String
4107
+ attr_writer connectivity_rule_id(): ::String | ::Symbol
4108
+ def clear_connectivity_rule_id: () -> void
4109
+
4110
+ # The async operation
3825
4111
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3826
4112
  def has_async_operation?: () -> bool
3827
4113
  def clear_async_operation: () -> void
3828
4114
 
3829
4115
  type init_map = {
4116
+ connectivity_rule_id: (::String | ::Symbol)?,
4117
+ "connectivity_rule_id" => (::String | ::Symbol)?,
3830
4118
  async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3831
4119
  "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
3832
4120
  }
@@ -3834,72 +4122,88 @@ module Temporalio
3834
4122
  def initialize: (?init_map initial_value) -> void
3835
4123
 
3836
4124
  def []:
3837
- ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4125
+ ("connectivity_rule_id" name) -> ::String
4126
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3838
4127
 
3839
4128
  def []=:
3840
- ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4129
+ ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
4130
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
3841
4131
  end
3842
4132
 
3843
- class GetAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4133
+ class GetConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3844
4134
 
3845
- # The name of the sink to retrieve.
3846
- attr_reader name(): ::String
3847
- attr_writer name(): ::String | ::Symbol
3848
- def clear_name: () -> void
4135
+ # The id of the connectivity rule to get.
4136
+ attr_reader connectivity_rule_id(): ::String
4137
+ attr_writer connectivity_rule_id(): ::String | ::Symbol
4138
+ def clear_connectivity_rule_id: () -> void
3849
4139
 
3850
4140
  type init_map = {
3851
- name: (::String | ::Symbol)?,
3852
- "name" => (::String | ::Symbol)?,
4141
+ connectivity_rule_id: (::String | ::Symbol)?,
4142
+ "connectivity_rule_id" => (::String | ::Symbol)?,
3853
4143
  }
3854
4144
 
3855
4145
  def initialize: (?init_map initial_value) -> void
3856
4146
 
3857
4147
  def []:
3858
- ("name" name) -> ::String
4148
+ ("connectivity_rule_id" name) -> ::String
3859
4149
 
3860
4150
  def []=:
3861
- ("name" name, (::String | ::Symbol) value) -> void
4151
+ ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3862
4152
  end
3863
4153
 
3864
- class GetAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4154
+ class GetConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3865
4155
 
3866
- # The audit log sink retrieved.
3867
- attr_accessor sink(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink?
3868
- def has_sink?: () -> bool
3869
- def clear_sink: () -> void
4156
+ attr_accessor connectivity_rule(): ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule?
4157
+ def has_connectivity_rule?: () -> bool
4158
+ def clear_connectivity_rule: () -> void
3870
4159
 
3871
4160
  type init_map = {
3872
- sink: (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?,
3873
- "sink" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?,
4161
+ connectivity_rule: (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule::init_map)?,
4162
+ "connectivity_rule" => (::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule | ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule::init_map)?,
3874
4163
  }
3875
4164
 
3876
4165
  def initialize: (?init_map initial_value) -> void
3877
4166
 
3878
4167
  def []:
3879
- ("sink" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSink?
4168
+ ("connectivity_rule" name) -> ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule?
3880
4169
 
3881
4170
  def []=:
3882
- ("sink" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSink? value) -> void
4171
+ ("connectivity_rule" name, ::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule? value) -> void
3883
4172
  end
3884
4173
 
3885
- class GetAccountAuditLogSinksRequest < ::Google::Protobuf::AbstractMessage
4174
+ class GetConnectivityRulesRequest < ::Google::Protobuf::AbstractMessage
3886
4175
 
3887
- # The requested size of the page to retrieve. Cannot exceed 1000.
3888
- # Defaults to 100 if not specified.
4176
+ # The requested size of the page to retrieve.
4177
+ # Optional, defaults to 100.
3889
4178
  attr_reader page_size(): ::Integer
3890
4179
  attr_writer page_size(): ::Integer | ::Float
3891
4180
  def clear_page_size: () -> void
3892
4181
 
3893
- # The page token if this is continuing from another response - optional.
4182
+ # The page token if this is continuing from another response.
4183
+ # Optional, defaults to empty.
3894
4184
  attr_reader page_token(): ::String
3895
4185
  attr_writer page_token(): ::String | ::Symbol
3896
4186
  def clear_page_token: () -> void
3897
4187
 
4188
+ # Filter connectivity rule by the namespace id.
4189
+ attr_reader namespace(): ::String
4190
+ attr_writer namespace(): ::String | ::Symbol
4191
+ def clear_namespace: () -> void
4192
+
4193
+ # Filter connectivity rules by project id - optional.
4194
+ attr_reader project_id(): ::String
4195
+ attr_writer project_id(): ::String | ::Symbol
4196
+ def clear_project_id: () -> void
4197
+
3898
4198
  type init_map = {
3899
4199
  page_size: (::Integer | ::Float)?,
3900
4200
  "page_size" => (::Integer | ::Float)?,
3901
4201
  page_token: (::String | ::Symbol)?,
3902
4202
  "page_token" => (::String | ::Symbol)?,
4203
+ namespace: (::String | ::Symbol)?,
4204
+ "namespace" => (::String | ::Symbol)?,
4205
+ project_id: (::String | ::Symbol)?,
4206
+ "project_id" => (::String | ::Symbol)?,
3903
4207
  }
3904
4208
 
3905
4209
  def initialize: (?init_map initial_value) -> void
@@ -3907,26 +4211,30 @@ module Temporalio
3907
4211
  def []:
3908
4212
  ("page_size" name) -> ::Integer
3909
4213
  | ("page_token" name) -> ::String
4214
+ | ("namespace" name) -> ::String
4215
+ | ("project_id" name) -> ::String
3910
4216
 
3911
4217
  def []=:
3912
4218
  ("page_size" name, (::Integer | ::Float) value) -> void
3913
4219
  | ("page_token" name, (::String | ::Symbol) value) -> void
4220
+ | ("namespace" name, (::String | ::Symbol) value) -> void
4221
+ | ("project_id" name, (::String | ::Symbol) value) -> void
3914
4222
  end
3915
4223
 
3916
- class GetAccountAuditLogSinksResponse < ::Google::Protobuf::AbstractMessage
4224
+ class GetConnectivityRulesResponse < ::Google::Protobuf::AbstractMessage
3917
4225
 
3918
- # The list of audit log sinks retrieved.
3919
- attr_accessor sinks(): ::Google::Protobuf::RepeatedField
3920
- def clear_sinks: () -> void
4226
+ # connectivity_rules returned
4227
+ attr_accessor connectivity_rules(): ::Google::Protobuf::RepeatedField
4228
+ def clear_connectivity_rules: () -> void
3921
4229
 
3922
- # The next page token, set if there is another page.
4230
+ # The next page token
3923
4231
  attr_reader next_page_token(): ::String
3924
4232
  attr_writer next_page_token(): ::String | ::Symbol
3925
4233
  def clear_next_page_token: () -> void
3926
4234
 
3927
4235
  type init_map = {
3928
- sinks: ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?,
3929
- "sinks" => ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?,
4236
+ connectivity_rules: ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
4237
+ "connectivity_rules" => ::Array[::Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule]?,
3930
4238
  next_page_token: (::String | ::Symbol)?,
3931
4239
  "next_page_token" => (::String | ::Symbol)?,
3932
4240
  }
@@ -3934,35 +4242,36 @@ module Temporalio
3934
4242
  def initialize: (?init_map initial_value) -> void
3935
4243
 
3936
4244
  def []:
3937
- ("sinks" name) -> ::Google::Protobuf::RepeatedField
4245
+ ("connectivity_rules" name) -> ::Google::Protobuf::RepeatedField
3938
4246
  | ("next_page_token" name) -> ::String
3939
4247
 
3940
4248
  def []=:
3941
- ("sinks" name, ::Google::Protobuf::RepeatedField value) -> void
4249
+ ("connectivity_rules" name, ::Google::Protobuf::RepeatedField value) -> void
3942
4250
  | ("next_page_token" name, (::String | ::Symbol) value) -> void
3943
4251
  end
3944
4252
 
3945
- class UpdateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4253
+ class DeleteConnectivityRuleRequest < ::Google::Protobuf::AbstractMessage
3946
4254
 
3947
- # The updated audit log sink specification.
3948
- attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
3949
- def has_spec?: () -> bool
3950
- def clear_spec: () -> void
4255
+ # The ID of the connectivity rule that need be deleted, required.
4256
+ attr_reader connectivity_rule_id(): ::String
4257
+ attr_writer connectivity_rule_id(): ::String | ::Symbol
4258
+ def clear_connectivity_rule_id: () -> void
3951
4259
 
3952
- # The version of the audit log sink to update. The latest version can be
3953
- # retrieved using the GetAuditLogSink call.
4260
+ # The resource version which should be the same from the the db, required
4261
+ # The latest version can be found in the GetConnectivityRule operation response
3954
4262
  attr_reader resource_version(): ::String
3955
4263
  attr_writer resource_version(): ::String | ::Symbol
3956
4264
  def clear_resource_version: () -> void
3957
4265
 
3958
- # The ID to use for this async operation - optional.
4266
+ # The id to use for this async operation.
4267
+ # Optional, if not provided a random id will be generated.
3959
4268
  attr_reader async_operation_id(): ::String
3960
4269
  attr_writer async_operation_id(): ::String | ::Symbol
3961
4270
  def clear_async_operation_id: () -> void
3962
4271
 
3963
4272
  type init_map = {
3964
- spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
3965
- "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4273
+ connectivity_rule_id: (::String | ::Symbol)?,
4274
+ "connectivity_rule_id" => (::String | ::Symbol)?,
3966
4275
  resource_version: (::String | ::Symbol)?,
3967
4276
  "resource_version" => (::String | ::Symbol)?,
3968
4277
  async_operation_id: (::String | ::Symbol)?,
@@ -3972,19 +4281,19 @@ module Temporalio
3972
4281
  def initialize: (?init_map initial_value) -> void
3973
4282
 
3974
4283
  def []:
3975
- ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4284
+ ("connectivity_rule_id" name) -> ::String
3976
4285
  | ("resource_version" name) -> ::String
3977
4286
  | ("async_operation_id" name) -> ::String
3978
4287
 
3979
4288
  def []=:
3980
- ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
4289
+ ("connectivity_rule_id" name, (::String | ::Symbol) value) -> void
3981
4290
  | ("resource_version" name, (::String | ::Symbol) value) -> void
3982
4291
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
3983
4292
  end
3984
4293
 
3985
- class UpdateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4294
+ class DeleteConnectivityRuleResponse < ::Google::Protobuf::AbstractMessage
3986
4295
 
3987
- # The async operation.
4296
+ # The async operation
3988
4297
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
3989
4298
  def has_async_operation?: () -> bool
3990
4299
  def clear_async_operation: () -> void
@@ -4003,125 +4312,130 @@ module Temporalio
4003
4312
  ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4004
4313
  end
4005
4314
 
4006
- class DeleteAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4315
+ class GetAuditLogsRequest < ::Google::Protobuf::AbstractMessage
4007
4316
 
4008
- # The name of the sink to delete.
4009
- attr_reader name(): ::String
4010
- attr_writer name(): ::String | ::Symbol
4011
- def clear_name: () -> void
4317
+ # The requested size of the page to retrieve - optional.
4318
+ # Cannot exceed 1000. Defaults to 100.
4319
+ attr_reader page_size(): ::Integer
4320
+ attr_writer page_size(): ::Integer | ::Float
4321
+ def clear_page_size: () -> void
4012
4322
 
4013
- # The version of the sink to delete. The latest version can be
4014
- # retrieved using the GetAccountAuditLogSink call.
4015
- attr_reader resource_version(): ::String
4016
- attr_writer resource_version(): ::String | ::Symbol
4017
- def clear_resource_version: () -> void
4323
+ # The page token if this is continuing from another response - optional.
4324
+ attr_reader page_token(): ::String
4325
+ attr_writer page_token(): ::String | ::Symbol
4326
+ def clear_page_token: () -> void
4018
4327
 
4019
- # The ID to use for this async operation - optional.
4020
- attr_reader async_operation_id(): ::String
4021
- attr_writer async_operation_id(): ::String | ::Symbol
4022
- def clear_async_operation_id: () -> void
4328
+ # Filter for UTC time >= (defaults to 30 days ago) - optional.
4329
+ attr_reader start_time_inclusive(): ::Google::Protobuf::Timestamp?
4330
+ attr_writer start_time_inclusive(): (::Google::Protobuf::Timestamp | ::Time)?
4331
+ def has_start_time_inclusive?: () -> bool
4332
+ def clear_start_time_inclusive: () -> void
4333
+
4334
+ # Filter for UTC time < (defaults to current time) - optional.
4335
+ attr_reader end_time_exclusive(): ::Google::Protobuf::Timestamp?
4336
+ attr_writer end_time_exclusive(): (::Google::Protobuf::Timestamp | ::Time)?
4337
+ def has_end_time_exclusive?: () -> bool
4338
+ def clear_end_time_exclusive: () -> void
4023
4339
 
4024
4340
  type init_map = {
4025
- name: (::String | ::Symbol)?,
4026
- "name" => (::String | ::Symbol)?,
4027
- resource_version: (::String | ::Symbol)?,
4028
- "resource_version" => (::String | ::Symbol)?,
4029
- async_operation_id: (::String | ::Symbol)?,
4030
- "async_operation_id" => (::String | ::Symbol)?,
4341
+ page_size: (::Integer | ::Float)?,
4342
+ "page_size" => (::Integer | ::Float)?,
4343
+ page_token: (::String | ::Symbol)?,
4344
+ "page_token" => (::String | ::Symbol)?,
4345
+ start_time_inclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
4346
+ "start_time_inclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
4347
+ end_time_exclusive: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
4348
+ "end_time_exclusive" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
4031
4349
  }
4032
4350
 
4033
4351
  def initialize: (?init_map initial_value) -> void
4034
4352
 
4035
4353
  def []:
4036
- ("name" name) -> ::String
4037
- | ("resource_version" name) -> ::String
4038
- | ("async_operation_id" name) -> ::String
4354
+ ("page_size" name) -> ::Integer
4355
+ | ("page_token" name) -> ::String
4356
+ | ("start_time_inclusive" name) -> ::Google::Protobuf::Timestamp?
4357
+ | ("end_time_exclusive" name) -> ::Google::Protobuf::Timestamp?
4039
4358
 
4040
4359
  def []=:
4041
- ("name" name, (::String | ::Symbol) value) -> void
4042
- | ("resource_version" name, (::String | ::Symbol) value) -> void
4043
- | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4360
+ ("page_size" name, (::Integer | ::Float) value) -> void
4361
+ | ("page_token" name, (::String | ::Symbol) value) -> void
4362
+ | ("start_time_inclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
4363
+ | ("end_time_exclusive" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
4044
4364
  end
4045
4365
 
4046
- class DeleteAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4366
+ class GetAuditLogsResponse < ::Google::Protobuf::AbstractMessage
4047
4367
 
4048
- # The async operation.
4049
- attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4050
- def has_async_operation?: () -> bool
4051
- def clear_async_operation: () -> void
4368
+ # The list of audit logs ordered by emit time, log_id
4369
+ attr_accessor logs(): ::Google::Protobuf::RepeatedField
4370
+ def clear_logs: () -> void
4371
+
4372
+ # The next page's token.
4373
+ attr_reader next_page_token(): ::String
4374
+ attr_writer next_page_token(): ::String | ::Symbol
4375
+ def clear_next_page_token: () -> void
4052
4376
 
4053
4377
  type init_map = {
4054
- async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4055
- "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4378
+ logs: ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?,
4379
+ "logs" => ::Array[::Temporalio::Api::Cloud::AuditLog::V1::LogRecord]?,
4380
+ next_page_token: (::String | ::Symbol)?,
4381
+ "next_page_token" => (::String | ::Symbol)?,
4056
4382
  }
4057
4383
 
4058
4384
  def initialize: (?init_map initial_value) -> void
4059
4385
 
4060
4386
  def []:
4061
- ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4387
+ ("logs" name) -> ::Google::Protobuf::RepeatedField
4388
+ | ("next_page_token" name) -> ::String
4062
4389
 
4063
4390
  def []=:
4064
- ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4391
+ ("logs" name, ::Google::Protobuf::RepeatedField value) -> void
4392
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
4065
4393
  end
4066
4394
 
4067
- class GetNamespaceCapacityInfoRequest < ::Google::Protobuf::AbstractMessage
4395
+ class ValidateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4068
4396
 
4069
- # The namespace identifier.
4070
- # Required.
4071
- attr_reader namespace(): ::String
4072
- attr_writer namespace(): ::String | ::Symbol
4073
- def clear_namespace: () -> void
4397
+ # The audit log sink spec that will be validated
4398
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4399
+ def has_spec?: () -> bool
4400
+ def clear_spec: () -> void
4074
4401
 
4075
4402
  type init_map = {
4076
- namespace: (::String | ::Symbol)?,
4077
- "namespace" => (::String | ::Symbol)?,
4403
+ spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4404
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4078
4405
  }
4079
4406
 
4080
4407
  def initialize: (?init_map initial_value) -> void
4081
4408
 
4082
4409
  def []:
4083
- ("namespace" name) -> ::String
4410
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4084
4411
 
4085
4412
  def []=:
4086
- ("namespace" name, (::String | ::Symbol) value) -> void
4413
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
4087
4414
  end
4088
4415
 
4089
- class GetNamespaceCapacityInfoResponse < ::Google::Protobuf::AbstractMessage
4090
-
4091
- # Capacity information for the namespace.
4092
- attr_accessor capacity_info(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo?
4093
- def has_capacity_info?: () -> bool
4094
- def clear_capacity_info: () -> void
4416
+ class ValidateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4095
4417
 
4096
4418
  type init_map = {
4097
- capacity_info: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?,
4098
- "capacity_info" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?,
4099
4419
  }
4100
4420
 
4101
4421
  def initialize: (?init_map initial_value) -> void
4102
-
4103
- def []:
4104
- ("capacity_info" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo?
4105
-
4106
- def []=:
4107
- ("capacity_info" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo? value) -> void
4108
4422
  end
4109
4423
 
4110
- class CreateBillingReportRequest < ::Google::Protobuf::AbstractMessage
4424
+ class CreateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4111
4425
 
4112
- # The specification for the billing report.
4113
- attr_accessor spec(): ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec?
4426
+ # The specification for the audit log sink.
4427
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4114
4428
  def has_spec?: () -> bool
4115
4429
  def clear_spec: () -> void
4116
4430
 
4117
- # Optional, if not provided a random id will be generated.
4431
+ # Optional. The ID to use for this async operation.
4118
4432
  attr_reader async_operation_id(): ::String
4119
4433
  attr_writer async_operation_id(): ::String | ::Symbol
4120
4434
  def clear_async_operation_id: () -> void
4121
4435
 
4122
4436
  type init_map = {
4123
- spec: (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?,
4124
- "spec" => (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?,
4437
+ spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4438
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4125
4439
  async_operation_id: (::String | ::Symbol)?,
4126
4440
  "async_operation_id" => (::String | ::Symbol)?,
4127
4441
  }
@@ -4129,20 +4443,15 @@ module Temporalio
4129
4443
  def initialize: (?init_map initial_value) -> void
4130
4444
 
4131
4445
  def []:
4132
- ("spec" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec?
4446
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4133
4447
  | ("async_operation_id" name) -> ::String
4134
4448
 
4135
4449
  def []=:
4136
- ("spec" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? value) -> void
4450
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
4137
4451
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4138
4452
  end
4139
4453
 
4140
- class CreateBillingReportResponse < ::Google::Protobuf::AbstractMessage
4141
-
4142
- # The id of the billing report created.
4143
- attr_reader billing_report_id(): ::String
4144
- attr_writer billing_report_id(): ::String | ::Symbol
4145
- def clear_billing_report_id: () -> void
4454
+ class CreateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4146
4455
 
4147
4456
  # The async operation.
4148
4457
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
@@ -4150,8 +4459,6 @@ module Temporalio
4150
4459
  def clear_async_operation: () -> void
4151
4460
 
4152
4461
  type init_map = {
4153
- billing_report_id: (::String | ::Symbol)?,
4154
- "billing_report_id" => (::String | ::Symbol)?,
4155
4462
  async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4156
4463
  "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4157
4464
  }
@@ -4159,65 +4466,63 @@ module Temporalio
4159
4466
  def initialize: (?init_map initial_value) -> void
4160
4467
 
4161
4468
  def []:
4162
- ("billing_report_id" name) -> ::String
4163
- | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4469
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4164
4470
 
4165
4471
  def []=:
4166
- ("billing_report_id" name, (::String | ::Symbol) value) -> void
4167
- | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4472
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4168
4473
  end
4169
4474
 
4170
- class GetBillingReportRequest < ::Google::Protobuf::AbstractMessage
4475
+ class GetAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4171
4476
 
4172
- # The id of the billing report to retrieve.
4173
- attr_reader billing_report_id(): ::String
4174
- attr_writer billing_report_id(): ::String | ::Symbol
4175
- def clear_billing_report_id: () -> void
4477
+ # The name of the sink to retrieve.
4478
+ attr_reader name(): ::String
4479
+ attr_writer name(): ::String | ::Symbol
4480
+ def clear_name: () -> void
4176
4481
 
4177
4482
  type init_map = {
4178
- billing_report_id: (::String | ::Symbol)?,
4179
- "billing_report_id" => (::String | ::Symbol)?,
4483
+ name: (::String | ::Symbol)?,
4484
+ "name" => (::String | ::Symbol)?,
4180
4485
  }
4181
4486
 
4182
4487
  def initialize: (?init_map initial_value) -> void
4183
4488
 
4184
4489
  def []:
4185
- ("billing_report_id" name) -> ::String
4490
+ ("name" name) -> ::String
4186
4491
 
4187
4492
  def []=:
4188
- ("billing_report_id" name, (::String | ::Symbol) value) -> void
4493
+ ("name" name, (::String | ::Symbol) value) -> void
4189
4494
  end
4190
4495
 
4191
- class GetBillingReportResponse < ::Google::Protobuf::AbstractMessage
4496
+ class GetAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4192
4497
 
4193
- # The billing report retrieved.
4194
- attr_accessor billing_report(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport?
4195
- def has_billing_report?: () -> bool
4196
- def clear_billing_report: () -> void
4498
+ # The audit log sink retrieved.
4499
+ attr_accessor sink(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSink?
4500
+ def has_sink?: () -> bool
4501
+ def clear_sink: () -> void
4197
4502
 
4198
4503
  type init_map = {
4199
- billing_report: (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?,
4200
- "billing_report" => (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?,
4504
+ sink: (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?,
4505
+ "sink" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSink | ::Temporalio::Api::Cloud::Account::V1::AuditLogSink::init_map)?,
4201
4506
  }
4202
4507
 
4203
4508
  def initialize: (?init_map initial_value) -> void
4204
4509
 
4205
4510
  def []:
4206
- ("billing_report" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReport?
4511
+ ("sink" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSink?
4207
4512
 
4208
4513
  def []=:
4209
- ("billing_report" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReport? value) -> void
4514
+ ("sink" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSink? value) -> void
4210
4515
  end
4211
4516
 
4212
- class GetCustomRolesRequest < ::Google::Protobuf::AbstractMessage
4517
+ class GetAccountAuditLogSinksRequest < ::Google::Protobuf::AbstractMessage
4213
4518
 
4214
- # The requested size of the page to retrieve.
4215
- # Cannot exceed 1000. Defaults to 100.
4519
+ # The requested size of the page to retrieve. Cannot exceed 1000.
4520
+ # Defaults to 100 if not specified.
4216
4521
  attr_reader page_size(): ::Integer
4217
4522
  attr_writer page_size(): ::Integer | ::Float
4218
4523
  def clear_page_size: () -> void
4219
4524
 
4220
- # The page token if this is continuing from another response.
4525
+ # The page token if this is continuing from another response - optional.
4221
4526
  attr_reader page_token(): ::String
4222
4527
  attr_writer page_token(): ::String | ::Symbol
4223
4528
  def clear_page_token: () -> void
@@ -4240,20 +4545,20 @@ module Temporalio
4240
4545
  | ("page_token" name, (::String | ::Symbol) value) -> void
4241
4546
  end
4242
4547
 
4243
- class GetCustomRolesResponse < ::Google::Protobuf::AbstractMessage
4548
+ class GetAccountAuditLogSinksResponse < ::Google::Protobuf::AbstractMessage
4244
4549
 
4245
- # The list of custom roles in ascending ID order.
4246
- attr_accessor custom_roles(): ::Google::Protobuf::RepeatedField
4247
- def clear_custom_roles: () -> void
4550
+ # The list of audit log sinks retrieved.
4551
+ attr_accessor sinks(): ::Google::Protobuf::RepeatedField
4552
+ def clear_sinks: () -> void
4248
4553
 
4249
- # The next page token.
4554
+ # The next page token, set if there is another page.
4250
4555
  attr_reader next_page_token(): ::String
4251
4556
  attr_writer next_page_token(): ::String | ::Symbol
4252
4557
  def clear_next_page_token: () -> void
4253
4558
 
4254
4559
  type init_map = {
4255
- custom_roles: ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRole]?,
4256
- "custom_roles" => ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRole]?,
4560
+ sinks: ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?,
4561
+ "sinks" => ::Array[::Temporalio::Api::Cloud::Account::V1::AuditLogSink]?,
4257
4562
  next_page_token: (::String | ::Symbol)?,
4258
4563
  "next_page_token" => (::String | ::Symbol)?,
4259
4564
  }
@@ -4261,146 +4566,35 @@ module Temporalio
4261
4566
  def initialize: (?init_map initial_value) -> void
4262
4567
 
4263
4568
  def []:
4264
- ("custom_roles" name) -> ::Google::Protobuf::RepeatedField
4569
+ ("sinks" name) -> ::Google::Protobuf::RepeatedField
4265
4570
  | ("next_page_token" name) -> ::String
4266
4571
 
4267
4572
  def []=:
4268
- ("custom_roles" name, ::Google::Protobuf::RepeatedField value) -> void
4573
+ ("sinks" name, ::Google::Protobuf::RepeatedField value) -> void
4269
4574
  | ("next_page_token" name, (::String | ::Symbol) value) -> void
4270
4575
  end
4271
4576
 
4272
- class GetCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4273
-
4274
- # The ID of the custom role to retrieve.
4275
- attr_reader role_id(): ::String
4276
- attr_writer role_id(): ::String | ::Symbol
4277
- def clear_role_id: () -> void
4278
-
4279
- type init_map = {
4280
- role_id: (::String | ::Symbol)?,
4281
- "role_id" => (::String | ::Symbol)?,
4282
- }
4283
-
4284
- def initialize: (?init_map initial_value) -> void
4285
-
4286
- def []:
4287
- ("role_id" name) -> ::String
4288
-
4289
- def []=:
4290
- ("role_id" name, (::String | ::Symbol) value) -> void
4291
- end
4292
-
4293
- class GetCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4294
-
4295
- # The custom role retrieved.
4296
- attr_accessor custom_role(): ::Temporalio::Api::Cloud::Identity::V1::CustomRole?
4297
- def has_custom_role?: () -> bool
4298
- def clear_custom_role: () -> void
4299
-
4300
- type init_map = {
4301
- custom_role: (::Temporalio::Api::Cloud::Identity::V1::CustomRole | ::Temporalio::Api::Cloud::Identity::V1::CustomRole::init_map)?,
4302
- "custom_role" => (::Temporalio::Api::Cloud::Identity::V1::CustomRole | ::Temporalio::Api::Cloud::Identity::V1::CustomRole::init_map)?,
4303
- }
4304
-
4305
- def initialize: (?init_map initial_value) -> void
4306
-
4307
- def []:
4308
- ("custom_role" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRole?
4309
-
4310
- def []=:
4311
- ("custom_role" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRole? value) -> void
4312
- end
4313
-
4314
- class CreateCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4315
-
4316
- # The specification for the custom role to create.
4317
- attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4318
- def has_spec?: () -> bool
4319
- def clear_spec: () -> void
4320
-
4321
- # The ID to use for this async operation.
4322
- # Optional, if not provided a random ID will be generated.
4323
- attr_reader async_operation_id(): ::String
4324
- attr_writer async_operation_id(): ::String | ::Symbol
4325
- def clear_async_operation_id: () -> void
4326
-
4327
- type init_map = {
4328
- spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4329
- "spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4330
- async_operation_id: (::String | ::Symbol)?,
4331
- "async_operation_id" => (::String | ::Symbol)?,
4332
- }
4333
-
4334
- def initialize: (?init_map initial_value) -> void
4335
-
4336
- def []:
4337
- ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4338
- | ("async_operation_id" name) -> ::String
4339
-
4340
- def []=:
4341
- ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
4342
- | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4343
- end
4344
-
4345
- class CreateCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4346
-
4347
- # The ID of the custom role created.
4348
- attr_reader role_id(): ::String
4349
- attr_writer role_id(): ::String | ::Symbol
4350
- def clear_role_id: () -> void
4351
-
4352
- # The async operation.
4353
- attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4354
- def has_async_operation?: () -> bool
4355
- def clear_async_operation: () -> void
4356
-
4357
- type init_map = {
4358
- role_id: (::String | ::Symbol)?,
4359
- "role_id" => (::String | ::Symbol)?,
4360
- async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4361
- "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4362
- }
4363
-
4364
- def initialize: (?init_map initial_value) -> void
4365
-
4366
- def []:
4367
- ("role_id" name) -> ::String
4368
- | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4369
-
4370
- def []=:
4371
- ("role_id" name, (::String | ::Symbol) value) -> void
4372
- | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4373
- end
4374
-
4375
- class UpdateCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4376
-
4377
- # The ID of the custom role to update.
4378
- attr_reader role_id(): ::String
4379
- attr_writer role_id(): ::String | ::Symbol
4380
- def clear_role_id: () -> void
4577
+ class UpdateAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4381
4578
 
4382
- # The new custom role specification.
4383
- attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4579
+ # The updated audit log sink specification.
4580
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4384
4581
  def has_spec?: () -> bool
4385
4582
  def clear_spec: () -> void
4386
4583
 
4387
- # The version of the custom role for which this update is intended.
4388
- # The latest version can be found in the GetCustomRole operation response.
4584
+ # The version of the audit log sink to update. The latest version can be
4585
+ # retrieved using the GetAuditLogSink call.
4389
4586
  attr_reader resource_version(): ::String
4390
4587
  attr_writer resource_version(): ::String | ::Symbol
4391
4588
  def clear_resource_version: () -> void
4392
4589
 
4393
- # The ID to use for this async operation.
4394
- # Optional, if not provided a random ID will be generated.
4590
+ # The ID to use for this async operation - optional.
4395
4591
  attr_reader async_operation_id(): ::String
4396
4592
  attr_writer async_operation_id(): ::String | ::Symbol
4397
4593
  def clear_async_operation_id: () -> void
4398
4594
 
4399
4595
  type init_map = {
4400
- role_id: (::String | ::Symbol)?,
4401
- "role_id" => (::String | ::Symbol)?,
4402
- spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4403
- "spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4596
+ spec: (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4597
+ "spec" => (::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec | ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec::init_map)?,
4404
4598
  resource_version: (::String | ::Symbol)?,
4405
4599
  "resource_version" => (::String | ::Symbol)?,
4406
4600
  async_operation_id: (::String | ::Symbol)?,
@@ -4410,19 +4604,17 @@ module Temporalio
4410
4604
  def initialize: (?init_map initial_value) -> void
4411
4605
 
4412
4606
  def []:
4413
- ("role_id" name) -> ::String
4414
- | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4607
+ ("spec" name) -> ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec?
4415
4608
  | ("resource_version" name) -> ::String
4416
4609
  | ("async_operation_id" name) -> ::String
4417
4610
 
4418
4611
  def []=:
4419
- ("role_id" name, (::String | ::Symbol) value) -> void
4420
- | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
4612
+ ("spec" name, ::Temporalio::Api::Cloud::Account::V1::AuditLogSinkSpec? value) -> void
4421
4613
  | ("resource_version" name, (::String | ::Symbol) value) -> void
4422
4614
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4423
4615
  end
4424
4616
 
4425
- class UpdateCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4617
+ class UpdateAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4426
4618
 
4427
4619
  # The async operation.
4428
4620
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
@@ -4443,28 +4635,27 @@ module Temporalio
4443
4635
  ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4444
4636
  end
4445
4637
 
4446
- class DeleteCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4638
+ class DeleteAccountAuditLogSinkRequest < ::Google::Protobuf::AbstractMessage
4447
4639
 
4448
- # The ID of the custom role to delete.
4449
- attr_reader role_id(): ::String
4450
- attr_writer role_id(): ::String | ::Symbol
4451
- def clear_role_id: () -> void
4640
+ # The name of the sink to delete.
4641
+ attr_reader name(): ::String
4642
+ attr_writer name(): ::String | ::Symbol
4643
+ def clear_name: () -> void
4452
4644
 
4453
- # The version of the custom role for which this delete is intended.
4454
- # The latest version can be found in the GetCustomRole operation response.
4645
+ # The version of the sink to delete. The latest version can be
4646
+ # retrieved using the GetAccountAuditLogSink call.
4455
4647
  attr_reader resource_version(): ::String
4456
4648
  attr_writer resource_version(): ::String | ::Symbol
4457
4649
  def clear_resource_version: () -> void
4458
4650
 
4459
- # The ID to use for this async operation.
4460
- # Optional, if not provided a random ID will be generated.
4651
+ # The ID to use for this async operation - optional.
4461
4652
  attr_reader async_operation_id(): ::String
4462
4653
  attr_writer async_operation_id(): ::String | ::Symbol
4463
4654
  def clear_async_operation_id: () -> void
4464
4655
 
4465
4656
  type init_map = {
4466
- role_id: (::String | ::Symbol)?,
4467
- "role_id" => (::String | ::Symbol)?,
4657
+ name: (::String | ::Symbol)?,
4658
+ "name" => (::String | ::Symbol)?,
4468
4659
  resource_version: (::String | ::Symbol)?,
4469
4660
  "resource_version" => (::String | ::Symbol)?,
4470
4661
  async_operation_id: (::String | ::Symbol)?,
@@ -4474,17 +4665,17 @@ module Temporalio
4474
4665
  def initialize: (?init_map initial_value) -> void
4475
4666
 
4476
4667
  def []:
4477
- ("role_id" name) -> ::String
4668
+ ("name" name) -> ::String
4478
4669
  | ("resource_version" name) -> ::String
4479
4670
  | ("async_operation_id" name) -> ::String
4480
4671
 
4481
4672
  def []=:
4482
- ("role_id" name, (::String | ::Symbol) value) -> void
4673
+ ("name" name, (::String | ::Symbol) value) -> void
4483
4674
  | ("resource_version" name, (::String | ::Symbol) value) -> void
4484
4675
  | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4485
4676
  end
4486
4677
 
4487
- class DeleteCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4678
+ class DeleteAccountAuditLogSinkResponse < ::Google::Protobuf::AbstractMessage
4488
4679
 
4489
4680
  # The async operation.
4490
4681
  attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
@@ -4505,129 +4696,206 @@ module Temporalio
4505
4696
  ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4506
4697
  end
4507
4698
 
4508
- class GetUserNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
4699
+ class GetNamespaceCapacityInfoRequest < ::Google::Protobuf::AbstractMessage
4509
4700
 
4510
- # The namespace to get users for.
4701
+ # The namespace identifier.
4702
+ # Required.
4511
4703
  attr_reader namespace(): ::String
4512
4704
  attr_writer namespace(): ::String | ::Symbol
4513
4705
  def clear_namespace: () -> void
4514
4706
 
4515
- # The requested size of the page to retrieve - optional.
4516
- # Cannot exceed 1000. Defaults to 100.
4517
- attr_reader page_size(): ::Integer
4518
- attr_writer page_size(): ::Integer | ::Float
4519
- def clear_page_size: () -> void
4520
-
4521
- # The page token if this is continuing from another response - optional.
4522
- attr_reader page_token(): ::String
4523
- attr_writer page_token(): ::String | ::Symbol
4524
- def clear_page_token: () -> void
4525
-
4526
4707
  type init_map = {
4527
4708
  namespace: (::String | ::Symbol)?,
4528
4709
  "namespace" => (::String | ::Symbol)?,
4529
- page_size: (::Integer | ::Float)?,
4530
- "page_size" => (::Integer | ::Float)?,
4531
- page_token: (::String | ::Symbol)?,
4532
- "page_token" => (::String | ::Symbol)?,
4533
4710
  }
4534
4711
 
4535
4712
  def initialize: (?init_map initial_value) -> void
4536
4713
 
4537
4714
  def []:
4538
4715
  ("namespace" name) -> ::String
4539
- | ("page_size" name) -> ::Integer
4540
- | ("page_token" name) -> ::String
4541
4716
 
4542
4717
  def []=:
4543
4718
  ("namespace" name, (::String | ::Symbol) value) -> void
4544
- | ("page_size" name, (::Integer | ::Float) value) -> void
4545
- | ("page_token" name, (::String | ::Symbol) value) -> void
4546
4719
  end
4547
4720
 
4548
- class GetUserNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
4549
-
4550
- # The list of users with access to the namespace.
4551
- attr_accessor users(): ::Google::Protobuf::RepeatedField
4552
- def clear_users: () -> void
4721
+ class GetNamespaceCapacityInfoResponse < ::Google::Protobuf::AbstractMessage
4553
4722
 
4554
- # The next page's token.
4555
- attr_reader next_page_token(): ::String
4556
- attr_writer next_page_token(): ::String | ::Symbol
4557
- def clear_next_page_token: () -> void
4723
+ # Capacity information for the namespace.
4724
+ attr_accessor capacity_info(): ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo?
4725
+ def has_capacity_info?: () -> bool
4726
+ def clear_capacity_info: () -> void
4558
4727
 
4559
4728
  type init_map = {
4560
- users: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment]?,
4561
- "users" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment]?,
4562
- next_page_token: (::String | ::Symbol)?,
4563
- "next_page_token" => (::String | ::Symbol)?,
4729
+ capacity_info: (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?,
4730
+ "capacity_info" => (::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo | ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::init_map)?,
4564
4731
  }
4565
4732
 
4566
4733
  def initialize: (?init_map initial_value) -> void
4567
4734
 
4568
4735
  def []:
4569
- ("users" name) -> ::Google::Protobuf::RepeatedField
4570
- | ("next_page_token" name) -> ::String
4736
+ ("capacity_info" name) -> ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo?
4571
4737
 
4572
4738
  def []=:
4573
- ("users" name, ::Google::Protobuf::RepeatedField value) -> void
4574
- | ("next_page_token" name, (::String | ::Symbol) value) -> void
4739
+ ("capacity_info" name, ::Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo? value) -> void
4575
4740
  end
4576
4741
 
4577
- class GetServiceAccountNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
4742
+ class CreateBillingReportRequest < ::Google::Protobuf::AbstractMessage
4578
4743
 
4579
- # The namespace to get service accounts for.
4580
- attr_reader namespace(): ::String
4581
- attr_writer namespace(): ::String | ::Symbol
4582
- def clear_namespace: () -> void
4744
+ # The specification for the billing report.
4745
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec?
4746
+ def has_spec?: () -> bool
4747
+ def clear_spec: () -> void
4583
4748
 
4584
- # The requested size of the page to retrieve - optional.
4749
+ # Optional, if not provided a random id will be generated.
4750
+ attr_reader async_operation_id(): ::String
4751
+ attr_writer async_operation_id(): ::String | ::Symbol
4752
+ def clear_async_operation_id: () -> void
4753
+
4754
+ type init_map = {
4755
+ spec: (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?,
4756
+ "spec" => (::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec | ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec::init_map)?,
4757
+ async_operation_id: (::String | ::Symbol)?,
4758
+ "async_operation_id" => (::String | ::Symbol)?,
4759
+ }
4760
+
4761
+ def initialize: (?init_map initial_value) -> void
4762
+
4763
+ def []:
4764
+ ("spec" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec?
4765
+ | ("async_operation_id" name) -> ::String
4766
+
4767
+ def []=:
4768
+ ("spec" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReportSpec? value) -> void
4769
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4770
+ end
4771
+
4772
+ class CreateBillingReportResponse < ::Google::Protobuf::AbstractMessage
4773
+
4774
+ # The id of the billing report created.
4775
+ attr_reader billing_report_id(): ::String
4776
+ attr_writer billing_report_id(): ::String | ::Symbol
4777
+ def clear_billing_report_id: () -> void
4778
+
4779
+ # The async operation.
4780
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4781
+ def has_async_operation?: () -> bool
4782
+ def clear_async_operation: () -> void
4783
+
4784
+ type init_map = {
4785
+ billing_report_id: (::String | ::Symbol)?,
4786
+ "billing_report_id" => (::String | ::Symbol)?,
4787
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4788
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
4789
+ }
4790
+
4791
+ def initialize: (?init_map initial_value) -> void
4792
+
4793
+ def []:
4794
+ ("billing_report_id" name) -> ::String
4795
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4796
+
4797
+ def []=:
4798
+ ("billing_report_id" name, (::String | ::Symbol) value) -> void
4799
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4800
+ end
4801
+
4802
+ class GetBillingReportRequest < ::Google::Protobuf::AbstractMessage
4803
+
4804
+ # The id of the billing report to retrieve.
4805
+ attr_reader billing_report_id(): ::String
4806
+ attr_writer billing_report_id(): ::String | ::Symbol
4807
+ def clear_billing_report_id: () -> void
4808
+
4809
+ type init_map = {
4810
+ billing_report_id: (::String | ::Symbol)?,
4811
+ "billing_report_id" => (::String | ::Symbol)?,
4812
+ }
4813
+
4814
+ def initialize: (?init_map initial_value) -> void
4815
+
4816
+ def []:
4817
+ ("billing_report_id" name) -> ::String
4818
+
4819
+ def []=:
4820
+ ("billing_report_id" name, (::String | ::Symbol) value) -> void
4821
+ end
4822
+
4823
+ class GetBillingReportResponse < ::Google::Protobuf::AbstractMessage
4824
+
4825
+ # The billing report retrieved.
4826
+ attr_accessor billing_report(): ::Temporalio::Api::Cloud::Billing::V1::BillingReport?
4827
+ def has_billing_report?: () -> bool
4828
+ def clear_billing_report: () -> void
4829
+
4830
+ type init_map = {
4831
+ billing_report: (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?,
4832
+ "billing_report" => (::Temporalio::Api::Cloud::Billing::V1::BillingReport | ::Temporalio::Api::Cloud::Billing::V1::BillingReport::init_map)?,
4833
+ }
4834
+
4835
+ def initialize: (?init_map initial_value) -> void
4836
+
4837
+ def []:
4838
+ ("billing_report" name) -> ::Temporalio::Api::Cloud::Billing::V1::BillingReport?
4839
+
4840
+ def []=:
4841
+ ("billing_report" name, ::Temporalio::Api::Cloud::Billing::V1::BillingReport? value) -> void
4842
+ end
4843
+
4844
+ class GetCustomRolesRequest < ::Google::Protobuf::AbstractMessage
4845
+
4846
+ # The requested size of the page to retrieve.
4585
4847
  # Cannot exceed 1000. Defaults to 100.
4586
4848
  attr_reader page_size(): ::Integer
4587
4849
  attr_writer page_size(): ::Integer | ::Float
4588
4850
  def clear_page_size: () -> void
4589
4851
 
4590
- # The page token if this is continuing from another response - optional.
4852
+ # The page token if this is continuing from another response.
4591
4853
  attr_reader page_token(): ::String
4592
4854
  attr_writer page_token(): ::String | ::Symbol
4593
4855
  def clear_page_token: () -> void
4594
4856
 
4857
+ # Filter to only the custom roles scoped to this project - optional.
4858
+ # If unset, only account-scoped custom roles are returned.
4859
+ attr_reader project_id(): ::String
4860
+ attr_writer project_id(): ::String | ::Symbol
4861
+ def clear_project_id: () -> void
4862
+
4595
4863
  type init_map = {
4596
- namespace: (::String | ::Symbol)?,
4597
- "namespace" => (::String | ::Symbol)?,
4598
4864
  page_size: (::Integer | ::Float)?,
4599
4865
  "page_size" => (::Integer | ::Float)?,
4600
4866
  page_token: (::String | ::Symbol)?,
4601
4867
  "page_token" => (::String | ::Symbol)?,
4868
+ project_id: (::String | ::Symbol)?,
4869
+ "project_id" => (::String | ::Symbol)?,
4602
4870
  }
4603
4871
 
4604
4872
  def initialize: (?init_map initial_value) -> void
4605
4873
 
4606
4874
  def []:
4607
- ("namespace" name) -> ::String
4608
- | ("page_size" name) -> ::Integer
4875
+ ("page_size" name) -> ::Integer
4609
4876
  | ("page_token" name) -> ::String
4877
+ | ("project_id" name) -> ::String
4610
4878
 
4611
4879
  def []=:
4612
- ("namespace" name, (::String | ::Symbol) value) -> void
4613
- | ("page_size" name, (::Integer | ::Float) value) -> void
4880
+ ("page_size" name, (::Integer | ::Float) value) -> void
4614
4881
  | ("page_token" name, (::String | ::Symbol) value) -> void
4882
+ | ("project_id" name, (::String | ::Symbol) value) -> void
4615
4883
  end
4616
4884
 
4617
- class GetServiceAccountNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
4885
+ class GetCustomRolesResponse < ::Google::Protobuf::AbstractMessage
4618
4886
 
4619
- # The list of service accounts with access to the namespace.
4620
- attr_accessor service_accounts(): ::Google::Protobuf::RepeatedField
4621
- def clear_service_accounts: () -> void
4887
+ # The list of custom roles in ascending ID order.
4888
+ attr_accessor custom_roles(): ::Google::Protobuf::RepeatedField
4889
+ def clear_custom_roles: () -> void
4622
4890
 
4623
- # The next page's token.
4891
+ # The next page token.
4624
4892
  attr_reader next_page_token(): ::String
4625
4893
  attr_writer next_page_token(): ::String | ::Symbol
4626
4894
  def clear_next_page_token: () -> void
4627
4895
 
4628
4896
  type init_map = {
4629
- service_accounts: ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment]?,
4630
- "service_accounts" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment]?,
4897
+ custom_roles: ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRole]?,
4898
+ "custom_roles" => ::Array[::Temporalio::Api::Cloud::Identity::V1::CustomRole]?,
4631
4899
  next_page_token: (::String | ::Symbol)?,
4632
4900
  "next_page_token" => (::String | ::Symbol)?,
4633
4901
  }
@@ -4635,81 +4903,1334 @@ module Temporalio
4635
4903
  def initialize: (?init_map initial_value) -> void
4636
4904
 
4637
4905
  def []:
4638
- ("service_accounts" name) -> ::Google::Protobuf::RepeatedField
4906
+ ("custom_roles" name) -> ::Google::Protobuf::RepeatedField
4639
4907
  | ("next_page_token" name) -> ::String
4640
4908
 
4641
4909
  def []=:
4642
- ("service_accounts" name, ::Google::Protobuf::RepeatedField value) -> void
4910
+ ("custom_roles" name, ::Google::Protobuf::RepeatedField value) -> void
4643
4911
  | ("next_page_token" name, (::String | ::Symbol) value) -> void
4644
4912
  end
4645
4913
 
4646
- class GetUserGroupNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
4914
+ class GetCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4647
4915
 
4648
- # The namespace to get user groups for.
4649
- attr_reader namespace(): ::String
4650
- attr_writer namespace(): ::String | ::Symbol
4651
- def clear_namespace: () -> void
4916
+ # The ID of the custom role to retrieve.
4917
+ attr_reader role_id(): ::String
4918
+ attr_writer role_id(): ::String | ::Symbol
4919
+ def clear_role_id: () -> void
4652
4920
 
4653
- # The requested size of the page to retrieve - optional.
4654
- # Cannot exceed 1000. Defaults to 100.
4655
- attr_reader page_size(): ::Integer
4656
- attr_writer page_size(): ::Integer | ::Float
4657
- def clear_page_size: () -> void
4921
+ type init_map = {
4922
+ role_id: (::String | ::Symbol)?,
4923
+ "role_id" => (::String | ::Symbol)?,
4924
+ }
4658
4925
 
4659
- # The page token if this is continuing from another response - optional.
4660
- attr_reader page_token(): ::String
4661
- attr_writer page_token(): ::String | ::Symbol
4662
- def clear_page_token: () -> void
4926
+ def initialize: (?init_map initial_value) -> void
4927
+
4928
+ def []:
4929
+ ("role_id" name) -> ::String
4930
+
4931
+ def []=:
4932
+ ("role_id" name, (::String | ::Symbol) value) -> void
4933
+ end
4934
+
4935
+ class GetCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4936
+
4937
+ # The custom role retrieved.
4938
+ attr_accessor custom_role(): ::Temporalio::Api::Cloud::Identity::V1::CustomRole?
4939
+ def has_custom_role?: () -> bool
4940
+ def clear_custom_role: () -> void
4663
4941
 
4664
4942
  type init_map = {
4665
- namespace: (::String | ::Symbol)?,
4666
- "namespace" => (::String | ::Symbol)?,
4667
- page_size: (::Integer | ::Float)?,
4668
- "page_size" => (::Integer | ::Float)?,
4669
- page_token: (::String | ::Symbol)?,
4670
- "page_token" => (::String | ::Symbol)?,
4943
+ custom_role: (::Temporalio::Api::Cloud::Identity::V1::CustomRole | ::Temporalio::Api::Cloud::Identity::V1::CustomRole::init_map)?,
4944
+ "custom_role" => (::Temporalio::Api::Cloud::Identity::V1::CustomRole | ::Temporalio::Api::Cloud::Identity::V1::CustomRole::init_map)?,
4671
4945
  }
4672
4946
 
4673
4947
  def initialize: (?init_map initial_value) -> void
4674
4948
 
4675
4949
  def []:
4676
- ("namespace" name) -> ::String
4677
- | ("page_size" name) -> ::Integer
4678
- | ("page_token" name) -> ::String
4950
+ ("custom_role" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRole?
4679
4951
 
4680
4952
  def []=:
4681
- ("namespace" name, (::String | ::Symbol) value) -> void
4682
- | ("page_size" name, (::Integer | ::Float) value) -> void
4683
- | ("page_token" name, (::String | ::Symbol) value) -> void
4953
+ ("custom_role" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRole? value) -> void
4684
4954
  end
4685
4955
 
4686
- class GetUserGroupNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
4956
+ class CreateCustomRoleRequest < ::Google::Protobuf::AbstractMessage
4687
4957
 
4688
- # The list of user groups with access to the namespace.
4689
- attr_accessor groups(): ::Google::Protobuf::RepeatedField
4690
- def clear_groups: () -> void
4958
+ # The specification for the custom role to create.
4959
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4960
+ def has_spec?: () -> bool
4961
+ def clear_spec: () -> void
4691
4962
 
4692
- # The next page's token.
4693
- attr_reader next_page_token(): ::String
4694
- attr_writer next_page_token(): ::String | ::Symbol
4695
- def clear_next_page_token: () -> void
4963
+ # The ID to use for this async operation.
4964
+ # Optional, if not provided a random ID will be generated.
4965
+ attr_reader async_operation_id(): ::String
4966
+ attr_writer async_operation_id(): ::String | ::Symbol
4967
+ def clear_async_operation_id: () -> void
4696
4968
 
4697
4969
  type init_map = {
4698
- groups: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment]?,
4699
- "groups" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment]?,
4700
- next_page_token: (::String | ::Symbol)?,
4701
- "next_page_token" => (::String | ::Symbol)?,
4970
+ spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4971
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
4972
+ async_operation_id: (::String | ::Symbol)?,
4973
+ "async_operation_id" => (::String | ::Symbol)?,
4702
4974
  }
4703
4975
 
4704
4976
  def initialize: (?init_map initial_value) -> void
4705
4977
 
4706
4978
  def []:
4707
- ("groups" name) -> ::Google::Protobuf::RepeatedField
4708
- | ("next_page_token" name) -> ::String
4979
+ ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
4980
+ | ("async_operation_id" name) -> ::String
4709
4981
 
4710
4982
  def []=:
4711
- ("groups" name, ::Google::Protobuf::RepeatedField value) -> void
4712
- | ("next_page_token" name, (::String | ::Symbol) value) -> void
4983
+ ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
4984
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
4985
+ end
4986
+
4987
+ class CreateCustomRoleResponse < ::Google::Protobuf::AbstractMessage
4988
+
4989
+ # The ID of the custom role created.
4990
+ attr_reader role_id(): ::String
4991
+ attr_writer role_id(): ::String | ::Symbol
4992
+ def clear_role_id: () -> void
4993
+
4994
+ # The async operation.
4995
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
4996
+ def has_async_operation?: () -> bool
4997
+ def clear_async_operation: () -> void
4998
+
4999
+ type init_map = {
5000
+ role_id: (::String | ::Symbol)?,
5001
+ "role_id" => (::String | ::Symbol)?,
5002
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5003
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5004
+ }
5005
+
5006
+ def initialize: (?init_map initial_value) -> void
5007
+
5008
+ def []:
5009
+ ("role_id" name) -> ::String
5010
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5011
+
5012
+ def []=:
5013
+ ("role_id" name, (::String | ::Symbol) value) -> void
5014
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5015
+ end
5016
+
5017
+ class UpdateCustomRoleRequest < ::Google::Protobuf::AbstractMessage
5018
+
5019
+ # The ID of the custom role to update.
5020
+ attr_reader role_id(): ::String
5021
+ attr_writer role_id(): ::String | ::Symbol
5022
+ def clear_role_id: () -> void
5023
+
5024
+ # The new custom role specification.
5025
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
5026
+ def has_spec?: () -> bool
5027
+ def clear_spec: () -> void
5028
+
5029
+ # The version of the custom role for which this update is intended.
5030
+ # The latest version can be found in the GetCustomRole operation response.
5031
+ attr_reader resource_version(): ::String
5032
+ attr_writer resource_version(): ::String | ::Symbol
5033
+ def clear_resource_version: () -> void
5034
+
5035
+ # The ID to use for this async operation.
5036
+ # Optional, if not provided a random ID will be generated.
5037
+ attr_reader async_operation_id(): ::String
5038
+ attr_writer async_operation_id(): ::String | ::Symbol
5039
+ def clear_async_operation_id: () -> void
5040
+
5041
+ type init_map = {
5042
+ role_id: (::String | ::Symbol)?,
5043
+ "role_id" => (::String | ::Symbol)?,
5044
+ spec: (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
5045
+ "spec" => (::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec | ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec::init_map)?,
5046
+ resource_version: (::String | ::Symbol)?,
5047
+ "resource_version" => (::String | ::Symbol)?,
5048
+ async_operation_id: (::String | ::Symbol)?,
5049
+ "async_operation_id" => (::String | ::Symbol)?,
5050
+ }
5051
+
5052
+ def initialize: (?init_map initial_value) -> void
5053
+
5054
+ def []:
5055
+ ("role_id" name) -> ::String
5056
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec?
5057
+ | ("resource_version" name) -> ::String
5058
+ | ("async_operation_id" name) -> ::String
5059
+
5060
+ def []=:
5061
+ ("role_id" name, (::String | ::Symbol) value) -> void
5062
+ | ("spec" name, ::Temporalio::Api::Cloud::Identity::V1::CustomRoleSpec? value) -> void
5063
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
5064
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
5065
+ end
5066
+
5067
+ class UpdateCustomRoleResponse < ::Google::Protobuf::AbstractMessage
5068
+
5069
+ # The async operation.
5070
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5071
+ def has_async_operation?: () -> bool
5072
+ def clear_async_operation: () -> void
5073
+
5074
+ type init_map = {
5075
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5076
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5077
+ }
5078
+
5079
+ def initialize: (?init_map initial_value) -> void
5080
+
5081
+ def []:
5082
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5083
+
5084
+ def []=:
5085
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5086
+ end
5087
+
5088
+ class DeleteCustomRoleRequest < ::Google::Protobuf::AbstractMessage
5089
+
5090
+ # The ID of the custom role to delete.
5091
+ attr_reader role_id(): ::String
5092
+ attr_writer role_id(): ::String | ::Symbol
5093
+ def clear_role_id: () -> void
5094
+
5095
+ # The version of the custom role for which this delete is intended.
5096
+ # The latest version can be found in the GetCustomRole operation response.
5097
+ attr_reader resource_version(): ::String
5098
+ attr_writer resource_version(): ::String | ::Symbol
5099
+ def clear_resource_version: () -> void
5100
+
5101
+ # The ID to use for this async operation.
5102
+ # Optional, if not provided a random ID will be generated.
5103
+ attr_reader async_operation_id(): ::String
5104
+ attr_writer async_operation_id(): ::String | ::Symbol
5105
+ def clear_async_operation_id: () -> void
5106
+
5107
+ type init_map = {
5108
+ role_id: (::String | ::Symbol)?,
5109
+ "role_id" => (::String | ::Symbol)?,
5110
+ resource_version: (::String | ::Symbol)?,
5111
+ "resource_version" => (::String | ::Symbol)?,
5112
+ async_operation_id: (::String | ::Symbol)?,
5113
+ "async_operation_id" => (::String | ::Symbol)?,
5114
+ }
5115
+
5116
+ def initialize: (?init_map initial_value) -> void
5117
+
5118
+ def []:
5119
+ ("role_id" name) -> ::String
5120
+ | ("resource_version" name) -> ::String
5121
+ | ("async_operation_id" name) -> ::String
5122
+
5123
+ def []=:
5124
+ ("role_id" name, (::String | ::Symbol) value) -> void
5125
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
5126
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
5127
+ end
5128
+
5129
+ class DeleteCustomRoleResponse < ::Google::Protobuf::AbstractMessage
5130
+
5131
+ # The async operation.
5132
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5133
+ def has_async_operation?: () -> bool
5134
+ def clear_async_operation: () -> void
5135
+
5136
+ type init_map = {
5137
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5138
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5139
+ }
5140
+
5141
+ def initialize: (?init_map initial_value) -> void
5142
+
5143
+ def []:
5144
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5145
+
5146
+ def []=:
5147
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5148
+ end
5149
+
5150
+ class GetUserProjectAssignmentsRequest < ::Google::Protobuf::AbstractMessage
5151
+
5152
+ # The id of the project to get users for.
5153
+ attr_reader project_id(): ::String
5154
+ attr_writer project_id(): ::String | ::Symbol
5155
+ def clear_project_id: () -> void
5156
+
5157
+ # The requested size of the page to retrieve - optional.
5158
+ # Cannot exceed 1000. Defaults to 100.
5159
+ attr_reader page_size(): ::Integer
5160
+ attr_writer page_size(): ::Integer | ::Float
5161
+ def clear_page_size: () -> void
5162
+
5163
+ # The page token if this is continuing from another response - optional.
5164
+ attr_reader page_token(): ::String
5165
+ attr_writer page_token(): ::String | ::Symbol
5166
+ def clear_page_token: () -> void
5167
+
5168
+ type init_map = {
5169
+ project_id: (::String | ::Symbol)?,
5170
+ "project_id" => (::String | ::Symbol)?,
5171
+ page_size: (::Integer | ::Float)?,
5172
+ "page_size" => (::Integer | ::Float)?,
5173
+ page_token: (::String | ::Symbol)?,
5174
+ "page_token" => (::String | ::Symbol)?,
5175
+ }
5176
+
5177
+ def initialize: (?init_map initial_value) -> void
5178
+
5179
+ def []:
5180
+ ("project_id" name) -> ::String
5181
+ | ("page_size" name) -> ::Integer
5182
+ | ("page_token" name) -> ::String
5183
+
5184
+ def []=:
5185
+ ("project_id" name, (::String | ::Symbol) value) -> void
5186
+ | ("page_size" name, (::Integer | ::Float) value) -> void
5187
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5188
+ end
5189
+
5190
+ class GetUserProjectAssignmentsResponse < ::Google::Protobuf::AbstractMessage
5191
+
5192
+ # The list of users with access to the project.
5193
+ attr_accessor users(): ::Google::Protobuf::RepeatedField
5194
+ def clear_users: () -> void
5195
+
5196
+ # The next page's token.
5197
+ attr_reader next_page_token(): ::String
5198
+ attr_writer next_page_token(): ::String | ::Symbol
5199
+ def clear_next_page_token: () -> void
5200
+
5201
+ type init_map = {
5202
+ users: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment]?,
5203
+ "users" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserProjectAssignment]?,
5204
+ next_page_token: (::String | ::Symbol)?,
5205
+ "next_page_token" => (::String | ::Symbol)?,
5206
+ }
5207
+
5208
+ def initialize: (?init_map initial_value) -> void
5209
+
5210
+ def []:
5211
+ ("users" name) -> ::Google::Protobuf::RepeatedField
5212
+ | ("next_page_token" name) -> ::String
5213
+
5214
+ def []=:
5215
+ ("users" name, ::Google::Protobuf::RepeatedField value) -> void
5216
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5217
+ end
5218
+
5219
+ class GetServiceAccountProjectAssignmentsRequest < ::Google::Protobuf::AbstractMessage
5220
+
5221
+ # The id of the project to get service accounts for.
5222
+ attr_reader project_id(): ::String
5223
+ attr_writer project_id(): ::String | ::Symbol
5224
+ def clear_project_id: () -> void
5225
+
5226
+ # The requested size of the page to retrieve - optional.
5227
+ # Cannot exceed 1000. Defaults to 100.
5228
+ attr_reader page_size(): ::Integer
5229
+ attr_writer page_size(): ::Integer | ::Float
5230
+ def clear_page_size: () -> void
5231
+
5232
+ # The page token if this is continuing from another response - optional.
5233
+ attr_reader page_token(): ::String
5234
+ attr_writer page_token(): ::String | ::Symbol
5235
+ def clear_page_token: () -> void
5236
+
5237
+ type init_map = {
5238
+ project_id: (::String | ::Symbol)?,
5239
+ "project_id" => (::String | ::Symbol)?,
5240
+ page_size: (::Integer | ::Float)?,
5241
+ "page_size" => (::Integer | ::Float)?,
5242
+ page_token: (::String | ::Symbol)?,
5243
+ "page_token" => (::String | ::Symbol)?,
5244
+ }
5245
+
5246
+ def initialize: (?init_map initial_value) -> void
5247
+
5248
+ def []:
5249
+ ("project_id" name) -> ::String
5250
+ | ("page_size" name) -> ::Integer
5251
+ | ("page_token" name) -> ::String
5252
+
5253
+ def []=:
5254
+ ("project_id" name, (::String | ::Symbol) value) -> void
5255
+ | ("page_size" name, (::Integer | ::Float) value) -> void
5256
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5257
+ end
5258
+
5259
+ class GetServiceAccountProjectAssignmentsResponse < ::Google::Protobuf::AbstractMessage
5260
+
5261
+ # The list of service accounts with access to the project.
5262
+ attr_accessor service_accounts(): ::Google::Protobuf::RepeatedField
5263
+ def clear_service_accounts: () -> void
5264
+
5265
+ # The next page's token.
5266
+ attr_reader next_page_token(): ::String
5267
+ attr_writer next_page_token(): ::String | ::Symbol
5268
+ def clear_next_page_token: () -> void
5269
+
5270
+ type init_map = {
5271
+ service_accounts: ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment]?,
5272
+ "service_accounts" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountProjectAssignment]?,
5273
+ next_page_token: (::String | ::Symbol)?,
5274
+ "next_page_token" => (::String | ::Symbol)?,
5275
+ }
5276
+
5277
+ def initialize: (?init_map initial_value) -> void
5278
+
5279
+ def []:
5280
+ ("service_accounts" name) -> ::Google::Protobuf::RepeatedField
5281
+ | ("next_page_token" name) -> ::String
5282
+
5283
+ def []=:
5284
+ ("service_accounts" name, ::Google::Protobuf::RepeatedField value) -> void
5285
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5286
+ end
5287
+
5288
+ class GetUserGroupProjectAssignmentsRequest < ::Google::Protobuf::AbstractMessage
5289
+
5290
+ # The id of the project to get user groups for.
5291
+ attr_reader project_id(): ::String
5292
+ attr_writer project_id(): ::String | ::Symbol
5293
+ def clear_project_id: () -> void
5294
+
5295
+ # The requested size of the page to retrieve - optional.
5296
+ # Cannot exceed 1000. Defaults to 100.
5297
+ attr_reader page_size(): ::Integer
5298
+ attr_writer page_size(): ::Integer | ::Float
5299
+ def clear_page_size: () -> void
5300
+
5301
+ # The page token if this is continuing from another response - optional.
5302
+ attr_reader page_token(): ::String
5303
+ attr_writer page_token(): ::String | ::Symbol
5304
+ def clear_page_token: () -> void
5305
+
5306
+ type init_map = {
5307
+ project_id: (::String | ::Symbol)?,
5308
+ "project_id" => (::String | ::Symbol)?,
5309
+ page_size: (::Integer | ::Float)?,
5310
+ "page_size" => (::Integer | ::Float)?,
5311
+ page_token: (::String | ::Symbol)?,
5312
+ "page_token" => (::String | ::Symbol)?,
5313
+ }
5314
+
5315
+ def initialize: (?init_map initial_value) -> void
5316
+
5317
+ def []:
5318
+ ("project_id" name) -> ::String
5319
+ | ("page_size" name) -> ::Integer
5320
+ | ("page_token" name) -> ::String
5321
+
5322
+ def []=:
5323
+ ("project_id" name, (::String | ::Symbol) value) -> void
5324
+ | ("page_size" name, (::Integer | ::Float) value) -> void
5325
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5326
+ end
5327
+
5328
+ class GetUserGroupProjectAssignmentsResponse < ::Google::Protobuf::AbstractMessage
5329
+
5330
+ # The list of user groups with access to the project.
5331
+ attr_accessor groups(): ::Google::Protobuf::RepeatedField
5332
+ def clear_groups: () -> void
5333
+
5334
+ # The next page's token.
5335
+ attr_reader next_page_token(): ::String
5336
+ attr_writer next_page_token(): ::String | ::Symbol
5337
+ def clear_next_page_token: () -> void
5338
+
5339
+ type init_map = {
5340
+ groups: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment]?,
5341
+ "groups" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupProjectAssignment]?,
5342
+ next_page_token: (::String | ::Symbol)?,
5343
+ "next_page_token" => (::String | ::Symbol)?,
5344
+ }
5345
+
5346
+ def initialize: (?init_map initial_value) -> void
5347
+
5348
+ def []:
5349
+ ("groups" name) -> ::Google::Protobuf::RepeatedField
5350
+ | ("next_page_token" name) -> ::String
5351
+
5352
+ def []=:
5353
+ ("groups" name, ::Google::Protobuf::RepeatedField value) -> void
5354
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5355
+ end
5356
+
5357
+ class GetUserNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
5358
+
5359
+ # The namespace to get users for.
5360
+ attr_reader namespace(): ::String
5361
+ attr_writer namespace(): ::String | ::Symbol
5362
+ def clear_namespace: () -> void
5363
+
5364
+ # The requested size of the page to retrieve - optional.
5365
+ # Cannot exceed 1000. Defaults to 100.
5366
+ attr_reader page_size(): ::Integer
5367
+ attr_writer page_size(): ::Integer | ::Float
5368
+ def clear_page_size: () -> void
5369
+
5370
+ # The page token if this is continuing from another response - optional.
5371
+ attr_reader page_token(): ::String
5372
+ attr_writer page_token(): ::String | ::Symbol
5373
+ def clear_page_token: () -> void
5374
+
5375
+ type init_map = {
5376
+ namespace: (::String | ::Symbol)?,
5377
+ "namespace" => (::String | ::Symbol)?,
5378
+ page_size: (::Integer | ::Float)?,
5379
+ "page_size" => (::Integer | ::Float)?,
5380
+ page_token: (::String | ::Symbol)?,
5381
+ "page_token" => (::String | ::Symbol)?,
5382
+ }
5383
+
5384
+ def initialize: (?init_map initial_value) -> void
5385
+
5386
+ def []:
5387
+ ("namespace" name) -> ::String
5388
+ | ("page_size" name) -> ::Integer
5389
+ | ("page_token" name) -> ::String
5390
+
5391
+ def []=:
5392
+ ("namespace" name, (::String | ::Symbol) value) -> void
5393
+ | ("page_size" name, (::Integer | ::Float) value) -> void
5394
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5395
+ end
5396
+
5397
+ class GetUserNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
5398
+
5399
+ # The list of users with access to the namespace.
5400
+ attr_accessor users(): ::Google::Protobuf::RepeatedField
5401
+ def clear_users: () -> void
5402
+
5403
+ # The next page's token.
5404
+ attr_reader next_page_token(): ::String
5405
+ attr_writer next_page_token(): ::String | ::Symbol
5406
+ def clear_next_page_token: () -> void
5407
+
5408
+ type init_map = {
5409
+ users: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment]?,
5410
+ "users" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserNamespaceAssignment]?,
5411
+ next_page_token: (::String | ::Symbol)?,
5412
+ "next_page_token" => (::String | ::Symbol)?,
5413
+ }
5414
+
5415
+ def initialize: (?init_map initial_value) -> void
5416
+
5417
+ def []:
5418
+ ("users" name) -> ::Google::Protobuf::RepeatedField
5419
+ | ("next_page_token" name) -> ::String
5420
+
5421
+ def []=:
5422
+ ("users" name, ::Google::Protobuf::RepeatedField value) -> void
5423
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5424
+ end
5425
+
5426
+ class GetServiceAccountNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
5427
+
5428
+ # The namespace to get service accounts for.
5429
+ attr_reader namespace(): ::String
5430
+ attr_writer namespace(): ::String | ::Symbol
5431
+ def clear_namespace: () -> void
5432
+
5433
+ # The requested size of the page to retrieve - optional.
5434
+ # Cannot exceed 1000. Defaults to 100.
5435
+ attr_reader page_size(): ::Integer
5436
+ attr_writer page_size(): ::Integer | ::Float
5437
+ def clear_page_size: () -> void
5438
+
5439
+ # The page token if this is continuing from another response - optional.
5440
+ attr_reader page_token(): ::String
5441
+ attr_writer page_token(): ::String | ::Symbol
5442
+ def clear_page_token: () -> void
5443
+
5444
+ type init_map = {
5445
+ namespace: (::String | ::Symbol)?,
5446
+ "namespace" => (::String | ::Symbol)?,
5447
+ page_size: (::Integer | ::Float)?,
5448
+ "page_size" => (::Integer | ::Float)?,
5449
+ page_token: (::String | ::Symbol)?,
5450
+ "page_token" => (::String | ::Symbol)?,
5451
+ }
5452
+
5453
+ def initialize: (?init_map initial_value) -> void
5454
+
5455
+ def []:
5456
+ ("namespace" name) -> ::String
5457
+ | ("page_size" name) -> ::Integer
5458
+ | ("page_token" name) -> ::String
5459
+
5460
+ def []=:
5461
+ ("namespace" name, (::String | ::Symbol) value) -> void
5462
+ | ("page_size" name, (::Integer | ::Float) value) -> void
5463
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5464
+ end
5465
+
5466
+ class GetServiceAccountNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
5467
+
5468
+ # The list of service accounts with access to the namespace.
5469
+ attr_accessor service_accounts(): ::Google::Protobuf::RepeatedField
5470
+ def clear_service_accounts: () -> void
5471
+
5472
+ # The next page's token.
5473
+ attr_reader next_page_token(): ::String
5474
+ attr_writer next_page_token(): ::String | ::Symbol
5475
+ def clear_next_page_token: () -> void
5476
+
5477
+ type init_map = {
5478
+ service_accounts: ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment]?,
5479
+ "service_accounts" => ::Array[::Temporalio::Api::Cloud::Identity::V1::ServiceAccountNamespaceAssignment]?,
5480
+ next_page_token: (::String | ::Symbol)?,
5481
+ "next_page_token" => (::String | ::Symbol)?,
5482
+ }
5483
+
5484
+ def initialize: (?init_map initial_value) -> void
5485
+
5486
+ def []:
5487
+ ("service_accounts" name) -> ::Google::Protobuf::RepeatedField
5488
+ | ("next_page_token" name) -> ::String
5489
+
5490
+ def []=:
5491
+ ("service_accounts" name, ::Google::Protobuf::RepeatedField value) -> void
5492
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5493
+ end
5494
+
5495
+ class GetUserGroupNamespaceAssignmentsRequest < ::Google::Protobuf::AbstractMessage
5496
+
5497
+ # The namespace to get user groups for.
5498
+ attr_reader namespace(): ::String
5499
+ attr_writer namespace(): ::String | ::Symbol
5500
+ def clear_namespace: () -> void
5501
+
5502
+ # The requested size of the page to retrieve - optional.
5503
+ # Cannot exceed 1000. Defaults to 100.
5504
+ attr_reader page_size(): ::Integer
5505
+ attr_writer page_size(): ::Integer | ::Float
5506
+ def clear_page_size: () -> void
5507
+
5508
+ # The page token if this is continuing from another response - optional.
5509
+ attr_reader page_token(): ::String
5510
+ attr_writer page_token(): ::String | ::Symbol
5511
+ def clear_page_token: () -> void
5512
+
5513
+ type init_map = {
5514
+ namespace: (::String | ::Symbol)?,
5515
+ "namespace" => (::String | ::Symbol)?,
5516
+ page_size: (::Integer | ::Float)?,
5517
+ "page_size" => (::Integer | ::Float)?,
5518
+ page_token: (::String | ::Symbol)?,
5519
+ "page_token" => (::String | ::Symbol)?,
5520
+ }
5521
+
5522
+ def initialize: (?init_map initial_value) -> void
5523
+
5524
+ def []:
5525
+ ("namespace" name) -> ::String
5526
+ | ("page_size" name) -> ::Integer
5527
+ | ("page_token" name) -> ::String
5528
+
5529
+ def []=:
5530
+ ("namespace" name, (::String | ::Symbol) value) -> void
5531
+ | ("page_size" name, (::Integer | ::Float) value) -> void
5532
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5533
+ end
5534
+
5535
+ class GetUserGroupNamespaceAssignmentsResponse < ::Google::Protobuf::AbstractMessage
5536
+
5537
+ # The list of user groups with access to the namespace.
5538
+ attr_accessor groups(): ::Google::Protobuf::RepeatedField
5539
+ def clear_groups: () -> void
5540
+
5541
+ # The next page's token.
5542
+ attr_reader next_page_token(): ::String
5543
+ attr_writer next_page_token(): ::String | ::Symbol
5544
+ def clear_next_page_token: () -> void
5545
+
5546
+ type init_map = {
5547
+ groups: ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment]?,
5548
+ "groups" => ::Array[::Temporalio::Api::Cloud::Identity::V1::UserGroupNamespaceAssignment]?,
5549
+ next_page_token: (::String | ::Symbol)?,
5550
+ "next_page_token" => (::String | ::Symbol)?,
5551
+ }
5552
+
5553
+ def initialize: (?init_map initial_value) -> void
5554
+
5555
+ def []:
5556
+ ("groups" name) -> ::Google::Protobuf::RepeatedField
5557
+ | ("next_page_token" name) -> ::String
5558
+
5559
+ def []=:
5560
+ ("groups" name, ::Google::Protobuf::RepeatedField value) -> void
5561
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5562
+ end
5563
+
5564
+ class GetProjectsRequest < ::Google::Protobuf::AbstractMessage
5565
+
5566
+ # The requested size of the page to retrieve - optional.
5567
+ # Cannot exceed 1000. Defaults to 100.
5568
+ attr_reader page_size(): ::Integer
5569
+ attr_writer page_size(): ::Integer | ::Float
5570
+ def clear_page_size: () -> void
5571
+
5572
+ # The page token if this is continuing from another response - optional.
5573
+ attr_reader page_token(): ::String
5574
+ attr_writer page_token(): ::String | ::Symbol
5575
+ def clear_page_token: () -> void
5576
+
5577
+ # Filter by project IDs - optional.
5578
+ attr_accessor project_ids(): ::Google::Protobuf::RepeatedField
5579
+ def clear_project_ids: () -> void
5580
+
5581
+ type init_map = {
5582
+ page_size: (::Integer | ::Float)?,
5583
+ "page_size" => (::Integer | ::Float)?,
5584
+ page_token: (::String | ::Symbol)?,
5585
+ "page_token" => (::String | ::Symbol)?,
5586
+ project_ids: ::Array[::String | ::Symbol]?,
5587
+ "project_ids" => ::Array[::String | ::Symbol]?,
5588
+ }
5589
+
5590
+ def initialize: (?init_map initial_value) -> void
5591
+
5592
+ def []:
5593
+ ("page_size" name) -> ::Integer
5594
+ | ("page_token" name) -> ::String
5595
+ | ("project_ids" name) -> (::Google::Protobuf::RepeatedField)
5596
+
5597
+ def []=:
5598
+ ("page_size" name, (::Integer | ::Float) value) -> void
5599
+ | ("page_token" name, (::String | ::Symbol) value) -> void
5600
+ | ("project_ids" name, (::Google::Protobuf::RepeatedField) value) -> void
5601
+ end
5602
+
5603
+ class GetProjectsResponse < ::Google::Protobuf::AbstractMessage
5604
+
5605
+ # The list of projects in ascending ids order
5606
+ attr_accessor projects(): ::Google::Protobuf::RepeatedField
5607
+ def clear_projects: () -> void
5608
+
5609
+ # The next page's token
5610
+ attr_reader next_page_token(): ::String
5611
+ attr_writer next_page_token(): ::String | ::Symbol
5612
+ def clear_next_page_token: () -> void
5613
+
5614
+ type init_map = {
5615
+ projects: ::Array[::Temporalio::Api::Cloud::Project::V1::Project]?,
5616
+ "projects" => ::Array[::Temporalio::Api::Cloud::Project::V1::Project]?,
5617
+ next_page_token: (::String | ::Symbol)?,
5618
+ "next_page_token" => (::String | ::Symbol)?,
5619
+ }
5620
+
5621
+ def initialize: (?init_map initial_value) -> void
5622
+
5623
+ def []:
5624
+ ("projects" name) -> ::Google::Protobuf::RepeatedField
5625
+ | ("next_page_token" name) -> ::String
5626
+
5627
+ def []=:
5628
+ ("projects" name, ::Google::Protobuf::RepeatedField value) -> void
5629
+ | ("next_page_token" name, (::String | ::Symbol) value) -> void
5630
+ end
5631
+
5632
+ class GetProjectRequest < ::Google::Protobuf::AbstractMessage
5633
+
5634
+ # The id of the project to get
5635
+ attr_reader project_id(): ::String
5636
+ attr_writer project_id(): ::String | ::Symbol
5637
+ def clear_project_id: () -> void
5638
+
5639
+ type init_map = {
5640
+ project_id: (::String | ::Symbol)?,
5641
+ "project_id" => (::String | ::Symbol)?,
5642
+ }
5643
+
5644
+ def initialize: (?init_map initial_value) -> void
5645
+
5646
+ def []:
5647
+ ("project_id" name) -> ::String
5648
+
5649
+ def []=:
5650
+ ("project_id" name, (::String | ::Symbol) value) -> void
5651
+ end
5652
+
5653
+ class GetProjectResponse < ::Google::Protobuf::AbstractMessage
5654
+
5655
+ # The project
5656
+ attr_accessor project(): ::Temporalio::Api::Cloud::Project::V1::Project?
5657
+ def has_project?: () -> bool
5658
+ def clear_project: () -> void
5659
+
5660
+ type init_map = {
5661
+ project: (::Temporalio::Api::Cloud::Project::V1::Project | ::Temporalio::Api::Cloud::Project::V1::Project::init_map)?,
5662
+ "project" => (::Temporalio::Api::Cloud::Project::V1::Project | ::Temporalio::Api::Cloud::Project::V1::Project::init_map)?,
5663
+ }
5664
+
5665
+ def initialize: (?init_map initial_value) -> void
5666
+
5667
+ def []:
5668
+ ("project" name) -> ::Temporalio::Api::Cloud::Project::V1::Project?
5669
+
5670
+ def []=:
5671
+ ("project" name, ::Temporalio::Api::Cloud::Project::V1::Project? value) -> void
5672
+ end
5673
+
5674
+ class CreateProjectRequest < ::Google::Protobuf::AbstractMessage
5675
+
5676
+ # The spec for the project to create.
5677
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Project::V1::ProjectSpec?
5678
+ def has_spec?: () -> bool
5679
+ def clear_spec: () -> void
5680
+
5681
+ # The id to use for this async operation.
5682
+ # Optional, if not provided a random id will be generated.
5683
+ attr_reader async_operation_id(): ::String
5684
+ attr_writer async_operation_id(): ::String | ::Symbol
5685
+ def clear_async_operation_id: () -> void
5686
+
5687
+ type init_map = {
5688
+ spec: (::Temporalio::Api::Cloud::Project::V1::ProjectSpec | ::Temporalio::Api::Cloud::Project::V1::ProjectSpec::init_map)?,
5689
+ "spec" => (::Temporalio::Api::Cloud::Project::V1::ProjectSpec | ::Temporalio::Api::Cloud::Project::V1::ProjectSpec::init_map)?,
5690
+ async_operation_id: (::String | ::Symbol)?,
5691
+ "async_operation_id" => (::String | ::Symbol)?,
5692
+ }
5693
+
5694
+ def initialize: (?init_map initial_value) -> void
5695
+
5696
+ def []:
5697
+ ("spec" name) -> ::Temporalio::Api::Cloud::Project::V1::ProjectSpec?
5698
+ | ("async_operation_id" name) -> ::String
5699
+
5700
+ def []=:
5701
+ ("spec" name, ::Temporalio::Api::Cloud::Project::V1::ProjectSpec? value) -> void
5702
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
5703
+ end
5704
+
5705
+ class CreateProjectResponse < ::Google::Protobuf::AbstractMessage
5706
+
5707
+ # The id of the project that was created.
5708
+ attr_reader project_id(): ::String
5709
+ attr_writer project_id(): ::String | ::Symbol
5710
+ def clear_project_id: () -> void
5711
+
5712
+ # The async operation.
5713
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5714
+ def has_async_operation?: () -> bool
5715
+ def clear_async_operation: () -> void
5716
+
5717
+ type init_map = {
5718
+ project_id: (::String | ::Symbol)?,
5719
+ "project_id" => (::String | ::Symbol)?,
5720
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5721
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5722
+ }
5723
+
5724
+ def initialize: (?init_map initial_value) -> void
5725
+
5726
+ def []:
5727
+ ("project_id" name) -> ::String
5728
+ | ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5729
+
5730
+ def []=:
5731
+ ("project_id" name, (::String | ::Symbol) value) -> void
5732
+ | ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5733
+ end
5734
+
5735
+ class UpdateProjectRequest < ::Google::Protobuf::AbstractMessage
5736
+
5737
+ # The id of the project to update.
5738
+ attr_reader project_id(): ::String
5739
+ attr_writer project_id(): ::String | ::Symbol
5740
+ def clear_project_id: () -> void
5741
+
5742
+ # The new project specification.
5743
+ attr_accessor spec(): ::Temporalio::Api::Cloud::Project::V1::ProjectSpec?
5744
+ def has_spec?: () -> bool
5745
+ def clear_spec: () -> void
5746
+
5747
+ # The version of the project for which this update is intended for.
5748
+ # The latest version can be found in the GetProject operation response.
5749
+ attr_reader resource_version(): ::String
5750
+ attr_writer resource_version(): ::String | ::Symbol
5751
+ def clear_resource_version: () -> void
5752
+
5753
+ # The id to use for this async operation.
5754
+ # Optional, if not provided a random id will be generated.
5755
+ attr_reader async_operation_id(): ::String
5756
+ attr_writer async_operation_id(): ::String | ::Symbol
5757
+ def clear_async_operation_id: () -> void
5758
+
5759
+ type init_map = {
5760
+ project_id: (::String | ::Symbol)?,
5761
+ "project_id" => (::String | ::Symbol)?,
5762
+ spec: (::Temporalio::Api::Cloud::Project::V1::ProjectSpec | ::Temporalio::Api::Cloud::Project::V1::ProjectSpec::init_map)?,
5763
+ "spec" => (::Temporalio::Api::Cloud::Project::V1::ProjectSpec | ::Temporalio::Api::Cloud::Project::V1::ProjectSpec::init_map)?,
5764
+ resource_version: (::String | ::Symbol)?,
5765
+ "resource_version" => (::String | ::Symbol)?,
5766
+ async_operation_id: (::String | ::Symbol)?,
5767
+ "async_operation_id" => (::String | ::Symbol)?,
5768
+ }
5769
+
5770
+ def initialize: (?init_map initial_value) -> void
5771
+
5772
+ def []:
5773
+ ("project_id" name) -> ::String
5774
+ | ("spec" name) -> ::Temporalio::Api::Cloud::Project::V1::ProjectSpec?
5775
+ | ("resource_version" name) -> ::String
5776
+ | ("async_operation_id" name) -> ::String
5777
+
5778
+ def []=:
5779
+ ("project_id" name, (::String | ::Symbol) value) -> void
5780
+ | ("spec" name, ::Temporalio::Api::Cloud::Project::V1::ProjectSpec? value) -> void
5781
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
5782
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
5783
+ end
5784
+
5785
+ class UpdateProjectResponse < ::Google::Protobuf::AbstractMessage
5786
+
5787
+ # The async operation.
5788
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5789
+ def has_async_operation?: () -> bool
5790
+ def clear_async_operation: () -> void
5791
+
5792
+ type init_map = {
5793
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5794
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5795
+ }
5796
+
5797
+ def initialize: (?init_map initial_value) -> void
5798
+
5799
+ def []:
5800
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5801
+
5802
+ def []=:
5803
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5804
+ end
5805
+
5806
+ # The full set of connectivity rules a namespace should carry after a move.
5807
+ class ConnectivityRuleIDs < ::Google::Protobuf::AbstractMessage
5808
+
5809
+ # One or more rule ids to attach in the destination project.
5810
+ attr_accessor connectivity_rule_ids(): ::Google::Protobuf::RepeatedField
5811
+ def clear_connectivity_rule_ids: () -> void
5812
+
5813
+ type init_map = {
5814
+ connectivity_rule_ids: ::Array[::String | ::Symbol]?,
5815
+ "connectivity_rule_ids" => ::Array[::String | ::Symbol]?,
5816
+ }
5817
+
5818
+ def initialize: (?init_map initial_value) -> void
5819
+
5820
+ def []:
5821
+ ("connectivity_rule_ids" name) -> (::Google::Protobuf::RepeatedField)
5822
+
5823
+ def []=:
5824
+ ("connectivity_rule_ids" name, (::Google::Protobuf::RepeatedField) value) -> void
5825
+ end
5826
+
5827
+ class NoConnectivityRules < ::Google::Protobuf::AbstractMessage
5828
+
5829
+ type init_map = {
5830
+ }
5831
+
5832
+ def initialize: (?init_map initial_value) -> void
5833
+ end
5834
+
5835
+ class MoveNamespaceToProjectRequest < ::Google::Protobuf::AbstractMessage
5836
+
5837
+ # The namespace to move.
5838
+ attr_reader namespace(): ::String
5839
+ attr_writer namespace(): ::String | ::Symbol
5840
+ def clear_namespace: () -> void
5841
+
5842
+ # The project to move the namespace to.
5843
+ attr_reader destination_project_id(): ::String
5844
+ attr_writer destination_project_id(): ::String | ::Symbol
5845
+ def clear_destination_project_id: () -> void
5846
+
5847
+ # The project the caller expects the namespace to currently belong to.
5848
+ attr_reader expected_source_project_id(): ::String
5849
+ attr_writer expected_source_project_id(): ::String | ::Symbol
5850
+ def clear_expected_source_project_id: () -> void
5851
+
5852
+ # The version of the namespace for which this move is intended for.
5853
+ # The latest version can be found in the GetNamespace operation response.
5854
+ attr_reader resource_version(): ::String
5855
+ attr_writer resource_version(): ::String | ::Symbol
5856
+ def clear_resource_version: () -> void
5857
+
5858
+ # The id to use for this async operation.
5859
+ # Optional, if not provided a random id will be generated.
5860
+ attr_reader async_operation_id(): ::String
5861
+ attr_writer async_operation_id(): ::String | ::Symbol
5862
+ def clear_async_operation_id: () -> void
5863
+
5864
+ attr_accessor rule_ids(): ::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs?
5865
+ def has_rule_ids?: () -> bool
5866
+ def clear_rule_ids: () -> void
5867
+
5868
+ attr_accessor unrestricted(): ::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules?
5869
+ def has_unrestricted?: () -> bool
5870
+ def clear_unrestricted: () -> void
5871
+
5872
+ # The connectivity rules the namespace should have in the destination project.
5873
+ # Leave unset only when the namespace has no connectivity rules today.
5874
+ attr_reader destination_connectivity_rules(): (::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs | ::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules)?
5875
+ def has_destination_connectivity_rules?: () -> bool
5876
+ def clear_destination_connectivity_rules: () -> void
5877
+
5878
+ type init_map = {
5879
+ namespace: (::String | ::Symbol)?,
5880
+ "namespace" => (::String | ::Symbol)?,
5881
+ destination_project_id: (::String | ::Symbol)?,
5882
+ "destination_project_id" => (::String | ::Symbol)?,
5883
+ expected_source_project_id: (::String | ::Symbol)?,
5884
+ "expected_source_project_id" => (::String | ::Symbol)?,
5885
+ resource_version: (::String | ::Symbol)?,
5886
+ "resource_version" => (::String | ::Symbol)?,
5887
+ async_operation_id: (::String | ::Symbol)?,
5888
+ "async_operation_id" => (::String | ::Symbol)?,
5889
+ rule_ids: (::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs | ::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs::init_map)?,
5890
+ "rule_ids" => (::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs | ::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs::init_map)?,
5891
+ unrestricted: (::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules | ::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules::init_map)?,
5892
+ "unrestricted" => (::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules | ::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules::init_map)?,
5893
+ }
5894
+
5895
+ def initialize: (?init_map initial_value) -> void
5896
+
5897
+ def []:
5898
+ ("namespace" name) -> ::String
5899
+ | ("destination_project_id" name) -> ::String
5900
+ | ("expected_source_project_id" name) -> ::String
5901
+ | ("resource_version" name) -> ::String
5902
+ | ("async_operation_id" name) -> ::String
5903
+ | ("rule_ids" name) -> ::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs?
5904
+ | ("unrestricted" name) -> ::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules?
5905
+
5906
+ def []=:
5907
+ ("namespace" name, (::String | ::Symbol) value) -> void
5908
+ | ("destination_project_id" name, (::String | ::Symbol) value) -> void
5909
+ | ("expected_source_project_id" name, (::String | ::Symbol) value) -> void
5910
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
5911
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
5912
+ | ("rule_ids" name, ::Temporalio::Api::Cloud::CloudService::V1::ConnectivityRuleIDs? value) -> void
5913
+ | ("unrestricted" name, ::Temporalio::Api::Cloud::CloudService::V1::NoConnectivityRules? value) -> void
5914
+ end
5915
+
5916
+ class MoveNamespaceToProjectResponse < ::Google::Protobuf::AbstractMessage
5917
+
5918
+ # The async operation.
5919
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5920
+ def has_async_operation?: () -> bool
5921
+ def clear_async_operation: () -> void
5922
+
5923
+ type init_map = {
5924
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5925
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5926
+ }
5927
+
5928
+ def initialize: (?init_map initial_value) -> void
5929
+
5930
+ def []:
5931
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5932
+
5933
+ def []=:
5934
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5935
+ end
5936
+
5937
+ class DeleteProjectRequest < ::Google::Protobuf::AbstractMessage
5938
+
5939
+ # The id of the project to delete.
5940
+ attr_reader project_id(): ::String
5941
+ attr_writer project_id(): ::String | ::Symbol
5942
+ def clear_project_id: () -> void
5943
+
5944
+ # The version of the project for which this delete is intended for.
5945
+ # The latest version can be found in the GetProject operation response.
5946
+ attr_reader resource_version(): ::String
5947
+ attr_writer resource_version(): ::String | ::Symbol
5948
+ def clear_resource_version: () -> void
5949
+
5950
+ # The id to use for this async operation.
5951
+ # Optional, if not provided a random id will be generated.
5952
+ attr_reader async_operation_id(): ::String
5953
+ attr_writer async_operation_id(): ::String | ::Symbol
5954
+ def clear_async_operation_id: () -> void
5955
+
5956
+ type init_map = {
5957
+ project_id: (::String | ::Symbol)?,
5958
+ "project_id" => (::String | ::Symbol)?,
5959
+ resource_version: (::String | ::Symbol)?,
5960
+ "resource_version" => (::String | ::Symbol)?,
5961
+ async_operation_id: (::String | ::Symbol)?,
5962
+ "async_operation_id" => (::String | ::Symbol)?,
5963
+ }
5964
+
5965
+ def initialize: (?init_map initial_value) -> void
5966
+
5967
+ def []:
5968
+ ("project_id" name) -> ::String
5969
+ | ("resource_version" name) -> ::String
5970
+ | ("async_operation_id" name) -> ::String
5971
+
5972
+ def []=:
5973
+ ("project_id" name, (::String | ::Symbol) value) -> void
5974
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
5975
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
5976
+ end
5977
+
5978
+ class DeleteProjectResponse < ::Google::Protobuf::AbstractMessage
5979
+
5980
+ # The async operation.
5981
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5982
+ def has_async_operation?: () -> bool
5983
+ def clear_async_operation: () -> void
5984
+
5985
+ type init_map = {
5986
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5987
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
5988
+ }
5989
+
5990
+ def initialize: (?init_map initial_value) -> void
5991
+
5992
+ def []:
5993
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
5994
+
5995
+ def []=:
5996
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
5997
+ end
5998
+
5999
+ class SetUserProjectAccessRequest < ::Google::Protobuf::AbstractMessage
6000
+
6001
+ # The project to set permissions for.
6002
+ attr_reader project_id(): ::String
6003
+ attr_writer project_id(): ::String | ::Symbol
6004
+ def clear_project_id: () -> void
6005
+
6006
+ # The id of the user to set permissions for.
6007
+ attr_reader user_id(): ::String
6008
+ attr_writer user_id(): ::String | ::Symbol
6009
+ def clear_user_id: () -> void
6010
+
6011
+ # The project access to assign the user. If left empty, the user will be removed from the project access.
6012
+ attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
6013
+ def has_access?: () -> bool
6014
+ def clear_access: () -> void
6015
+
6016
+ # The version of the user for which this update is intended for.
6017
+ # The latest version can be found in the GetUser operation response.
6018
+ attr_reader resource_version(): ::String
6019
+ attr_writer resource_version(): ::String | ::Symbol
6020
+ def clear_resource_version: () -> void
6021
+
6022
+ # The id to use for this async operation - optional.
6023
+ attr_reader async_operation_id(): ::String
6024
+ attr_writer async_operation_id(): ::String | ::Symbol
6025
+ def clear_async_operation_id: () -> void
6026
+
6027
+ type init_map = {
6028
+ project_id: (::String | ::Symbol)?,
6029
+ "project_id" => (::String | ::Symbol)?,
6030
+ user_id: (::String | ::Symbol)?,
6031
+ "user_id" => (::String | ::Symbol)?,
6032
+ access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
6033
+ "access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
6034
+ resource_version: (::String | ::Symbol)?,
6035
+ "resource_version" => (::String | ::Symbol)?,
6036
+ async_operation_id: (::String | ::Symbol)?,
6037
+ "async_operation_id" => (::String | ::Symbol)?,
6038
+ }
6039
+
6040
+ def initialize: (?init_map initial_value) -> void
6041
+
6042
+ def []:
6043
+ ("project_id" name) -> ::String
6044
+ | ("user_id" name) -> ::String
6045
+ | ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
6046
+ | ("resource_version" name) -> ::String
6047
+ | ("async_operation_id" name) -> ::String
6048
+
6049
+ def []=:
6050
+ ("project_id" name, (::String | ::Symbol) value) -> void
6051
+ | ("user_id" name, (::String | ::Symbol) value) -> void
6052
+ | ("access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
6053
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
6054
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
6055
+ end
6056
+
6057
+ class SetUserProjectAccessResponse < ::Google::Protobuf::AbstractMessage
6058
+
6059
+ # The async operation.
6060
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
6061
+ def has_async_operation?: () -> bool
6062
+ def clear_async_operation: () -> void
6063
+
6064
+ type init_map = {
6065
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
6066
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
6067
+ }
6068
+
6069
+ def initialize: (?init_map initial_value) -> void
6070
+
6071
+ def []:
6072
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
6073
+
6074
+ def []=:
6075
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
6076
+ end
6077
+
6078
+ class SetUserGroupProjectAccessRequest < ::Google::Protobuf::AbstractMessage
6079
+
6080
+ # The project to set permissions for.
6081
+ attr_reader project_id(): ::String
6082
+ attr_writer project_id(): ::String | ::Symbol
6083
+ def clear_project_id: () -> void
6084
+
6085
+ # The id of the group to set permissions for.
6086
+ attr_reader group_id(): ::String
6087
+ attr_writer group_id(): ::String | ::Symbol
6088
+ def clear_group_id: () -> void
6089
+
6090
+ # The project access to assign the group. If left empty, the group will be removed from the project access.
6091
+ attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
6092
+ def has_access?: () -> bool
6093
+ def clear_access: () -> void
6094
+
6095
+ # The version of the group for which this update is intended for.
6096
+ # The latest version can be found in the GetGroup operation response.
6097
+ attr_reader resource_version(): ::String
6098
+ attr_writer resource_version(): ::String | ::Symbol
6099
+ def clear_resource_version: () -> void
6100
+
6101
+ # The id to use for this async operation - optional.
6102
+ attr_reader async_operation_id(): ::String
6103
+ attr_writer async_operation_id(): ::String | ::Symbol
6104
+ def clear_async_operation_id: () -> void
6105
+
6106
+ type init_map = {
6107
+ project_id: (::String | ::Symbol)?,
6108
+ "project_id" => (::String | ::Symbol)?,
6109
+ group_id: (::String | ::Symbol)?,
6110
+ "group_id" => (::String | ::Symbol)?,
6111
+ access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
6112
+ "access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
6113
+ resource_version: (::String | ::Symbol)?,
6114
+ "resource_version" => (::String | ::Symbol)?,
6115
+ async_operation_id: (::String | ::Symbol)?,
6116
+ "async_operation_id" => (::String | ::Symbol)?,
6117
+ }
6118
+
6119
+ def initialize: (?init_map initial_value) -> void
6120
+
6121
+ def []:
6122
+ ("project_id" name) -> ::String
6123
+ | ("group_id" name) -> ::String
6124
+ | ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
6125
+ | ("resource_version" name) -> ::String
6126
+ | ("async_operation_id" name) -> ::String
6127
+
6128
+ def []=:
6129
+ ("project_id" name, (::String | ::Symbol) value) -> void
6130
+ | ("group_id" name, (::String | ::Symbol) value) -> void
6131
+ | ("access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
6132
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
6133
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
6134
+ end
6135
+
6136
+ class SetUserGroupProjectAccessResponse < ::Google::Protobuf::AbstractMessage
6137
+
6138
+ # The async operation.
6139
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
6140
+ def has_async_operation?: () -> bool
6141
+ def clear_async_operation: () -> void
6142
+
6143
+ type init_map = {
6144
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
6145
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
6146
+ }
6147
+
6148
+ def initialize: (?init_map initial_value) -> void
6149
+
6150
+ def []:
6151
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
6152
+
6153
+ def []=:
6154
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
6155
+ end
6156
+
6157
+ class SetServiceAccountProjectAccessRequest < ::Google::Protobuf::AbstractMessage
6158
+
6159
+ # The project to set permissions for.
6160
+ attr_reader project_id(): ::String
6161
+ attr_writer project_id(): ::String | ::Symbol
6162
+ def clear_project_id: () -> void
6163
+
6164
+ # The id of the service account to set permissions for.
6165
+ attr_reader service_account_id(): ::String
6166
+ attr_writer service_account_id(): ::String | ::Symbol
6167
+ def clear_service_account_id: () -> void
6168
+
6169
+ # The project access to assign the service account. If left empty, the service account will be removed from the project access.
6170
+ attr_accessor access(): ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
6171
+ def has_access?: () -> bool
6172
+ def clear_access: () -> void
6173
+
6174
+ # The version of the service account for which this update is intended for.
6175
+ # The latest version can be found in the GetServiceAccount operation response.
6176
+ attr_reader resource_version(): ::String
6177
+ attr_writer resource_version(): ::String | ::Symbol
6178
+ def clear_resource_version: () -> void
6179
+
6180
+ # The id to use for this async operation - optional.
6181
+ attr_reader async_operation_id(): ::String
6182
+ attr_writer async_operation_id(): ::String | ::Symbol
6183
+ def clear_async_operation_id: () -> void
6184
+
6185
+ type init_map = {
6186
+ project_id: (::String | ::Symbol)?,
6187
+ "project_id" => (::String | ::Symbol)?,
6188
+ service_account_id: (::String | ::Symbol)?,
6189
+ "service_account_id" => (::String | ::Symbol)?,
6190
+ access: (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
6191
+ "access" => (::Temporalio::Api::Cloud::Identity::V1::ProjectAccess | ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess::init_map)?,
6192
+ resource_version: (::String | ::Symbol)?,
6193
+ "resource_version" => (::String | ::Symbol)?,
6194
+ async_operation_id: (::String | ::Symbol)?,
6195
+ "async_operation_id" => (::String | ::Symbol)?,
6196
+ }
6197
+
6198
+ def initialize: (?init_map initial_value) -> void
6199
+
6200
+ def []:
6201
+ ("project_id" name) -> ::String
6202
+ | ("service_account_id" name) -> ::String
6203
+ | ("access" name) -> ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess?
6204
+ | ("resource_version" name) -> ::String
6205
+ | ("async_operation_id" name) -> ::String
6206
+
6207
+ def []=:
6208
+ ("project_id" name, (::String | ::Symbol) value) -> void
6209
+ | ("service_account_id" name, (::String | ::Symbol) value) -> void
6210
+ | ("access" name, ::Temporalio::Api::Cloud::Identity::V1::ProjectAccess? value) -> void
6211
+ | ("resource_version" name, (::String | ::Symbol) value) -> void
6212
+ | ("async_operation_id" name, (::String | ::Symbol) value) -> void
6213
+ end
6214
+
6215
+ class SetServiceAccountProjectAccessResponse < ::Google::Protobuf::AbstractMessage
6216
+
6217
+ # The async operation.
6218
+ attr_accessor async_operation(): ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
6219
+ def has_async_operation?: () -> bool
6220
+ def clear_async_operation: () -> void
6221
+
6222
+ type init_map = {
6223
+ async_operation: (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
6224
+ "async_operation" => (::Temporalio::Api::Cloud::Operation::V1::AsyncOperation | ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation::init_map)?,
6225
+ }
6226
+
6227
+ def initialize: (?init_map initial_value) -> void
6228
+
6229
+ def []:
6230
+ ("async_operation" name) -> ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation?
6231
+
6232
+ def []=:
6233
+ ("async_operation" name, ::Temporalio::Api::Cloud::Operation::V1::AsyncOperation? value) -> void
4713
6234
  end
4714
6235
  end
4715
6236
  end