class ProjectsLocationsGitLabConfigsConnectedRepositories extends Resource (View source)

The "connectedRepositories" collection of methods.

Typical usage is:

 $cloudbuildService = new Google\Service\CloudBuild(...);
 $connectedRepositories = $cloudbuildService->projects_locations_gitLabConfigs_connectedRepositories;

Methods

batchCreate(string $parent, BatchCreateGitLabConnectedRepositoriesRequest $postBody, array $optParams = [])

Batch connecting GitLab repositories to Cloud Build. This API is experimental. (connectedRepositories.batchCreate)

Details

Operation batchCreate(string $parent, BatchCreateGitLabConnectedRepositoriesRequest $postBody, array $optParams = [])

Batch connecting GitLab repositories to Cloud Build. This API is experimental. (connectedRepositories.batchCreate)

Parameters

string $parent

The name of the GitLabConfig that adds connected repositories. Format: projects/{project}/locations/{location}/gitLabConfigs/{config}

BatchCreateGitLabConnectedRepositoriesRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation