gogol-drive-0.4.0: Google Drive SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Drive

Contents

Description

Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.

See: Drive API Reference

Synopsis

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

API Declaration

Resources

drive.about.get

drive.changes.getStartPageToken

drive.changes.list

drive.changes.watch

drive.channels.stop

drive.comments.create

drive.comments.delete

drive.comments.get

drive.comments.list

drive.comments.update

drive.files.copy

drive.files.create

drive.files.delete

drive.files.emptyTrash

drive.files.export

drive.files.generateIds

drive.files.get

drive.files.list

drive.files.update

drive.files.watch

drive.permissions.create

drive.permissions.delete

drive.permissions.get

drive.permissions.list

drive.permissions.update

drive.replies.create

drive.replies.delete

drive.replies.get

drive.replies.list

drive.replies.update

drive.revisions.delete

drive.revisions.get

drive.revisions.list

drive.revisions.update

drive.teamdrives.create

drive.teamdrives.delete

drive.teamdrives.get

drive.teamdrives.list

drive.teamdrives.update

Types

FileList

data FileList Source #

A list of files.

See: fileList smart constructor.

Instances
Eq FileList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

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 # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileList :: Type -> Type #

Methods

from :: FileList -> Rep FileList x #

to :: Rep FileList x -> FileList #

ToJSON FileList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileList Source # 
Instance details

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])))))

fileList :: FileList Source #

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
Eq TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamDriveCapabilities -> c TeamDriveCapabilities #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamDriveCapabilities #

toConstr :: TeamDriveCapabilities -> Constr #

dataTypeOf :: TeamDriveCapabilities -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamDriveCapabilities) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamDriveCapabilities) #

gmapT :: (forall b. Data b => b -> b) -> TeamDriveCapabilities -> TeamDriveCapabilities #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveCapabilities -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveCapabilities -> r #

gmapQ :: (forall d. Data d => d -> u) -> TeamDriveCapabilities -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamDriveCapabilities -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamDriveCapabilities -> m TeamDriveCapabilities #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveCapabilities -> m TeamDriveCapabilities #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveCapabilities -> m TeamDriveCapabilities #

Show TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep TeamDriveCapabilities :: Type -> Type #

