Class: Google::Shopping::Merchant::Accounts::V1beta::EmailPreferencesService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb

Overview

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

Instance Attribute Details

#get_email_preferences::Gapic::Config::Method (readonly)

RPC-specific configuration for get_email_preferences

Returns:

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


520
521
522
# File 'lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb', line 520

def get_email_preferences
  @get_email_preferences
end

#update_email_preferences::Gapic::Config::Method (readonly)

RPC-specific configuration for update_email_preferences

Returns:

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


525
526
527
# File 'lib/google/shopping/merchant/accounts/v1beta/email_preferences_service/client.rb', line 525

def update_email_preferences
  @update_email_preferences
end