ตั้งค่า Data Portability API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ก่อนที่จะเริ่มส่งคำขอไปยัง Data Portability API ได้ คุณต้องสร้างโปรเจ็กต์ใหม่ เปิดใช้การเรียกเก็บเงิน และเปิดใช้ Data Portability API ในคอนโซล Google Cloud
สร้างโปรเจ็กต์
- คลิกสร้างโปรเจ็กต์
- ป้อนชื่อหรือยอมรับคำแนะนำที่สร้างขึ้น
- ยืนยันหรือแก้ไขช่องที่เหลือ
- คลิกสร้าง
จดรหัสโปรเจ็กต์ของคุณไว้ คุณจะต้องใช้รหัสนี้เพื่อส่งลิงก์ต่ออายุให้ผู้ใช้
เปิดใช้การเรียกเก็บเงิน
วิธีเปิดใช้การเรียกเก็บเงินสำหรับโปรเจ็กต์
- ไปที่
- หากไม่มีบัญชีสำหรับการเรียกเก็บเงินที่ใช้งานอยู่ ให้สร้างบัญชีโดยคลิกเพิ่มบัญชีสำหรับการเรียกเก็บเงิน
แล้วทำตามวิธีการ
เปิดใช้ API
Data Portability API พร้อมให้บริการแก่สาธารณะและค้นพบได้ในไลบรารี API โดย
ค้นหา "Data Portability API" เปิดใช้ใน UI หรือโดยใช้ gcloud CLI
หากต้องการเปิดใช้โดยใช้ gcloud CLI ให้เรียกใช้คำสั่งนี้
gcloud services enable dataportability.googleapis.com
หากต้องการยืนยันว่าได้เปิดใช้ Data Portability API แล้ว ให้ดู
API และบริการที่เปิดใช้
หากต้องการความช่วยเหลือในการตั้งค่า gcloud CLI โปรดดูหัวข้อติดตั้ง gcloud CLI
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-29 UTC
[null,null,["อัปเดตล่าสุด 2025-07-29 UTC"],[[["\u003cp\u003eTo use the Data Portability API, you must first create a new project in the Google Cloud console, enable billing for the project, and then enable the Data Portability API itself.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable the Data Portability API through the Google Cloud console UI or by using the gcloud CLI command \u003ccode\u003egcloud services enable dataportability.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBefore enabling the API, ensure you have an active billing account associated with your project, which can be created or managed through the Billing page in the Google Cloud console.\u003c/p\u003e\n"]]],[],null,["Before you can begin sending requests to the Data Portability API, you must create a\nnew project, enable billing, and enable the Data Portability API in the Google Cloud\nconsole.\n\nCreate your project\n\n1. Go to the [Google API Console](https://console.developers.google.com/project).\n2. Click **Create project**.\n3. Enter a name or accept the generated suggestion.\n4. Confirm or edit any remaining fields.\n5. Click **Create**.\n\nNote your project ID: you need it to send [Renewal links](/data-portability/user-guide/renewal) to your users.\n\nEnable billing\n\nTo enable billing for your project:\n\n1. Visit the [Billing page](https://console.developers.google.com/billing).\n2. If you don't have an active billing account, create one by clicking **Add billing account** and following the instructions.\n\nEnable the API\n\nThe Data Portability API is publicly available and discoverable in the API Library by\nsearching for \"Data Portability API\". Enable it in the UI or by using the gcloud CLI.\nTo enable it by using the gcloud CLI, run this command. \n\n gcloud services enable dataportability.googleapis.com\n\nTo confirm that the Data Portability API is enabled, view your\n[Enabled APIs and Services](https://console.cloud.google.com/apis/dashboard).\n\nIf you need help setting up the gcloud CLI, see [Install the gcloud CLI](https://cloud.google.com/sdk/docs/install)."]]