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)


1713
1714
1715
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1713

def create_api
  @create_api
end

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

RPC-specific configuration for create_api_config

Returns:

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


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

def create_api_config
  @create_api_config
end

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

RPC-specific configuration for create_gateway

Returns:

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


1688
1689
1690
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1688

def create_gateway
  @create_gateway
end

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

RPC-specific configuration for delete_api

Returns:

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


1723
1724
1725
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1723

def delete_api
  @delete_api
end

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

RPC-specific configuration for delete_api_config

Returns:

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


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

def delete_api_config
  @delete_api_config
end

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

RPC-specific configuration for delete_gateway

Returns:

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


1698
1699
1700
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1698

def delete_gateway
  @delete_gateway
end

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

RPC-specific configuration for get_api

Returns:

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


1708
1709
1710
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1708

def get_api
  @get_api
end

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

RPC-specific configuration for get_api_config

Returns:

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


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

def get_api_config
  @get_api_config
end

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

RPC-specific configuration for get_gateway

Returns:

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


1683
1684
1685
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1683

def get_gateway
  @get_gateway
end

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

RPC-specific configuration for list_api_configs

Returns:

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


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

def list_api_configs
  @list_api_configs
end

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

RPC-specific configuration for list_apis

Returns:

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


1703
1704
1705
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1703

def list_apis
  @list_apis
end

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

RPC-specific configuration for list_gateways

Returns:

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


1678
1679
1680
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1678

def list_gateways
  @list_gateways
end

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

RPC-specific configuration for update_api

Returns:

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


1718
1719
1720
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1718

def update_api
  @update_api
end

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

RPC-specific configuration for update_api_config

Returns:

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


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

def update_api_config
  @update_api_config
end

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

RPC-specific configuration for update_gateway

Returns:

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


1693
1694
1695
# File 'lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb', line 1693

def update_gateway
  @update_gateway
end