← Misc444 / 640
hardgcloud

Attach a billing account to a GCP project to enable paid services

command

gcloud billing projects link PROJECT_ID --billing-account BILLING_ACCOUNT_ID

also accepted

gcloud billing projects link

Command breakdown

Part of the Google Cloud CLI (gcloud) — Misc category.

gcloudbillingprojectslinkPROJECT_ID--billing-accountBILLING_ACCOUNT_ID
FlagPurpose
--billing-accountBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →