class Google::Cloud::Shell::V1::CloudShellService::Client::Configuration::Rpcs

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

add_public_key[R]

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

authorize_environment[R]

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

get_environment[R]

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

remove_public_key[R]

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

start_environment[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/shell/v1/cloud_shell_service/client.rb, line 727
def initialize parent_rpcs = nil
  get_environment_config = parent_rpcs.get_environment if parent_rpcs.respond_to? :get_environment
  @get_environment = ::Gapic::Config::Method.new get_environment_config
  start_environment_config = parent_rpcs.start_environment if parent_rpcs.respond_to? :start_environment
  @start_environment = ::Gapic::Config::Method.new start_environment_config
  authorize_environment_config = parent_rpcs.authorize_environment if parent_rpcs.respond_to? :authorize_environment
  @authorize_environment = ::Gapic::Config::Method.new authorize_environment_config
  add_public_key_config = parent_rpcs.add_public_key if parent_rpcs.respond_to? :add_public_key
  @add_public_key = ::Gapic::Config::Method.new add_public_key_config
  remove_public_key_config = parent_rpcs.remove_public_key if parent_rpcs.respond_to? :remove_public_key
  @remove_public_key = ::Gapic::Config::Method.new remove_public_key_config

  yield self if block_given?
end