ProjectsLocationsGitLabConfigs
class ProjectsLocationsGitLabConfigs extends Resource (View source)
The "gitLabConfigs" collection of methods.
Typical usage is:
$cloudbuildService = new Google\Service\CloudBuild(...);
$gitLabConfigs = $cloudbuildService->projects_locations_gitLabConfigs;
Methods
Creates a new GitLabConfig
. This API is experimental (gitLabConfigs.create)
Delete a GitLabConfig
. This API is experimental (gitLabConfigs.delete)
Retrieves a GitLabConfig
. This API is experimental (gitLabConfigs.get)
List all GitLabConfigs
for a given project. This API is experimental
(gitLabConfigs.listProjectsLocationsGitLabConfigs)
Updates an existing GitLabConfig
. This API is experimental
(gitLabConfigs.patch)
Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.
Details
Operation
create(string $parent, GitLabConfig $postBody, array $optParams = [])
Creates a new GitLabConfig
. This API is experimental (gitLabConfigs.create)
Operation
delete(string $name, array $optParams = [])
Delete a GitLabConfig
. This API is experimental (gitLabConfigs.delete)
GitLabConfig
get(string $name, array $optParams = [])
Retrieves a GitLabConfig
. This API is experimental (gitLabConfigs.get)
ListGitLabConfigsResponse
listProjectsLocationsGitLabConfigs(string $parent, array $optParams = [])
List all GitLabConfigs
for a given project. This API is experimental
(gitLabConfigs.listProjectsLocationsGitLabConfigs)
Operation
patch(string $name, GitLabConfig $postBody, array $optParams = [])
Updates an existing GitLabConfig
. This API is experimental
(gitLabConfigs.patch)
CloudbuildEmpty
removeGitLabConnectedRepository(string $config, RemoveGitLabConnectedRepositoryRequest $postBody, array $optParams = [])
Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.
(gitLabConfigs.removeGitLabConnectedRepository)