class Google::Cloud::Retail::V2::UserEventService::Client::Configuration::Rpcs

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

collect_user_event[R]

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

import_user_events[R]

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

purge_user_events[R]

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

rejoin_user_events[R]

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

write_user_event[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/retail/v2/user_event_service/client.rb, line 755
def initialize parent_rpcs = nil
  write_user_event_config = parent_rpcs.write_user_event if parent_rpcs.respond_to? :write_user_event
  @write_user_event = ::Gapic::Config::Method.new write_user_event_config
  collect_user_event_config = parent_rpcs.collect_user_event if parent_rpcs.respond_to? :collect_user_event
  @collect_user_event = ::Gapic::Config::Method.new collect_user_event_config
  purge_user_events_config = parent_rpcs.purge_user_events if parent_rpcs.respond_to? :purge_user_events
  @purge_user_events = ::Gapic::Config::Method.new purge_user_events_config
  import_user_events_config = parent_rpcs.import_user_events if parent_rpcs.respond_to? :import_user_events
  @import_user_events = ::Gapic::Config::Method.new import_user_events_config
  rejoin_user_events_config = parent_rpcs.rejoin_user_events if parent_rpcs.respond_to? :rejoin_user_events
  @rejoin_user_events = ::Gapic::Config::Method.new rejoin_user_events_config

  yield self if block_given?
end