Method: about.get

現在のユーザーに関する情報と Drive API の設定を取得します。

HTTP リクエスト

GET https://www.googleapis.com/drive/v2/about

この URL は gRPC Transcoding 構文を使用します。

クエリ パラメータ

パラメータ
includeSubscribed

boolean

マイドライブの階層外の変更をカウントするかどうか。false に設定すると、Application Data フォルダ内のファイルや、マイドライブに追加されていない共有ファイルなどのファイルに対する変更は 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

一部のスコープは制限されており、アプリで使用するにはセキュリティ評価が必要です。詳しくは、認可ガイドをご覧ください。