Projekt erstellen
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Bevor Sie Anfragen an die Google Drive Activity API senden können, müssen Sie Google über Ihren Client informieren und den Zugriff auf die API erlauben. Verwenden Sie dazu die Google Cloud Console, um ein Projekt zu erstellen. Dabei handelt es sich um eine mit einem Namen versehene Sammlung von Einstellungen und Informationen zum API-Zugriff.
Umgebung einrichten
Wenn Sie die Drive Activity API verwenden möchten, müssen Sie ein Projekt in der Google Cloud Console erstellen, die API aktivieren und Anmeldedaten erstellen.
Projekt erstellen
Sie benötigen ein Google Cloud-Projekt.
API aktivieren
Bevor Sie Google APIs verwenden können, müssen Sie sie in einem Google Cloud-Projekt aktivieren.
Sie können eine oder mehrere APIs in einem einzelnen Google Cloud-Projekt aktivieren.
Anmeldedaten erstellen
Sie können Anmeldedaten entweder mit einer OAuth-Client-ID oder einem Dienstkonto erstellen.
Weitere Informationen finden Sie unter Zugriffsdaten erstellen.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-03-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-03-26 (UTC)."],[],[],null,["# Create a project\n\nBefore you can send requests to Google Drive Activity API, you must notify Google about\nyour client and allow access to the API. You do this by using the\nGoogle Cloud console to create a project, which is a named collection of settings\nand API access information.\n\nSet up your environment\n-----------------------\n\nTo get started using Drive Activity API, you must create a project in the\nGoogle Cloud console, enable the API, and create credentials.\n\n### Create your project\n\nYou must have a [Google Cloud\nproject](../../../../workspace/guides/create-project).\n\n### Enable the API\n\nBefore using Google APIs, you need to turn them on in a Google Cloud project. You can turn on one or more APIs in a single Google Cloud project.\n\n- In the Google Cloud console, enable the Google Drive Activity API.\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=driveactivity.googleapis.com)\n\n### Create the credentials\n\nYou can create credentials using either an OAuth client ID or a service account.\nFor more information, see [Create access\ncredentials](https://developers.google.com/workspace/guides/create-credentials)."]]