Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- FileList
- TeamDriveCapabilities
- FilesListCorpus
- CommentQuotedFileContent
- AboutStorageQuota
- Reply
- AboutImportFormats
- FileCapabilities
- ReplyList
- FileContentHintsThumbnail
- TeamDriveList
- Channel
- AboutTeamDriveThemesItem
- TeamDriveRestrictions
- TeamDriveBackgRoundImageFile
- FileVideoMediaMetadata
- FileAppProperties
- Change
- TeamDrive
- AboutExportFormats
- User
- ChangeList
- RevisionExportLinks
- FileContentHints
- ChannelParams
- FileProperties
- AboutMaxImportSizes
- About
- FileImageMediaMetadataLocation
- StartPageToken
- FileImageMediaMetadata
- Comment
- Revision
- Permission
- File
- PermissionTeamDrivePermissionDetailsItem
- GeneratedIds
- FileExportLinks
- CommentList
- RevisionList
- PermissionList
Synopsis
- driveService :: ServiceConfig
- driveMetadataReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.metadata.readonly"]
- drivePhotosReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.photos.readonly"]
- driveAppDataScope :: Proxy '["https://www.googleapis.com/auth/drive.appdata"]
- driveReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.readonly"]
- driveScope :: Proxy '["https://www.googleapis.com/auth/drive"]
- driveFileScope :: Proxy '["https://www.googleapis.com/auth/drive.file"]
- driveMetadataScope :: Proxy '["https://www.googleapis.com/auth/drive.metadata"]
- driveScriptsScope :: Proxy '["https://www.googleapis.com/auth/drive.scripts"]
- data FileList
- fileList :: FileList
- flNextPageToken :: Lens' FileList (Maybe Text)
- flIncompleteSearch :: Lens' FileList (Maybe Bool)
- flKind :: Lens' FileList Text
- flFiles :: Lens' FileList [File]
- data TeamDriveCapabilities
- teamDriveCapabilities :: TeamDriveCapabilities
- tdcCanRename :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanChangeTeamMembersOnlyRestriction :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanComment :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanRenameTeamDrive :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanChangeTeamDriveBackgRound :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanDownload :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanChangeDomainUsersOnlyRestriction :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanTrashChildren :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanAddChildren :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanRemoveChildren :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanChangeCopyRequiresWriterPermissionRestriction :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanDeleteTeamDrive :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanListChildren :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanEdit :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanManageMembers :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanReadRevisions :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanDeleteChildren :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanCopy :: Lens' TeamDriveCapabilities (Maybe Bool)
- tdcCanShare :: Lens' TeamDriveCapabilities (Maybe Bool)
- data FilesListCorpus
- data CommentQuotedFileContent
- commentQuotedFileContent :: CommentQuotedFileContent
- cqfcValue :: Lens' CommentQuotedFileContent (Maybe Text)
- cqfcMimeType :: Lens' CommentQuotedFileContent (Maybe Text)
- data AboutStorageQuota
- aboutStorageQuota :: AboutStorageQuota
- asqUsageInDriveTrash :: Lens' AboutStorageQuota (Maybe Int64)
- asqLimit :: Lens' AboutStorageQuota (Maybe Int64)
- asqUsage :: Lens' AboutStorageQuota (Maybe Int64)
- asqUsageInDrive :: Lens' AboutStorageQuota (Maybe Int64)
- data Reply
- reply :: Reply
- rHTMLContent :: Lens' Reply (Maybe Text)
- rModifiedTime :: Lens' Reply (Maybe UTCTime)
- rCreatedTime :: Lens' Reply (Maybe UTCTime)
- rKind :: Lens' Reply Text
- rAction :: Lens' Reply (Maybe Text)
- rContent :: Lens' Reply (Maybe Text)
- rAuthor :: Lens' Reply (Maybe User)
- rId :: Lens' Reply (Maybe Text)
- rDeleted :: Lens' Reply (Maybe Bool)
- data AboutImportFormats
- aboutImportFormats :: HashMap Text [Text] -> AboutImportFormats
- aifAddtional :: Lens' AboutImportFormats (HashMap Text [Text])
- data FileCapabilities
- fileCapabilities :: FileCapabilities
- fcCanRename :: Lens' FileCapabilities (Maybe Bool)
- fcCanComment :: Lens' FileCapabilities (Maybe Bool)
- fcCanMoveChildrenWithinTeamDrive :: Lens' FileCapabilities (Maybe Bool)
- fcCanDelete :: Lens' FileCapabilities (Maybe Bool)
- fcCanMoveItemIntoTeamDrive :: Lens' FileCapabilities (Maybe Bool)
- fcCanDownload :: Lens' FileCapabilities (Maybe Bool)
- fcCanTrash :: Lens' FileCapabilities (Maybe Bool)
- fcCanUntrash :: Lens' FileCapabilities (Maybe Bool)
- fcCanTrashChildren :: Lens' FileCapabilities (Maybe Bool)
- fcCanAddChildren :: Lens' FileCapabilities (Maybe Bool)
- fcCanRemoveChildren :: Lens' FileCapabilities (Maybe Bool)
- fcCanMoveTeamDriveItem :: Lens' FileCapabilities (Maybe Bool)
- fcCanMoveItemWithinTeamDrive :: Lens' FileCapabilities (Maybe Bool)
- fcCanReadTeamDrive :: Lens' FileCapabilities (Maybe Bool)
- fcCanChangeCopyRequiresWriterPermission :: Lens' FileCapabilities (Maybe Bool)
- fcCanListChildren :: Lens' FileCapabilities (Maybe Bool)
- fcCanMoveChildrenOutOfTeamDrive :: Lens' FileCapabilities (Maybe Bool)
- fcCanEdit :: Lens' FileCapabilities (Maybe Bool)
- fcCanChangeViewersCanCopyContent :: Lens' FileCapabilities (Maybe Bool)
- fcCanReadRevisions :: Lens' FileCapabilities (Maybe Bool)
- fcCanDeleteChildren :: Lens' FileCapabilities (Maybe Bool)
- fcCanMoveItemOutOfTeamDrive :: Lens' FileCapabilities (Maybe Bool)
- fcCanCopy :: Lens' FileCapabilities (Maybe Bool)
- fcCanShare :: Lens' FileCapabilities (Maybe Bool)
- data ReplyList
- replyList :: ReplyList
- rlNextPageToken :: Lens' ReplyList (Maybe Text)
- rlKind :: Lens' ReplyList Text
- rlReplies :: Lens' ReplyList [Reply]
- data FileContentHintsThumbnail
- fileContentHintsThumbnail :: FileContentHintsThumbnail
- fchtImage :: Lens' FileContentHintsThumbnail (Maybe ByteString)
- fchtMimeType :: Lens' FileContentHintsThumbnail (Maybe Text)
- data TeamDriveList
- teamDriveList :: TeamDriveList
- tdlNextPageToken :: Lens' TeamDriveList (Maybe Text)
- tdlTeamDrives :: Lens' TeamDriveList [TeamDrive]
- tdlKind :: Lens' TeamDriveList Text
- data Channel
- channel :: Channel
- cResourceURI :: Lens' Channel (Maybe Text)
- cResourceId :: Lens' Channel (Maybe Text)
- cKind :: Lens' Channel Text
- cExpiration :: Lens' Channel (Maybe Int64)
- cToken :: Lens' Channel (Maybe Text)
- cAddress :: Lens' Channel (Maybe Text)
- cPayload :: Lens' Channel (Maybe Bool)
- cParams :: Lens' Channel (Maybe ChannelParams)
- cId :: Lens' Channel (Maybe Text)
- cType :: Lens' Channel (Maybe Text)
- data AboutTeamDriveThemesItem
- aboutTeamDriveThemesItem :: AboutTeamDriveThemesItem
- atdtiColorRgb :: Lens' AboutTeamDriveThemesItem (Maybe Text)
- atdtiBackgRoundImageLink :: Lens' AboutTeamDriveThemesItem (Maybe Text)
- atdtiId :: Lens' AboutTeamDriveThemesItem (Maybe Text)
- data TeamDriveRestrictions
- teamDriveRestrictions :: TeamDriveRestrictions
- tdrTeamMembersOnly :: Lens' TeamDriveRestrictions (Maybe Bool)
- tdrAdminManagedRestrictions :: Lens' TeamDriveRestrictions (Maybe Bool)
- tdrCopyRequiresWriterPermission :: Lens' TeamDriveRestrictions (Maybe Bool)
- tdrDomainUsersOnly :: Lens' TeamDriveRestrictions (Maybe Bool)
- data TeamDriveBackgRoundImageFile
- teamDriveBackgRoundImageFile :: TeamDriveBackgRoundImageFile
- tdbrifXCoordinate :: Lens' TeamDriveBackgRoundImageFile (Maybe Double)
- tdbrifYCoordinate :: Lens' TeamDriveBackgRoundImageFile (Maybe Double)
- tdbrifWidth :: Lens' TeamDriveBackgRoundImageFile (Maybe Double)
- tdbrifId :: Lens' TeamDriveBackgRoundImageFile (Maybe Text)
- data FileVideoMediaMetadata
- fileVideoMediaMetadata :: FileVideoMediaMetadata
- fvmmHeight :: Lens' FileVideoMediaMetadata (Maybe Int32)
- fvmmWidth :: Lens' FileVideoMediaMetadata (Maybe Int32)
- fvmmDurationMillis :: Lens' FileVideoMediaMetadata (Maybe Int64)
- data FileAppProperties
- fileAppProperties :: HashMap Text Text -> FileAppProperties
- fapAddtional :: Lens' FileAppProperties (HashMap Text Text)
- data Change
- change :: Change
- chaRemoved :: Lens' Change (Maybe Bool)
- chaTime :: Lens' Change (Maybe UTCTime)
- chaKind :: Lens' Change Text
- chaTeamDrive :: Lens' Change (Maybe TeamDrive)
- chaTeamDriveId :: Lens' Change (Maybe Text)
- chaType :: Lens' Change (Maybe Text)
- chaFileId :: Lens' Change (Maybe Text)
- chaFile :: Lens' Change (Maybe File)
- data TeamDrive
- teamDrive :: TeamDrive
- tdThemeId :: Lens' TeamDrive (Maybe Text)
- tdBackgRoundImageFile :: Lens' TeamDrive (Maybe TeamDriveBackgRoundImageFile)
- tdColorRgb :: Lens' TeamDrive (Maybe Text)
- tdCreatedTime :: Lens' TeamDrive (Maybe UTCTime)
- tdKind :: Lens' TeamDrive Text
- tdBackgRoundImageLink :: Lens' TeamDrive (Maybe Text)
- tdName :: Lens' TeamDrive (Maybe Text)
- tdRestrictions :: Lens' TeamDrive (Maybe TeamDriveRestrictions)
- tdId :: Lens' TeamDrive (Maybe Text)
- tdCapabilities :: Lens' TeamDrive (Maybe TeamDriveCapabilities)
- data AboutExportFormats
- aboutExportFormats :: HashMap Text [Text] -> AboutExportFormats
- aefAddtional :: Lens' AboutExportFormats (HashMap Text [Text])
- data User
- user :: User
- uPhotoLink :: Lens' User (Maybe Text)
- uMe :: Lens' User (Maybe Bool)
- uKind :: Lens' User Text
- uEmailAddress :: Lens' User (Maybe Text)
- uDisplayName :: Lens' User (Maybe Text)
- uPermissionId :: Lens' User (Maybe Text)
- data ChangeList
- changeList :: ChangeList
- clNewStartPageToken :: Lens' ChangeList (Maybe Text)
- clNextPageToken :: Lens' ChangeList (Maybe Text)
- clChanges :: Lens' ChangeList [Change]
- clKind :: Lens' ChangeList Text
- data RevisionExportLinks
- revisionExportLinks :: HashMap Text Text -> RevisionExportLinks
- relAddtional :: Lens' RevisionExportLinks (HashMap Text Text)
- data FileContentHints
- fileContentHints :: FileContentHints
- fchThumbnail :: Lens' FileContentHints (Maybe FileContentHintsThumbnail)
- fchIndexableText :: Lens' FileContentHints (Maybe Text)
- data ChannelParams
- channelParams :: HashMap Text Text -> ChannelParams
- cpAddtional :: Lens' ChannelParams (HashMap Text Text)
- data FileProperties
- fileProperties :: HashMap Text Text -> FileProperties
- fpAddtional :: Lens' FileProperties (HashMap Text Text)
- data AboutMaxImportSizes
- aboutMaxImportSizes :: HashMap Text Int64 -> AboutMaxImportSizes
- amisAddtional :: Lens' AboutMaxImportSizes (HashMap Text Int64)
- data About
- about :: About
- aExportFormats :: Lens' About (Maybe AboutExportFormats)
- aMaxImportSizes :: Lens' About (Maybe AboutMaxImportSizes)
- aCanCreateTeamDrives :: Lens' About (Maybe Bool)
- aImportFormats :: Lens' About (Maybe AboutImportFormats)
- aKind :: Lens' About Text
- aAppInstalled :: Lens' About (Maybe Bool)
- aUser :: Lens' About (Maybe User)
- aStorageQuota :: Lens' About (Maybe AboutStorageQuota)
- aMaxUploadSize :: Lens' About (Maybe Int64)
- aTeamDriveThemes :: Lens' About [AboutTeamDriveThemesItem]
- aFolderColorPalette :: Lens' About [Text]
- data FileImageMediaMetadataLocation
- fileImageMediaMetadataLocation :: FileImageMediaMetadataLocation
- fimmlLatitude :: Lens' FileImageMediaMetadataLocation (Maybe Double)
- fimmlAltitude :: Lens' FileImageMediaMetadataLocation (Maybe Double)
- fimmlLongitude :: Lens' FileImageMediaMetadataLocation (Maybe Double)
- data StartPageToken
- startPageToken :: StartPageToken
- sptKind :: Lens' StartPageToken Text
- sptStartPageToken :: Lens' StartPageToken (Maybe Text)
- data FileImageMediaMetadata
- fileImageMediaMetadata :: FileImageMediaMetadata
- fimmRotation :: Lens' FileImageMediaMetadata (Maybe Int32)
- fimmHeight :: Lens' FileImageMediaMetadata (Maybe Int32)
- fimmSubjectDistance :: Lens' FileImageMediaMetadata (Maybe Int32)
- fimmMaxApertureValue :: Lens' FileImageMediaMetadata (Maybe Double)
- fimmIsoSpeed :: Lens' FileImageMediaMetadata (Maybe Int32)
- fimmTime :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmLocation :: Lens' FileImageMediaMetadata (Maybe FileImageMediaMetadataLocation)
- fimmAperture :: Lens' FileImageMediaMetadata (Maybe Double)
- fimmFocalLength :: Lens' FileImageMediaMetadata (Maybe Double)
- fimmCameraMake :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmWidth :: Lens' FileImageMediaMetadata (Maybe Int32)
- fimmExposureTime :: Lens' FileImageMediaMetadata (Maybe Double)
- fimmCameraModel :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmWhiteBalance :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmLens :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmFlashUsed :: Lens' FileImageMediaMetadata (Maybe Bool)
- fimmExposureBias :: Lens' FileImageMediaMetadata (Maybe Double)
- fimmMeteringMode :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmExposureMode :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmSensor :: Lens' FileImageMediaMetadata (Maybe Text)
- fimmColorSpace :: Lens' FileImageMediaMetadata (Maybe Text)
- data Comment
- comment :: Comment
- comHTMLContent :: Lens' Comment (Maybe Text)
- comModifiedTime :: Lens' Comment (Maybe UTCTime)
- comCreatedTime :: Lens' Comment (Maybe UTCTime)
- comKind :: Lens' Comment Text
- comResolved :: Lens' Comment (Maybe Bool)
- comQuotedFileContent :: Lens' Comment (Maybe CommentQuotedFileContent)
- comAnchor :: Lens' Comment (Maybe Text)
- comContent :: Lens' Comment (Maybe Text)
- comReplies :: Lens' Comment [Reply]
- comAuthor :: Lens' Comment (Maybe User)
- comId :: Lens' Comment (Maybe Text)
- comDeleted :: Lens' Comment (Maybe Bool)
- data Revision
- revision :: Revision
- revModifiedTime :: Lens' Revision (Maybe UTCTime)
- revSize :: Lens' Revision (Maybe Int64)
- revOriginalFilename :: Lens' Revision (Maybe Text)
- revKind :: Lens' Revision Text
- revPublished :: Lens' Revision (Maybe Bool)
- revLastModifyingUser :: Lens' Revision (Maybe User)
- revPublishAuto :: Lens' Revision (Maybe Bool)
- revMD5Checksum :: Lens' Revision (Maybe Text)
- revKeepForever :: Lens' Revision (Maybe Bool)
- revMimeType :: Lens' Revision (Maybe Text)
- revExportLinks :: Lens' Revision (Maybe RevisionExportLinks)
- revPublishedOutsideDomain :: Lens' Revision (Maybe Bool)
- revId :: Lens' Revision (Maybe Text)
- data Permission
- permission :: Permission
- pPhotoLink :: Lens' Permission (Maybe Text)
- pTeamDrivePermissionDetails :: Lens' Permission [PermissionTeamDrivePermissionDetailsItem]
- pKind :: Lens' Permission Text
- pDomain :: Lens' Permission (Maybe Text)
- pRole :: Lens' Permission (Maybe Text)
- pEmailAddress :: Lens' Permission (Maybe Text)
- pAllowFileDiscovery :: Lens' Permission (Maybe Bool)
- pDisplayName :: Lens' Permission (Maybe Text)
- pId :: Lens' Permission (Maybe Text)
- pDeleted :: Lens' Permission (Maybe Bool)
- pType :: Lens' Permission (Maybe Text)
- pExpirationTime :: Lens' Permission (Maybe UTCTime)
- data File
- file :: File
- fOwnedByMe :: Lens' File (Maybe Bool)
- fThumbnailLink :: Lens' File (Maybe Text)
- fFullFileExtension :: Lens' File (Maybe Text)
- fModifiedTime :: Lens' File (Maybe UTCTime)
- fModifiedByMeTime :: Lens' File (Maybe UTCTime)
- fFileExtension :: Lens' File (Maybe Text)
- fViewedByMe :: Lens' File (Maybe Bool)
- fOwners :: Lens' File [User]
- fViewedByMeTime :: Lens' File (Maybe UTCTime)
- fModifiedByMe :: Lens' File (Maybe Bool)
- fSize :: Lens' File (Maybe Int64)
- fTrashed :: Lens' File (Maybe Bool)
- fWebViewLink :: Lens' File (Maybe Text)
- fCreatedTime :: Lens' File (Maybe UTCTime)
- fTrashedTime :: Lens' File (Maybe UTCTime)
- fOriginalFilename :: Lens' File (Maybe Text)
- fKind :: Lens' File Text
- fLastModifyingUser :: Lens' File (Maybe User)
- fIconLink :: Lens' File (Maybe Text)
- fHasThumbnail :: Lens' File (Maybe Bool)
- fThumbnailVersion :: Lens' File (Maybe Int64)
- fImageMediaMetadata :: Lens' File (Maybe FileImageMediaMetadata)
- fExplicitlyTrashed :: Lens' File (Maybe Bool)
- fShared :: Lens' File (Maybe Bool)
- fMD5Checksum :: Lens' File (Maybe Text)
- fTeamDriveId :: Lens' File (Maybe Text)
- fFolderColorRgb :: Lens' File (Maybe Text)
- fMimeType :: Lens' File (Maybe Text)
- fIsAppAuthorized :: Lens' File (Maybe Bool)
- fCopyRequiresWriterPermission :: Lens' File (Maybe Bool)
- fName :: Lens' File (Maybe Text)
- fExportLinks :: Lens' File (Maybe FileExportLinks)
- fParents :: Lens' File [Text]
- fStarred :: Lens' File (Maybe Bool)
- fSpaces :: Lens' File [Text]
- fVersion :: Lens' File (Maybe Int64)
- fHasAugmentedPermissions :: Lens' File (Maybe Bool)
- fWritersCanShare :: Lens' File (Maybe Bool)
- fTrashingUser :: Lens' File (Maybe User)
- fId :: Lens' File (Maybe Text)
- fPermissionIds :: Lens' File [Text]
- fPermissions :: Lens' File [Permission]
- fQuotaBytesUsed :: Lens' File (Maybe Int64)
- fAppProperties :: Lens' File (Maybe FileAppProperties)
- fVideoMediaMetadata :: Lens' File (Maybe FileVideoMediaMetadata)
- fSharedWithMeTime :: Lens' File (Maybe UTCTime)
- fHeadRevisionId :: Lens' File (Maybe Text)
- fCapabilities :: Lens' File (Maybe FileCapabilities)
- fDescription :: Lens' File (Maybe Text)
- fViewersCanCopyContent :: Lens' File (Maybe Bool)
- fSharingUser :: Lens' File (Maybe User)
- fWebContentLink :: Lens' File (Maybe Text)
- fContentHints :: Lens' File (Maybe FileContentHints)
- fProperties :: Lens' File (Maybe FileProperties)
- data PermissionTeamDrivePermissionDetailsItem
- permissionTeamDrivePermissionDetailsItem :: PermissionTeamDrivePermissionDetailsItem
- ptdpdiInherited :: Lens' PermissionTeamDrivePermissionDetailsItem (Maybe Bool)
- ptdpdiTeamDrivePermissionType :: Lens' PermissionTeamDrivePermissionDetailsItem (Maybe Text)
- ptdpdiRole :: Lens' PermissionTeamDrivePermissionDetailsItem (Maybe Text)
- ptdpdiInheritedFrom :: Lens' PermissionTeamDrivePermissionDetailsItem (Maybe Text)
- data GeneratedIds
- generatedIds :: GeneratedIds
- giSpace :: Lens' GeneratedIds (Maybe Text)
- giKind :: Lens' GeneratedIds Text
- giIds :: Lens' GeneratedIds [Text]
- data FileExportLinks
- fileExportLinks :: HashMap Text Text -> FileExportLinks
- felAddtional :: Lens' FileExportLinks (HashMap Text Text)
- data CommentList
- commentList :: CommentList
- cllNextPageToken :: Lens' CommentList (Maybe Text)
- cllKind :: Lens' CommentList Text
- cllComments :: Lens' CommentList [Comment]
- data RevisionList
- revisionList :: RevisionList
- rllNextPageToken :: Lens' RevisionList (Maybe Text)
- rllKind :: Lens' RevisionList Text
- rllRevisions :: Lens' RevisionList [Revision]
- data PermissionList
- permissionList :: PermissionList
- plNextPageToken :: Lens' PermissionList (Maybe Text)
- plKind :: Lens' PermissionList Text
- plPermissions :: Lens' PermissionList [Permission]
Service Configuration
driveService :: ServiceConfig Source #
Default request referring to version v3
of the Drive API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
driveMetadataReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.metadata.readonly"] Source #
View metadata for files in your Google Drive
drivePhotosReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.photos.readonly"] Source #
View the photos, videos and albums in your Google Photos
driveAppDataScope :: Proxy '["https://www.googleapis.com/auth/drive.appdata"] Source #
View and manage its own configuration data in your Google Drive
driveReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/drive.readonly"] Source #
See and download all your Google Drive files
driveScope :: Proxy '["https://www.googleapis.com/auth/drive"] Source #
See, edit, create, and delete all of your Google Drive files
driveFileScope :: Proxy '["https://www.googleapis.com/auth/drive.file"] Source #
View and manage Google Drive files and folders that you have opened or created with this app
driveMetadataScope :: Proxy '["https://www.googleapis.com/auth/drive.metadata"] Source #
View and manage metadata of files in your Google Drive
driveScriptsScope :: Proxy '["https://www.googleapis.com/auth/drive.scripts"] Source #
Modify your Google Apps Script scripts' behavior
FileList
A list of files.
See: fileList
smart constructor.
Instances
Eq FileList Source # | |
Data FileList Source # | |
Defined in Network.Google.Drive.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileList -> c FileList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileList # toConstr :: FileList -> Constr # dataTypeOf :: FileList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileList) # gmapT :: (forall b. Data b => b -> b) -> FileList -> FileList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileList -> r # gmapQ :: (forall d. Data d => d -> u) -> FileList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> FileList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileList -> m FileList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileList -> m FileList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileList -> m FileList # | |
Show FileList Source # | |
Generic FileList Source # | |
ToJSON FileList Source # | |
Defined in Network.Google.Drive.Types.Product | |
FromJSON FileList Source # | |
type Rep FileList Source # | |
Defined in Network.Google.Drive.Types.Product type Rep FileList = D1 (MetaData "FileList" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FileList'" PrefixI True) ((S1 (MetaSel (Just "_flNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_flIncompleteSearch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_flKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_flFiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [File]))))) |
Creates a value of FileList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
flNextPageToken :: Lens' FileList (Maybe Text) Source #
The page token for the next page of files. This will be absent if the end of the files list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
flIncompleteSearch :: Lens' FileList (Maybe Bool) Source #
Whether the search process was incomplete. If true, then some search results may be missing, since all documents were not searched. This may occur when searching multiple Team Drives with the "user,allTeamDrives" corpora, but all corpora could not be searched. When this happens, it is suggested that clients narrow their query by choosing a different corpus such as "user" or "teamDrive".
flKind :: Lens' FileList Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#fileList".
flFiles :: Lens' FileList [File] Source #
The list of files. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
TeamDriveCapabilities
data TeamDriveCapabilities Source #
Capabilities the current user has on this Team Drive.
See: teamDriveCapabilities
smart constructor.
Instances
teamDriveCapabilities :: TeamDriveCapabilities Source #
Creates a value of TeamDriveCapabilities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdcCanRename
tdcCanChangeTeamMembersOnlyRestriction
tdcCanComment
tdcCanRenameTeamDrive
tdcCanChangeTeamDriveBackgRound
tdcCanDownload
tdcCanChangeDomainUsersOnlyRestriction
tdcCanTrashChildren
tdcCanAddChildren
tdcCanRemoveChildren
tdcCanChangeCopyRequiresWriterPermissionRestriction
tdcCanDeleteTeamDrive
tdcCanListChildren
tdcCanEdit
tdcCanManageMembers
tdcCanReadRevisions
tdcCanDeleteChildren
tdcCanCopy
tdcCanShare
tdcCanRename :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can rename files or folders in this Team Drive.
tdcCanChangeTeamMembersOnlyRestriction :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can change the teamMembersOnly restriction of this Team Drive.
tdcCanComment :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can comment on files in this Team Drive.
tdcCanRenameTeamDrive :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can rename this Team Drive.
tdcCanChangeTeamDriveBackgRound :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can change the background of this Team Drive.
tdcCanDownload :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can download files in this Team Drive.
tdcCanChangeDomainUsersOnlyRestriction :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can change the domainUsersOnly restriction of this Team Drive.
tdcCanTrashChildren :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can trash children from folders in this Team Drive.
tdcCanAddChildren :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can add children to folders in this Team Drive.
tdcCanRemoveChildren :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Deprecated - use canDeleteChildren or canTrashChildren instead.
tdcCanChangeCopyRequiresWriterPermissionRestriction :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
tdcCanDeleteTeamDrive :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
tdcCanListChildren :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can list the children of folders in this Team Drive.
tdcCanEdit :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can edit files in this Team Drive
tdcCanManageMembers :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can add members to this Team Drive or remove them or change their role.
tdcCanReadRevisions :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can read the revisions resource of files in this Team Drive.
tdcCanDeleteChildren :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can delete children from folders in this Team Drive.
tdcCanCopy :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can copy files in this Team Drive.
tdcCanShare :: Lens' TeamDriveCapabilities (Maybe Bool) Source #
Whether the current user can share files or folders in this Team Drive.
FilesListCorpus
data FilesListCorpus Source #
The source of files to list. Deprecated: use 'corpora' instead.
Instances
CommentQuotedFileContent
data CommentQuotedFileContent Source #
The file content to which the comment refers, typically within the anchor region. For a text file, for example, this would be the text at the location of the comment.
See: commentQuotedFileContent
smart constructor.
Instances
commentQuotedFileContent :: CommentQuotedFileContent Source #
Creates a value of CommentQuotedFileContent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cqfcValue :: Lens' CommentQuotedFileContent (Maybe Text) Source #
The quoted content itself. This is interpreted as plain text if set through the API.
cqfcMimeType :: Lens' CommentQuotedFileContent (Maybe Text) Source #
The MIME type of the quoted content.
AboutStorageQuota
data AboutStorageQuota Source #
The user's storage quota limits and usage. All fields are measured in bytes.
See: aboutStorageQuota
smart constructor.
Instances
aboutStorageQuota :: AboutStorageQuota Source #
Creates a value of AboutStorageQuota
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asqUsageInDriveTrash :: Lens' AboutStorageQuota (Maybe Int64) Source #
The usage by trashed files in Google Drive.
asqLimit :: Lens' AboutStorageQuota (Maybe Int64) Source #
The usage limit, if applicable. This will not be present if the user has unlimited storage.
asqUsageInDrive :: Lens' AboutStorageQuota (Maybe Int64) Source #
The usage by all files in Google Drive.
Reply
A reply to a comment on a file.
See: reply
smart constructor.
Instances
Creates a value of Reply
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rModifiedTime :: Lens' Reply (Maybe UTCTime) Source #
The last time the reply was modified (RFC 3339 date-time).
rCreatedTime :: Lens' Reply (Maybe UTCTime) Source #
The time at which the reply was created (RFC 3339 date-time).
rKind :: Lens' Reply Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#reply".
rAction :: Lens' Reply (Maybe Text) Source #
The action the reply performed to the parent comment. Valid values are: - resolve - reopen
rContent :: Lens' Reply (Maybe Text) Source #
The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified.
rDeleted :: Lens' Reply (Maybe Bool) Source #
Whether the reply has been deleted. A deleted reply has no content.
AboutImportFormats
data AboutImportFormats Source #
A map of source MIME type to possible targets for all supported imports.
See: aboutImportFormats
smart constructor.
Instances
Creates a value of AboutImportFormats
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
FileCapabilities
data FileCapabilities Source #
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
See: fileCapabilities
smart constructor.
Instances
fileCapabilities :: FileCapabilities Source #
Creates a value of FileCapabilities
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fcCanRename
fcCanComment
fcCanMoveChildrenWithinTeamDrive
fcCanDelete
fcCanMoveItemIntoTeamDrive
fcCanDownload
fcCanTrash
fcCanUntrash
fcCanTrashChildren
fcCanAddChildren
fcCanRemoveChildren
fcCanMoveTeamDriveItem
fcCanMoveItemWithinTeamDrive
fcCanReadTeamDrive
fcCanChangeCopyRequiresWriterPermission
fcCanListChildren
fcCanMoveChildrenOutOfTeamDrive
fcCanEdit
fcCanChangeViewersCanCopyContent
fcCanReadRevisions
fcCanDeleteChildren
fcCanMoveItemOutOfTeamDrive
fcCanCopy
fcCanShare
fcCanRename :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can rename this file.
fcCanComment :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can comment on this file.
fcCanMoveChildrenWithinTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can move children of this folder within the Team Drive. This is false when the item is not a folder. Only populated for Team Drive items.
fcCanDelete :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can delete this file.
fcCanMoveItemIntoTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can move this item into a Team Drive. If the item is in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
fcCanDownload :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can download this file.
fcCanTrash :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can move this file to trash.
fcCanUntrash :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can restore this file from trash.
fcCanTrashChildren :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for Team Drive items.
fcCanAddChildren :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can add children to this folder. This is always false when the item is not a folder.
fcCanRemoveChildren :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can remove children from this folder. This is always false when the item is not a folder. For Team Drive items, use canDeleteChildren or canTrashChildren instead.
fcCanMoveTeamDriveItem :: Lens' FileCapabilities (Maybe Bool) Source #
Deprecated - use canMoveItemWithinTeamDrive or canMoveItemOutOfTeamDrive instead.
fcCanMoveItemWithinTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can move this Team Drive item within this Team Drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for Team Drive items.
fcCanReadTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can read the Team Drive to which this file belongs. Only populated for Team Drive files.
fcCanChangeCopyRequiresWriterPermission :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
fcCanListChildren :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can list the children of this folder. This is always false when the item is not a folder.
fcCanMoveChildrenOutOfTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can move children of this folder outside of the Team Drive. This is false when the item is not a folder. Only populated for Team Drive items.
fcCanEdit :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can edit this file.
fcCanChangeViewersCanCopyContent :: Lens' FileCapabilities (Maybe Bool) Source #
Deprecated
fcCanReadRevisions :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can read the revisions resource of this file. For a Team Drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
fcCanDeleteChildren :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for Team Drive items.
fcCanMoveItemOutOfTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can move this Team Drive item outside of this Team Drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for Team Drive items.
fcCanCopy :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can copy this file. For a Team Drive item, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
fcCanShare :: Lens' FileCapabilities (Maybe Bool) Source #
Whether the current user can modify the sharing settings for this file.
ReplyList
A list of replies to a comment on a file.
See: replyList
smart constructor.
Instances
Eq ReplyList Source # | |
Data ReplyList Source # | |
Defined in Network.Google.Drive.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReplyList -> c ReplyList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReplyList # toConstr :: ReplyList -> Constr # dataTypeOf :: ReplyList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReplyList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReplyList) # gmapT :: (forall b. Data b => b -> b) -> ReplyList -> ReplyList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReplyList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReplyList -> r # gmapQ :: (forall d. Data d => d -> u) -> ReplyList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReplyList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReplyList -> m ReplyList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplyList -> m ReplyList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplyList -> m ReplyList # | |
Show ReplyList Source # | |
Generic ReplyList Source # | |
ToJSON ReplyList Source # | |
Defined in Network.Google.Drive.Types.Product | |
FromJSON ReplyList Source # | |
type Rep ReplyList Source # | |
Defined in Network.Google.Drive.Types.Product type Rep ReplyList = D1 (MetaData "ReplyList" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "ReplyList'" PrefixI True) (S1 (MetaSel (Just "_rlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rlReplies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Reply]))))) |
replyList :: ReplyList Source #
Creates a value of ReplyList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rlNextPageToken :: Lens' ReplyList (Maybe Text) Source #
The page token for the next page of replies. This will be absent if the end of the replies list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
rlKind :: Lens' ReplyList Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#replyList".
rlReplies :: Lens' ReplyList [Reply] Source #
The list of replies. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
FileContentHintsThumbnail
data FileContentHintsThumbnail Source #
A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.
See: fileContentHintsThumbnail
smart constructor.
Instances
fileContentHintsThumbnail :: FileContentHintsThumbnail Source #
Creates a value of FileContentHintsThumbnail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fchtImage :: Lens' FileContentHintsThumbnail (Maybe ByteString) Source #
The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
fchtMimeType :: Lens' FileContentHintsThumbnail (Maybe Text) Source #
The MIME type of the thumbnail.
TeamDriveList
data TeamDriveList Source #
A list of Team Drives.
See: teamDriveList
smart constructor.
Instances
teamDriveList :: TeamDriveList Source #
Creates a value of TeamDriveList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdlNextPageToken :: Lens' TeamDriveList (Maybe Text) Source #
The page token for the next page of Team Drives. This will be absent if the end of the Team Drives list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
tdlTeamDrives :: Lens' TeamDriveList [TeamDrive] Source #
The list of Team Drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
tdlKind :: Lens' TeamDriveList Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#teamDriveList".
Channel
An notification channel used to watch for resource changes.
See: channel
smart constructor.
Instances
Creates a value of Channel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cResourceURI :: Lens' Channel (Maybe Text) Source #
A version-specific identifier for the watched resource.
cResourceId :: Lens' Channel (Maybe Text) Source #
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
cKind :: Lens' Channel Text Source #
Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
cExpiration :: Lens' Channel (Maybe Int64) Source #
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
cToken :: Lens' Channel (Maybe Text) Source #
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
cAddress :: Lens' Channel (Maybe Text) Source #
The address where notifications are delivered for this channel.
cPayload :: Lens' Channel (Maybe Bool) Source #
A Boolean value to indicate whether payload is wanted. Optional.
cParams :: Lens' Channel (Maybe ChannelParams) Source #
Additional parameters controlling delivery channel behavior. Optional.
cId :: Lens' Channel (Maybe Text) Source #
A UUID or similar unique string that identifies this channel.
AboutTeamDriveThemesItem
data AboutTeamDriveThemesItem Source #
Instances
aboutTeamDriveThemesItem :: AboutTeamDriveThemesItem Source #
Creates a value of AboutTeamDriveThemesItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
atdtiColorRgb :: Lens' AboutTeamDriveThemesItem (Maybe Text) Source #
The color of this Team Drive theme as an RGB hex string.
atdtiBackgRoundImageLink :: Lens' AboutTeamDriveThemesItem (Maybe Text) Source #
A link to this Team Drive theme's background image.
TeamDriveRestrictions
data TeamDriveRestrictions Source #
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
See: teamDriveRestrictions
smart constructor.
Instances
teamDriveRestrictions :: TeamDriveRestrictions Source #
Creates a value of TeamDriveRestrictions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdrTeamMembersOnly :: Lens' TeamDriveRestrictions (Maybe Bool) Source #
Whether access to items inside this Team Drive is restricted to members of this Team Drive.
tdrAdminManagedRestrictions :: Lens' TeamDriveRestrictions (Maybe Bool) Source #
Whether administrative privileges on this Team Drive are required to modify restrictions.
tdrCopyRequiresWriterPermission :: Lens' TeamDriveRestrictions (Maybe Bool) Source #
Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
tdrDomainUsersOnly :: Lens' TeamDriveRestrictions (Maybe Bool) Source #
Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
TeamDriveBackgRoundImageFile
data TeamDriveBackgRoundImageFile Source #
An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
See: teamDriveBackgRoundImageFile
smart constructor.
Instances
teamDriveBackgRoundImageFile :: TeamDriveBackgRoundImageFile Source #
Creates a value of TeamDriveBackgRoundImageFile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdbrifXCoordinate :: Lens' TeamDriveBackgRoundImageFile (Maybe Double) Source #
The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
tdbrifYCoordinate :: Lens' TeamDriveBackgRoundImageFile (Maybe Double) Source #
The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
tdbrifWidth :: Lens' TeamDriveBackgRoundImageFile (Maybe Double) Source #
The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
tdbrifId :: Lens' TeamDriveBackgRoundImageFile (Maybe Text) Source #
The ID of an image file in Drive to use for the background image.
FileVideoMediaMetadata
data FileVideoMediaMetadata Source #
Additional metadata about video media. This may not be available immediately upon upload.
See: fileVideoMediaMetadata
smart constructor.
Instances
fileVideoMediaMetadata :: FileVideoMediaMetadata Source #
Creates a value of FileVideoMediaMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fvmmHeight :: Lens' FileVideoMediaMetadata (Maybe Int32) Source #
The height of the video in pixels.
fvmmDurationMillis :: Lens' FileVideoMediaMetadata (Maybe Int64) Source #
The duration of the video in milliseconds.
FileAppProperties
data FileAppProperties Source #
A collection of arbitrary key-value pairs which are private to the requesting app. Entries with null values are cleared in update and copy requests.
See: fileAppProperties
smart constructor.
Instances
Creates a value of FileAppProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Change
A change to a file or Team Drive.
See: change
smart constructor.
Instances
Creates a value of Change
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chaRemoved :: Lens' Change (Maybe Bool) Source #
Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access.
chaKind :: Lens' Change Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#change".
chaTeamDrive :: Lens' Change (Maybe TeamDrive) Source #
The updated state of the Team Drive. Present if the type is teamDrive, the user is still a member of the Team Drive, and the Team Drive has not been removed.
chaTeamDriveId :: Lens' Change (Maybe Text) Source #
The ID of the Team Drive associated with this change.
chaType :: Lens' Change (Maybe Text) Source #
The type of the change. Possible values are file and teamDrive.
chaFile :: Lens' Change (Maybe File) Source #
The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
TeamDrive
Representation of a Team Drive.
See: teamDrive
smart constructor.
Instances
teamDrive :: TeamDrive Source #
Creates a value of TeamDrive
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tdThemeId :: Lens' TeamDrive (Maybe Text) Source #
The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
tdBackgRoundImageFile :: Lens' TeamDrive (Maybe TeamDriveBackgRoundImageFile) Source #
An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
tdColorRgb :: Lens' TeamDrive (Maybe Text) Source #
The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
tdCreatedTime :: Lens' TeamDrive (Maybe UTCTime) Source #
The time at which the Team Drive was created (RFC 3339 date-time).
tdKind :: Lens' TeamDrive Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#teamDrive".
tdBackgRoundImageLink :: Lens' TeamDrive (Maybe Text) Source #
A short-lived link to this Team Drive's background image.
tdRestrictions :: Lens' TeamDrive (Maybe TeamDriveRestrictions) Source #
A set of restrictions that apply to this Team Drive or items inside this Team Drive.
tdId :: Lens' TeamDrive (Maybe Text) Source #
The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
tdCapabilities :: Lens' TeamDrive (Maybe TeamDriveCapabilities) Source #
Capabilities the current user has on this Team Drive.
AboutExportFormats
data AboutExportFormats Source #
A map of source MIME type to possible targets for all supported exports.
See: aboutExportFormats
smart constructor.
Instances
Creates a value of AboutExportFormats
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
User
Information about a Drive user.
See: user
smart constructor.
Instances
Eq User Source # | |
Data User Source # | |
Defined in Network.Google.Drive.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> User -> c User # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User # dataTypeOf :: User -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) # gmapT :: (forall b. Data b => b -> b) -> User -> User # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r # gmapQ :: (forall d. Data d => d -> u) -> User -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User # | |
Show User Source # | |
Generic User Source # | |
ToJSON User Source # | |
Defined in Network.Google.Drive.Types.Product | |
FromJSON User Source # | |
type Rep User Source # | |
Defined in Network.Google.Drive.Types.Product type Rep User = D1 (MetaData "User" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "User'" PrefixI True) ((S1 (MetaSel (Just "_uPhotoLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uMe") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_uKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_uEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uPermissionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of User
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uKind :: Lens' User Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#user".
uEmailAddress :: Lens' User (Maybe Text) Source #
The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
ChangeList
data ChangeList Source #
A list of changes for a user.
See: changeList
smart constructor.
Instances
changeList :: ChangeList Source #
Creates a value of ChangeList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clNewStartPageToken :: Lens' ChangeList (Maybe Text) Source #
The starting page token for future changes. This will be present only if the end of the current changes list has been reached.
clNextPageToken :: Lens' ChangeList (Maybe Text) Source #
The page token for the next page of changes. This will be absent if the end of the changes list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
clChanges :: Lens' ChangeList [Change] Source #
The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
clKind :: Lens' ChangeList Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#changeList".
RevisionExportLinks
data RevisionExportLinks Source #
Links for exporting Google Docs to specific formats.
See: revisionExportLinks
smart constructor.
Instances
Creates a value of RevisionExportLinks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
relAddtional :: Lens' RevisionExportLinks (HashMap Text Text) Source #
A mapping from export format to URL
FileContentHints
data FileContentHints Source #
Additional information about the content of the file. These fields are never populated in responses.
See: fileContentHints
smart constructor.
Instances
fileContentHints :: FileContentHints Source #
Creates a value of FileContentHints
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fchThumbnail :: Lens' FileContentHints (Maybe FileContentHintsThumbnail) Source #
A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.
fchIndexableText :: Lens' FileContentHints (Maybe Text) Source #
Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements.
ChannelParams
data ChannelParams Source #
Additional parameters controlling delivery channel behavior. Optional.
See: channelParams
smart constructor.
Instances
Creates a value of ChannelParams
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpAddtional :: Lens' ChannelParams (HashMap Text Text) Source #
Declares a new parameter by name.
FileProperties
data FileProperties Source #
A collection of arbitrary key-value pairs which are visible to all apps. Entries with null values are cleared in update and copy requests.
See: fileProperties
smart constructor.
Instances
Creates a value of FileProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AboutMaxImportSizes
data AboutMaxImportSizes Source #
A map of maximum import sizes by MIME type, in bytes.
See: aboutMaxImportSizes
smart constructor.
Instances
Creates a value of AboutMaxImportSizes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
About
Information about the user, the user's Drive, and system capabilities.
See: about
smart constructor.
Instances
Creates a value of About
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aExportFormats :: Lens' About (Maybe AboutExportFormats) Source #
A map of source MIME type to possible targets for all supported exports.
aMaxImportSizes :: Lens' About (Maybe AboutMaxImportSizes) Source #
A map of maximum import sizes by MIME type, in bytes.
aImportFormats :: Lens' About (Maybe AboutImportFormats) Source #
A map of source MIME type to possible targets for all supported imports.
aKind :: Lens' About Text Source #
Identifies what kind of resource this is. Value: the fixed string "drive#about".
aAppInstalled :: Lens' About (Maybe Bool)