Class: Google::Cloud::Vision::V1p3beta1::ProductSearch::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1p3beta1/product_search/client.rb

Overview

Configuration RPC class for the ProductSearch 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_product_to_product_set::Gapic::Config::Method (readonly)

RPC-specific configuration for add_product_to_product_set

Returns:

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


2340
2341
2342
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2340

def add_product_to_product_set
  @add_product_to_product_set
end

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

RPC-specific configuration for create_product

Returns:

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


2295
2296
2297
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2295

def create_product
  @create_product
end

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

RPC-specific configuration for create_product_set

Returns:

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


2270
2271
2272
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2270

def create_product_set
  @create_product_set
end

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

RPC-specific configuration for create_reference_image

Returns:

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


2320
2321
2322
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2320

def create_reference_image
  @create_reference_image
end

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

RPC-specific configuration for delete_product

Returns:

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


2315
2316
2317
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2315

def delete_product
  @delete_product
end

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

RPC-specific configuration for delete_product_set

Returns:

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


2290
2291
2292
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2290

def delete_product_set
  @delete_product_set
end

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

RPC-specific configuration for delete_reference_image

Returns:

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


2325
2326
2327
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2325

def delete_reference_image
  @delete_reference_image
end

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

RPC-specific configuration for get_product

Returns:

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


2305
2306
2307
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2305

def get_product
  @get_product
end

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

RPC-specific configuration for get_product_set

Returns:

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


2280
2281
2282
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2280

def get_product_set
  @get_product_set
end

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

RPC-specific configuration for get_reference_image

Returns:

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


2335
2336
2337
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2335

def get_reference_image
  @get_reference_image
end

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

RPC-specific configuration for import_product_sets

Returns:

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


2355
2356
2357
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2355

def import_product_sets
  @import_product_sets
end

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

RPC-specific configuration for list_product_sets

Returns:

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


2275
2276
2277
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2275

def list_product_sets
  @list_product_sets
end

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

RPC-specific configuration for list_products

Returns:

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


2300
2301
2302
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2300

def list_products
  @list_products
end

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

RPC-specific configuration for list_products_in_product_set

Returns:

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


2350
2351
2352
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2350

def list_products_in_product_set
  @list_products_in_product_set
end

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

RPC-specific configuration for list_reference_images

Returns:

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


2330
2331
2332
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2330

def list_reference_images
  @list_reference_images
end

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

RPC-specific configuration for remove_product_from_product_set

Returns:

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


2345
2346
2347
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2345

def remove_product_from_product_set
  @remove_product_from_product_set
end

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

RPC-specific configuration for update_product

Returns:

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


2310
2311
2312
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2310

def update_product
  @update_product
end

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

RPC-specific configuration for update_product_set

Returns:

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


2285
2286
2287
# File 'lib/google/cloud/vision/v1p3beta1/product_search/client.rb', line 2285

def update_product_set
  @update_product_set
end