gcloud alpha builds enterprise-config bitbucketserver update - update a Bitbucket Server config for use by Google Cloud Build
gcloud alpha builds enterprise-config bitbucketserver update CONFIG [--admin-access-token-secret-version=ADMIN_ACCESS_TOKEN_SECRET_VERSION] [--api-key=API_KEY] [--host-uri=HOST_URI] [--read-access-token-secret-version=READ_ACCESS_TOKEN_SECRET_VERSION] [--region=REGION] [--ssl-ca-file=SSL_CA_FILE] [--user-name=USER_NAME] [--webhook-secret-secret-version=WEBHOOK_SECRET_SECRET_VERSION] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Update a Bitbucket Server config for use by Google Cloud Build.
- CONFIG
The unique identifier of the Bitbucket Server Config to be updated.
- --admin-access-token-secret-version=ADMIN_ACCESS_TOKEN_SECRET_VERSION
Secret Manager resource containing the admin access token. The secret is specified in resource URL format projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
- --api-key=API_KEY
The Cloud Build API key that should be associated with this config.
- --host-uri=HOST_URI
The host uri of the Bitbucket Server instance.
- --read-access-token-secret-version=READ_ACCESS_TOKEN_SECRET_VERSION
Secret Manager resource containing the read access token. The secret is specified in resource URL format projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
- --region=REGION
The region of the Cloud Build Service to use. Must be set to a supported region name (e.g. us-central1). If unset, builds/region, which is the default region to use when working with Cloud Build resources, is used. If builds/region is unset, region is set to global.
- --ssl-ca-file=SSL_CA_FILE
Path to a local file that contains SSL certificate to use for requests to Bitbucket Server. The certificate should be in PEM format.
- --user-name=USER_NAME
The Bitbucket Server user name that should be associated with this config.
- --webhook-secret-secret-version=WEBHOOK_SECRET_SECRET_VERSION
Secret Manager resource containing the webhook secret. The secret is specified in resource URL format projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.