[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-30 UTC。"],[[["\u003cp\u003eLocking a project to its Cloud Billing account prevents accidental changes to the billing relationship, safeguarding against unintentional project shutdowns.\u003c/p\u003e\n"],["\u003cp\u003eLocking the link requires both project and billing account permissions, specifically \u003ccode\u003ebilling.resourceAssociations.create\u003c/code\u003e and \u003ccode\u003eresourcemanager.projects.createBillingAssignment\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo lock or unlock a project's billing link, navigate to the Billing section in the Google Cloud console, locate the project, and use the "Lock billing" or "Unlock billing" option in the Actions menu.\u003c/p\u003e\n"],["\u003cp\u003eUnlocking the link is necessary to move a project to a different billing account or to disable billing, and it requires either \u003ccode\u003ebilling.resourceAssociations.delete\u003c/code\u003e or \u003ccode\u003eresourcemanager.projects.deleteBillingAssignment\u003c/code\u003e permissions.\u003c/p\u003e\n"],["\u003cp\u003eWhile locking the link prevents accidental changes, it does not guarantee continuous billing, as the billing account itself can still be closed or suspended for non-payment.\u003c/p\u003e\n"]]],[],null,["# Secure the link between a project and its billing account\n\n\u003cbr /\u003e\n\nThis document describes how to lock or unlock the link between a project and a\nCloud Billing account.\n\nWhy lock a project to its billing account?\n------------------------------------------\n\nTo use Google Cloud resources in a project, billing must be enabled on the\nproject. Billing is enabled when the project is linked to an active\nCloud Billing account. Projects that aren't linked to an active\nCloud Billing account can't use Google Cloud or Google Maps Platform\nservices. To prevent unintentionally changing the billing account that pays\nfor a project, or disabling billing on a project, secure the billing\nrelationship of your project by locking the link between a project and its\nCloud Billing account.\n| **Note:** Locking or unlocking a project to its linked Cloud Billing account is considered a sensitive action; in some cases, you might need to reauthenticate before you can initiate the action. For more information, see [Sensitive actions](/docs/authentication/reauthentication#sensitive-actions).\n\nBy securing the billing relationship of your project, you can protect against an\noutage to your normal business operations by preventing accidental or\nunintentional project shutdowns due to the lack of a billing account. When you\nlock the link between a project and its billing account, changes between the\nbilling account and project can't be made until the relationship is unlocked.\nLocking creates an intentional, two-step process to change a project's billing\nstatus.\n| **Warning:** Locking the link between a project and its billing account doesn't guarantee that billing will remain enabled on the project. Your billing administrator can close the Cloud Billing account or the billing account might be suspended for nonpayment, causing billing to become disabled on all projects that remain linked to that account. [Learn how to confirm the status of the linked Cloud Billing account](/billing/docs/how-to/verify-billing-enabled#billing_account_status).\n\nLock the link between a project and its billing account\n-------------------------------------------------------\n\nWhen you lock a project to its linked billing account, you can prevent the\nproject from unintentionally being moved (linked) to a different billing\naccount or the project link being deleted from the billing account, disabling\nbilling. By locking the billing account and project relationship, changes\nbetween the billing account and project linkage can't be made until the\nrelationship is unlocked.\n\n### Permissions required to lock the link\n\nTo perform the tasks needed to lock the link between a project and a\nCloud Billing account, you need both\nproject permissions and billing account permissions.\n\nThese predefined roles have adequate permissions to perform this task:\n\n- On the *project* : Project Billing Manager and Project Viewer *or* Project\n Owner\n\n ***AND***\n- On the linked *Cloud Billing account* : Billing Account User and\n Billing Account Viewer *or* Billing Account Administrator\n\n| **Using an Organization?** If you're set up to use an [Organization](/resource-manager/docs/manage-google-cloud-resources) to manage your Google Cloud resources and manage Organization billing accounts, then the Billing Account Administrator role granted at the *Organization level* will have adequate permissions to perform this task.\n\nSpecifically, to perform this task, you must have the following\n[permissions](/iam/docs/understanding-roles#billing-roles).\n\n\u003cbr /\u003e\n\n### How to lock the link between a project and a billing account\n\nTo lock the link between a billing account and project, complete the following\nsteps:\n\n1. In the **Billing** section of the Google Cloud console, locate the project\n using one of the following methods:\n\n - View the list of projects linked to a specific billing account.\n\n 1. In the Google Cloud console, go to the **Account management** page for\n the Cloud Billing account.\n\n [Go to Account Management in Cloud Billing](https://console.cloud.google.com/billing/manage)\n 2. At the prompt, choose the Cloud Billing account\n you want to view.\n\n 3. On the **Account management** page, from the list of projects, locate\n the project you want to lock.\n\n - View a list of all your projects and their associated\n Cloud Billing accounts.\n\n 1. In the Google Cloud console, go to the **My Projects** page in the\n **Billing** section.\n\n [Go to My Projects in Cloud Billing](https://console.cloud.google.com/billing/projects)\n 2. From the list of projects, locate the project you want to lock.\n\n2. In the project row, open the **Actions** menu\n (more_vert) and then\n select **Lock billing**.\n\n3. On the confirmation screen, click **Lock**.\n\nWhen successful, you see a confirmation message similar to *The link\nbetween \"Project Name\" and \"Billing Account Name\" has been locked.* A\npadlock icon lock\ndisplays next to each project that's locked to its linked\nCloud Billing account.\n\nAfter the relationship is locked, changes between the billing account and\nproject can't be made until the relationship is unlocked.\n\nUnlock the link between a project and its billing account\n---------------------------------------------------------\n\nIf the link between a billing account and project is locked, you can't change or\ndisable billing on the project until the relationship is unlocked. If you want\nto intentionally move (link) the project to a different billing\naccount or delete the link to disable billing on the project, first unlock the\nlink between the project and its billing account.\n\n### Permissions required to unlock the link\n\nTo perform the tasks needed to unlock the link between a project and a\nCloud Billing account, you need both project permissions and billing\naccount permissions.\n\nThese predefined roles have adequate permissions to perform this task:\n\n- On the *project* : Project Billing Manager and Project Viewer *or* Project\n Owner\n\n ***OR***\n- On the linked *Cloud Billing account*: Billing Account Administrator\n\n| **Using an Organization?** If you're set up to use an [Organization](/resource-manager/docs/manage-google-cloud-resources) to manage your Google Cloud resources and manage Organization billing accounts, then the Billing Account Administrator role granted at the *Organization level* will have adequate permissions to perform this task.\n\nSpecifically, to perform this task, you must have the following\n[permissions](/iam/docs/understanding-roles#billing-roles).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### How to unlock the link between a project and a billing account\n\nTo unlock the link between a billing account and project, complete the following\nsteps:\n\n1. In the **Billing** section of the Google Cloud console, locate the project\n using one of the following methods:\n\n - View the list of projects linked to a specific billing account.\n\n 1. In the Google Cloud console, go to the **Account management** page for\n the Cloud Billing account.\n\n [Go to Account Management in Cloud Billing](https://console.cloud.google.com/billing/manage)\n 2. At the prompt, choose the Cloud Billing account\n you want to view.\n\n 3. On the **Account management** page, from the list of projects, locate\n the project you want to unlock.\n Tip: A padlock icon lock displays next to each project that's locked to its\n linked Cloud Billing account.\n\n - View a list of all your projects and their associated\n Cloud Billing account.\n\n 1. In the Google Cloud console, go to the **My Projects** page in the\n **Billing** section.\n\n [Go to My Projects in Cloud Billing](https://console.cloud.google.com/billing/projects)\n 2. From the list of projects, locate the project you want to unlock.\n Tip: A padlock icon lock displays next to each project that's locked to its\n linked Cloud Billing account.\n\n2. In the project row, open the **Actions** menu\n (more_vert) and then\n select **Unlock billing**.\n\n3. On the confirmation screen, click **Unlock**.\n\nWhen successful, you see a confirmation message similar to *The link\nbetween \"Project Name\" and \"Billing Account Name\" has been unlocked*.\n\nAfter the relationship is unlocked, changes between the billing account and\nproject can be made. These changes include\n[disabling billing on the project](/billing/docs/how-to/modify-project#disable_billing_for_a_project)\nor\n[linking the project to a different Cloud Billing account](/billing/docs/how-to/modify-project#change_the_billing_account_for_a_project).\n\nRelated topics\n--------------\n\n- [Enable, disable, or change billing for a project](/billing/docs/how-to/modify-project)\n- [View linked projects](/billing/docs/how-to/view-linked)\n- [Verify the billing status of your projects](/billing/docs/how-to/verify-billing-enabled)\n- [Create, modify, or close your Cloud Billing account](/billing/docs/how-to/manage-billing-account)"]]