[[["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 is used for batch connecting GitLab repositories to Cloud Build, and it is currently marked as experimental.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request for this operation is a \u003ccode\u003ePOST\u003c/code\u003e request to a specific URL that includes path parameters like project, location, and GitLab configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should include an array of \u003ccode\u003eCreateGitLabConnectedRepositoryRequest\u003c/code\u003e objects, each specifying a GitLab repository to be connected.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain an \u003ccode\u003eOperation\u003c/code\u003e instance indicating the status of the batch connection request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.gitLabConfigs.connectedRepositories.batchCreate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [CreateGitLabConnectedRepositoryRequest](#CreateGitLabConnectedRepositoryRequest)\n - [JSON representation](#CreateGitLabConnectedRepositoryRequest.SCHEMA_REPRESENTATION)\n- [GitLabConnectedRepository](#GitLabConnectedRepository)\n - [JSON representation](#GitLabConnectedRepository.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nBatch connecting GitLab repositories to Cloud Build.\n\nThis API is experimental.\n\n### HTTP request\n\n`POST https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*/gitLabConfigs/*}/connectedRepositories:batchCreate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an 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/).\n\nCreateGitLabConnectedRepositoryRequest\n--------------------------------------\n\nRequest to connect a repository from a connected GitLab host.\n\nGitLabConnectedRepository\n-------------------------\n\nGitLabConnectedRepository represents a GitLab connected repository request response."]]