Configura la API de Data Portability
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Antes de que puedas comenzar a enviar solicitudes a la API de Data Portability, debes crear un proyecto nuevo, habilitar la facturación y habilitar la API de Data Portability en la consola de Google Cloud.
Crea tu proyecto
- Haz clic en Crear proyecto.
- Ingresa un nombre o acepta la sugerencia generada.
- Confirma o edita los campos restantes.
- Haz clic en Crear.
Anota el ID de tu proyecto, ya que lo necesitarás para enviar vínculos de renovación a tus usuarios.
Habilitar facturación
Para habilitar la facturación de tu proyecto, haz lo siguiente:
- Visita .
- Si no tienes una cuenta de facturación activa, haz clic en Agregar cuenta de facturación y sigue las instrucciones para crear una.
Habilita la API
La API de Data Portability está disponible públicamente y se puede encontrar en la biblioteca de APIs buscando "API de Data Portability". Habilítala en la IU o con la CLI de gcloud.
Para habilitarlo con la CLI de gcloud, ejecuta este comando.
gcloud services enable dataportability.googleapis.com
Para confirmar que la API de Data Portability está habilitada, consulta tus APIs y servicios habilitados.
Si necesitas ayuda para configurar la CLI de gcloud, consulta Instala la CLI de gcloud.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-29 (UTC)
[null,null,["Última actualización: 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)."]]