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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/retail/v2/catalog_service/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 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_catalog_attribute::Gapic::Config::Method (readonly)

RPC-specific configuration for add_catalog_attribute

Returns:

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


1517
1518
1519
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1517

def add_catalog_attribute
  @add_catalog_attribute
end

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

RPC-specific configuration for get_attributes_config

Returns:

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


1507
1508
1509
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1507

def get_attributes_config
  @get_attributes_config
end

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

RPC-specific configuration for get_completion_config

Returns:

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


1497
1498
1499
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1497

def get_completion_config
  @get_completion_config
end

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

RPC-specific configuration for get_default_branch

Returns:

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


1492
1493
1494
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1492

def get_default_branch
  @get_default_branch
end

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

RPC-specific configuration for list_catalogs

Returns:

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


1477
1478
1479
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1477

def list_catalogs
  @list_catalogs
end

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

RPC-specific configuration for remove_catalog_attribute

Returns:

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


1522
1523
1524
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1522

def remove_catalog_attribute
  @remove_catalog_attribute
end

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

RPC-specific configuration for replace_catalog_attribute

Returns:

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


1527
1528
1529
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1527

def replace_catalog_attribute
  @replace_catalog_attribute
end

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

RPC-specific configuration for set_default_branch

Returns:

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


1487
1488
1489
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1487

def set_default_branch
  @set_default_branch
end

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

RPC-specific configuration for update_attributes_config

Returns:

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


1512
1513
1514
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1512

def update_attributes_config
  @update_attributes_config
end

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

RPC-specific configuration for update_catalog

Returns:

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


1482
1483
1484
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1482

def update_catalog
  @update_catalog
end

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

RPC-specific configuration for update_completion_config

Returns:

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


1502
1503
1504
# File 'lib/google/cloud/retail/v2/catalog_service/client.rb', line 1502

def update_completion_config
  @update_completion_config
end