class Google::Cloud::Dataflow::V1beta3::Jobs::Client::Configuration::Rpcs

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

aggregated_list_jobs[R]

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

check_active_jobs[R]

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

create_job[R]

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

get_job[R]

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

list_jobs[R]

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

snapshot_job[R]

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

update_job[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/dataflow/v1beta3/jobs/client.rb, line 850
def initialize parent_rpcs = nil
  create_job_config = parent_rpcs.create_job if parent_rpcs.respond_to? :create_job
  @create_job = ::Gapic::Config::Method.new create_job_config
  get_job_config = parent_rpcs.get_job if parent_rpcs.respond_to? :get_job
  @get_job = ::Gapic::Config::Method.new get_job_config
  update_job_config = parent_rpcs.update_job if parent_rpcs.respond_to? :update_job
  @update_job = ::Gapic::Config::Method.new update_job_config
  list_jobs_config = parent_rpcs.list_jobs if parent_rpcs.respond_to? :list_jobs
  @list_jobs = ::Gapic::Config::Method.new list_jobs_config
  aggregated_list_jobs_config = parent_rpcs.aggregated_list_jobs if parent_rpcs.respond_to? :aggregated_list_jobs
  @aggregated_list_jobs = ::Gapic::Config::Method.new aggregated_list_jobs_config
  check_active_jobs_config = parent_rpcs.check_active_jobs if parent_rpcs.respond_to? :check_active_jobs
  @check_active_jobs = ::Gapic::Config::Method.new check_active_jobs_config
  snapshot_job_config = parent_rpcs.snapshot_job if parent_rpcs.respond_to? :snapshot_job
  @snapshot_job = ::Gapic::Config::Method.new snapshot_job_config

  yield self if block_given?
end