# Cloud Build V2 API - Class Google::Cloud::Build::V2::BitbucketCloudConfig (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::BitbucketCloudConfig.

Configuration for connections to Bitbucket Cloud.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #authorizer_credential

    def authorizer_credential() -> ::Google::Cloud::Build::V2::UserCredential

**Returns**

- ([::Google::Cloud::Build::V2::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-UserCredential)) --- 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.

### #authorizer_credential=

    def authorizer_credential=(value) -> ::Google::Cloud::Build::V2::UserCredential

**Parameter**

- **value** ([::Google::Cloud::Build::V2::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-UserCredential)) --- 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.
**Returns**

- ([::Google::Cloud::Build::V2::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-UserCredential)) --- 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.

### #read_authorizer_credential

    def read_authorizer_credential() -> ::Google::Cloud::Build::V2::UserCredential

**Returns**

- ([::Google::Cloud::Build::V2::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-UserCredential)) --- 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.

### #read_authorizer_credential=

    def read_authorizer_credential=(value) -> ::Google::Cloud::Build::V2::UserCredential

**Parameter**

- **value** ([::Google::Cloud::Build::V2::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-UserCredential)) --- 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.
**Returns**

- ([::Google::Cloud::Build::V2::UserCredential](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Cloud-Build-V2-UserCredential)) --- 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.

### #webhook_secret_secret_version

    def webhook_secret_secret_version() -> ::String

**Returns**

- (::String) --- Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.

### #webhook_secret_secret_version=

    def webhook_secret_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
**Returns**

- (::String) --- Required. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.

### #workspace

    def workspace() -> ::String

**Returns**

- (::String) --- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

### #workspace=

    def workspace=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
**Returns**

- (::String) --- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.