Class: Google::Ads::GoogleAds::V22::Services::BatchJobService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V22::Services::BatchJobService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v22/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 secondsmetadata(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.:jitter(type:Numeric) - The jitter in seconds. Default: 1.0.: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.
841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'lib/google/ads/google_ads/v22/services/batch_job_service/client.rb', line 841 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
838 839 840 |
# File 'lib/google/ads/google_ads/v22/services/batch_job_service/client.rb', line 838 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
828 829 830 |
# File 'lib/google/ads/google_ads/v22/services/batch_job_service/client.rb', line 828 def list_batch_job_results @list_batch_job_results end |
#mutate_batch_job ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for mutate_batch_job
823 824 825 |
# File 'lib/google/ads/google_ads/v22/services/batch_job_service/client.rb', line 823 def mutate_batch_job @mutate_batch_job end |
#run_batch_job ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for run_batch_job
833 834 835 |
# File 'lib/google/ads/google_ads/v22/services/batch_job_service/client.rb', line 833 def run_batch_job @run_batch_job end |