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

create(string $parent, GitLabConfig $postBody, array $optParams = [])

Creates a new GitLabConfig. This API is experimental (gitLabConfigs.create)

delete(string $name, array $optParams = [])

Delete a GitLabConfig. This API is experimental (gitLabConfigs.delete)

get(string $name, array $optParams = [])

Retrieves a GitLabConfig. This API is experimental (gitLabConfigs.get)

listProjectsLocationsGitLabConfigs(string $parent, array $optParams = [])

List all GitLabConfigs for a given project. This API is experimental (gitLabConfigs.listProjectsLocationsGitLabConfigs)

patch(string $name, GitLabConfig $postBody, array $optParams = [])

Updates an existing GitLabConfig. This API is experimental (gitLabConfigs.patch)

removeGitLabConnectedRepository(string $config, RemoveGitLabConnectedRepositoryRequest $postBody, array $optParams = [])

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)

Parameters

string $parent

Required. Name of the parent resource.

GitLabConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

Operation delete(string $name, array $optParams = [])

Delete a GitLabConfig. This API is experimental (gitLabConfigs.delete)

Parameters

string $name

Required. The config resource name.

array $optParams

Optional parameters.

Return Value

Operation

GitLabConfig get(string $name, array $optParams = [])

Retrieves a GitLabConfig. This API is experimental (gitLabConfigs.get)

Parameters

string $name

Required. The config resource name.

array $optParams

Optional parameters.

Return Value

GitLabConfig

ListGitLabConfigsResponse listProjectsLocationsGitLabConfigs(string $parent, array $optParams = [])

List all GitLabConfigs for a given project. This API is experimental (gitLabConfigs.listProjectsLocationsGitLabConfigs)

Parameters

string $parent

Required. Name of the parent resource

array $optParams

Optional parameters.

Return Value

ListGitLabConfigsResponse

Operation patch(string $name, GitLabConfig $postBody, array $optParams = [])

Updates an existing GitLabConfig. This API is experimental (gitLabConfigs.patch)

Parameters

string $name

The resource name for the config.

GitLabConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

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)

Parameters

string $config

Required. The name of the GitLabConfig to remove a connected repository. Format: projects/{project}/locations/{location}/gitLabConfigs/{config}

RemoveGitLabConnectedRepositoryRequest $postBody
array $optParams

Optional parameters.

Return Value

CloudbuildEmpty