class Google::Ads::GoogleAds::V8::Services::BatchJobService::Client::Configuration::Rpcs

Configuration RPC class for the BatchJobService 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.

Attributes

add_batch_job_operations[R]

RPC-specific configuration for `add_batch_job_operations` @return [::Gapic::Config::Method]

get_batch_job[R]

RPC-specific configuration for `get_batch_job` @return [::Gapic::Config::Method]

list_batch_job_results[R]

RPC-specific configuration for `list_batch_job_results` @return [::Gapic::Config::Method]

mutate_batch_job[R]

RPC-specific configuration for `mutate_batch_job` @return [::Gapic::Config::Method]

run_batch_job[R]

RPC-specific configuration for `run_batch_job` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/ads/google_ads/v8/services/batch_job_service/client.rb, line 752
def initialize parent_rpcs = nil
  mutate_batch_job_config = parent_rpcs.mutate_batch_job if parent_rpcs.respond_to? :mutate_batch_job
  @mutate_batch_job = ::Gapic::Config::Method.new mutate_batch_job_config
  get_batch_job_config = parent_rpcs.get_batch_job if parent_rpcs.respond_to? :get_batch_job
  @get_batch_job = ::Gapic::Config::Method.new get_batch_job_config
  list_batch_job_results_config = parent_rpcs.list_batch_job_results if parent_rpcs.respond_to? :list_batch_job_results
  @list_batch_job_results = ::Gapic::Config::Method.new list_batch_job_results_config
  run_batch_job_config = parent_rpcs.run_batch_job if parent_rpcs.respond_to? :run_batch_job
  @run_batch_job = ::Gapic::Config::Method.new run_batch_job_config
  add_batch_job_operations_config = parent_rpcs.add_batch_job_operations if parent_rpcs.respond_to? :add_batch_job_operations
  @add_batch_job_operations = ::Gapic::Config::Method.new add_batch_job_operations_config

  yield self if block_given?
end