class DriveFile extends Collection (View source)

Properties

protected $collection_key
string[] $appProperties
protected $capabilitiesType
protected $capabilitiesDataType
protected $contentHintsType
protected $contentHintsDataType
protected $contentRestrictionsType
protected $contentRestrictionsDataType
bool $copyRequiresWriterPermission
string $createdTime
string $description
string $driveId
bool $explicitlyTrashed
$exportLinks
string $fileExtension
string $folderColorRgb
string $fullFileExtension
bool $hasAugmentedPermissions
bool $hasThumbnail
string $headRevisionId
$iconLink
string $id
protected $imageMediaMetadataType
protected $imageMediaMetadataDataType
bool $isAppAuthorized
string $kind
protected $labelInfoType
protected $labelInfoDataType
protected $lastModifyingUserType
protected $lastModifyingUserDataType
protected $linkShareMetadataType
protected $linkShareMetadataDataType
string $md5Checksum
string $mimeType
bool $modifiedByMe
string $modifiedByMeTime
string $modifiedTime
string $name
string $originalFilename
bool $ownedByMe
protected $ownersType
protected $ownersDataType
string[] $parents
string[] $permissionIds
protected $permissionsType
protected $permissionsDataType
string[] $properties
string $quotaBytesUsed
string $resourceKey
string $sha1Checksum
string $sha256Checksum
bool $shared
string $sharedWithMeTime
protected $sharingUserType
protected $sharingUserDataType
protected $shortcutDetailsType
protected $shortcutDetailsDataType
string $size
string[] $spaces
bool $starred
string $teamDriveId
$thumbnailLink
string $thumbnailVersion
bool $trashed
string $trashedTime
protected $trashingUserType
protected $trashingUserDataType
string $version
protected $videoMediaMetadataType
protected $videoMediaMetadataDataType
bool $viewedByMe
string $viewedByMeTime
bool $viewersCanCopyContent
$webContentLink
$webViewLink
bool $writersCanShare

Methods

setAppProperties($appProperties)

No description

string[]
getAppProperties()

No description

setCapabilities(DriveFileCapabilities $capabilities)

No description

setContentHints(DriveFileContentHints $contentHints)

No description

setContentRestrictions($contentRestrictions)

No description

setCopyRequiresWriterPermission($copyRequiresWriterPermission)

No description

bool
setCreatedTime($createdTime)

No description

string
getCreatedTime()

No description

setDescription($description)

No description

string
getDescription()

No description

setDriveId($driveId)

No description

string
getDriveId()

No description

setExplicitlyTrashed($explicitlyTrashed)

No description

bool
getExplicitlyTrashed()

No description

setExportLinks($exportLinks)

No description

string[]
getExportLinks()

No description

setFileExtension($fileExtension)

No description

string
getFileExtension()

No description

setFolderColorRgb($folderColorRgb)

No description

string
getFolderColorRgb()

No description

setFullFileExtension($fullFileExtension)

No description

string
getFullFileExtension()

No description

setHasAugmentedPermissions($hasAugmentedPermissions)

No description

bool
getHasAugmentedPermissions()

No description

setHasThumbnail($hasThumbnail)

No description

bool
getHasThumbnail()

No description

setHeadRevisionId($headRevisionId)

No description

string
getHeadRevisionId()

No description

setIconLink($iconLink)

No description

string
getIconLink()

No description

setId($id)

No description

string
getId()

No description

setImageMediaMetadata(DriveFileImageMediaMetadata $imageMediaMetadata)

No description

setIsAppAuthorized($isAppAuthorized)

No description

bool
getIsAppAuthorized()

No description

setKind($kind)

No description

string
getKind()

No description

setLabelInfo(DriveFileLabelInfo $labelInfo)

No description

getLabelInfo()

No description

setLastModifyingUser(User $lastModifyingUser)

No description

getLastModifyingUser()

No description

