class Google::Ads::GoogleAds::V8::Services::KeywordPlanService::Client::Configuration::Rpcs

Configuration RPC class for the KeywordPlanService 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_forecast_curve[R]

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

generate_forecast_metrics[R]

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

generate_forecast_time_series[R]

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

generate_historical_metrics[R]

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

get_keyword_plan[R]

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

mutate_keyword_plans[R]

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

Public Class Methods

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

@private

# File lib/google/ads/google_ads/v8/services/keyword_plan_service/client.rb, line 820
def initialize parent_rpcs = nil
  get_keyword_plan_config = parent_rpcs.get_keyword_plan if parent_rpcs.respond_to? :get_keyword_plan
  @get_keyword_plan = ::Gapic::Config::Method.new get_keyword_plan_config
  mutate_keyword_plans_config = parent_rpcs.mutate_keyword_plans if parent_rpcs.respond_to? :mutate_keyword_plans
  @mutate_keyword_plans = ::Gapic::Config::Method.new mutate_keyword_plans_config
  generate_forecast_curve_config = parent_rpcs.generate_forecast_curve if parent_rpcs.respond_to? :generate_forecast_curve
  @generate_forecast_curve = ::Gapic::Config::Method.new generate_forecast_curve_config
  generate_forecast_time_series_config = parent_rpcs.generate_forecast_time_series if parent_rpcs.respond_to? :generate_forecast_time_series
  @generate_forecast_time_series = ::Gapic::Config::Method.new generate_forecast_time_series_config
  generate_forecast_metrics_config = parent_rpcs.generate_forecast_metrics if parent_rpcs.respond_to? :generate_forecast_metrics
  @generate_forecast_metrics = ::Gapic::Config::Method.new generate_forecast_metrics_config
  generate_historical_metrics_config = parent_rpcs.generate_historical_metrics if parent_rpcs.respond_to? :generate_historical_metrics
  @generate_historical_metrics = ::Gapic::Config::Method.new generate_historical_metrics_config

  yield self if block_given?
end