Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class BitbucketCloudConfig.
Configuration for connections to an instance of Bitbucket Cloud.
Generated from protobuf messagegoogle.cloud.developerconnect.v1.BitbucketCloudConfig
Namespace
Google \ Cloud \ DeveloperConnect \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ workspace
string
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
↳ webhook_secret_secret_version
string
Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted asprojects/*/secrets/*/versions/*. This is used to validate and create webhooks.
Required. An access token with the minimumrepositoryaccess. It can either be 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 minimumrepository,pullrequestandwebhookscope access. It can either be a workspace, project or repository access token. This is needed to create webhooks. 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. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted asprojects/*/secrets/*/versions/*. This is used to validate and create
webhooks.
Returns
Type
Description
string
setWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted asprojects/*/secrets/*/versions/*. This is used to validate and create
webhooks.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getReadAuthorizerCredential
Required. An access token with the minimumrepositoryaccess.
It can either be 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 minimumrepository,pullrequestandwebhookscope access. It can either be a workspace, project or repository
access token. This is needed to create webhooks. It's recommended to use a
system account to generate these credentials.
Required. An access token with the minimumrepository,pullrequestandwebhookscope access. It can either be a workspace, project or repository
access token. This is needed to create webhooks. 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 Developer Connect V1 Client - Class BitbucketCloudConfig (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/cloud-developerconnect/latest/V1.BitbucketCloudConfig)\n- [0.4.0](/php/docs/reference/cloud-developerconnect/0.4.0/V1.BitbucketCloudConfig)\n- [0.3.0](/php/docs/reference/cloud-developerconnect/0.3.0/V1.BitbucketCloudConfig)\n- [0.2.2](/php/docs/reference/cloud-developerconnect/0.2.2/V1.BitbucketCloudConfig)\n- [0.1.2](/php/docs/reference/cloud-developerconnect/0.1.2/V1.BitbucketCloudConfig) \nReference documentation and code samples for the Google Cloud Developer Connect V1 Client class BitbucketCloudConfig.\n\nConfiguration for connections to an instance of Bitbucket Cloud.\n\nGenerated from protobuf message `google.cloud.developerconnect.v1.BitbucketCloudConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DeveloperConnect \\\\ V1\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. Immutable. SecretManager resource containing the webhook secret\nused to verify webhook events, formatted as\n`projects/*/secrets/*/versions/*`. This is used to validate and create\nwebhooks.\n\n### setWebhookSecretSecretVersion\n\nRequired. Immutable. SecretManager resource containing the webhook secret\nused to verify webhook events, formatted as\n`projects/*/secrets/*/versions/*`. This is used to validate and create\nwebhooks.\n\n### getReadAuthorizerCredential\n\nRequired. An access token with the minimum `repository` access.\n\nIt can either be a workspace, project or repository access token.\nIt's recommended to use a system account to generate the credentials.\n\n### hasReadAuthorizerCredential\n\n### clearReadAuthorizerCredential\n\n### setReadAuthorizerCredential\n\nRequired. An access token with the minimum `repository` access.\n\nIt can either be a workspace, project or repository access token.\nIt's recommended to use a system account to generate the credentials.\n\n### getAuthorizerCredential\n\nRequired. An access token with the minimum `repository`, `pullrequest` and\n`webhook` scope access. It can either be a workspace, project or repository\naccess token. This is needed to create webhooks. 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 minimum `repository`, `pullrequest` and\n`webhook` scope access. It can either be a workspace, project or repository\naccess token. This is needed to create webhooks. It's recommended to use a\nsystem account to generate these credentials."]]