Class: Google::Ads::GoogleAds::V15::Services::CustomerService::Client::Configuration::Rpcs
- Inherits:
- 
      Object
      
        - Object
- Google::Ads::GoogleAds::V15::Services::CustomerService::Client::Configuration::Rpcs
 
- Defined in:
- lib/google/ads/google_ads/v15/services/customer_service/client.rb
Overview
Configuration RPC class for the CustomerService 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
- 
  
    
      #create_customer_client  ⇒ ::Gapic::Config::Method 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    RPC-specific configuration for ‘create_customer_client`. 
- 
  
    
      #list_accessible_customers  ⇒ ::Gapic::Config::Method 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    RPC-specific configuration for ‘list_accessible_customers`. 
- 
  
    
      #mutate_customer  ⇒ ::Gapic::Config::Method 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    RPC-specific configuration for ‘mutate_customer`. 
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.
| 608 609 610 611 612 613 614 615 616 617 | # File 'lib/google/ads/google_ads/v15/services/customer_service/client.rb', line 608 def initialize parent_rpcs = nil mutate_customer_config = parent_rpcs.mutate_customer if parent_rpcs.respond_to? :mutate_customer @mutate_customer = ::Gapic::Config::Method.new mutate_customer_config list_accessible_customers_config = parent_rpcs.list_accessible_customers if parent_rpcs.respond_to? :list_accessible_customers @list_accessible_customers = ::Gapic::Config::Method.new list_accessible_customers_config create_customer_client_config = parent_rpcs.create_customer_client if parent_rpcs.respond_to? :create_customer_client @create_customer_client = ::Gapic::Config::Method.new create_customer_client_config yield self if block_given? end | 
Instance Attribute Details
#create_customer_client ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘create_customer_client`
| 605 606 607 | # File 'lib/google/ads/google_ads/v15/services/customer_service/client.rb', line 605 def create_customer_client @create_customer_client end | 
#list_accessible_customers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘list_accessible_customers`
| 600 601 602 | # File 'lib/google/ads/google_ads/v15/services/customer_service/client.rb', line 600 def list_accessible_customers @list_accessible_customers end | 
#mutate_customer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘mutate_customer`
| 595 596 597 | # File 'lib/google/ads/google_ads/v15/services/customer_service/client.rb', line 595 def mutate_customer @mutate_customer end |