Class: Google::Cloud::ApiGateway::V1::ApiGatewayService::Rest::Client::Configuration::Rpcs

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

Overview

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

Instance Attribute Details

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

RPC-specific configuration for create_api



1766
1767
1768
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1766

def create_api
  @create_api
end

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

RPC-specific configuration for create_api_config



1791
1792
1793
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1791

def create_api_config
  @create_api_config
end

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

RPC-specific configuration for create_gateway



1741
1742
1743
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1741

def create_gateway
  @create_gateway
end

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

RPC-specific configuration for delete_api



1776
1777
1778
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1776

def delete_api
  @delete_api
end

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

RPC-specific configuration for delete_api_config



1801
1802
1803
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1801

def delete_api_config
  @delete_api_config
end

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

RPC-specific configuration for delete_gateway



1751
1752
1753
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1751

def delete_gateway
  @delete_gateway
end

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

RPC-specific configuration for get_api



1761
1762
1763
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1761

def get_api
  @get_api
end

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

RPC-specific configuration for get_api_config



1786
1787
1788
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1786

def get_api_config
  @get_api_config
end

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

RPC-specific configuration for get_gateway



1736
1737
1738
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1736

def get_gateway
  @get_gateway
end

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

RPC-specific configuration for list_api_configs



1781
1782
1783
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1781

def list_api_configs
  @list_api_configs
end

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

RPC-specific configuration for list_apis



1756
1757
1758
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1756

def list_apis
  @list_apis
end

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

RPC-specific configuration for list_gateways



1731
1732
1733
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1731

def list_gateways
  @list_gateways
end

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

RPC-specific configuration for update_api



1771
1772
1773
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1771

def update_api
  @update_api
end

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

RPC-specific configuration for update_api_config



1796
1797
1798
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1796

def update_api_config
  @update_api_config
end

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

RPC-specific configuration for update_gateway



1746
1747
1748
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1746

def update_gateway
  @update_gateway
end