ToJSON TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveCapabilities = D1 (MetaData "TeamDriveCapabilities" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "TeamDriveCapabilities'" PrefixI True) ((((S1 (MetaSel (Just "_tdcCanRename") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanChangeTeamMembersOnlyRestriction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_tdcCanComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanRenameTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_tdcCanChangeTeamDriveBackgRound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanDownload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_tdcCanChangeDomainUsersOnlyRestriction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tdcCanTrashChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanAddChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_tdcCanRemoveChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanChangeCopyRequiresWriterPermissionRestriction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_tdcCanDeleteTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tdcCanListChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanEdit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_tdcCanManageMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanReadRevisions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_tdcCanDeleteChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_tdcCanCopy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdcCanShare") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

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.

Constructors

FLCDomain

domain Files shared to the user's domain.

FLCUser

user Files owned by or shared to the user.

Instances
Enum FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Eq FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Data FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilesListCorpus -> c FilesListCorpus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilesListCorpus #

toConstr :: FilesListCorpus -> Constr #

dataTypeOf :: FilesListCorpus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FilesListCorpus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilesListCorpus) #

gmapT :: (forall b. Data b => b -> b) -> FilesListCorpus -> FilesListCorpus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilesListCorpus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilesListCorpus -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilesListCorpus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilesListCorpus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilesListCorpus -> m FilesListCorpus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilesListCorpus -> m FilesListCorpus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilesListCorpus -> m FilesListCorpus #

Ord FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Read FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Show FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Generic FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

Associated Types

type Rep FilesListCorpus :: Type -> Type #

Hashable FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

ToJSON FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

FromJSON FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

FromHttpApiData FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

ToHttpApiData FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

type Rep FilesListCorpus Source # 
Instance details

Defined in Network.Google.Drive.Types.Sum

type Rep FilesListCorpus = D1 (MetaData "FilesListCorpus" "Network.Google.Drive.Types.Sum" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FLCDomain" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FLCUser" PrefixI False) (U1 :: Type -> Type))

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
Eq CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CommentQuotedFileContent -> c CommentQuotedFileContent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CommentQuotedFileContent #

toConstr :: CommentQuotedFileContent -> Constr #

dataTypeOf :: CommentQuotedFileContent -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CommentQuotedFileContent) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CommentQuotedFileContent) #

gmapT :: (forall b. Data b => b -> b) -> CommentQuotedFileContent -> CommentQuotedFileContent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CommentQuotedFileContent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CommentQuotedFileContent -> r #

gmapQ :: (forall d. Data d => d -> u) -> CommentQuotedFileContent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CommentQuotedFileContent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CommentQuotedFileContent -> m CommentQuotedFileContent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CommentQuotedFileContent -> m CommentQuotedFileContent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CommentQuotedFileContent -> m CommentQuotedFileContent #

Show CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep CommentQuotedFileContent :: Type -> Type #

ToJSON CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep CommentQuotedFileContent Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep CommentQuotedFileContent = D1 (MetaData "CommentQuotedFileContent" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "CommentQuotedFileContent'" PrefixI True) (S1 (MetaSel (Just "_cqfcValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cqfcMimeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

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
Eq AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AboutStorageQuota -> c AboutStorageQuota #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AboutStorageQuota #

toConstr :: AboutStorageQuota -> Constr #

dataTypeOf :: AboutStorageQuota -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AboutStorageQuota) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AboutStorageQuota) #

gmapT :: (forall b. Data b => b -> b) -> AboutStorageQuota -> AboutStorageQuota #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AboutStorageQuota -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AboutStorageQuota -> r #

gmapQ :: (forall d. Data d => d -> u) -> AboutStorageQuota -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AboutStorageQuota -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AboutStorageQuota -> m AboutStorageQuota #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutStorageQuota -> m AboutStorageQuota #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutStorageQuota -> m AboutStorageQuota #

Show AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep AboutStorageQuota :: Type -> Type #

ToJSON AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutStorageQuota Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutStorageQuota = D1 (MetaData "AboutStorageQuota" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "AboutStorageQuota'" PrefixI True) ((S1 (MetaSel (Just "_asqUsageInDriveTrash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_asqLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) :*: (S1 (MetaSel (Just "_asqUsage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_asqUsageInDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))

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.

asqUsage :: Lens' AboutStorageQuota (Maybe Int64) Source #

The total usage across all services.

asqUsageInDrive :: Lens' AboutStorageQuota (Maybe Int64) Source #

The usage by all files in Google Drive.

Reply

data Reply Source #

A reply to a comment on a file.

See: reply smart constructor.

Instances
Eq Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

(==) :: Reply -> Reply -> Bool #

(/=) :: Reply -> Reply -> Bool #

Data Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Reply -> c Reply #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Reply #

toConstr :: Reply -> Constr #

dataTypeOf :: Reply -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Reply) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Reply) #

gmapT :: (forall b. Data b => b -> b) -> Reply -> Reply #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Reply -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Reply -> r #

gmapQ :: (forall d. Data d => d -> u) -> Reply -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Reply -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Reply -> m Reply #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Reply -> m Reply #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Reply -> m Reply #

Show Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

showsPrec :: Int -> Reply -> ShowS #

show :: Reply -> String #

showList :: [Reply] -> ShowS #

Generic Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep Reply :: Type -> Type #

Methods

from :: Reply -> Rep Reply x #

to :: Rep Reply x -> Reply #

ToJSON Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep Reply Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

reply :: Reply Source #

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:

rHTMLContent :: Lens' Reply (Maybe Text) Source #

The content of the reply with HTML formatting.

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.

rAuthor :: Lens' Reply (Maybe User) Source #

The user who created the reply.

rId :: Lens' Reply (Maybe Text) Source #

The ID of the reply.

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
Eq AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AboutImportFormats -> c AboutImportFormats #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AboutImportFormats #

toConstr :: AboutImportFormats -> Constr #

dataTypeOf :: AboutImportFormats -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AboutImportFormats) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AboutImportFormats) #

