class Google::Cloud::OsConfig::V1::OsConfigService::Client::Configuration::Rpcs

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

cancel_patch_job[R]

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

create_patch_deployment[R]

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

delete_patch_deployment[R]

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

execute_patch_job[R]

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

get_patch_deployment[R]

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

get_patch_job[R]

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

list_patch_deployments[R]

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

list_patch_job_instance_details[R]

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

list_patch_jobs[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/os_config/v1/os_config_service/client.rb, line 1012
def initialize parent_rpcs = nil
  execute_patch_job_config = parent_rpcs.execute_patch_job if parent_rpcs.respond_to? :execute_patch_job
  @execute_patch_job = ::Gapic::Config::Method.new execute_patch_job_config
  get_patch_job_config = parent_rpcs.get_patch_job if parent_rpcs.respond_to? :get_patch_job
  @get_patch_job = ::Gapic::Config::Method.new get_patch_job_config
  cancel_patch_job_config = parent_rpcs.cancel_patch_job if parent_rpcs.respond_to? :cancel_patch_job
  @cancel_patch_job = ::Gapic::Config::Method.new cancel_patch_job_config
  list_patch_jobs_config = parent_rpcs.list_patch_jobs if parent_rpcs.respond_to? :list_patch_jobs
  @list_patch_jobs = ::Gapic::Config::Method.new list_patch_jobs_config
  list_patch_job_instance_details_config = parent_rpcs.list_patch_job_instance_details if parent_rpcs.respond_to? :list_patch_job_instance_details
  @list_patch_job_instance_details = ::Gapic::Config::Method.new list_patch_job_instance_details_config
  create_patch_deployment_config = parent_rpcs.create_patch_deployment if parent_rpcs.respond_to? :create_patch_deployment
  @create_patch_deployment = ::Gapic::Config::Method.new create_patch_deployment_config
  get_patch_deployment_config = parent_rpcs.get_patch_deployment if parent_rpcs.respond_to? :get_patch_deployment
  @get_patch_deployment = ::Gapic::Config::Method.new get_patch_deployment_config
  list_patch_deployments_config = parent_rpcs.list_patch_deployments if parent_rpcs.respond_to? :list_patch_deployments
  @list_patch_deployments = ::Gapic::Config::Method.new list_patch_deployments_config
  delete_patch_deployment_config = parent_rpcs.delete_patch_deployment if parent_rpcs.respond_to? :delete_patch_deployment
  @delete_patch_deployment = ::Gapic::Config::Method.new delete_patch_deployment_config

  yield self if block_given?
end