Cloud Tasks V2 API - Class Google::Cloud::Tasks::V2::CloudTasks::Client::Configuration::Rpcs (v0.8.0)

Reference documentation and code samples for the Cloud Tasks V2 API class Google::Cloud::Tasks::V2::CloudTasks::Client::Configuration::Rpcs.

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.

Inherits

  • Object

Methods

#create_queue

def create_queue() -> ::Gapic::Config::Method

RPC-specific configuration for create_queue

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

#create_task

def create_task() -> ::Gapic::Config::Method

RPC-specific configuration for create_task

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

#delete_queue

def delete_queue() -> ::Gapic::Config::Method

RPC-specific configuration for delete_queue

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

#delete_task

def delete_task() -> ::Gapic::Config::Method

RPC-specific configuration for delete_task

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

#get_iam_policy

def get_iam_policy() -> ::Gapic::Config::Method

RPC-specific configuration for get_iam_policy

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

#get_queue

def get_queue() -> ::Gapic::Config::Method

RPC-specific configuration for get_queue

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

#get_task

def get_task() -> ::Gapic::Config::Method

RPC-specific configuration for get_task

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

#list_queues

def list_queues() -> ::Gapic::Config::Method

RPC-specific configuration for list_queues

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

#list_tasks

def list_tasks() -> ::Gapic::Config::Method

RPC-specific configuration for list_tasks

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

#pause_queue

def pause_queue() -> ::Gapic::Config::Method

RPC-specific configuration for pause_queue

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

#purge_queue

def purge_queue() -> ::Gapic::Config::Method

RPC-specific configuration for purge_queue

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

#resume_queue

def resume_queue() -> ::Gapic::Config::Method

RPC-specific configuration for resume_queue

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

#run_task

def run_task() -> ::Gapic::Config::Method

RPC-specific configuration for run_task

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

#set_iam_policy

def set_iam_policy() -> ::Gapic::Config::Method

RPC-specific configuration for set_iam_policy

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

#test_iam_permissions

def test_iam_permissions() -> ::Gapic::Config::Method

RPC-specific configuration for test_iam_permissions

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

#update_queue

def update_queue() -> ::Gapic::Config::Method

RPC-specific configuration for update_queue

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