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

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

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

RPC-specific configuration for acknowledge_task

Returns:

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


2841
2842
2843
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2841

def acknowledge_task
  @acknowledge_task
end

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

RPC-specific configuration for cancel_lease

Returns:

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


2851
2852
2853
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2851

def cancel_lease
  @cancel_lease
end

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

RPC-specific configuration for create_queue

Returns:

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


2766
2767
2768
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2766

def create_queue
  @create_queue
end

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

RPC-specific configuration for create_task

Returns:

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


2826
2827
2828
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2826

def create_task
  @create_task
end

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

RPC-specific configuration for delete_queue

Returns:

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


2776
2777
2778
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2776

def delete_queue
  @delete_queue
end

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

RPC-specific configuration for delete_task

Returns:

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


2831
2832
2833
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2831

def delete_task
  @delete_task
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


2801
2802
2803
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2801

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_queue

Returns:

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


2761
2762
2763
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2761

def get_queue
  @get_queue
end

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

RPC-specific configuration for get_task

Returns:

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


2821
2822
2823
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2821

def get_task
  @get_task
end

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

RPC-specific configuration for lease_tasks

Returns:

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


2836
2837
2838
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2836

def lease_tasks
  @lease_tasks
end

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

RPC-specific configuration for list_queues

Returns:

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


2756
2757
2758
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2756

def list_queues
  @list_queues
end

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

RPC-specific configuration for list_tasks

Returns:

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


2816
2817
2818
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2816

def list_tasks
  @list_tasks
end

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

RPC-specific configuration for pause_queue

Returns:

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


2786
2787
2788
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2786

def pause_queue
  @pause_queue
end

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

RPC-specific configuration for purge_queue

Returns:

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


2781
2782
2783
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2781

def purge_queue
  @purge_queue
end

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

RPC-specific configuration for renew_lease

Returns:

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


2846
2847
2848
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2846

def renew_lease
  @renew_lease
end

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

RPC-specific configuration for resume_queue

Returns:

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


2791
2792
2793
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2791

def resume_queue
  @resume_queue
end

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

RPC-specific configuration for run_task

Returns:

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


2856
2857
2858
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2856

def run_task
  @run_task
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


2806
2807
2808
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2806

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)


2811
2812
2813
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2811

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_queue

Returns:

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


2771
2772
2773
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2771

def update_queue
  @update_queue
end

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

RPC-specific configuration for upload_queue_yaml

Returns:

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


2796
2797
2798
# File 'lib/google/cloud/tasks/v2beta2/cloud_tasks/client.rb', line 2796

def upload_queue_yaml
  @upload_queue_yaml
end