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.
    • :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

Returns:

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


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

def create_api
  @create_api
end

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

RPC-specific configuration for create_api_config

Returns:

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


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

def create_api_config
  @create_api_config
end

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

RPC-specific configuration for create_gateway

Returns:

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


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

def create_gateway
  @create_gateway
end

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

RPC-specific configuration for delete_api

Returns:

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


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

def delete_api
  @delete_api
end

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

RPC-specific configuration for delete_api_config

Returns:

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


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

def delete_api_config
  @delete_api_config
end

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

RPC-specific configuration for delete_gateway

Returns:

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


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

def delete_gateway
  @delete_gateway
end

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

RPC-specific configuration for get_api

Returns:

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


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

def get_api
  @get_api
end

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

RPC-specific configuration for get_api_config

Returns:

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


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

def get_api_config
  @get_api_config
end

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

RPC-specific configuration for get_gateway

Returns:

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


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

def get_gateway
  @get_gateway
end

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

RPC-specific configuration for list_api_configs

Returns:

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


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

def list_api_configs
  @list_api_configs
end

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

RPC-specific configuration for list_apis

Returns:

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


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

def list_apis
  @list_apis
end

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

RPC-specific configuration for list_gateways

Returns:

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


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

def list_gateways
  @list_gateways
end

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

RPC-specific configuration for update_api

Returns:

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


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

def update_api
  @update_api
end

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

RPC-specific configuration for update_api_config

Returns:

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


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

def update_api_config
  @update_api_config
end

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

RPC-specific configuration for update_gateway

Returns:

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


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

def update_gateway
  @update_gateway
end