הגדרת Data Portability API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
לפני שמתחילים לשלוח בקשות ל-Data Portability API, צריך ליצור פרויקט חדש, להפעיל את החיוב ולהפעיל את Data Portability API במסוף Google Cloud.
יצירת הפרויקט
- לוחצים על יצירת פרויקט.
- מזינים שם או מאשרים את ההצעה שנוצרה.
- מאשרים או עורכים את השדות שנותרו.
- לוחצים על יצירה.
רושמים את מזהה הפרויקט: הוא נחוץ לשליחת קישורי חידוש למשתמשים.
הפעלת החיוב
כדי להפעיל את החיוב בפרויקט:
- אפשר להיכנס אל .
- אם אין לכם חשבון פעיל לחיוב, תוכלו ליצור אחד על ידי לחיצה על הוספת חשבון לחיוב וביצוע ההוראות.
הפעלת ה-API
Data Portability API זמין לציבור ואפשר למצוא אותו ב-API Library על ידי חיפוש של 'Data Portability API'. אפשר להפעיל אותו בממשק המשתמש או באמצעות ה-CLI של gcloud.
כדי להפעיל את התכונה באמצעות CLI של gcloud, מריצים את הפקודה הזו.
gcloud services enable dataportability.googleapis.com
כדי לוודא ש-Data Portability API מופעל, צריך לעיין בEnabled APIs and Services.
אם אתם צריכים עזרה בהגדרת ה-CLI של gcloud, תוכלו להיעזר במאמר התקנת ה-CLI של gcloud.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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)."]]