gmapT :: (forall b. Data b => b -> b) -> AboutImportFormats -> AboutImportFormats #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AboutImportFormats -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AboutImportFormats -> r #

gmapQ :: (forall d. Data d => d -> u) -> AboutImportFormats -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AboutImportFormats -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AboutImportFormats -> m AboutImportFormats #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutImportFormats -> m AboutImportFormats #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutImportFormats -> m AboutImportFormats #

Show AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep AboutImportFormats :: Type -> Type #

ToJSON AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutImportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutImportFormats = D1 (MetaData "AboutImportFormats" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "AboutImportFormats'" PrefixI True) (S1 (MetaSel (Just "_aifAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text [Text]))))

aboutImportFormats Source #

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
Eq FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileCapabilities -> c FileCapabilities #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileCapabilities #

toConstr :: FileCapabilities -> Constr #

dataTypeOf :: FileCapabilities -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileCapabilities) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileCapabilities) #

gmapT :: (forall b. Data b => b -> b) -> FileCapabilities -> FileCapabilities #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileCapabilities -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileCapabilities -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileCapabilities -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileCapabilities -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileCapabilities -> m FileCapabilities #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileCapabilities -> m FileCapabilities #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileCapabilities -> m FileCapabilities #

Show FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileCapabilities :: Type -> Type #

ToJSON FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileCapabilities = D1 (MetaData "FileCapabilities" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FileCapabilities'" PrefixI True) ((((S1 (MetaSel (Just "_fcCanRename") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanMoveChildrenWithinTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_fcCanDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanMoveItemIntoTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanDownload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_fcCanTrash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanUntrash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanTrashChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_fcCanAddChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanRemoveChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanMoveTeamDriveItem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_fcCanMoveItemWithinTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanReadTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanChangeCopyRequiresWriterPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_fcCanListChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanMoveChildrenOutOfTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanEdit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_fcCanChangeViewersCanCopyContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanReadRevisions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanDeleteChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_fcCanMoveItemOutOfTeamDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_fcCanCopy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanShare") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

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.

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

data ReplyList Source #

A list of replies to a comment on a file.

See: replyList smart constructor.

Instances
Eq ReplyList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data ReplyList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

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 # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic ReplyList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep ReplyList :: Type -> Type #

ToJSON ReplyList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON ReplyList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep ReplyList Source # 
Instance details

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
Eq FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileContentHintsThumbnail -> c FileContentHintsThumbnail #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileContentHintsThumbnail #

toConstr :: FileContentHintsThumbnail -> Constr #

dataTypeOf :: FileContentHintsThumbnail -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileContentHintsThumbnail) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileContentHintsThumbnail) #

gmapT :: (forall b. Data b => b -> b) -> FileContentHintsThumbnail -> FileContentHintsThumbnail #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileContentHintsThumbnail -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileContentHintsThumbnail -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileContentHintsThumbnail -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileContentHintsThumbnail -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileContentHintsThumbnail -> m FileContentHintsThumbnail #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileContentHintsThumbnail -> m FileContentHintsThumbnail #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileContentHintsThumbnail -> m FileContentHintsThumbnail #

Show FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileContentHintsThumbnail :: Type -> Type #

ToJSON FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileContentHintsThumbnail Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileContentHintsThumbnail = D1 (MetaData "FileContentHintsThumbnail" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FileContentHintsThumbnail'" PrefixI True) (S1 (MetaSel (Just "_fchtImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_fchtMimeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

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
Eq TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamDriveList -> c TeamDriveList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamDriveList #

toConstr :: TeamDriveList -> Constr #

dataTypeOf :: TeamDriveList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamDriveList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamDriveList) #

gmapT :: (forall b. Data b => b -> b) -> TeamDriveList -> TeamDriveList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveList -> r #

