Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::BitbucketCloudConfig.
Configuration for connections to an instance of Bitbucket Cloud.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#authorizer_credential
def authorizer_credential() -> ::Google::Cloud::DeveloperConnect::V1::UserCredential
Returns
-
(::Google::Cloud::DeveloperConnect::V1::UserCredential) — Required. An access token with the minimum
repository
,pullrequest
andwebhook
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.
#authorizer_credential=
def authorizer_credential=(value) -> ::Google::Cloud::DeveloperConnect::V1::UserCredential
Parameter
-
value (::Google::Cloud::DeveloperConnect::V1::UserCredential) — Required. An access token with the minimum
repository
,pullrequest
andwebhook
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
-
(::Google::Cloud::DeveloperConnect::V1::UserCredential) — Required. An access token with the minimum
repository
,pullrequest
andwebhook
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.
#read_authorizer_credential
def read_authorizer_credential() -> ::Google::Cloud::DeveloperConnect::V1::UserCredential
Returns
-
(::Google::Cloud::DeveloperConnect::V1::UserCredential) — 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.
#read_authorizer_credential=
def read_authorizer_credential=(value) -> ::Google::Cloud::DeveloperConnect::V1::UserCredential
Parameter
-
value (::Google::Cloud::DeveloperConnect::V1::UserCredential) — 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
-
(::Google::Cloud::DeveloperConnect::V1::UserCredential) — 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.
#webhook_secret_secret_version
def webhook_secret_secret_version() -> ::String
Returns
-
(::String) — 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.
#webhook_secret_secret_version=
def webhook_secret_secret_version=(value) -> ::String
Parameter
-
value (::String) — 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.
Returns
-
(::String) — 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.
#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.