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 \ V1Methods
__construct
Constructor.
data
mixed
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. 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.
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.
var
string
$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.
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.
$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.
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.
$this

