class Google::Cloud::AppEngine::V1::Versions::Client::Configuration::Rpcs

Configuration RPC class for the Versions 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 gRPC 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.

Attributes

create_version[R]

RPC-specific configuration for `create_version` @return [::Gapic::Config::Method]

delete_version[R]

RPC-specific configuration for `delete_version` @return [::Gapic::Config::Method]

get_version[R]

RPC-specific configuration for `get_version` @return [::Gapic::Config::Method]

list_versions[R]

RPC-specific configuration for `list_versions` @return [::Gapic::Config::Method]

update_version[R]

RPC-specific configuration for `update_version` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/app_engine/v1/versions/client.rb, line 720
def initialize parent_rpcs = nil
  list_versions_config = parent_rpcs.list_versions if parent_rpcs.respond_to? :list_versions
  @list_versions = ::Gapic::Config::Method.new list_versions_config
  get_version_config = parent_rpcs.get_version if parent_rpcs.respond_to? :get_version
  @get_version = ::Gapic::Config::Method.new get_version_config
  create_version_config = parent_rpcs.create_version if parent_rpcs.respond_to? :create_version
  @create_version = ::Gapic::Config::Method.new create_version_config
  update_version_config = parent_rpcs.update_version if parent_rpcs.respond_to? :update_version
  @update_version = ::Gapic::Config::Method.new update_version_config
  delete_version_config = parent_rpcs.delete_version if parent_rpcs.respond_to? :delete_version
  @delete_version = ::Gapic::Config::Method.new delete_version_config

  yield self if block_given?
end