プロジェクトを作成する
Google Drive Activity API にリクエストを送信する前に、クライアントについて Google に通知し、API へのアクセスを許可する必要があります。これを行うには、Google Cloud コンソールを使用してプロジェクトを作成します。プロジェクトは、設定と API アクセス情報の名前付きコレクションです。
環境をセットアップする
Drive Activity API を使用するには、Google Cloud コンソールでプロジェクトを作成し、API を有効にして、認証情報を作成する必要があります。
プロジェクトを作成する
Google Cloud プロジェクトが必要です。
API を有効にする
Google API を使用するには、事前に Google Cloud プロジェクトで API を有効にする必要があります。1 つの Google Cloud プロジェクトで 1 つ以上の API を有効にできます。
認証情報を作成する
認証情報は、OAuth クライアント ID またはサービス アカウントを使用して作成できます。詳細については、アクセス認証情報を作成するをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-09-14 UTC。
[null,null,["最終更新日 2023-09-14 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"]]