class ProjectsLocationsBitbucketServerConfigs extends Resource (View source)

The "bitbucketServerConfigs" collection of methods.

Typical usage is:

 $cloudbuildService = new Google\Service\CloudBuild(...);
 $bitbucketServerConfigs = $cloudbuildService->projects_locations_bitbucketServerConfigs;

Methods

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

Creates a new BitbucketServerConfig. This API is experimental.

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

Delete a BitbucketServerConfig. This API is experimental.

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

Retrieve a BitbucketServerConfig. This API is experimental.

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

List all BitbucketServerConfigs for a given project. This API is experimental.

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

Updates an existing BitbucketServerConfig. This API is experimental.

removeBitbucketServerConnectedRepository(string $config, RemoveBitbucketServerConnectedRepositoryRequest $postBody, array $optParams = [])

Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.

Details

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

Creates a new BitbucketServerConfig. This API is experimental.

(bitbucketServerConfigs.create)

Parameters

string $parent

Required. Name of the parent resource.

BitbucketServerConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

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

Delete a BitbucketServerConfig. This API is experimental.

(bitbucketServerConfigs.delete)

Parameters

string $name

Required. The config resource name.

array $optParams

Optional parameters.

Return Value

Operation

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

Retrieve a BitbucketServerConfig. This API is experimental.

(bitbucketServerConfigs.get)

Parameters

string $name

Required. The config resource name.

array $optParams

Optional parameters.

Return Value

BitbucketServerConfig

ListBitbucketServerConfigsResponse listProjectsLocationsBitbucketServerConfigs(string $parent, array $optParams = [])

List all BitbucketServerConfigs for a given project. This API is experimental.

(bitbucketServerConfigs.listProjectsLocationsBitbucketServerConfigs)

Parameters

string $parent

Required. Name of the parent resource.

array $optParams

Optional parameters.

Return Value

ListBitbucketServerConfigsResponse

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

Updates an existing BitbucketServerConfig. This API is experimental.

(bitbucketServerConfigs.patch)

Parameters

string $name

The resource name for the config.

BitbucketServerConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

CloudbuildEmpty removeBitbucketServerConnectedRepository(string $config, RemoveBitbucketServerConnectedRepositoryRequest $postBody, array $optParams = [])

Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.

(bitbucketServerConfigs.removeBitbucketServerConnectedRepository)

Parameters

string $config

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

RemoveBitbucketServerConnectedRepositoryRequest $postBody
array $optParams

Optional parameters.

Return Value

CloudbuildEmpty