Required. An access token with therepositoryaccess. 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 thewebhook,repository,repository:adminandpullrequestscope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.
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 asprojects/*/secrets/*/versions/*.
Returns
Type
Description
string
setWebhookSecretSecretVersion
Required. SecretManager resource containing the webhook secret used to
verify webhook events, formatted asprojects/*/secrets/*/versions/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getReadAuthorizerCredential
Required. An access token with therepositoryaccess. 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 therepositoryaccess. 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 thewebhook,repository,repository:adminandpullrequestscope 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 thewebhook,repository,repository:adminandpullrequestscope 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 2025-09-04 UTC."],[],[],null,["# Google Cloud Build V2 Client - Class BitbucketCloudConfig (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-build/latest/V2.BitbucketCloudConfig)\n- [1.0.3](/php/docs/reference/cloud-build/1.0.3/V2.BitbucketCloudConfig)\n- [0.16.3](/php/docs/reference/cloud-build/0.16.3/V2.BitbucketCloudConfig)\n- [0.15.0](/php/docs/reference/cloud-build/0.15.0/V2.BitbucketCloudConfig)\n- [0.14.0](/php/docs/reference/cloud-build/0.14.0/V2.BitbucketCloudConfig)\n- [0.13.2](/php/docs/reference/cloud-build/0.13.2/V2.BitbucketCloudConfig)\n- [0.12.0](/php/docs/reference/cloud-build/0.12.0/V2.BitbucketCloudConfig)\n- [0.11.0](/php/docs/reference/cloud-build/0.11.0/V2.BitbucketCloudConfig)\n- [0.10.0](/php/docs/reference/cloud-build/0.10.0/V2.BitbucketCloudConfig)\n- [0.9.0](/php/docs/reference/cloud-build/0.9.0/V2.BitbucketCloudConfig)\n- [0.8.0](/php/docs/reference/cloud-build/0.8.0/V2.BitbucketCloudConfig)\n- [0.7.3](/php/docs/reference/cloud-build/0.7.3/V2.BitbucketCloudConfig)\n- [0.6.1](/php/docs/reference/cloud-build/0.6.1/V2.BitbucketCloudConfig)\n- [0.5.1](/php/docs/reference/cloud-build/0.5.1/V2.BitbucketCloudConfig)\n- [0.4.0](/php/docs/reference/cloud-build/0.4.0/V2.BitbucketCloudConfig)\n- [0.3.8](/php/docs/reference/cloud-build/0.3.8/V2.BitbucketCloudConfig) \nReference documentation and code samples for the Google Cloud Build V2 Client class BitbucketCloudConfig.\n\nConfiguration for connections to Bitbucket Cloud.\n\nGenerated from protobuf message `google.devtools.cloudbuild.v2.BitbucketCloudConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Build \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getWorkspace\n\nRequired. The Bitbucket Cloud Workspace ID to be connected to Google Cloud\nPlatform.\n\n### setWorkspace\n\nRequired. The Bitbucket Cloud Workspace ID to be connected to Google Cloud\nPlatform.\n\n### getWebhookSecretSecretVersion\n\nRequired. SecretManager resource containing the webhook secret used to\nverify webhook events, formatted as `projects/*/secrets/*/versions/*`.\n\n### setWebhookSecretSecretVersion\n\nRequired. SecretManager resource containing the webhook secret used to\nverify webhook events, formatted as `projects/*/secrets/*/versions/*`.\n\n### getReadAuthorizerCredential\n\nRequired. An access token with the `repository` access. It can be either a\nworkspace, project or repository access token. It's recommended to use a\nsystem account to generate the credentials.\n\n### hasReadAuthorizerCredential\n\n### clearReadAuthorizerCredential\n\n### setReadAuthorizerCredential\n\nRequired. An access token with the `repository` access. It can be either a\nworkspace, project or repository access token. It's recommended to use a\nsystem account to generate the credentials.\n\n### getAuthorizerCredential\n\nRequired. An access token with the `webhook`, `repository`,\n`repository:admin` and `pullrequest` scope access. It can be either a\nworkspace, project or repository access token. It's recommended to use a\nsystem account to generate these credentials.\n\n### hasAuthorizerCredential\n\n### clearAuthorizerCredential\n\n### setAuthorizerCredential\n\nRequired. An access token with the `webhook`, `repository`,\n`repository:admin` and `pullrequest` scope access. It can be either a\nworkspace, project or repository access token. It's recommended to use a\nsystem account to generate these credentials."]]