Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name.
gitlabConfigId must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character
Request body
The request body contains an instance of GitLabConfig.
Response body
If successful, the response body contains a newly created instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-17 UTC."],[[["\u003cp\u003eThis API endpoint is used to create a new \u003ccode\u003eGitLabConfig\u003c/code\u003e within a specified project and location, using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter to identify the project and location, along with an optional \u003ccode\u003egitlabConfigId\u003c/code\u003e query parameter for specifying the config's ID.\u003c/p\u003e\n"],["\u003cp\u003eThe body of the request must contain an instance of \u003ccode\u003eGitLabConfig\u003c/code\u003e, and upon success, the response will contain an instance of \u003ccode\u003eOperation\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis API is currently experimental and requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe url uses gRPC Transcoding syntax.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.gitLabConfigs.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new `GitLabConfig`.\n\nThis API is experimental\n\n### HTTP request\n\n`POST https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*}/gitLabConfigs`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [GitLabConfig](/build/docs/api/reference/rest/v1/projects.locations.gitLabConfigs#GitLabConfig).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/build/docs/api/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]