setLinkShareMetadata(DriveFileLinkShareMetadata $linkShareMetadata)

No description

setMd5Checksum($md5Checksum)

No description

string
getMd5Checksum()

No description

setMimeType($mimeType)

No description

string
getMimeType()

No description

setModifiedByMe($modifiedByMe)

No description

bool
getModifiedByMe()

No description

setModifiedByMeTime($modifiedByMeTime)

No description

string
getModifiedByMeTime()

No description

setModifiedTime($modifiedTime)

No description

string
getModifiedTime()

No description

setName($name)

No description

string
getName()

No description

setOriginalFilename($originalFilename)

No description

string
getOriginalFilename()

No description

setOwnedByMe($ownedByMe)

No description

bool
getOwnedByMe()

No description

setOwners($owners)

No description

User[]
getOwners()

No description

setParents($parents)

No description

string[]
getParents()

No description

setPermissionIds($permissionIds)

No description

string[]
getPermissionIds()

No description

setPermissions($permissions)

No description

getPermissions()

No description

setProperties($properties)

No description

string[]
getProperties()

No description

setQuotaBytesUsed($quotaBytesUsed)

No description

string
getQuotaBytesUsed()

No description

setResourceKey($resourceKey)

No description

string
getResourceKey()

No description

setSha1Checksum($sha1Checksum)

No description

string
getSha1Checksum()

No description

setSha256Checksum($sha256Checksum)

No description

string
getSha256Checksum()

No description

setShared($shared)

No description

bool
getShared()

No description

setSharedWithMeTime($sharedWithMeTime)

No description

string
getSharedWithMeTime()

No description

setSharingUser(User $sharingUser)

No description

getSharingUser()

No description

setShortcutDetails(DriveFileShortcutDetails $shortcutDetails)

No description

setSize($size)

No description

string
getSize()

No description

setSpaces($spaces)

No description

string[]
getSpaces()

No description

setStarred($starred)

No description

bool
getStarred()

No description

setTeamDriveId($teamDriveId)

No description

string
getTeamDriveId()

No description

setThumbnailLink($thumbnailLink)

No description

string
getThumbnailLink()

No description

setThumbnailVersion($thumbnailVersion)

No description

string
getThumbnailVersion()

No description

setTrashed($trashed)

No description

bool
getTrashed()

No description

setTrashedTime($trashedTime)

No description

string
getTrashedTime()

No description

setTrashingUser(User $trashingUser)

No description

getTrashingUser()

No description

setVersion($version)

No description

string
getVersion()

No description

setVideoMediaMetadata(DriveFileVideoMediaMetadata $videoMediaMetadata)

No description

setViewedByMe($viewedByMe)

No description

bool
getViewedByMe()

No description

setViewedByMeTime($viewedByMeTime)

No description

string
getViewedByMeTime()

No description

setViewersCanCopyContent($viewersCanCopyContent)

No description

bool
getViewersCanCopyContent()

No description

setWebContentLink($webContentLink)

No description

string
getWebContentLink()

No description

setWebViewLink($webViewLink)

No description

string
getWebViewLink()

No description

setWritersCanShare($writersCanShare)

No description

bool
getWritersCanShare()

No description

Details

setAppProperties($appProperties)

No description

Parameters

$appProperties

string[] getAppProperties()

No description

Return Value

string[]

setCapabilities(DriveFileCapabilities $capabilities)

No description

Parameters

DriveFileCapabilities $capabilities

DriveFileCapabilities getCapabilities()

No description

Return Value

DriveFileCapabilities

setContentHints(DriveFileContentHints $contentHints)

No description

Parameters

DriveFileContentHints $contentHints

DriveFileContentHints getContentHints()

No description

Return Value

DriveFileContentHints

setContentRestrictions($contentRestrictions)

No description

Parameters

$contentRestrictions

ContentRestriction[] getContentRestrictions()

No description

Return Value

