public RunnerDetail updateRunner ( Integer runnerId , String description , Boolean active , List < String > tagList , Boolean runUntagged , Boolean locked , RunnerDetail . RunnerAccessLevel accessLevel ) throws GitLabApiException { if ( runnerId == null ) { throw new RuntimeException ( "runnerId cannot be null" ) ; } GitLabApiForm formData = new GitLabApiForm ( ) . withParam ( "description" , description , false ) . withParam ( "active" , active , false ) . withParam ( "tag_list" , tagList , false ) . withParam ( "run_untagged" , runUntagged , false ) . withParam ( "locked" , locked , false ) . withParam ( "access_level" , accessLevel , false ) ; Response response = put ( Response . Status . OK , formData . asMap ( ) , "runners" , runnerId ) ; return ( response . readEntity ( RunnerDetail . class ) ) ; }
Update details of a runner .