class Google::Cloud::Talent::V4::CompanyService::Client::Configuration::Rpcs

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

Attributes

create_company[R]

RPC-specific configuration for `create_company` @return [::Gapic::Config::Method]

delete_company[R]

RPC-specific configuration for `delete_company` @return [::Gapic::Config::Method]

get_company[R]

RPC-specific configuration for `get_company` @return [::Gapic::Config::Method]

list_companies[R]

RPC-specific configuration for `list_companies` @return [::Gapic::Config::Method]

update_company[R]

RPC-specific configuration for `update_company` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/talent/v4/company_service/client.rb, line 706
def initialize parent_rpcs = nil
  create_company_config = parent_rpcs.create_company if parent_rpcs.respond_to? :create_company
  @create_company = ::Gapic::Config::Method.new create_company_config
  get_company_config = parent_rpcs.get_company if parent_rpcs.respond_to? :get_company
  @get_company = ::Gapic::Config::Method.new get_company_config
  update_company_config = parent_rpcs.update_company if parent_rpcs.respond_to? :update_company
  @update_company = ::Gapic::Config::Method.new update_company_config
  delete_company_config = parent_rpcs.delete_company if parent_rpcs.respond_to? :delete_company
  @delete_company = ::Gapic::Config::Method.new delete_company_config
  list_companies_config = parent_rpcs.list_companies if parent_rpcs.respond_to? :list_companies
  @list_companies = ::Gapic::Config::Method.new list_companies_config

  yield self if block_given?
end