Google Cloud Build V2 Client - Class BitbucketCloudConfig (1.1.2)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Build V2 Client class BitbucketCloudConfig.
Configuration for connections to Bitbucket Cloud.
Generated from protobuf message google.devtools.cloudbuild.v2.BitbucketCloudConfig
Namespace
Google \ Cloud \ Build \ V2
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getWorkspace
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
Platform.
Returns
Type
Description
string
setWorkspace
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
Platform.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getWebhookSecretSecretVersion
Required. SecretManager resource containing the webhook secret used to
verify webhook events, formatted as projects/*/secrets/*/versions/*.
Returns
Type
Description
string
setWebhookSecretSecretVersion
Required. SecretManager resource containing the webhook secret used to
verify webhook events, formatted as projects/*/secrets/*/versions/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getReadAuthorizerCredential
Required. An access token with the repository access. It can be either a
workspace, project or repository access token. It's recommended to use a
system account to generate the credentials.
Required. An access token with the repository access. It can be either a
workspace, project or repository access token. It's recommended to use a
system account to generate the credentials.
Required. An access token with the webhook, repository,
repository:admin and pullrequest scope access. It can be either a
workspace, project or repository access token. It's recommended to use a
system account to generate these credentials.
Required. An access token with the webhook, repository,
repository:admin and pullrequest scope access. It can be either a
workspace, project or repository access token. It's recommended to use a
system account to generate these credentials.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]