* $cloudbuildService = new Google\Service\CloudBuild(...); * $connectedRepositories = $cloudbuildService->connectedRepositories; * */ class ProjectsLocationsBitbucketServerConfigsConnectedRepositories extends \Google\Service\Resource { /** * Batch connecting Bitbucket Server repositories to Cloud Build. * (connectedRepositories.batchCreate) * * @param string $parent The name of the `BitbucketServerConfig` that added * connected repository. Format: * `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}` * @param BatchCreateBitbucketServerConnectedRepositoriesRequest $postBody * @param array $optParams Optional parameters. * @return Operation */ public function batchCreate($parent, BatchCreateBitbucketServerConnectedRepositoriesRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('batchCreate', [$params], Operation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsBitbucketServerConfigsConnectedRepositories::class, 'Google_Service_CloudBuild_Resource_ProjectsLocationsBitbucketServerConfigsConnectedRepositories');