gmapQ :: (forall d. Data d => d -> u) -> TeamDriveList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamDriveList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamDriveList -> m TeamDriveList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveList -> m TeamDriveList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveList -> m TeamDriveList #

Show TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep TeamDriveList :: Type -> Type #

ToJSON TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveList = D1 (MetaData "TeamDriveList" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "TeamDriveList'" PrefixI True) (S1 (MetaSel (Just "_tdlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tdlTeamDrives") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TeamDrive])) :*: S1 (MetaSel (Just "_tdlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

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

data Channel Source #

An notification channel used to watch for resource changes.

See: channel smart constructor.

Instances
Eq Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Data Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Channel -> c Channel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Channel #

toConstr :: Channel -> Constr #

dataTypeOf :: Channel -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Channel) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Channel) #

gmapT :: (forall b. Data b => b -> b) -> Channel -> Channel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Channel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Channel -> r #

gmapQ :: (forall d. Data d => d -> u) -> Channel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Channel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Channel -> m Channel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Channel -> m Channel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Channel -> m Channel #

Show Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

ToJSON Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep Channel Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

channel :: Channel Source #

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.

cType :: Lens' Channel (Maybe Text) Source #

The type of delivery mechanism used for this channel.

AboutTeamDriveThemesItem

data AboutTeamDriveThemesItem Source #

Instances
Eq AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AboutTeamDriveThemesItem -> c AboutTeamDriveThemesItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AboutTeamDriveThemesItem #

toConstr :: AboutTeamDriveThemesItem -> Constr #

dataTypeOf :: AboutTeamDriveThemesItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AboutTeamDriveThemesItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AboutTeamDriveThemesItem) #

gmapT :: (forall b. Data b => b -> b) -> AboutTeamDriveThemesItem -> AboutTeamDriveThemesItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AboutTeamDriveThemesItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AboutTeamDriveThemesItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> AboutTeamDriveThemesItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AboutTeamDriveThemesItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AboutTeamDriveThemesItem -> m AboutTeamDriveThemesItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutTeamDriveThemesItem -> m AboutTeamDriveThemesItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutTeamDriveThemesItem -> m AboutTeamDriveThemesItem #

Show AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep AboutTeamDriveThemesItem :: Type -> Type #

