Open mirror settings to the API
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=5021) </details> <!--IssueSummary end--> [Main discussion](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4559#note_60117202) Right now there are a number of `mirror` specific attributes that are exposed in the API project entity but they are not able to be set/updated through the API Attributes: * `mirror` * `import_url` (right now is only available on create params => https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/api/projects.rb#L77 we should add it to update as well) * `username_only_import_url` * `mirror_user_id` * `mirror_trigger_builds` * `only_mirror_protected_branches` * `mirror_overwrites_diverged_branches` Bonus: Add attributes for remote mirrors as well * id * url * enabled \cc @DouweM
issue