Class: Google::Ads::GoogleAds::V16::Services::OfflineUserDataJobService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V16::Services::OfflineUserDataJobService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v16/services/offline_user_data_job_service/client.rb
Overview
Configuration RPC class for the OfflineUserDataJobService 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_offline_user_data_job_operations ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘add_offline_user_data_job_operations`.
-
#create_offline_user_data_job ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘create_offline_user_data_job`.
-
#run_offline_user_data_job ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘run_offline_user_data_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.
676 677 678 679 680 681 682 683 684 685 |
# File 'lib/google/ads/google_ads/v16/services/offline_user_data_job_service/client.rb', line 676 def initialize parent_rpcs = nil create_offline_user_data_job_config = parent_rpcs.create_offline_user_data_job if parent_rpcs.respond_to? :create_offline_user_data_job @create_offline_user_data_job = ::Gapic::Config::Method.new create_offline_user_data_job_config add_offline_user_data_job_operations_config = parent_rpcs.add_offline_user_data_job_operations if parent_rpcs.respond_to? :add_offline_user_data_job_operations @add_offline_user_data_job_operations = ::Gapic::Config::Method.new add_offline_user_data_job_operations_config run_offline_user_data_job_config = parent_rpcs.run_offline_user_data_job if parent_rpcs.respond_to? :run_offline_user_data_job @run_offline_user_data_job = ::Gapic::Config::Method.new run_offline_user_data_job_config yield self if block_given? end |
Instance Attribute Details
#add_offline_user_data_job_operations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘add_offline_user_data_job_operations`
668 669 670 |
# File 'lib/google/ads/google_ads/v16/services/offline_user_data_job_service/client.rb', line 668 def add_offline_user_data_job_operations @add_offline_user_data_job_operations end |
#create_offline_user_data_job ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘create_offline_user_data_job`
663 664 665 |
# File 'lib/google/ads/google_ads/v16/services/offline_user_data_job_service/client.rb', line 663 def create_offline_user_data_job @create_offline_user_data_job end |
#run_offline_user_data_job ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘run_offline_user_data_job`
673 674 675 |
# File 'lib/google/ads/google_ads/v16/services/offline_user_data_job_service/client.rb', line 673 def run_offline_user_data_job @run_offline_user_data_job end |