Cloud Build V2 API - Class Google::Cloud::Build::V2::BitbucketCloudConfig (v0.7.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) — 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) — 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) — 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) — 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) — 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) — 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.