module Gitlab::Client::Pipelines

def update_pipeline_metadata(project, id, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) -

Options Hash: (**options)
  • :name (String) -- The new name of the pipeline.

Parameters:
  • id (Integer) -- The ID of a pipeline.
  • project (Integer, String) -- The ID or name of a project.
def update_pipeline_metadata(project, id, options = {})
  put("/projects/#{url_encode project}/pipelines/#{id}/metadata", body: options)
end