Interface BitbucketCloudConfigOrBuilder (0.24.0)

public interface BitbucketCloudConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthorizerCredential()

public abstract UserCredential 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.

.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredential

The authorizerCredential.

getAuthorizerCredentialOrBuilder()

public abstract UserCredentialOrBuilder getAuthorizerCredentialOrBuilder()

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.

.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredentialOrBuilder

getReadAuthorizerCredential()

public abstract UserCredential 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.

.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredential

The readAuthorizerCredential.

getReadAuthorizerCredentialOrBuilder()

public abstract UserCredentialOrBuilder getReadAuthorizerCredentialOrBuilder()

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.

.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredentialOrBuilder

getWebhookSecretSecretVersion()

public abstract String getWebhookSecretSecretVersion()

Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.

string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The webhookSecretSecretVersion.

getWebhookSecretSecretVersionBytes()

public abstract ByteString getWebhookSecretSecretVersionBytes()

Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.

string webhook_secret_secret_version = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for webhookSecretSecretVersion.

getWorkspace()

public abstract String getWorkspace()

Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public abstract ByteString getWorkspaceBytes()

Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for workspace.

hasAuthorizerCredential()

public abstract boolean hasAuthorizerCredential()

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.

.google.cloud.developerconnect.v1.UserCredential authorizer_credential = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the authorizerCredential field is set.

hasReadAuthorizerCredential()

public abstract boolean hasReadAuthorizerCredential()

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.

.google.cloud.developerconnect.v1.UserCredential read_authorizer_credential = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the readAuthorizerCredential field is set.