Add support for Container Registry Protection Tag Rules API (including immutable tags)
<!--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> - [Collaborate/take over this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=65271576&issueIid=2258) </details> <!--IssueSummary end--> ## New API Support API documentation: - https://docs.gitlab.com/api/container_registry_protection_tag_rules/ ## Additional Details The existing `ContainerRegistryProtectionRulesService` covers the **repository** protection rules (`/registry/protection/repository/rules`), but the **tag** protection rules API (`/registry/protection/tag/rules`) is not yet supported. This API was introduced in GitLab 18.8 (list/create), with update support added in 18.9, and covers both protected and immutable container tags. Endpoints to add: - `GET /projects/:id/registry/protection/tag/rules` (list rules) - `POST /projects/:id/registry/protection/tag/rules` (create rule) - `PATCH /projects/:id/registry/protection/tag/rules/:protection_rule_id` (update rule) - `DELETE /projects/:id/registry/protection/tag/rules/:protection_rule_id` (delete rule) - [ ] I'd like to contribute it myself ## Implementation Guide The code in `client-go` has a strong pattern that is repeatable when adding support for new APIs. - Read the instructions in [CONTRIBUTING.md](https://gitlab.com/gitlab-org/api/client-go/-/blob/main/CONTRIBUTING.md) to get your local development environment set up. - Follow the instructions in [AddingAPISupport.md](https://gitlab.com/gitlab-org/api/client-go/-/blob/main/docs/guides/AddingAPISupport.md). - This file includes instructions for adding all endpoints of an API. - It also describes how to write functions for each type of endpoint, so can be used for adding new endpoint support as well.
issue