Method: about.get
現在のユーザーに関する情報と Drive API 設定を取得する
HTTP リクエスト
GET https://www.googleapis.com/drive/v2/about
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
includeSubscribed |
boolean
マイドライブの階層外の変更をカウントするかどうかを指定します。false に設定すると、アプリケーション データ フォルダにあるファイルや、マイドライブに追加されていない共有ファイルなどに対する変更は maxChangeIdCount から除外されます。
|
maxChangeIdCount |
string (int64 format)
カウントされる残りの変更 ID の最大数
|
startChangeId |
string (int64 format)
残りの変更 ID の数の計算時にカウントを開始する ID を変更
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には About
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/docs
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.appdata
https://www.googleapis.com/auth/drive.file
https://www.googleapis.com/auth/drive.metadata
https://www.googleapis.com/auth/drive.metadata.readonly
https://www.googleapis.com/auth/drive.photos.readonly
https://www.googleapis.com/auth/drive.readonly
一部のスコープは制限されているため、アプリで使用するにはセキュリティ評価が必要です。詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-04 UTC。
[null,null,["最終更新日 2024-09-04 UTC。"],[[["This API retrieves information about the current user and their Google Drive settings."],["It uses a simple `GET` request to `https://www.googleapis.com/drive/v2/about` with optional query parameters for change ID counts."],["The response provides an `About` object containing user and Drive details."],["Several OAuth scopes are available for authorization, some of which require security assessments for certain app uses."]]],["This document outlines how to retrieve information about the current user and Drive API settings. Use a `GET` request to the specified URL. The request accepts optional query parameters like `includeSubscribed`, `maxChangeIdCount`, and `startChangeId`, and requires an empty request body. A successful response returns an \"About\" instance. The operation needs authorization via specified OAuth scopes, some with restricted access, and details can be found in the authorization guide.\n"]]