Google Drive API:我们可以在字段掩码中使用哪些字段?

时间:2014-07-15 01:42:49

标签: google-drive-api

我知道我们可以根据Files.copyFiles.insert等请求自定义结果,但是我们可以使用哪些字段名称列表?

1 个答案:

答案 0 :(得分:0)

我唯一能找到它的地方是Google Drive Api引用的"Try it!" editor。这是一个非常漫长,无瑕疵的清单

注意:我相信如果你想引用一个子字段,比如aperture下的imageMediaMetadata,你会使用反斜杠:"imageMediaMetadata/aperture"

alternateLink
appDataContents
copyable
createdDate
defaultOpenWithLink
description
downloadUrl
editable
embedLink
etag
explicitlyTrashed
exportLinks
fileExtension
fileSize
headRevisionId
iconLink
id
imageMediaMetadata
    aperture
    cameraMake
    cameraModel
    colorSpace
    date
    exposureBias
    exposureMode
    exposureTime
    flashUsed
    focalLength
    height
    isoSpeed
    lens
    location
        altitude
        latitude
        longitude
    maxApertureValue
    meteringMode
    rotation
    sensor
    subjectDistance
    whiteBalance
    width
indexableText
    text
kind
labels
    hidden
    restricted
    starred
    trashed
    viewed
lastModifyingUser
lastModifyingUserName
lastViewedByMeDate
markedViewedByMeDate
md5Checksum
mimeType
modifiedByMeDate
modifiedDate
openWithLinks
originalFilename
ownerNames
owners
    displayName
    emailAddress
    isAuthenticatedUser
    kind
    permissionId
    picture
        url
parents
    id
    isRoot
    kind
    parentLink
    selfLink
permissions
    additionalRoles
    authKey
    domain
    emailAddress
    etag
    id
    kind
    name
    photoLink
    role
    selfLink
    type
    value
    withLink
properties
    etag
    key
    kind
    selfLink
    value
    visibility
quotaBytesUsed
selfLink
shared
sharedWithMeDate
sharingUser
thumbnail
    image
    mimeType
thumbnailLink
title
userPermission
version
webContentLink
webViewLink
writersCanShare