Class: Google::Cloud::Tasks::V2beta3::CloudTasks::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/tasks/v2beta3/cloud_tasks/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 gRPC 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

Instance Attribute Details

#create_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for create_queue

Returns:

  • (::Gapic::Config::Method)


2129
2130
2131
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2129

def create_queue
  @create_queue
end

#create_task::Gapic::Config::Method (readonly)

RPC-specific configuration for create_task

Returns:

  • (::Gapic::Config::Method)


2184
2185
2186
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2184

def create_task
  @create_task
end

#delete_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_queue

Returns:

  • (::Gapic::Config::Method)


2139
2140
2141
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2139

def delete_queue
  @delete_queue
end

#delete_task::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_task

Returns:

  • (::Gapic::Config::Method)


2189
2190
2191
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2189

def delete_task
  @delete_task
end

#get_iam_policy::Gapic::Config::Method (readonly)

RPC-specific configuration for get_iam_policy

Returns:

  • (::Gapic::Config::Method)


2159
2160
2161
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2159

def get_iam_policy
  @get_iam_policy
end

#get_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for get_queue

Returns:

  • (::Gapic::Config::Method)


2124
2125
2126
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2124

def get_queue
  @get_queue
end

#get_task::Gapic::Config::Method (readonly)

RPC-specific configuration for get_task

Returns:

  • (::Gapic::Config::Method)


2179
2180
2181
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2179

def get_task
  @get_task
end

#list_queues::Gapic::Config::Method (readonly)

RPC-specific configuration for list_queues

Returns:

  • (::Gapic::Config::Method)


2119
2120
2121
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2119

def list_queues
  @list_queues
end

#list_tasks::Gapic::Config::Method (readonly)

RPC-specific configuration for list_tasks

Returns:

  • (::Gapic::Config::Method)


2174
2175
2176
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2174

def list_tasks
  @list_tasks
end

#pause_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for pause_queue

Returns:

  • (::Gapic::Config::Method)


2149
2150
2151
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2149

def pause_queue
  @pause_queue
end

#purge_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for purge_queue

Returns:

  • (::Gapic::Config::Method)


2144
2145
2146
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2144

def purge_queue
  @purge_queue
end

#resume_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for resume_queue

Returns:

  • (::Gapic::Config::Method)


2154
2155
2156
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2154

def resume_queue
  @resume_queue
end

#run_task::Gapic::Config::Method (readonly)

RPC-specific configuration for run_task

Returns:

  • (::Gapic::Config::Method)


2194
2195
2196
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2194

def run_task
  @run_task
end

#set_iam_policy::Gapic::Config::Method (readonly)

RPC-specific configuration for set_iam_policy

Returns:

  • (::Gapic::Config::Method)


2164
2165
2166
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2164

def set_iam_policy
  @set_iam_policy
end

#test_iam_permissions::Gapic::Config::Method (readonly)

RPC-specific configuration for test_iam_permissions

Returns:

  • (::Gapic::Config::Method)


2169
2170
2171
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2169

def test_iam_permissions
  @test_iam_permissions
end

#update_queue::Gapic::Config::Method (readonly)

RPC-specific configuration for update_queue

Returns:

  • (::Gapic::Config::Method)


2134
2135
2136
# File 'lib/google/cloud/tasks/v2beta3/cloud_tasks/client.rb', line 2134

def update_queue
  @update_queue
end