如果您有要用于本教程的 Google Cloud 项目,则可以跳过此步骤并转到查找项目 ID 部分。否则,请按照设置项目中的步骤操作。如需了解详情,请参阅创建和管理项目。
查找您的 Google Cloud 项目 ID
Google Cloud 项目 ID 是一个唯一字符串,用于将您的项目与 Google Cloud中的所有其他项目区分开来。您将在本教程中使用自己的 Google Cloud 项目 ID 来初始化 Vertex AI SDK for Python。如果您知道自己的Google Cloud 项目 ID,可以跳过此步骤。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Prerequisites\n\nBefore you start this tutorial, you need a Google Cloud account and a Google Cloud project that's enabled for billing. The following steps walk you through creating these prerequisites.\n\n\u003cbr /\u003e\n\nCreate a Google Cloud account\n-----------------------------\n\nIf you don't have a Google Cloud account, go to\n\u003chttps://console.cloud.google.com/\u003e to create one.\n\nCreate a Google Cloud project\n-----------------------------\n\nIf you have a Google Cloud project that you want to use for this tutorial, you can\nskip this step and continue with [Find your project ID](#find-project-id).\nOtherwise, follow the steps in [Set up a\nproject](/vertex-ai/docs/start/cloud-environment#set_up_a_project). For more\ninformation, see [Creating and managing\nprojects](/resource-manager/docs/creating-managing-projects).\n\nFind your Google Cloud project ID\n---------------------------------\n\nA Google Cloud project ID is a unique string used to differentiate your\nproject from all others in Google Cloud. You use your Google Cloud project\nID in this tutorial to initialize the Vertex AI SDK for Python. If you know your\nGoogle Cloud project ID, you can skip this step.\n\nTo locate your Google Cloud project ID:\n\n1. In the Google Cloud console, click the list of projects in the top menu.\n\n2. In the dialog that appears, locate your project. If you don't see your\n project, you might need to choose a different\n [organization](/resource-manager/docs/creating-managing-organization). Select\n **No organization** to view projects that aren't associated with an\n organization or that are associated with an organization that you don't have\n access to view.\n\n To find a Google Cloud project that you haven't accessed recently, you\n might need to click **All** instead of **Recent** or **Starred**.\n3. After you locate your project, make a note of its Google Cloud project ID\n in the **ID** column."]]