module Gitlab::Client::Runners

def update_runner(id, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) -

Options Hash: (**options)
  • :maximum_timeout(optional) (Integer) -- Maximum timeout set when this runner will handle the job
  • :access_level(optional) (String) -- The access_level of the runner; not_protected or ref_protected
  • :locked(optional) (Boolean) -- Flag indicating the runner is locked
  • :run_untagged(optional) (Boolean) -- Flag indicating the runner can execute untagged jobs
  • :tag_list(optional) (String) -- The list of tags for a runner; put array of tags, that should be finally assigned to a runner(separated by comma)
  • :active(optional) (Boolean) -- The state of a runner; can be set to true or false
  • :description(optional) (String) -- The description of a runner

Parameters:
  • options (Hash) -- A customizable set of options.
  • id (Integer, String) -- The ID of a runner

Other tags:
    See: https://docs.gitlab.com/ce/api/runners.html#update-runners-details -
def update_runner(id, options = {})
  put("/runners/#{id}", body: options)
end