0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 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 message `google.cloud.developerconnect.v1.BitbucketCloudConfig`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1

## 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. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
`projects/*/secrets/*/versions/*` or
`projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
supported in that location). 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 as
`projects/*/secrets/*/versions/*` or
`projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
supported in that location). This is used to validate and create webhooks.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReadAuthorizerCredential

Required. An access token with the minimum `repository` access.

It can either be a workspace, project or repository access token.
It's recommended to use a system account to generate the credentials.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.UserCredential|null` |   |

### hasReadAuthorizerCredential

### clearReadAuthorizerCredential

### setReadAuthorizerCredential

Required. An access token with the minimum `repository` access.

It can either be a workspace, project or repository access token.
It's recommended to use a system account to generate the credentials.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.UserCredential` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAuthorizerCredential

Required. An access token with the minimum `repository`, `pullrequest` and
`webhook` scope 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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.UserCredential|null` |   |

### hasAuthorizerCredential

### clearAuthorizerCredential

### setAuthorizerCredential

Required. An access token with the minimum `repository`, `pullrequest` and
`webhook` scope 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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-developerconnect/latest/V1.UserCredential` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |