REST Resource: about

แหล่งข้อมูล: เกี่ยวกับ

ข้อมูลเกี่ยวกับผู้ใช้ ไดรฟ์ของผู้ใช้ และความสามารถของระบบ

การแสดง JSON
{
  "kind": string,
  "storageQuota": {
    "limit": string,
    "usageInDrive": string,
    "usageInDriveTrash": string,
    "usage": string
  },
  "driveThemes": [
    {
      "id": string,
      "backgroundImageLink": string,
      "colorRgb": string
    }
  ],
  "canCreateDrives": boolean,
  "importFormats": {
    string: value,
    ...
  },
  "exportFormats": {
    string: value,
    ...
  },
  "appInstalled": boolean,
  "user": {
    object (User)
  },
  "folderColorPalette": [
    string
  ],
  "maxImportSizes": {
    string: string,
    ...
  },
  "maxUploadSize": string,
  "teamDriveThemes": [
    {
      "id": string,
      "backgroundImageLink": string,
      "colorRgb": string
    }
  ],
  "canCreateTeamDrives": boolean
}
ช่อง
kind

string

ระบุประเภทของทรัพยากรนี้ ค่า: สตริงคงที่ "drive#about"

storageQuota

object

ขีดจำกัดและการใช้พื้นที่เก็บข้อมูลของผู้ใช้ โดยทุกฟิลด์จะวัดเป็นหน่วยไบต์

storageQuota.limit

string (int64 format)

ขีดจำกัดการใช้งาน (หากมี) ตัวเลือกนี้จะไม่ปรากฏหากผู้ใช้มีพื้นที่เก็บข้อมูลไม่จำกัด

storageQuota.usageInDrive

string (int64 format)

การใช้งานโดยไฟล์ทั้งหมดใน Google ไดรฟ์

storageQuota.usageInDriveTrash

string (int64 format)

การใช้งานโดยไฟล์ในถังขยะใน Google ไดรฟ์

storageQuota.usage

string (int64 format)

การใช้งานรวมในทุกบริการ

driveThemes[]

object

รายการธีมที่ไดรฟ์ที่แชร์รองรับ

driveThemes[].id

string

รหัสของธีม

driveThemes[].backgroundImageLink

string

ลิงก์ไปยังภาพพื้นหลังของธีมนี้

driveThemes[].colorRgb

string

สีของธีมนี้เป็นสตริงฐานสิบหก RGB

canCreateDrives

boolean

ผู้ใช้สร้างไดรฟ์ที่แชร์ได้หรือไม่

importFormats

map (key: string, value: value (Value format))

แมปของประเภท MIME ของแหล่งที่มากับเป้าหมายที่เป็นไปได้สำหรับการนำเข้าที่รองรับทั้งหมด

ออบเจ็กต์ที่มีรายการคู่ "key": value ตัวอย่างเช่น { "name": "wrench", "mass": "1.3kg", "count": "3" }

exportFormats

map (key: string, value: value (Value format))

แมปของประเภท MIME ต้นทางกับเป้าหมายที่เป็นไปได้สำหรับการส่งออกที่รองรับทั้งหมด

ออบเจ็กต์ที่มีรายการคู่ "key": value ตัวอย่างเช่น { "name": "wrench", "mass": "1.3kg", "count": "3" }

appInstalled

boolean

ผู้ใช้ติดตั้งแอปที่ส่งคำขอหรือไม่

user

object (User)

ผู้ใช้ที่ตรวจสอบสิทธิ์แล้ว

folderColorPalette[]

string

สีโฟลเดอร์ที่รองรับในปัจจุบันเป็นสตริงฐานสิบหก RGB

maxImportSizes

map (key: string, value: string (int64 format))

แผนที่ขนาดการนำเข้าสูงสุดตามประเภท MIME ในหน่วยไบต์

ออบเจ็กต์ที่มีรายการคู่ "key": value ตัวอย่างเช่น { "name": "wrench", "mass": "1.3kg", "count": "3" }

maxUploadSize

string (int64 format)

ขนาดที่อัปโหลดสูงสุดในหน่วยไบต์

teamDriveThemes[]
(deprecated)

object

เลิกใช้งานแล้ว: ใช้ driveThemes แทน

teamDriveThemes[]
(deprecated).id
(deprecated)

string

เลิกใช้งานแล้ว: ใช้ driveThemes/id แทน

teamDriveThemes[]
(deprecated).backgroundImageLink
(deprecated)

string

เลิกใช้งานแล้ว: ใช้ driveThemes/backgroundImageLink แทน

teamDriveThemes[]
(deprecated).colorRgb
(deprecated)

string

เลิกใช้งานแล้ว: ใช้ driveThemes/colorRgb แทน

canCreateTeamDrives
(deprecated)

boolean

เลิกใช้งานแล้ว: ใช้ canCreateDrives แทน

วิธีการ

get

รับข้อมูลเกี่ยวกับผู้ใช้ การใช้งานไดรฟ์ของผู้ใช้ และความสามารถของระบบ