Class: Google::Ads::GoogleAds::V15::Services::ReachPlanService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V15::Services::ReachPlanService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v15/services/reach_plan_service/client.rb
Overview
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.
Instance Attribute Summary collapse
-
#generate_reach_forecast ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘generate_reach_forecast`.
-
#list_plannable_locations ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘list_plannable_locations`.
-
#list_plannable_products ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘list_plannable_products`.
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.
633 634 635 636 637 638 639 640 641 642 |
# File 'lib/google/ads/google_ads/v15/services/reach_plan_service/client.rb', line 633 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_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 |
Instance Attribute Details
#generate_reach_forecast ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘generate_reach_forecast`
630 631 632 |
# File 'lib/google/ads/google_ads/v15/services/reach_plan_service/client.rb', line 630 def generate_reach_forecast @generate_reach_forecast end |
#list_plannable_locations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘list_plannable_locations`
620 621 622 |
# File 'lib/google/ads/google_ads/v15/services/reach_plan_service/client.rb', line 620 def list_plannable_locations @list_plannable_locations end |
#list_plannable_products ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘list_plannable_products`
625 626 627 |
# File 'lib/google/ads/google_ads/v15/services/reach_plan_service/client.rb', line 625 def list_plannable_products @list_plannable_products end |