Class: Google::Ads::GoogleAds::V15::Services::AudienceInsightsService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Ads::GoogleAds::V15::Services::AudienceInsightsService::Client::Configuration::Rpcs
- Defined in:
- lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb
Overview
Configuration RPC class for the AudienceInsightsService 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_audience_composition_insights ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘generate_audience_composition_insights`.
-
#generate_insights_finder_report ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘generate_insights_finder_report`.
-
#generate_suggested_targeting_insights ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘generate_suggested_targeting_insights`.
-
#list_audience_insights_attributes ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘list_audience_insights_attributes`.
-
#list_insights_eligible_dates ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for ‘list_insights_eligible_dates`.
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.
845 846 847 848 849 850 851 852 853 854 855 856 857 858 |
# File 'lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb', line 845 def initialize parent_rpcs = nil generate_insights_finder_report_config = parent_rpcs.generate_insights_finder_report if parent_rpcs.respond_to? :generate_insights_finder_report @generate_insights_finder_report = ::Gapic::Config::Method.new generate_insights_finder_report_config list_audience_insights_attributes_config = parent_rpcs.list_audience_insights_attributes if parent_rpcs.respond_to? :list_audience_insights_attributes @list_audience_insights_attributes = ::Gapic::Config::Method.new list_audience_insights_attributes_config list_insights_eligible_dates_config = parent_rpcs.list_insights_eligible_dates if parent_rpcs.respond_to? :list_insights_eligible_dates @list_insights_eligible_dates = ::Gapic::Config::Method.new list_insights_eligible_dates_config generate_audience_composition_insights_config = parent_rpcs.generate_audience_composition_insights if parent_rpcs.respond_to? :generate_audience_composition_insights @generate_audience_composition_insights = ::Gapic::Config::Method.new generate_audience_composition_insights_config generate_suggested_targeting_insights_config = parent_rpcs.generate_suggested_targeting_insights if parent_rpcs.respond_to? :generate_suggested_targeting_insights @generate_suggested_targeting_insights = ::Gapic::Config::Method.new generate_suggested_targeting_insights_config yield self if block_given? end |
Instance Attribute Details
#generate_audience_composition_insights ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘generate_audience_composition_insights`
837 838 839 |
# File 'lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb', line 837 def generate_audience_composition_insights @generate_audience_composition_insights end |
#generate_insights_finder_report ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘generate_insights_finder_report`
822 823 824 |
# File 'lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb', line 822 def generate_insights_finder_report @generate_insights_finder_report end |
#generate_suggested_targeting_insights ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘generate_suggested_targeting_insights`
842 843 844 |
# File 'lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb', line 842 def generate_suggested_targeting_insights @generate_suggested_targeting_insights end |
#list_audience_insights_attributes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘list_audience_insights_attributes`
827 828 829 |
# File 'lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb', line 827 def list_audience_insights_attributes @list_audience_insights_attributes end |
#list_insights_eligible_dates ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for ‘list_insights_eligible_dates`
832 833 834 |
# File 'lib/google/ads/google_ads/v15/services/audience_insights_service/client.rb', line 832 def list_insights_eligible_dates @list_insights_eligible_dates end |