ToJSON AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutTeamDriveThemesItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutTeamDriveThemesItem = D1 (MetaData "AboutTeamDriveThemesItem" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "AboutTeamDriveThemesItem'" PrefixI True) (S1 (MetaSel (Just "_atdtiColorRgb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_atdtiBackgRoundImageLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_atdtiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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
Eq TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamDriveRestrictions -> c TeamDriveRestrictions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamDriveRestrictions #

toConstr :: TeamDriveRestrictions -> Constr #

dataTypeOf :: TeamDriveRestrictions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamDriveRestrictions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamDriveRestrictions) #

gmapT :: (forall b. Data b => b -> b) -> TeamDriveRestrictions -> TeamDriveRestrictions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveRestrictions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveRestrictions -> r #

gmapQ :: (forall d. Data d => d -> u) -> TeamDriveRestrictions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamDriveRestrictions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamDriveRestrictions -> m TeamDriveRestrictions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveRestrictions -> m TeamDriveRestrictions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveRestrictions -> m TeamDriveRestrictions #

Show TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep TeamDriveRestrictions :: Type -> Type #

ToJSON TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveRestrictions Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveRestrictions = D1 (MetaData "TeamDriveRestrictions" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "TeamDriveRestrictions'" PrefixI True) ((S1 (MetaSel (Just "_tdrTeamMembersOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdrAdminManagedRestrictions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_tdrCopyRequiresWriterPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_tdrDomainUsersOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

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
Eq TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamDriveBackgRoundImageFile -> c TeamDriveBackgRoundImageFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamDriveBackgRoundImageFile #

toConstr :: TeamDriveBackgRoundImageFile -> Constr #

dataTypeOf :: TeamDriveBackgRoundImageFile -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamDriveBackgRoundImageFile) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamDriveBackgRoundImageFile) #

gmapT :: (forall b. Data b => b -> b) -> TeamDriveBackgRoundImageFile -> TeamDriveBackgRoundImageFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveBackgRoundImageFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamDriveBackgRoundImageFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> TeamDriveBackgRoundImageFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamDriveBackgRoundImageFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamDriveBackgRoundImageFile -> m TeamDriveBackgRoundImageFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveBackgRoundImageFile -> m TeamDriveBackgRoundImageFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDriveBackgRoundImageFile -> m TeamDriveBackgRoundImageFile #

Show TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep TeamDriveBackgRoundImageFile :: Type -> Type #

ToJSON TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDriveBackgRoundImageFile = D1 (MetaData "TeamDriveBackgRoundImageFile" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "TeamDriveBackgRoundImageFile'" PrefixI True) ((S1 (MetaSel (Just "_tdbrifXCoordinate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_tdbrifYCoordinate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) :*: (S1 (MetaSel (Just "_tdbrifWidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_tdbrifId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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
Eq FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileVideoMediaMetadata -> c FileVideoMediaMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileVideoMediaMetadata #

toConstr :: FileVideoMediaMetadata -> Constr #

dataTypeOf :: FileVideoMediaMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileVideoMediaMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileVideoMediaMetadata) #

gmapT :: (forall b. Data b => b -> b) -> FileVideoMediaMetadata -> FileVideoMediaMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileVideoMediaMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileVideoMediaMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileVideoMediaMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileVideoMediaMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileVideoMediaMetadata -> m FileVideoMediaMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileVideoMediaMetadata -> m FileVideoMediaMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileVideoMediaMetadata -> m FileVideoMediaMetadata #

Show FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileVideoMediaMetadata :: Type -> Type #

ToJSON FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileVideoMediaMetadata Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileVideoMediaMetadata = D1 (MetaData "FileVideoMediaMetadata" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FileVideoMediaMetadata'" PrefixI True) (S1 (MetaSel (Just "_fvmmHeight") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_fvmmWidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_fvmmDurationMillis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))

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.

fvmmWidth :: Lens' FileVideoMediaMetadata (Maybe Int32) Source #

The width 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
Eq FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileAppProperties -> c FileAppProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileAppProperties #

toConstr :: FileAppProperties -> Constr #

dataTypeOf :: FileAppProperties -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileAppProperties) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileAppProperties) #

gmapT :: (forall b. Data b => b -> b) -> FileAppProperties -> FileAppProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileAppProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileAppProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileAppProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileAppProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileAppProperties -> m FileAppProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileAppProperties -> m FileAppProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileAppProperties -> m FileAppProperties #

Show FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileAppProperties :: Type -> Type #

ToJSON FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileAppProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileAppProperties = D1 (MetaData "FileAppProperties" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "FileAppProperties'" PrefixI True) (S1 (MetaSel (Just "_fapAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

fileAppProperties Source #

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

data Change Source #

A change to a file or Team Drive.

See: change smart constructor.

Instances
Eq Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

(==) :: Change -> Change -> Bool #

(/=) :: Change -> Change -> Bool #

Data Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Change -> c Change #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Change #

toConstr :: Change -> Constr #

dataTypeOf :: Change -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Change) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Change) #

gmapT :: (forall b. Data b => b -> b) -> Change -> Change #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Change -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Change -> r #

gmapQ :: (forall d. Data d => d -> u) -> Change -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Change -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Change -> m Change #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Change -> m Change #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Change -> m Change #

Show Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep Change :: Type -> Type #

Methods

from :: Change -> Rep Change x #

to :: Rep Change x -> Change #

ToJSON Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep Change Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

change :: Change Source #

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.

chaTime :: Lens' Change (Maybe UTCTime) Source #

The time of this change (RFC 3339 date-time).

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.

chaFileId :: Lens' Change (Maybe Text) Source #

The ID of the file which has changed.

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

data TeamDrive Source #

Representation of a Team Drive.

See: teamDrive smart constructor.

Instances
Eq TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TeamDrive -> c TeamDrive #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TeamDrive #

toConstr :: TeamDrive -> Constr #

dataTypeOf :: TeamDrive -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TeamDrive) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TeamDrive) #

gmapT :: (forall b. Data b => b -> b) -> TeamDrive -> TeamDrive #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TeamDrive -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TeamDrive -> r #

gmapQ :: (forall d. Data d => d -> u) -> TeamDrive -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TeamDrive -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TeamDrive -> m TeamDrive #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDrive -> m TeamDrive #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TeamDrive -> m TeamDrive #

Show TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep TeamDrive :: Type -> Type #

ToJSON TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep TeamDrive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

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.

tdName :: Lens' TeamDrive (Maybe Text) Source #

The name of this Team Drive.

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
Eq AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AboutExportFormats -> c AboutExportFormats #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AboutExportFormats #

toConstr :: AboutExportFormats -> Constr #

dataTypeOf :: AboutExportFormats -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AboutExportFormats) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AboutExportFormats) #

gmapT :: (forall b. Data b => b -> b) -> AboutExportFormats -> AboutExportFormats #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AboutExportFormats -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AboutExportFormats -> r #

gmapQ :: (forall d. Data d => d -> u) -> AboutExportFormats -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AboutExportFormats -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AboutExportFormats -> m AboutExportFormats #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutExportFormats -> m AboutExportFormats #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutExportFormats -> m AboutExportFormats #

Show AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep AboutExportFormats :: Type -> Type #

ToJSON AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutExportFormats Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutExportFormats = D1 (MetaData "AboutExportFormats" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "AboutExportFormats'" PrefixI True) (S1 (MetaSel (Just "_aefAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text [Text]))))

aboutExportFormats Source #

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

data User Source #

Information about a Drive user.

See: user smart constructor.

Instances
Eq User Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Data User Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

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 #

toConstr :: User -> Constr #

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 # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

ToJSON User Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON User Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep User Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

user :: User Source #

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:

uPhotoLink :: Lens' User (Maybe Text) Source #

A link to the user's profile photo, if available.

uMe :: Lens' User (Maybe Bool) Source #

Whether this user is the requesting user.

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.

uDisplayName :: Lens' User (Maybe Text) Source #

A plain text displayable name for this user.

uPermissionId :: Lens' User (Maybe Text) Source #

The user's ID as visible in Permission resources.

ChangeList

data ChangeList Source #

A list of changes for a user.

See: changeList smart constructor.

Instances
Eq ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChangeList -> c ChangeList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChangeList #

toConstr :: ChangeList -> Constr #

dataTypeOf :: ChangeList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ChangeList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChangeList) #

gmapT :: (forall b. Data b => b -> b) -> ChangeList -> ChangeList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChangeList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChangeList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChangeList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChangeList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChangeList -> m ChangeList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChangeList -> m ChangeList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChangeList -> m ChangeList #

Show ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep ChangeList :: Type -> Type #

ToJSON ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep ChangeList Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep ChangeList = D1 (MetaData "ChangeList" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "ChangeList'" PrefixI True) ((S1 (MetaSel (Just "_clNewStartPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_clNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_clChanges") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Change])) :*: S1 (MetaSel (Just "_clKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

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.

revisionExportLinks Source #

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
Eq FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileContentHints -> c FileContentHints #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileContentHints #

toConstr :: FileContentHints -> Constr #

dataTypeOf :: FileContentHints -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileContentHints) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileContentHints) #

gmapT :: (forall b. Data b => b -> b) -> FileContentHints -> FileContentHints #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileContentHints -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileContentHints -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileContentHints -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileContentHints -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileContentHints -> m FileContentHints #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileContentHints -> m FileContentHints #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileContentHints -> m FileContentHints #

Show FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileContentHints :: Type -> Type #

ToJSON FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileContentHints Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileContentHints = D1 (MetaData "FileContentHints" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "FileContentHints'" PrefixI True) (S1 (MetaSel (Just "_fchThumbnail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FileContentHintsThumbnail)) :*: S1 (MetaSel (Just "_fchIndexableText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

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
Eq ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChannelParams -> c ChannelParams #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChannelParams #

toConstr :: ChannelParams -> Constr #

dataTypeOf :: ChannelParams -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ChannelParams) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChannelParams) #

gmapT :: (forall b. Data b => b -> b) -> ChannelParams -> ChannelParams #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChannelParams -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChannelParams -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChannelParams -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChannelParams -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChannelParams -> m ChannelParams #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChannelParams -> m ChannelParams #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChannelParams -> m ChannelParams #

Show ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep ChannelParams :: Type -> Type #

ToJSON ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep ChannelParams Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep ChannelParams = D1 (MetaData "ChannelParams" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "ChannelParams'" PrefixI True) (S1 (MetaSel (Just "_cpAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

channelParams Source #

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
Eq FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileProperties -> c FileProperties #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileProperties #

toConstr :: FileProperties -> Constr #

dataTypeOf :: FileProperties -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileProperties) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileProperties) #

gmapT :: (forall b. Data b => b -> b) -> FileProperties -> FileProperties #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileProperties -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileProperties -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileProperties -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileProperties -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileProperties -> m FileProperties #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileProperties -> m FileProperties #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileProperties -> m FileProperties #

Show FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep FileProperties :: Type -> Type #

ToJSON FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileProperties Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep FileProperties = D1 (MetaData "FileProperties" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "FileProperties'" PrefixI True) (S1 (MetaSel (Just "_fpAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

fileProperties Source #

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
Eq AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AboutMaxImportSizes -> c AboutMaxImportSizes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AboutMaxImportSizes #

toConstr :: AboutMaxImportSizes -> Constr #

dataTypeOf :: AboutMaxImportSizes -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AboutMaxImportSizes) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AboutMaxImportSizes) #

gmapT :: (forall b. Data b => b -> b) -> AboutMaxImportSizes -> AboutMaxImportSizes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AboutMaxImportSizes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AboutMaxImportSizes -> r #

gmapQ :: (forall d. Data d => d -> u) -> AboutMaxImportSizes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AboutMaxImportSizes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AboutMaxImportSizes -> m AboutMaxImportSizes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutMaxImportSizes -> m AboutMaxImportSizes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AboutMaxImportSizes -> m AboutMaxImportSizes #

Show AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep AboutMaxImportSizes :: Type -> Type #

ToJSON AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutMaxImportSizes Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep AboutMaxImportSizes = D1 (MetaData "AboutMaxImportSizes" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" True) (C1 (MetaCons "AboutMaxImportSizes'" PrefixI True) (S1 (MetaSel (Just "_amisAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text (Textual Int64)))))

aboutMaxImportSizes Source #

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

data About Source #

Information about the user, the user's Drive, and system capabilities.

See: about smart constructor.

Instances
Eq About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

(==) :: About -> About -> Bool #

(/=) :: About -> About -> Bool #

Data About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> About -> c About #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c About #

toConstr :: About -> Constr #

dataTypeOf :: About -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c About) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c About) #

gmapT :: (forall b. Data b => b -> b) -> About -> About #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> About -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> About -> r #

gmapQ :: (forall d. Data d => d -> u) -> About -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> About -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> About -> m About #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> About -> m About #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> About -> m About #

Show About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

showsPrec :: Int -> About -> ShowS #

show :: About -> String #

showList :: [About] -> ShowS #

Generic About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep About :: Type -> Type #

Methods

from :: About -> Rep About x #

to :: Rep About x -> About #

ToJSON About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep About Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep About = D1 (MetaData "About" "Network.Google.Drive.Types.Product" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "About'" PrefixI True) (((S1 (MetaSel (Just "_aExportFormats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AboutExportFormats)) :*: S1 (MetaSel (Just "_aMaxImportSizes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AboutMaxImportSizes))) :*: (S1 (MetaSel (Just "_aCanCreateTeamDrives") NoSourceUnpackedness