Class: Google::Cloud::Retail::V2::CatalogService::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::CatalogService::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/retail/v2/catalog_service/rest/client.rb
Overview
Configuration RPC class for the CatalogService 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. -
:jitter(type:Numeric) - The jitter in seconds. Default: 1.0. -
:retry_codes(type:Array<String>) - The error codes that should trigger a retry.
-
Instance Attribute Summary collapse
-
#add_catalog_attribute ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
add_catalog_attribute. -
#get_attributes_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_attributes_config. -
#get_completion_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_completion_config. -
#get_default_branch ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_default_branch. -
#list_catalogs ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_catalogs. -
#remove_catalog_attribute ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
remove_catalog_attribute. -
#replace_catalog_attribute ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
replace_catalog_attribute. -
#set_default_branch ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_default_branch. -
#update_attributes_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_attributes_config. -
#update_catalog ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_catalog. -
#update_completion_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_completion_config.
Instance Attribute Details
#add_catalog_attribute ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for add_catalog_attribute
1423 1424 1425 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1423 def add_catalog_attribute @add_catalog_attribute end |
#get_attributes_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_attributes_config
1413 1414 1415 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1413 def get_attributes_config @get_attributes_config end |
#get_completion_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_completion_config
1403 1404 1405 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1403 def get_completion_config @get_completion_config end |
#get_default_branch ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_default_branch
1398 1399 1400 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1398 def get_default_branch @get_default_branch end |
#list_catalogs ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_catalogs
1383 1384 1385 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1383 def list_catalogs @list_catalogs end |
#remove_catalog_attribute ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for remove_catalog_attribute
1428 1429 1430 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1428 def remove_catalog_attribute @remove_catalog_attribute end |
#replace_catalog_attribute ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for replace_catalog_attribute
1433 1434 1435 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1433 def replace_catalog_attribute @replace_catalog_attribute end |
#set_default_branch ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_default_branch
1393 1394 1395 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1393 def set_default_branch @set_default_branch end |
#update_attributes_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_attributes_config
1418 1419 1420 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1418 def update_attributes_config @update_attributes_config end |
#update_catalog ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_catalog
1388 1389 1390 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1388 def update_catalog @update_catalog end |
#update_completion_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_completion_config
1408 1409 1410 |
# File 'lib/google/cloud/retail/v2/catalog_service/rest/client.rb', line 1408 def update_completion_config @update_completion_config end |