class Google::Ads::GoogleAds::V7::Services::ReachPlanService::Client::Configuration::Rpcs

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

generate_product_mix_ideas[R]

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

generate_reach_forecast[R]

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

list_plannable_locations[R]

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

list_plannable_products[R]

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

Public Class Methods

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

@private

# File lib/google/ads/google_ads/v7/services/reach_plan_service/client.rb, line 661
def initialize parent_rpcs = nil
  list_plannable_locations_config = parent_rpcs.list_plannable_locations if parent_rpcs.respond_to? :list_plannable_locations
  @list_plannable_locations = ::Gapic::Config::Method.new list_plannable_locations_config
  list_plannable_products_config = parent_rpcs.list_plannable_products if parent_rpcs.respond_to? :list_plannable_products
  @list_plannable_products = ::Gapic::Config::Method.new list_plannable_products_config
  generate_product_mix_ideas_config = parent_rpcs.generate_product_mix_ideas if parent_rpcs.respond_to? :generate_product_mix_ideas
  @generate_product_mix_ideas = ::Gapic::Config::Method.new generate_product_mix_ideas_config
  generate_reach_forecast_config = parent_rpcs.generate_reach_forecast if parent_rpcs.respond_to? :generate_reach_forecast
  @generate_reach_forecast = ::Gapic::Config::Method.new generate_reach_forecast_config

  yield self if block_given?
end