generated/google-apis-jobs_v4/lib/google/apis/jobs_v4/service.rb
def patch_project_tenant_job(name, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:patch, 'v4/{+name}', options)
          command.request_representation = Google::Apis::JobsV4::Job::Representation
          command.request_object = job_object
          command.response_representation = Google::Apis::JobsV4::Job::Representation
          command.response_class = Google::Apis::JobsV4::Job
          command.params['name'] = name unless name.nil?
          command.query['updateMask'] = update_mask unless update_mask.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
# Updates specified job. Typically, updated contents become visible in search
# results within 10 seconds, but it may take up to 5 minutes.
# @param [String] name
#   Required during job update. The resource name for the job. This is generated
#   by the service when a job is created. The format is "projects/`project_id`/
#   tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
#   jobs/baz". Use of this field in job queries and API calls is preferred over
#   the use of requisition_id since this value is unique.
# @param [Google::Apis::JobsV4::Job] job_object
# @param [String] update_mask
#   Strongly recommended for the best service experience. If update_mask is
#   provided, only the specified fields in job are updated. Otherwise all the
#   fields are updated. A field mask to restrict the fields that are updated. Only
#   top level fields of Job are supported.
# @param [String] fields
#   Selector specifying which fields to include in a partial response.
# @param [String] quota_user
#   Available to use for quota purposes for server-side applications. Can be any
#   arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
#   Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::JobsV4::Job] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::JobsV4::Job]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
Updates specified job. Typically, updated contents become visible in search
results within 10 seconds, but it may take up to 5 minutes.
Updates specified job . Typically updated contents become visible in search results within 10 seconds but it may take up to 5 minutes .
def patch_project_tenant_job(name, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
          command = make_simple_command(:patch, 'v4/{+name}', options)
          command.request_representation = Google::Apis::JobsV4::Job::Representation
          command.request_object = job_object
          command.response_representation = Google::Apis::JobsV4::Job::Representation
          command.response_class = Google::Apis::JobsV4::Job
          command.params['name'] = name unless name.nil?
          command.query['updateMask'] = update_mask unless update_mask.nil?
          command.query['fields'] = fields unless fields.nil?
          command.query['quotaUser'] = quota_user unless quota_user.nil?
          execute_or_queue_command(command, &block)
        end
def patch_project_tenant_job ( name , job_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , & block ) command = make_simple_command ( :patch , 'v4/{+name}' , options ) command . request_representation = Google :: Apis :: JobsV4 :: Job :: Representation command . request_object = job_object command . response_representation = Google :: Apis :: JobsV4 :: Job :: Representation command . response_class = Google :: Apis :: JobsV4 :: Job command . params [ 'name' ] = name unless name . nil? command . query [ 'updateMask' ] = update_mask unless update_mask . nil? command . query [ 'fields' ] = fields unless fields . nil? command . query [ 'quotaUser' ] = quota_user unless quota_user . nil? execute_or_queue_command ( command , & block ) end
Updates specified job.
Updates specified job .
None
Google::Apis::JobsV4::Job
[Google::Apis::ServerError] An error occurred on the server and the request can be retried
[ Google :: Apis :: ServerError ] An error occurred on the server and the request can be retried
[Google::Apis::ClientError] The request is invalid and should not be retried without modification
[ Google :: Apis :: ClientError ] The request is invalid and should not be retried without modification
[Google::Apis::AuthorizationError] Authorization is required
[ Google :: Apis :: AuthorizationError ] Authorization is required
name
job_object
update_mask
fields
quota_user
options
block
options Request-specific options
options Request - specific options
]
Result & error if block supplied
Result & error if block supplied
result
parsed result object
parsed result object
err
error object if request failed
error object if request failed