Required. The name of the BitbucketServerConfig that added connected repository. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{config}
[[["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 enables batch connection of Bitbucket Server repositories to Cloud Build using a \u003ccode\u003ePOST\u003c/code\u003e request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e parameter in the request URL and body specifies the Bitbucket Server configuration where the repositories will be connected, following the format \u003ccode\u003eprojects/{project}/locations/{location}/bitbucketServerConfigs/{config}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain an array of \u003ccode\u003eCreateBitbucketServerConnectedRepositoryRequest\u003c/code\u003e objects, each representing a request to connect a Bitbucket Server repository.\u003c/p\u003e\n"],["\u003cp\u003eEach repository connection request includes the \u003ccode\u003eparent\u003c/code\u003e configuration and the \u003ccode\u003eBitbucketServerConnectedRepository\u003c/code\u003e object that contains details about the repo to connect.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will contain an \u003ccode\u003eOperation\u003c/code\u003e instance which indicate the successful connection of the repositories.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.bitbucketServerConfigs.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- [CreateBitbucketServerConnectedRepositoryRequest](#CreateBitbucketServerConnectedRepositoryRequest)\n - [JSON representation](#CreateBitbucketServerConnectedRepositoryRequest.SCHEMA_REPRESENTATION)\n- [BitbucketServerConnectedRepository](#BitbucketServerConnectedRepository)\n - [JSON representation](#BitbucketServerConnectedRepository.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nBatch connecting Bitbucket Server repositories to Cloud Build.\n\n### HTTP request\n\n`POST https://cloudbuild.googleapis.com/v1/{parent=projects/*/locations/*/bitbucketServerConfigs/*}/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\nCreateBitbucketServerConnectedRepositoryRequest\n-----------------------------------------------\n\nRequest to connect a repository from a connected Bitbucket Server host.\n\nBitbucketServerConnectedRepository\n----------------------------------\n\n/ BitbucketServerConnectedRepository represents a connected Bitbucket Server / repository."]]