class Google::Analytics::Data::V1beta::AnalyticsData::Client::Configuration::Rpcs

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

batch_run_pivot_reports[R]

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

batch_run_reports[R]

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

check_compatibility[R]

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

get_metadata[R]

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

run_pivot_report[R]

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

run_realtime_report[R]

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

run_report[R]

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

Public Class Methods

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

@private

# File lib/google/analytics/data/v1beta/analytics_data/client.rb, line 1050
def initialize parent_rpcs = nil
  run_report_config = parent_rpcs.run_report if parent_rpcs.respond_to? :run_report
  @run_report = ::Gapic::Config::Method.new run_report_config
  run_pivot_report_config = parent_rpcs.run_pivot_report if parent_rpcs.respond_to? :run_pivot_report
  @run_pivot_report = ::Gapic::Config::Method.new run_pivot_report_config
  batch_run_reports_config = parent_rpcs.batch_run_reports if parent_rpcs.respond_to? :batch_run_reports
  @batch_run_reports = ::Gapic::Config::Method.new batch_run_reports_config
  batch_run_pivot_reports_config = parent_rpcs.batch_run_pivot_reports if parent_rpcs.respond_to? :batch_run_pivot_reports
  @batch_run_pivot_reports = ::Gapic::Config::Method.new batch_run_pivot_reports_config
  get_metadata_config = parent_rpcs.get_metadata if parent_rpcs.respond_to? :get_metadata
  @get_metadata = ::Gapic::Config::Method.new get_metadata_config
  run_realtime_report_config = parent_rpcs.run_realtime_report if parent_rpcs.respond_to? :run_realtime_report
  @run_realtime_report = ::Gapic::Config::Method.new run_realtime_report_config
  check_compatibility_config = parent_rpcs.check_compatibility if parent_rpcs.respond_to? :check_compatibility
  @check_compatibility = ::Gapic::Config::Method.new check_compatibility_config

  yield self if block_given?
end