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)


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

def create_api
  @create_api
end

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

RPC-specific configuration for create_api_config

Returns:

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


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

def create_api_config
  @create_api_config
end

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

RPC-specific configuration for create_gateway

Returns:

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


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

def create_gateway
  @create_gateway
end

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

RPC-specific configuration for delete_api

Returns:

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


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

def delete_api
  @delete_api
end

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

RPC-specific configuration for delete_api_config

Returns:

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


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

def delete_api_config
  @delete_api_config
end

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

RPC-specific configuration for delete_gateway

Returns:

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


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

def delete_gateway
  @delete_gateway
end

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

RPC-specific configuration for get_api

Returns:

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


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

def get_api
  @get_api
end

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

RPC-specific configuration for get_api_config

Returns:

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


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

def get_api_config
  @get_api_config
end

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

RPC-specific configuration for get_gateway

Returns:

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


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

def get_gateway
  @get_gateway
end

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

RPC-specific configuration for list_api_configs

Returns:

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


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

def list_api_configs
  @list_api_configs
end

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

RPC-specific configuration for list_apis

Returns:

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


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

def list_apis
  @list_apis
end

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

RPC-specific configuration for list_gateways

Returns:

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


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

def list_gateways
  @list_gateways
end

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

RPC-specific configuration for update_api

Returns:

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


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

def update_api
  @update_api
end

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

RPC-specific configuration for update_api_config

Returns:

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


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

def update_api_config
  @update_api_config
end

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

RPC-specific configuration for update_gateway

Returns:

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


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

def update_gateway
  @update_gateway
end