gogol-drive-0.5.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.Types

Contents

Description

 
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

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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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 drives with the "allDrives" 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 "drive".

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.

Drive

data Drive Source #

Representation of a shared drive.

See: drive smart constructor.

Instances
Eq Drive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

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

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

Data Drive 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) -> Drive -> c Drive #

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

toConstr :: Drive -> Constr #

dataTypeOf :: Drive -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Drive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Methods

showsPrec :: Int -> Drive -> ShowS #

show :: Drive -> String #

showList :: [Drive] -> ShowS #

Generic Drive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep Drive :: Type -> Type #

Methods

from :: Drive -> Rep Drive x #

to :: Rep Drive x -> Drive #

ToJSON Drive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON Drive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep Drive Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

drive :: Drive Source #

Creates a value of Drive with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dThemeId :: Lens' Drive (Maybe Text) Source #

The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.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.

dBackgRoundImageFile :: Lens' Drive (Maybe DriveBackgRoundImageFile) Source #

An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

dColorRgb :: Lens' Drive (Maybe Text) Source #

The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.

dCreatedTime :: Lens' Drive (Maybe UTCTime) Source #

The time at which the shared drive was created (RFC 3339 date-time).

dKind :: Lens' Drive Text Source #

Identifies what kind of resource this is. Value: the fixed string "drive#drive".

dBackgRoundImageLink :: Lens' Drive (Maybe Text) Source #

A short-lived link to this shared drive's background image.

dName :: Lens' Drive (Maybe Text) Source #

The name of this shared drive.

dRestrictions :: Lens' Drive (Maybe DriveRestrictions) Source #

A set of restrictions that apply to this shared drive or items inside this shared drive.

dHidden :: Lens' Drive (Maybe Bool) Source #

Whether the shared drive is hidden from default view.

dId :: Lens' Drive (Maybe Text) Source #

The ID of this shared drive which is also the ID of the top level folder of this shared drive.

dCapabilities :: Lens' Drive (Maybe DriveCapabilities) Source #

Capabilities the current user has on this shared drive.

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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.

PermissionPermissionDetailsItem

data PermissionPermissionDetailsItem Source #

Instances
Eq PermissionPermissionDetailsItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data PermissionPermissionDetailsItem 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) -> PermissionPermissionDetailsItem -> c PermissionPermissionDetailsItem #

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

toConstr :: PermissionPermissionDetailsItem -> Constr #

dataTypeOf :: PermissionPermissionDetailsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PermissionPermissionDetailsItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic PermissionPermissionDetailsItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep PermissionPermissionDetailsItem :: Type -> Type #

ToJSON PermissionPermissionDetailsItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON PermissionPermissionDetailsItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep PermissionPermissionDetailsItem Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep PermissionPermissionDetailsItem = D1 (MetaData "PermissionPermissionDetailsItem" "Network.Google.Drive.Types.Product" "gogol-drive-0.5.0-6s3nRYEHDD4AYi9Kv61RlM" False) (C1 (MetaCons "PermissionPermissionDetailsItem'" PrefixI True) ((S1 (MetaSel (Just "_ppdiInherited") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ppdiPermissionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ppdiRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppdiInheritedFrom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

permissionPermissionDetailsItem :: PermissionPermissionDetailsItem Source #

Creates a value of PermissionPermissionDetailsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ppdiInherited :: Lens' PermissionPermissionDetailsItem (Maybe Bool) Source #

Whether this permission is inherited. This field is always populated. This is an output-only field.

ppdiPermissionType :: Lens' PermissionPermissionDetailsItem (Maybe Text) Source #

The permission type for this user. While new values may be added in future, the following are currently possible: - file - member

ppdiRole :: Lens' PermissionPermissionDetailsItem (Maybe Text) Source #

The primary role for this user. While new values may be added in the future, the following are currently possible: - organizer - fileOrganizer - writer - commenter - reader

ppdiInheritedFrom :: Lens' PermissionPermissionDetailsItem (Maybe Text) Source #

The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.

DriveCapabilities

data DriveCapabilities Source #

Capabilities the current user has on this shared drive.

See: driveCapabilities smart constructor.

Instances
Eq DriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data DriveCapabilities 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) -> DriveCapabilities -> c DriveCapabilities #

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

toConstr :: DriveCapabilities -> Constr #

dataTypeOf :: DriveCapabilities -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic DriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep DriveCapabilities :: Type -> Type #

ToJSON DriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON DriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep DriveCapabilities Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep DriveCapabilities = D1 (MetaData "DriveCapabilities" "Network.Google.Drive.Types.Product" "gogol-drive-0.5.0-6s3nRYEHDD4AYi9Kv61RlM" False) (C1 (MetaCons "DriveCapabilities'" PrefixI True) ((((S1 (MetaSel (Just "_dcCanRename") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanComment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_dcCanChangeDriveBackgRound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanRenameDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_dcCanDownload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanChangeDomainUsersOnlyRestriction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_dcCanTrashChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_dcCanAddChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanChangeCopyRequiresWriterPermissionRestriction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_dcCanChangeDriveMembersOnlyRestriction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanListChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_dcCanEdit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanManageMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_dcCanReadRevisions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanDeleteChildren") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_dcCanCopy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_dcCanDeleteDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dcCanShare") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

dcCanRename :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can rename files or folders in this shared drive.

dcCanComment :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can comment on files in this shared drive.

dcCanChangeDriveBackgRound :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can change the background of this shared drive.

dcCanRenameDrive :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can rename this shared drive.

dcCanDownload :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can download files in this shared drive.

dcCanChangeDomainUsersOnlyRestriction :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can change the domainUsersOnly restriction of this shared drive.

dcCanTrashChildren :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can trash children from folders in this shared drive.

dcCanAddChildren :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can add children to folders in this shared drive.

dcCanChangeCopyRequiresWriterPermissionRestriction :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.

dcCanChangeDriveMembersOnlyRestriction :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can change the driveMembersOnly restriction of this shared drive.

dcCanListChildren :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can list the children of folders in this shared drive.

dcCanEdit :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can edit files in this shared drive

dcCanManageMembers :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can add members to this shared drive or remove them or change their role.

dcCanReadRevisions :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can read the revisions resource of files in this shared drive.

dcCanDeleteChildren :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can delete children from folders in this shared drive.

dcCanCopy :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can copy files in this shared drive.

dcCanDeleteDrive :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive.

dcCanShare :: Lens' DriveCapabilities (Maybe Bool) Source #

Whether the current user can share files or folders in this shared drive.

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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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 "_fcCanMoveChildrenWithinDrive") 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 "_fcCanMoveItemOutOfDrive") 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 "_fcCanReadDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_fcCanChangeCopyRequiresWriterPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_fcCanMoveChildrenOutOfDrive") 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 "_fcCanMoveItemWithinDrive") 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.

fcCanMoveChildrenWithinDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.

fcCanMoveChildrenWithinTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Deprecated - use canMoveChildrenWithinDrive instead.

fcCanDelete :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can delete this file.

fcCanMoveItemIntoTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Deprecated - use canMoveItemOutOfDrive instead.

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 items in shared drives.

fcCanMoveItemOutOfDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can move this item outside of this 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.

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 a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.

fcCanMoveTeamDriveItem :: Lens' FileCapabilities (Maybe Bool) Source #

Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.

fcCanMoveItemWithinTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Deprecated - use canMoveItemWithinDrive instead.

fcCanReadTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Deprecated - use canReadDrive instead.

fcCanReadDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.

fcCanChangeCopyRequiresWriterPermission :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can change the copyRequiresWriterPermission restriction of this file.

fcCanMoveChildrenOutOfDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.

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 #

Deprecated - use canMoveChildrenOutOfDrive instead.

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 shared 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 items in shared drives.

fcCanMoveItemOutOfTeamDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Deprecated - use canMoveItemOutOfDrive instead.

fcCanCopy :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.

fcCanMoveItemWithinDrive :: Lens' FileCapabilities (Maybe Bool) Source #

Whether the current user can move this item within this shared 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 items in shared drives.

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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.

DriveBackgRoundImageFile

data DriveBackgRoundImageFile Source #

An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

See: driveBackgRoundImageFile smart constructor.

Instances
Eq DriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Data DriveBackgRoundImageFile 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) -> DriveBackgRoundImageFile -> c DriveBackgRoundImageFile #

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

toConstr :: DriveBackgRoundImageFile -> Constr #

dataTypeOf :: DriveBackgRoundImageFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Generic DriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

Associated Types

type Rep DriveBackgRoundImageFile :: Type -> Type #

ToJSON DriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

FromJSON DriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep DriveBackgRoundImageFile Source # 
Instance details

Defined in Network.Google.Drive.Types.Product

type Rep DriveBackgRoundImageFile = D1 (MetaData "DriveBackgRoundImageFile" "Network.Google.Drive.Types.Product" "gogol-drive-0.5.0-6s3nRYEHDD4AYi9Kv61RlM" False) (C1 (MetaCons "DriveBackgRoundImageFile'" PrefixI True) ((S1 (MetaSel (Just "_dbrifXCoordinate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_dbrifYCoordinate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) :*: (S1 (MetaSel (Just "_dbrifWidth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_dbrifId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

driveBackgRoundImageFile :: DriveBackgRoundImageFile Source #

Creates a value of DriveBackgRoundImageFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dbrifXCoordinate :: Lens' DriveBackgRoundImageFile (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.

dbrifYCoordinate :: Lens' DriveBackgRoundImageFile (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.

dbrifWidth :: Lens' DriveBackgRoundImageFile (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.

dbrifId :: Lens' DriveBackgRoundImageFile (Maybe Text) Source #

The ID of an image file in Google Drive to use for the background image.

FileContentHintsThumbnail

data FileContentHintsThumbnail Source #

A thumbnail for the file. This will only be used if Google 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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 shared 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:

chaDrive :: Lens' Change (Maybe Drive) Source #

The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.

chaRemoved :: Lens' Change (Maybe Bool) Source #

Whether the file or shared 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 #

Deprecated - use drive instead.

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

Deprecated - use driveId instead.

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

Deprecated - use changeType instead.

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.

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

The type of the change. Possible values are file and drive.

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

The ID of the shared drive associated with this change.

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.5.0-6s3nRYEHDD4AYi9Kv61RlM" 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 #