Class: Google::Cloud::Talent::V4beta1::JobServiceClient
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::JobServiceClient
- Defined in:
- lib/google/cloud/talent/v4beta1/job_service_client.rb,
lib/google/cloud/talent/v4beta1/helpers.rb
Overview
A service handles job management, including job CRUD, enumeration and search.
Defined Under Namespace
Classes: OperationsClient
Constant Summary collapse
- SERVICE_ADDRESS =
The default address of the service.
"jobs.googleapis.com".freeze
- DEFAULT_SERVICE_PORT =
The default port of the service.
443
- GRPC_INTERCEPTORS =
The default set of gRPC interceptors.
[]
- DEFAULT_TIMEOUT =
30
- ALL_SCOPES =
The scopes needed to make gRPC calls to all of the methods defined in this service.
[ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/jobs" ].freeze
Class Method Summary collapse
-
.company_path(project, tenant, company) ⇒ String
Returns a fully-qualified company resource name string.
-
.company_without_tenant_path(project, company) ⇒ String
Returns a fully-qualified company_without_tenant resource name string.
-
.job_path(project, tenant, jobs) ⇒ String
Returns a fully-qualified job resource name string.
-
.job_without_tenant_path(project, jobs) ⇒ String
Returns a fully-qualified job_without_tenant resource name string.
-
.project_path(project) ⇒ String
Returns a fully-qualified project resource name string.
-
.tenant_path(project, tenant) ⇒ String
Returns a fully-qualified tenant resource name string.
Instance Method Summary collapse
-
#batch_create_jobs(parent, jobs, options: nil) ⇒ Google::Gax::Operation
Begins executing a batch create jobs operation.
-
#batch_delete_jobs(parent, filter, options: nil) {|result, operation| ... } ⇒ Object
Deletes a list of Jobs by filter.
-
#batch_update_jobs(parent, jobs, update_mask: nil, options: nil) ⇒ Google::Gax::Operation
Begins executing a batch update jobs operation.
-
#company_path(project, tenant, company) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.company_path.
-
#company_without_tenant_path(project, company) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.company_without_tenant_path.
-
#create_job(parent, job, options: nil) {|result, operation| ... } ⇒ Google::Cloud::Talent::V4beta1::Job
Creates a new job.
-
#delete_job(name, options: nil) {|result, operation| ... } ⇒ Object
Deletes the specified job.
-
#get_job(name, options: nil) {|result, operation| ... } ⇒ Google::Cloud::Talent::V4beta1::Job
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
-
#initialize(credentials: nil, scopes: ALL_SCOPES, client_config: {}, timeout: DEFAULT_TIMEOUT, metadata: nil, service_address: nil, service_port: nil, exception_transformer: nil, lib_name: nil, lib_version: "") ⇒ JobServiceClient
constructor
A new instance of JobServiceClient.
-
#job_path(project, tenant, jobs) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.job_path.
-
#job_without_tenant_path(project, jobs) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.job_without_tenant_path.
-
#list_jobs(parent, filter, page_size: nil, job_view: nil, options: nil) {|result, operation| ... } ⇒ Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::Job>
Lists jobs by filter.
-
#project_path(project) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.project_path.
-
#search_jobs(parent, request_metadata, search_mode: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, options: nil) {|result, operation| ... } ⇒ Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>
Searches for jobs using the provided SearchJobsRequest.
-
#search_jobs_for_alert(parent, request_metadata, search_mode: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, options: nil) {|result, operation| ... } ⇒ Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>
Searches for jobs using the provided SearchJobsRequest.
-
#tenant_path(project, tenant) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.tenant_path.
-
#update_job(job, update_mask: nil, options: nil) {|result, operation| ... } ⇒ Google::Cloud::Talent::V4beta1::Job
Updates specified job.
Constructor Details
#initialize(credentials: nil, scopes: ALL_SCOPES, client_config: {}, timeout: DEFAULT_TIMEOUT, metadata: nil, service_address: nil, service_port: nil, exception_transformer: nil, lib_name: nil, lib_version: "") ⇒ JobServiceClient
Returns a new instance of JobServiceClient.
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 223 def initialize \ credentials: nil, scopes: ALL_SCOPES, client_config: {}, timeout: DEFAULT_TIMEOUT, metadata: nil, service_address: nil, service_port: nil, exception_transformer: nil, lib_name: nil, lib_version: "" # These require statements are intentionally placed here to initialize # the gRPC module only when it's required. # See https://github.com/googleapis/toolkit/issues/446 require "google/gax/grpc" require "google/cloud/talent/v4beta1/job_service_services_pb" credentials ||= Google::Cloud::Talent::V4beta1::Credentials.default @operations_client = OperationsClient.new( credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, service_address: service_address, service_port: service_port, lib_version: lib_version, metadata: , ) if credentials.is_a?(String) || credentials.is_a?(Hash) updater_proc = Google::Cloud::Talent::V4beta1::Credentials.new(credentials).updater_proc end if credentials.is_a?(GRPC::Core::Channel) channel = credentials end if credentials.is_a?(GRPC::Core::ChannelCredentials) chan_creds = credentials end if credentials.is_a?(Proc) updater_proc = credentials end if credentials.is_a?(Google::Auth::Credentials) updater_proc = credentials.updater_proc end package_version = Google::Cloud::Talent::VERSION google_api_client = "gl-ruby/#{RUBY_VERSION}" google_api_client << " #{lib_name}/#{lib_version}" if lib_name google_api_client << " gapic/#{package_version} gax/#{Google::Gax::VERSION}" google_api_client << " grpc/#{GRPC::VERSION}" google_api_client.freeze headers = { :"x-goog-api-client" => google_api_client } headers.merge!() unless .nil? client_config_file = Pathname.new(__dir__).join( "job_service_client_config.json" ) defaults = client_config_file.open do |f| Google::Gax.construct_settings( "google.cloud.talent.v4beta1.JobService", JSON.parse(f.read), client_config, Google::Gax::Grpc::STATUS_CODE_NAMES, timeout, page_descriptors: PAGE_DESCRIPTORS, errors: Google::Gax::Grpc::API_ERRORS, metadata: headers ) end # Allow overriding the service path/port in subclasses. service_path = service_address || self.class::SERVICE_ADDRESS port = service_port || self.class::DEFAULT_SERVICE_PORT interceptors = self.class::GRPC_INTERCEPTORS @job_service_stub = Google::Gax::Grpc.create_stub( service_path, port, chan_creds: chan_creds, channel: channel, updater_proc: updater_proc, scopes: scopes, interceptors: interceptors, &Google::Cloud::Talent::V4beta1::JobService::Stub.method(:new) ) @create_job = Google::Gax.create_api_call( @job_service_stub.method(:create_job), defaults["create_job"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) @get_job = Google::Gax.create_api_call( @job_service_stub.method(:get_job), defaults["get_job"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'name' => request.name} end ) @update_job = Google::Gax.create_api_call( @job_service_stub.method(:update_job), defaults["update_job"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'job.name' => request.job.name} end ) @delete_job = Google::Gax.create_api_call( @job_service_stub.method(:delete_job), defaults["delete_job"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'name' => request.name} end ) @list_jobs = Google::Gax.create_api_call( @job_service_stub.method(:list_jobs), defaults["list_jobs"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) @batch_delete_jobs = Google::Gax.create_api_call( @job_service_stub.method(:batch_delete_jobs), defaults["batch_delete_jobs"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) @search_jobs = Google::Gax.create_api_call( @job_service_stub.method(:search_jobs), defaults["search_jobs"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) @search_jobs_for_alert = Google::Gax.create_api_call( @job_service_stub.method(:search_jobs_for_alert), defaults["search_jobs_for_alert"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) @batch_create_jobs = Google::Gax.create_api_call( @job_service_stub.method(:batch_create_jobs), defaults["batch_create_jobs"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) @batch_update_jobs = Google::Gax.create_api_call( @job_service_stub.method(:batch_update_jobs), defaults["batch_update_jobs"], exception_transformer: exception_transformer, params_extractor: proc do |request| {'parent' => request.parent} end ) end |
Class Method Details
.company_path(project, tenant, company) ⇒ String
Returns a fully-qualified company resource name string.
127 128 129 130 131 132 133 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 127 def self.company_path project, tenant, company COMPANY_PATH_TEMPLATE.render( :"project" => project, :"tenant" => tenant, :"company" => company ) end |
.company_without_tenant_path(project, company) ⇒ String
Returns a fully-qualified company_without_tenant resource name string.
139 140 141 142 143 144 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 139 def self.company_without_tenant_path project, company COMPANY_WITHOUT_TENANT_PATH_TEMPLATE.render( :"project" => project, :"company" => company ) end |
.job_path(project, tenant, jobs) ⇒ String
Returns a fully-qualified job resource name string.
151 152 153 154 155 156 157 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 151 def self.job_path project, tenant, jobs JOB_PATH_TEMPLATE.render( :"project" => project, :"tenant" => tenant, :"jobs" => jobs ) end |
.job_without_tenant_path(project, jobs) ⇒ String
Returns a fully-qualified job_without_tenant resource name string.
163 164 165 166 167 168 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 163 def self.job_without_tenant_path project, jobs JOB_WITHOUT_TENANT_PATH_TEMPLATE.render( :"project" => project, :"jobs" => jobs ) end |
.project_path(project) ⇒ String
Returns a fully-qualified project resource name string.
173 174 175 176 177 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 173 def self.project_path project PROJECT_PATH_TEMPLATE.render( :"project" => project ) end |
.tenant_path(project, tenant) ⇒ String
Returns a fully-qualified tenant resource name string.
183 184 185 186 187 188 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 183 def self.tenant_path project, tenant TENANT_PATH_TEMPLATE.render( :"project" => project, :"tenant" => tenant ) end |
Instance Method Details
#batch_create_jobs(parent, jobs, options: nil) ⇒ Google::Gax::Operation
Begins executing a batch create jobs operation.
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 1456 def batch_create_jobs \ parent, jobs, options: nil req = { parent: parent, jobs: jobs }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::BatchCreateJobsRequest) operation = Google::Gax::Operation.new( @batch_create_jobs.call(req, ), @operations_client, Google::Cloud::Talent::V4beta1::JobOperationResult, Google::Cloud::Talent::V4beta1::BatchOperationMetadata, call_options: ) operation.on_done { |operation| yield(operation) } if block_given? operation end |
#batch_delete_jobs(parent, filter, options: nil) {|result, operation| ... } ⇒ Object
Deletes a list of Jobs by filter.
696 697 698 699 700 701 702 703 704 705 706 707 708 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 696 def batch_delete_jobs \ parent, filter, options: nil, &block req = { parent: parent, filter: filter }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::BatchDeleteJobsRequest) @batch_delete_jobs.call(req, , &block) nil end |
#batch_update_jobs(parent, jobs, update_mask: nil, options: nil) ⇒ Google::Gax::Operation
Begins executing a batch update jobs operation.
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 1551 def batch_update_jobs \ parent, jobs, update_mask: nil, options: nil req = { parent: parent, jobs: jobs, update_mask: update_mask }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::BatchUpdateJobsRequest) operation = Google::Gax::Operation.new( @batch_update_jobs.call(req, ), @operations_client, Google::Cloud::Talent::V4beta1::JobOperationResult, Google::Cloud::Talent::V4beta1::BatchOperationMetadata, call_options: ) operation.on_done { |operation| yield(operation) } if block_given? operation end |
#company_path(project, tenant, company) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.company_path.
79 80 81 |
# File 'lib/google/cloud/talent/v4beta1/helpers.rb', line 79 def company_path project, tenant, company self.class.company_path project, tenant, company end |
#company_without_tenant_path(project, company) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.company_without_tenant_path.
87 88 89 |
# File 'lib/google/cloud/talent/v4beta1/helpers.rb', line 87 def company_without_tenant_path project, company self.class.company_without_tenant_path project, company end |
#create_job(parent, job, options: nil) {|result, operation| ... } ⇒ Google::Cloud::Talent::V4beta1::Job
Creates a new job.
Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes.
428 429 430 431 432 433 434 435 436 437 438 439 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 428 def create_job \ parent, job, options: nil, &block req = { parent: parent, job: job }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::CreateJobRequest) @create_job.call(req, , &block) end |
#delete_job(name, options: nil) {|result, operation| ... } ⇒ Object
Deletes the specified job.
Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
558 559 560 561 562 563 564 565 566 567 568 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 558 def delete_job \ name, options: nil, &block req = { name: name }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::DeleteJobRequest) @delete_job.call(req, , &block) nil end |
#get_job(name, options: nil) {|result, operation| ... } ⇒ Google::Cloud::Talent::V4beta1::Job
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days.
468 469 470 471 472 473 474 475 476 477 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 468 def get_job \ name, options: nil, &block req = { name: name }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::GetJobRequest) @get_job.call(req, , &block) end |
#job_path(project, tenant, jobs) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.job_path.
96 97 98 |
# File 'lib/google/cloud/talent/v4beta1/helpers.rb', line 96 def job_path project, tenant, jobs self.class.job_path project, tenant, jobs end |
#job_without_tenant_path(project, jobs) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.job_without_tenant_path.
104 105 106 |
# File 'lib/google/cloud/talent/v4beta1/helpers.rb', line 104 def job_without_tenant_path project, jobs self.class.job_without_tenant_path project, jobs end |
#list_jobs(parent, filter, page_size: nil, job_view: nil, options: nil) {|result, operation| ... } ⇒ Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::Job>
Lists jobs by filter.
642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 642 def list_jobs \ parent, filter, page_size: nil, job_view: nil, options: nil, &block req = { parent: parent, filter: filter, page_size: page_size, job_view: job_view }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::ListJobsRequest) @list_jobs.call(req, , &block) end |
#project_path(project) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.project_path.
111 112 113 |
# File 'lib/google/cloud/talent/v4beta1/helpers.rb', line 111 def project_path project self.class.project_path project end |
#search_jobs(parent, request_metadata, search_mode: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, options: nil) {|result, operation| ... } ⇒ Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>
Searches for jobs using the provided SearchJobsRequest.
This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against.
1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 1017 def search_jobs \ parent, , search_mode: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, options: nil, &block req = { parent: parent, request_metadata: , search_mode: search_mode, job_query: job_query, enable_broadening: enable_broadening, require_precise_result_size: require_precise_result_size, histogram_queries: histogram_queries, job_view: job_view, offset: offset, page_size: page_size, order_by: order_by, diversification_level: diversification_level, custom_ranking_info: custom_ranking_info, disable_keyword_match: disable_keyword_match }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::SearchJobsRequest) @search_jobs.call(req, , &block) end |
#search_jobs_for_alert(parent, request_metadata, search_mode: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, options: nil) {|result, operation| ... } ⇒ Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>
Searches for jobs using the provided SearchJobsRequest.
This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers.
This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against.
1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 1366 def search_jobs_for_alert \ parent, , search_mode: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, options: nil, &block req = { parent: parent, request_metadata: , search_mode: search_mode, job_query: job_query, enable_broadening: enable_broadening, require_precise_result_size: require_precise_result_size, histogram_queries: histogram_queries, job_view: job_view, offset: offset, page_size: page_size, order_by: order_by, diversification_level: diversification_level, custom_ranking_info: custom_ranking_info, disable_keyword_match: disable_keyword_match }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::SearchJobsRequest) @search_jobs_for_alert.call(req, , &block) end |
#tenant_path(project, tenant) ⇒ String
Alias for Google::Cloud::Talent::V4beta1::JobServiceClient.tenant_path.
119 120 121 |
# File 'lib/google/cloud/talent/v4beta1/helpers.rb', line 119 def tenant_path project, tenant self.class.tenant_path project, tenant end |
#update_job(job, update_mask: nil, options: nil) {|result, operation| ... } ⇒ Google::Cloud::Talent::V4beta1::Job
Updates specified job.
Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
517 518 519 520 521 522 523 524 525 526 527 528 |
# File 'lib/google/cloud/talent/v4beta1/job_service_client.rb', line 517 def update_job \ job, update_mask: nil, options: nil, &block req = { job: job, update_mask: update_mask }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::UpdateJobRequest) @update_job.call(req, , &block) end |