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 \ V2Methods
__construct
Constructor.
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. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*
.
↳ read_authorizer_credential
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.
↳ authorizer_credential
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.
getWorkspace
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
string
setWorkspace
Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
var
string
$this
getWebhookSecretSecretVersion
Required. SecretManager resource containing the webhook secret used to
verify webhook events, formatted as projects/*/secrets/*/versions/*
.
string
setWebhookSecretSecretVersion
Required. SecretManager resource containing the webhook secret used to
verify webhook events, formatted as projects/*/secrets/*/versions/*
.
var
string
$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.
hasReadAuthorizerCredential
clearReadAuthorizerCredential
setReadAuthorizerCredential
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.
$this
getAuthorizerCredential
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.
hasAuthorizerCredential
clearAuthorizerCredential
setAuthorizerCredential
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.
$this