Class: Google::Cloud::ApiHub::V1::ApiHubPlugin::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb

Overview

Configuration RPC class for the ApiHubPlugin 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.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for disable_plugin

Returns:

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


604
605
606
# File 'lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb', line 604

def disable_plugin
  @disable_plugin
end

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

RPC-specific configuration for enable_plugin

Returns:

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


599
600
601
# File 'lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb', line 599

def enable_plugin
  @enable_plugin
end

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

RPC-specific configuration for get_plugin

Returns:

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


594
595
596
# File 'lib/google/cloud/api_hub/v1/api_hub_plugin/rest/client.rb', line 594

def get_plugin
  @get_plugin
end