ContentRestriction[]

setCopyRequiresWriterPermission($copyRequiresWriterPermission)

No description

Parameters

$copyRequiresWriterPermission

bool getCopyRequiresWriterPermission()

No description

Return Value

bool

setCreatedTime($createdTime)

No description

Parameters

$createdTime

string getCreatedTime()

No description

Return Value

string

setDescription($description)

No description

Parameters

$description

string getDescription()

No description

Return Value

string

setDriveId($driveId)

No description

Parameters

$driveId

string getDriveId()

No description

Return Value

string

setExplicitlyTrashed($explicitlyTrashed)

No description

Parameters

$explicitlyTrashed

bool getExplicitlyTrashed()

No description

Return Value

bool

No description

Parameters

$exportLinks

No description

Return Value

string[]

setFileExtension($fileExtension)

No description

Parameters

$fileExtension

string getFileExtension()

No description

Return Value

string

setFolderColorRgb($folderColorRgb)

No description

Parameters

$folderColorRgb

string getFolderColorRgb()

No description

Return Value

string

setFullFileExtension($fullFileExtension)

No description

Parameters

$fullFileExtension

string getFullFileExtension()

No description

Return Value

string

setHasAugmentedPermissions($hasAugmentedPermissions)

No description

Parameters

$hasAugmentedPermissions

bool getHasAugmentedPermissions()

No description

Return Value

bool

setHasThumbnail($hasThumbnail)

No description

Parameters

$hasThumbnail

bool getHasThumbnail()

No description

Return Value

bool

setHeadRevisionId($headRevisionId)

No description

Parameters

$headRevisionId

string getHeadRevisionId()

No description

Return Value

string

No description

Parameters

$iconLink

No description

Return Value

string

setId($id)

No description

Parameters

$id

string getId()

No description

Return Value

string

setImageMediaMetadata(DriveFileImageMediaMetadata $imageMediaMetadata)

No description

Parameters

DriveFileImageMediaMetadata $imageMediaMetadata

DriveFileImageMediaMetadata getImageMediaMetadata()

No description

setIsAppAuthorized($isAppAuthorized)

No description

Parameters

$isAppAuthorized

bool getIsAppAuthorized()

No description

Return Value

bool

setKind($kind)

No description

Parameters

$kind

string getKind()

No description

Return Value

string

setLabelInfo(DriveFileLabelInfo $labelInfo)

No description

Parameters

DriveFileLabelInfo $labelInfo

DriveFileLabelInfo getLabelInfo()

No description

Return Value

DriveFileLabelInfo

setLastModifyingUser(User $lastModifyingUser)

No description

Parameters

User $lastModifyingUser

User getLastModifyingUser()

No description

Return Value

User

setLinkShareMetadata(DriveFileLinkShareMetadata $linkShareMetadata)

No description

Parameters

DriveFileLinkShareMetadata $linkShareMetadata

DriveFileLinkShareMetadata getLinkShareMetadata()

No description

setMd5Checksum($md5Checksum)

No description

Parameters

$md5Checksum

string getMd5Checksum()

No description

Return Value

string

setMimeType($mimeType)

No description

Parameters

$mimeType

string getMimeType()

No description

Return Value

string

setModifiedByMe($modifiedByMe)

No description

Parameters

$modifiedByMe

bool getModifiedByMe()

No description

Return Value

bool

setModifiedByMeTime($modifiedByMeTime)

No description

Parameters

$modifiedByMeTime

string getModifiedByMeTime()

No description

Return Value

string

setModifiedTime($modifiedTime)

No description

Parameters

$modifiedTime

string getModifiedTime()

No description

Return Value

string

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setOriginalFilename($originalFilename)

No description

Parameters

$originalFilename

string getOriginalFilename()

No description

Return Value

string

setOwnedByMe($ownedByMe)

No description

Parameters

$ownedByMe

bool getOwnedByMe()

