Class: Google::Cloud::Retail::V2::ProductService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/retail/v2/product_service/client.rb

Overview

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

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

RPC-specific configuration for add_fulfillment_places

Returns:

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


2160
2161
2162
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2160

def add_fulfillment_places
  @add_fulfillment_places
end

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

RPC-specific configuration for add_local_inventories

Returns:

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


2170
2171
2172
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2170

def add_local_inventories
  @add_local_inventories
end

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

RPC-specific configuration for create_product

Returns:

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


2120
2121
2122
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2120

def create_product
  @create_product
end

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

RPC-specific configuration for delete_product

Returns:

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


2140
2141
2142
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2140

def delete_product
  @delete_product
end

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

RPC-specific configuration for get_product

Returns:

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


2125
2126
2127
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2125

def get_product
  @get_product
end

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

RPC-specific configuration for import_products

Returns:

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


2150
2151
2152
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2150

def import_products
  @import_products
end

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

RPC-specific configuration for list_products

Returns:

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


2130
2131
2132
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2130

def list_products
  @list_products
end

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

RPC-specific configuration for purge_products

Returns:

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


2145
2146
2147
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2145

def purge_products
  @purge_products
end

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

RPC-specific configuration for remove_fulfillment_places

Returns:

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


2165
2166
2167
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2165

def remove_fulfillment_places
  @remove_fulfillment_places
end

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

RPC-specific configuration for remove_local_inventories

Returns:

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


2175
2176
2177
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2175

def remove_local_inventories
  @remove_local_inventories
end

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

RPC-specific configuration for set_inventory

Returns:

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


2155
2156
2157
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2155

def set_inventory
  @set_inventory
end

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

RPC-specific configuration for update_product

Returns:

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


2135
2136
2137
# File 'lib/google/cloud/retail/v2/product_service/client.rb', line 2135

def update_product
  @update_product
end