Module: Google::Cloud::Tasks::V2beta2
- Defined in:
- lib/google/cloud/tasks/v2beta2.rb,
lib/google/cloud/tasks/v2beta2/doc/overview.rb,
lib/google/cloud/tasks/v2beta2/cloud_tasks_client.rb,
lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/task.rb,
lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/queue.rb,
lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/target.rb
Defined Under Namespace
Modules: HttpMethod Classes: AppEngineHttpRequest, AppEngineHttpTarget, AppEngineRouting, AttemptStatus, CloudTasksClient, PullMessage, PullTarget, Queue, RateLimits, RetryConfig, Task, TaskStatus
Class Method Summary collapse
-
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Cloud Tasks allows developers to manage the execution of background work in their applications.
Class Method Details
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Cloud Tasks allows developers to manage the execution of background work in their applications.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/google/cloud/tasks/v2beta2.rb', line 79 def self.new \ credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil kwargs = { credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, lib_version: lib_version }.select { |_, v| v != nil } Google::Cloud::Tasks::V2beta2::CloudTasksClient.new(**kwargs) end |