No description

Return Value

bool

setOwners($owners)

No description

Parameters

$owners

User[] getOwners()

No description

Return Value

User[]

setParents($parents)

No description

Parameters

$parents

string[] getParents()

No description

Return Value

string[]

setPermissionIds($permissionIds)

No description

Parameters

$permissionIds

string[] getPermissionIds()

No description

Return Value

string[]

setPermissions($permissions)

No description

Parameters

$permissions

Permission[] getPermissions()

No description

Return Value

Permission[]

setProperties($properties)

No description

Parameters

$properties

string[] getProperties()

No description

Return Value

string[]

setQuotaBytesUsed($quotaBytesUsed)

No description

Parameters

$quotaBytesUsed

string getQuotaBytesUsed()

No description

Return Value

string

setResourceKey($resourceKey)

No description

Parameters

$resourceKey

string getResourceKey()

No description

Return Value

string

setSha1Checksum($sha1Checksum)

No description

Parameters

$sha1Checksum

string getSha1Checksum()

No description

Return Value

string

setSha256Checksum($sha256Checksum)

No description

Parameters

$sha256Checksum

string getSha256Checksum()

No description

Return Value

string

setShared($shared)

No description

Parameters

$shared

bool getShared()

No description

Return Value

bool

setSharedWithMeTime($sharedWithMeTime)

No description

Parameters

$sharedWithMeTime

string getSharedWithMeTime()

No description

Return Value

string

setSharingUser(User $sharingUser)

No description

Parameters

User $sharingUser

User getSharingUser()

No description

Return Value

User

setShortcutDetails(DriveFileShortcutDetails $shortcutDetails)

No description

Parameters

DriveFileShortcutDetails $shortcutDetails

DriveFileShortcutDetails getShortcutDetails()

No description

setSize($size)

No description

Parameters

$size

string getSize()

No description

Return Value

string

setSpaces($spaces)

No description

Parameters

$spaces

string[] getSpaces()

No description

Return Value

string[]

setStarred($starred)

No description

Parameters

$starred

bool getStarred()

No description

Return Value

bool

setTeamDriveId($teamDriveId)

No description

Parameters

$teamDriveId

string getTeamDriveId()

No description

Return Value

string

No description

Parameters

$thumbnailLink

No description

Return Value

string

setThumbnailVersion($thumbnailVersion)

No description

Parameters

$thumbnailVersion

string getThumbnailVersion()

No description

Return Value

string

setTrashed($trashed)

No description

Parameters

$trashed

bool getTrashed()

No description

Return Value

bool

setTrashedTime($trashedTime)

No description

Parameters

$trashedTime

string getTrashedTime()

No description

Return Value

string

setTrashingUser(User $trashingUser)

No description

Parameters

User $trashingUser

User getTrashingUser()

No description

Return Value

User

setVersion($version)

No description

Parameters

$version

string getVersion()

No description

Return Value

string

setVideoMediaMetadata(DriveFileVideoMediaMetadata $videoMediaMetadata)

No description

Parameters

DriveFileVideoMediaMetadata $videoMediaMetadata

DriveFileVideoMediaMetadata getVideoMediaMetadata()

No description

setViewedByMe($viewedByMe)

No description

Parameters

$viewedByMe

bool getViewedByMe()

No description

Return Value

bool

setViewedByMeTime($viewedByMeTime)

No description

Parameters

$viewedByMeTime

string getViewedByMeTime()

No description

Return Value

string

setViewersCanCopyContent($viewersCanCopyContent)

No description

Parameters

$viewersCanCopyContent

bool getViewersCanCopyContent()

No description

Return Value

bool

No description

Parameters

$webContentLink

No description

Return Value

string

No description

Parameters

$webViewLink

No description

Return Value

string

setWritersCanShare($writersCanShare)

No description

Parameters

$writersCanShare

bool getWritersCanShare()

No description

Return Value

bool