Create a project
Before you can send requests to Google Drive Activity API, you must notify Google about
your client and allow access to the API. You do this by using the
Google Cloud console to create a project, which is a named collection of settings
and API access information.
Set up your environment
To get started using Drive Activity API, you must create a project in the
Google Cloud console, enable the API, and create credentials.
Create your project
You must have a Google Cloud
project.
Enable the API
Before 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.
Create the credentials
You can create credentials using either an OAuth client ID or a service account.
For more information, see Create access
credentials.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
[null,null,["Last updated 2024-12-19 UTC."],[[["To use the Google Drive Activity API, you must first create a Google Cloud project and enable the API."],["You need to create credentials, either an OAuth client ID or a service account, to allow access to the API."],["Setting up your environment involves creating a project, enabling the Google Drive Activity API, and creating credentials for API access."]]],["To use the Google Drive Activity API, first create a Google Cloud project through the Google Cloud console. Next, enable the Google Drive Activity API within that project. Finally, create credentials to access the API, choosing between an OAuth client ID or a service account, as detailed in the \"Create access credentials\" documentation. These steps are necessary to allow client access and send requests to the API.\n"]]