Retail V2 API - Class Google::Cloud::Retail::V2::UserEventService::Rest::Client::Configuration::Rpcs (v0.17.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::UserEventService::Rest::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 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.

Inherits

  • Object

Methods

#collect_user_event

def collect_user_event() -> ::Gapic::Config::Method

RPC-specific configuration for collect_user_event

Returns
  • (::Gapic::Config::Method)

#import_user_events

def import_user_events() -> ::Gapic::Config::Method

RPC-specific configuration for import_user_events

Returns
  • (::Gapic::Config::Method)

#purge_user_events

def purge_user_events() -> ::Gapic::Config::Method

RPC-specific configuration for purge_user_events

Returns
  • (::Gapic::Config::Method)

#rejoin_user_events

def rejoin_user_events() -> ::Gapic::Config::Method

RPC-specific configuration for rejoin_user_events

Returns
  • (::Gapic::Config::Method)

#write_user_event

def write_user_event() -> ::Gapic::Config::Method

RPC-specific configuration for write_user_event

Returns
  • (::Gapic::Config::Method)