Class: Temporalio::Client::Connection::CloudService

Inherits:
Service
  • Object
show all
Defined in:
lib/temporalio/client/connection/cloud_service.rb

Overview

CloudService API.

Instance Method Summary collapse

Instance Method Details

#add_namespace_region(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::AddNamespaceRegionResponse

Calls CloudService.AddNamespaceRegion API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::AddNamespaceRegionRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



292
293
294
295
296
297
298
299
300
301
302
# File 'lib/temporalio/client/connection/cloud_service.rb', line 292

def add_namespace_region(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'add_namespace_region',
    request_class: Temporalio::Api::Cloud::CloudService::V1::AddNamespaceRegionRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::AddNamespaceRegionResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#create_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::CreateApiKeyResponse

Calls CloudService.CreateApiKey API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::CreateApiKeyRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



387
388
389
390
391
392
393
394
395
396
397
# File 'lib/temporalio/client/connection/cloud_service.rb', line 387

def create_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'create_api_key',
    request_class: Temporalio::Api::Cloud::CloudService::V1::CreateApiKeyRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::CreateApiKeyResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#create_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::CreateNamespaceResponse

Calls CloudService.CreateNamespace API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::CreateNamespaceRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



159
160
161
162
163
164
165
166
167
168
169
# File 'lib/temporalio/client/connection/cloud_service.rb', line 159

def create_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'create_namespace',
    request_class: Temporalio::Api::Cloud::CloudService::V1::CreateNamespaceRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::CreateNamespaceResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#create_service_account(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::CreateServiceAccountResponse

Calls CloudService.CreateServiceAccount API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::CreateServiceAccountRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



558
559
560
561
562
563
564
565
566
567
568
# File 'lib/temporalio/client/connection/cloud_service.rb', line 558

def (request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'create_service_account',
    request_class: Temporalio::Api::Cloud::CloudService::V1::CreateServiceAccountRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::CreateServiceAccountResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#create_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::CreateUserResponse

Calls CloudService.CreateUser API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::CreateUserRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



64
65
66
67
68
69
70
71
72
73
74
# File 'lib/temporalio/client/connection/cloud_service.rb', line 64

def create_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'create_user',
    request_class: Temporalio::Api::Cloud::CloudService::V1::CreateUserRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::CreateUserResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#create_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::CreateUserGroupResponse

Calls CloudService.CreateUserGroup API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::CreateUserGroupRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



482
483
484
485
486
487
488
489
490
491
492
# File 'lib/temporalio/client/connection/cloud_service.rb', line 482

def create_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'create_user_group',
    request_class: Temporalio::Api::Cloud::CloudService::V1::CreateUserGroupRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::CreateUserGroupResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#delete_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::DeleteApiKeyResponse

Calls CloudService.DeleteApiKey API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::DeleteApiKeyRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



425
426
427
428
429
430
431
432
433
434
435
# File 'lib/temporalio/client/connection/cloud_service.rb', line 425

def delete_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'delete_api_key',
    request_class: Temporalio::Api::Cloud::CloudService::V1::DeleteApiKeyRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::DeleteApiKeyResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#delete_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::DeleteNamespaceResponse

Calls CloudService.DeleteNamespace API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::DeleteNamespaceRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



254
255
256
257
258
259
260
261
262
263
264
# File 'lib/temporalio/client/connection/cloud_service.rb', line 254

def delete_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'delete_namespace',
    request_class: Temporalio::Api::Cloud::CloudService::V1::DeleteNamespaceRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::DeleteNamespaceResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#delete_service_account(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::DeleteServiceAccountResponse

Calls CloudService.DeleteServiceAccount API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::DeleteServiceAccountRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



634
635
636
637
638
639
640
641
642
643
644
# File 'lib/temporalio/client/connection/cloud_service.rb', line 634

def (request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'delete_service_account',
    request_class: Temporalio::Api::Cloud::CloudService::V1::DeleteServiceAccountRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::DeleteServiceAccountResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#delete_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::DeleteUserResponse

Calls CloudService.DeleteUser API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::DeleteUserRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



102
103
104
105
106
107
108
109
110
111
112
# File 'lib/temporalio/client/connection/cloud_service.rb', line 102

def delete_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'delete_user',
    request_class: Temporalio::Api::Cloud::CloudService::V1::DeleteUserRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::DeleteUserResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#delete_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::DeleteUserGroupResponse

Calls CloudService.DeleteUserGroup API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::DeleteUserGroupRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



520
521
522
523
524
525
526
527
528
529
530
# File 'lib/temporalio/client/connection/cloud_service.rb', line 520

def delete_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'delete_user_group',
    request_class: Temporalio::Api::Cloud::CloudService::V1::DeleteUserGroupRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::DeleteUserGroupResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#failover_namespace_region(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::FailoverNamespaceRegionResponse

Calls CloudService.FailoverNamespaceRegion API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::FailoverNamespaceRegionRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



273
274
275
276
277
278
279
280
281
282
283
# File 'lib/temporalio/client/connection/cloud_service.rb', line 273

def failover_namespace_region(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'failover_namespace_region',
    request_class: Temporalio::Api::Cloud::CloudService::V1::FailoverNamespaceRegionRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::FailoverNamespaceRegionResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetApiKeyResponse

Calls CloudService.GetApiKey API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetApiKeyRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



368
369
370
371
372
373
374
375
376
377
378
# File 'lib/temporalio/client/connection/cloud_service.rb', line 368

def get_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_api_key',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetApiKeyRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetApiKeyResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_api_keys(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetApiKeysResponse

Calls CloudService.GetApiKeys API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetApiKeysRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



349
350
351
352
353
354
355
356
357
358
359
# File 'lib/temporalio/client/connection/cloud_service.rb', line 349

def get_api_keys(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_api_keys',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetApiKeysRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetApiKeysResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_async_operation(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetAsyncOperationResponse

Calls CloudService.GetAsyncOperation API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetAsyncOperationRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



140
141
142
143
144
145
146
147
148
149
150
# File 'lib/temporalio/client/connection/cloud_service.rb', line 140

def get_async_operation(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_async_operation',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetAsyncOperationRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetAsyncOperationResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetNamespaceResponse

Calls CloudService.GetNamespace API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetNamespaceRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



197
198
199
200
201
202
203
204
205
206
207
# File 'lib/temporalio/client/connection/cloud_service.rb', line 197

def get_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_namespace',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetNamespaceRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetNamespaceResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_namespaces(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetNamespacesResponse

Calls CloudService.GetNamespaces API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetNamespacesRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



178
179
180
181
182
183
184
185
186
187
188
# File 'lib/temporalio/client/connection/cloud_service.rb', line 178

def get_namespaces(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_namespaces',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetNamespacesRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetNamespacesResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_region(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetRegionResponse

Calls CloudService.GetRegion API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetRegionRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



330
331
332
333
334
335
336
337
338
339
340
# File 'lib/temporalio/client/connection/cloud_service.rb', line 330

def get_region(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_region',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetRegionRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetRegionResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_regions(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetRegionsResponse

Calls CloudService.GetRegions API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetRegionsRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



311
312
313
314
315
316
317
318
319
320
321
# File 'lib/temporalio/client/connection/cloud_service.rb', line 311

def get_regions(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_regions',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetRegionsRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetRegionsResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_service_account(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountResponse

Calls CloudService.GetServiceAccount API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



577
578
579
580
581
582
583
584
585
586
587
# File 'lib/temporalio/client/connection/cloud_service.rb', line 577

def (request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_service_account',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_service_accounts(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountsResponse

Calls CloudService.GetServiceAccounts API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountsRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



596
597
598
599
600
601
602
603
604
605
606
# File 'lib/temporalio/client/connection/cloud_service.rb', line 596

def get_service_accounts(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_service_accounts',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountsRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountsResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetUserResponse

Calls CloudService.GetUser API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetUserRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



45
46
47
48
49
50
51
52
53
54
55
# File 'lib/temporalio/client/connection/cloud_service.rb', line 45

def get_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_user',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetUserRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetUserResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetUserGroupResponse

Calls CloudService.GetUserGroup API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetUserGroupRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



463
464
465
466
467
468
469
470
471
472
473
# File 'lib/temporalio/client/connection/cloud_service.rb', line 463

def get_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_user_group',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetUserGroupRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetUserGroupResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_user_groups(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsResponse

Calls CloudService.GetUserGroups API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



444
445
446
447
448
449
450
451
452
453
454
# File 'lib/temporalio/client/connection/cloud_service.rb', line 444

def get_user_groups(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_user_groups',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#get_users(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::GetUsersResponse

Calls CloudService.GetUsers API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::GetUsersRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



26
27
28
29
30
31
32
33
34
35
36
# File 'lib/temporalio/client/connection/cloud_service.rb', line 26

def get_users(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'get_users',
    request_class: Temporalio::Api::Cloud::CloudService::V1::GetUsersRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::GetUsersResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#rename_custom_search_attribute(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::RenameCustomSearchAttributeResponse

Calls CloudService.RenameCustomSearchAttribute API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::RenameCustomSearchAttributeRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



235
236
237
238
239
240
241
242
243
244
245
# File 'lib/temporalio/client/connection/cloud_service.rb', line 235

def rename_custom_search_attribute(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'rename_custom_search_attribute',
    request_class: Temporalio::Api::Cloud::CloudService::V1::RenameCustomSearchAttributeRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::RenameCustomSearchAttributeResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#set_user_group_namespace_access(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::SetUserGroupNamespaceAccessResponse

Calls CloudService.SetUserGroupNamespaceAccess API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::SetUserGroupNamespaceAccessRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



539
540
541
542
543
544
545
546
547
548
549
# File 'lib/temporalio/client/connection/cloud_service.rb', line 539

def set_user_group_namespace_access(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'set_user_group_namespace_access',
    request_class: Temporalio::Api::Cloud::CloudService::V1::SetUserGroupNamespaceAccessRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::SetUserGroupNamespaceAccessResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#set_user_namespace_access(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::SetUserNamespaceAccessResponse

Calls CloudService.SetUserNamespaceAccess API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::SetUserNamespaceAccessRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



121
122
123
124
125
126
127
128
129
130
131
# File 'lib/temporalio/client/connection/cloud_service.rb', line 121

def set_user_namespace_access(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'set_user_namespace_access',
    request_class: Temporalio::Api::Cloud::CloudService::V1::SetUserNamespaceAccessRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::SetUserNamespaceAccessResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#update_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::UpdateApiKeyResponse

Calls CloudService.UpdateApiKey API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::UpdateApiKeyRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



406
407
408
409
410
411
412
413
414
415
416
# File 'lib/temporalio/client/connection/cloud_service.rb', line 406

def update_api_key(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'update_api_key',
    request_class: Temporalio::Api::Cloud::CloudService::V1::UpdateApiKeyRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::UpdateApiKeyResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#update_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::UpdateNamespaceResponse

Calls CloudService.UpdateNamespace API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::UpdateNamespaceRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



216
217
218
219
220
221
222
223
224
225
226
# File 'lib/temporalio/client/connection/cloud_service.rb', line 216

def update_namespace(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'update_namespace',
    request_class: Temporalio::Api::Cloud::CloudService::V1::UpdateNamespaceRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::UpdateNamespaceResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#update_service_account(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::UpdateServiceAccountResponse

Calls CloudService.UpdateServiceAccount API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::UpdateServiceAccountRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



615
616
617
618
619
620
621
622
623
624
625
# File 'lib/temporalio/client/connection/cloud_service.rb', line 615

def (request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'update_service_account',
    request_class: Temporalio::Api::Cloud::CloudService::V1::UpdateServiceAccountRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::UpdateServiceAccountResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#update_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::UpdateUserResponse

Calls CloudService.UpdateUser API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::UpdateUserRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



83
84
85
86
87
88
89
90
91
92
93
# File 'lib/temporalio/client/connection/cloud_service.rb', line 83

def update_user(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'update_user',
    request_class: Temporalio::Api::Cloud::CloudService::V1::UpdateUserRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::UpdateUserResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end

#update_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil) ⇒ Temporalio::Api::Cloud::CloudService::V1::UpdateUserGroupResponse

Calls CloudService.UpdateUserGroup API call.

Parameters:

  • request (Temporalio::Api::Cloud::CloudService::V1::UpdateUserGroupRequest)

    API request.

  • rpc_retry (Boolean) (defaults to: false)

    Whether to implicitly retry known retryable errors.

  • rpc_metadata (Hash<String, String>, nil) (defaults to: nil)

    Headers to include on the RPC call.

  • rpc_timeout (Float, nil) (defaults to: nil)

    Number of seconds before timeout.

Returns:



501
502
503
504
505
506
507
508
509
510
511
# File 'lib/temporalio/client/connection/cloud_service.rb', line 501

def update_user_group(request, rpc_retry: false, rpc_metadata: nil, rpc_timeout: nil)
  invoke_rpc(
    rpc: 'update_user_group',
    request_class: Temporalio::Api::Cloud::CloudService::V1::UpdateUserGroupRequest,
    response_class: Temporalio::Api::Cloud::CloudService::V1::UpdateUserGroupResponse,
    request:,
    rpc_retry:,
    rpc_metadata:,
    rpc_timeout:
  )
end