Class: Google::Ads::GoogleAds::V17::Services::BatchJobService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V17::Services::BatchJobService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v17/services/batch_job_service/client.rb
Overview
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.
Instance Attribute Summary collapse
-
#add_batch_job_operations ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘add_batch_job_operations`.
-
#list_batch_job_results ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘list_batch_job_results`.
-
#mutate_batch_job ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘mutate_batch_job`.
-
#run_batch_job ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘run_batch_job`.
Instance Method Summary collapse
-
#initialize(parent_rpcs = nil) {|_self| ... } ⇒ Rpcs
constructor
A new instance of Rpcs.
Constructor Details
#initialize(parent_rpcs = nil) {|_self| ... } ⇒ Rpcs
Returns a new instance of Rpcs.
793 794 795 796 797 798 799 800 801 802 803 804 |
# File 'lib/google/ads/google_ads/v17/services/batch_job_service/client.rb', line 793 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 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 |
Instance Attribute Details
#add_batch_job_operations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘add_batch_job_operations`
790 791 792 |
# File 'lib/google/ads/google_ads/v17/services/batch_job_service/client.rb', line 790 def add_batch_job_operations @add_batch_job_operations end |
#list_batch_job_results ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘list_batch_job_results`
780 781 782 |
# File 'lib/google/ads/google_ads/v17/services/batch_job_service/client.rb', line 780 def list_batch_job_results @list_batch_job_results end |
#mutate_batch_job ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘mutate_batch_job`
775 776 777 |
# File 'lib/google/ads/google_ads/v17/services/batch_job_service/client.rb', line 775 def mutate_batch_job @mutate_batch_job end |
#run_batch_job ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘run_batch_job`
785 786 787 |
# File 'lib/google/ads/google_ads/v17/services/batch_job_service/client.rb', line 785 def run_batch_job @run_batch_job end |