Class: Google::Cloud::Tasks::V2::CloudTasks::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Tasks::V2::CloudTasks::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb
Overview
Configuration RPC class for the CloudTasks API.
Includes fields providing the configuration for each RPC in this service.
Each configuration object is of type Gapic::Config::Method
and includes
the following configuration fields:
-
timeout
(type:Numeric
) - The call timeout in seconds -
metadata
(type:Hash{Symbol=>String}
) - Additional headers -
retry_policy (*type:*
Hash`) - The retry policy. The policy fields include the following keys:-
:initial_delay
(type:Numeric
) - The initial delay in seconds. -
:max_delay
(type:Numeric
) - The max delay in seconds. -
:multiplier
(type:Numeric
) - The incremental backoff multiplier. -
:retry_codes
(type:Array<String>
) - The error codes that should trigger a retry.
-
Instance Attribute Summary collapse
-
#create_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_queue
. -
#create_task ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_task
. -
#delete_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_queue
. -
#delete_task ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_task
. -
#get_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_iam_policy
. -
#get_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_queue
. -
#get_task ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_task
. -
#list_queues ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_queues
. -
#list_tasks ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_tasks
. -
#pause_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
pause_queue
. -
#purge_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
purge_queue
. -
#resume_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
resume_queue
. -
#run_task ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
run_task
. -
#set_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_iam_policy
. -
#test_iam_permissions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
test_iam_permissions
. -
#update_queue ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_queue
.
Instance Attribute Details
#create_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_queue
1980 1981 1982 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 1980 def create_queue @create_queue end |
#create_task ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_task
2035 2036 2037 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2035 def create_task @create_task end |
#delete_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_queue
1990 1991 1992 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 1990 def delete_queue @delete_queue end |
#delete_task ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_task
2040 2041 2042 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2040 def delete_task @delete_task end |
#get_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_iam_policy
2010 2011 2012 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2010 def get_iam_policy @get_iam_policy end |
#get_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_queue
1975 1976 1977 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 1975 def get_queue @get_queue end |
#get_task ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_task
2030 2031 2032 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2030 def get_task @get_task end |
#list_queues ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_queues
1970 1971 1972 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 1970 def list_queues @list_queues end |
#list_tasks ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_tasks
2025 2026 2027 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2025 def list_tasks @list_tasks end |
#pause_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for pause_queue
2000 2001 2002 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2000 def pause_queue @pause_queue end |
#purge_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for purge_queue
1995 1996 1997 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 1995 def purge_queue @purge_queue end |
#resume_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for resume_queue
2005 2006 2007 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2005 def resume_queue @resume_queue end |
#run_task ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for run_task
2045 2046 2047 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2045 def run_task @run_task end |
#set_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_iam_policy
2015 2016 2017 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2015 def set_iam_policy @set_iam_policy end |
#test_iam_permissions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for test_iam_permissions
2020 2021 2022 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 2020 def @test_iam_permissions end |
#update_queue ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_queue
1985 1986 1987 |
# File 'lib/google/cloud/tasks/v2/cloud_tasks/rest/client.rb', line 1985 def update_queue @update_queue end |