gogol-drive-1.0.0: gen/Gogol/Drive/Types.hs
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE ImportQualifiedPost #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
-- |
-- Module : Gogol.Drive.Types
-- Copyright : (c) 2015-2025 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>
-- Toni Cebrián <toni@tonicebrian.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
module Gogol.Drive.Types
( -- * Configuration
driveService,
-- * OAuth Scopes
Drive'FullControl,
Drive'Appdata,
Drive'Apps'Readonly,
Drive'File,
Drive'Meet'Readonly,
Drive'Metadata,
Drive'Metadata'Readonly,
Drive'Photos'Readonly,
Drive'Readonly,
Drive'Scripts,
-- * Types
-- ** Xgafv
Xgafv (..),
-- ** About
About (..),
newAbout,
-- ** About_DriveThemesItem
About_DriveThemesItem (..),
newAbout_DriveThemesItem,
-- ** About_ExportFormats
About_ExportFormats (..),
newAbout_ExportFormats,
-- ** About_ImportFormats
About_ImportFormats (..),
newAbout_ImportFormats,
-- ** About_MaxImportSizes
About_MaxImportSizes (..),
newAbout_MaxImportSizes,
-- ** About_StorageQuota
About_StorageQuota (..),
newAbout_StorageQuota,
-- ** About_TeamDriveThemesItem
About_TeamDriveThemesItem (..),
newAbout_TeamDriveThemesItem,
-- ** AccessProposal
AccessProposal (..),
newAccessProposal,
-- ** AccessProposalRoleAndView
AccessProposalRoleAndView (..),
newAccessProposalRoleAndView,
-- ** App
App (..),
newApp,
-- ** AppIcons
AppIcons (..),
newAppIcons,
-- ** AppList
AppList (..),
newAppList,
-- ** Change
Change (..),
newChange,
-- ** ChangeList
ChangeList (..),
newChangeList,
-- ** Channel
Channel (..),
newChannel,
-- ** Channel_Params
Channel_Params (..),
newChannel_Params,
-- ** Comment
Comment (..),
newComment,
-- ** Comment_QuotedFileContent
Comment_QuotedFileContent (..),
newComment_QuotedFileContent,
-- ** CommentList
CommentList (..),
newCommentList,
-- ** ContentRestriction
ContentRestriction (..),
newContentRestriction,
-- ** DownloadRestriction
DownloadRestriction (..),
newDownloadRestriction,
-- ** Drive
Drive (..),
newDrive,
-- ** Drive_BackgroundImageFile
Drive_BackgroundImageFile (..),
newDrive_BackgroundImageFile,
-- ** Drive_Capabilities
Drive_Capabilities (..),
newDrive_Capabilities,
-- ** Drive_Restrictions
Drive_Restrictions (..),
newDrive_Restrictions,
-- ** DriveList
DriveList (..),
newDriveList,
-- ** File
File (..),
newFile,
-- ** File_AppProperties
File_AppProperties (..),
newFile_AppProperties,
-- ** File_Capabilities
File_Capabilities (..),
newFile_Capabilities,
-- ** File_ContentHints
File_ContentHints (..),
newFile_ContentHints,
-- ** File_ContentHints_Thumbnail
File_ContentHints_Thumbnail (..),
newFile_ContentHints_Thumbnail,
-- ** File_ExportLinks
File_ExportLinks (..),
newFile_ExportLinks,
-- ** File_ImageMediaMetadata
File_ImageMediaMetadata (..),
newFile_ImageMediaMetadata,
-- ** File_ImageMediaMetadata_Location
File_ImageMediaMetadata_Location (..),
newFile_ImageMediaMetadata_Location,
-- ** File_LabelInfo
File_LabelInfo (..),
newFile_LabelInfo,
-- ** File_LinkShareMetadata
File_LinkShareMetadata (..),
newFile_LinkShareMetadata,
-- ** File_Properties
File_Properties (..),
newFile_Properties,
-- ** File_ShortcutDetails
File_ShortcutDetails (..),
newFile_ShortcutDetails,
-- ** File_VideoMediaMetadata
File_VideoMediaMetadata (..),
newFile_VideoMediaMetadata,
-- ** FileList
FileList (..),
newFileList,
-- ** GeneratedIds
GeneratedIds (..),
newGeneratedIds,
-- ** Label
Label (..),
newLabel,
-- ** Label_Fields
Label_Fields (..),
newLabel_Fields,
-- ** LabelField
LabelField (..),
newLabelField,
-- ** LabelFieldModification
LabelFieldModification (..),
newLabelFieldModification,
-- ** LabelList
LabelList (..),
newLabelList,
-- ** LabelModification
LabelModification (..),
newLabelModification,
-- ** ListAccessProposalsResponse
ListAccessProposalsResponse (..),
newListAccessProposalsResponse,
-- ** ListOperationsResponse
ListOperationsResponse (..),
newListOperationsResponse,
-- ** ModifyLabelsRequest
ModifyLabelsRequest (..),
newModifyLabelsRequest,
-- ** ModifyLabelsResponse
ModifyLabelsResponse (..),
newModifyLabelsResponse,
-- ** Operation
Operation (..),
newOperation,
-- ** Operation_Metadata
Operation_Metadata (..),
newOperation_Metadata,
-- ** Operation_Response
Operation_Response (..),
newOperation_Response,
-- ** Permission
Permission (..),
newPermission,
-- ** Permission_PermissionDetailsItem
Permission_PermissionDetailsItem (..),
newPermission_PermissionDetailsItem,
-- ** Permission_TeamDrivePermissionDetailsItem
Permission_TeamDrivePermissionDetailsItem (..),
newPermission_TeamDrivePermissionDetailsItem,
-- ** PermissionList
PermissionList (..),
newPermissionList,
-- ** Reply
Reply (..),
newReply,
-- ** ReplyList
ReplyList (..),
newReplyList,
-- ** ResolveAccessProposalRequest
ResolveAccessProposalRequest (..),
newResolveAccessProposalRequest,
-- ** ResolveAccessProposalRequest_Action
ResolveAccessProposalRequest_Action (..),
-- ** Revision
Revision (..),
newRevision,
-- ** Revision_ExportLinks
Revision_ExportLinks (..),
newRevision_ExportLinks,
-- ** RevisionList
RevisionList (..),
newRevisionList,
-- ** StartPageToken
StartPageToken (..),
newStartPageToken,
-- ** Status
Status (..),
newStatus,
-- ** Status_DetailsItem
Status_DetailsItem (..),
newStatus_DetailsItem,
-- ** TeamDrive
TeamDrive (..),
newTeamDrive,
-- ** TeamDrive_BackgroundImageFile
TeamDrive_BackgroundImageFile (..),
newTeamDrive_BackgroundImageFile,
-- ** TeamDrive_Capabilities
TeamDrive_Capabilities (..),
newTeamDrive_Capabilities,
-- ** TeamDrive_Restrictions
TeamDrive_Restrictions (..),
newTeamDrive_Restrictions,
-- ** TeamDriveList
TeamDriveList (..),
newTeamDriveList,
-- ** User
User (..),
newUser,
-- ** FilesListCorpus
FilesListCorpus (..),
)
where
import Gogol.Drive.Internal.Product
import Gogol.Drive.Internal.Sum
import Gogol.Prelude qualified as Core
-- | Default request referring to version @v3@ of the Google Drive API. This contains the host and root path used as a starting point for constructing service requests.
driveService :: Core.ServiceConfig
driveService =
Core.defaultService
(Core.ServiceId "drive:v3")
"www.googleapis.com"
-- | See, edit, create, and delete all of your Google Drive files
type Drive'FullControl = "https://www.googleapis.com/auth/drive"
-- | See, create, and delete its own configuration data in your Google Drive
type Drive'Appdata =
"https://www.googleapis.com/auth/drive.appdata"
-- | View your Google Drive apps
type Drive'Apps'Readonly =
"https://www.googleapis.com/auth/drive.apps.readonly"
-- | See, edit, create, and delete only the specific Google Drive files you use with this app
type Drive'File = "https://www.googleapis.com/auth/drive.file"
-- | See and download your Google Drive files that were created or edited by Google Meet.
type Drive'Meet'Readonly =
"https://www.googleapis.com/auth/drive.meet.readonly"
-- | View and manage metadata of files in your Google Drive
type Drive'Metadata =
"https://www.googleapis.com/auth/drive.metadata"
-- | See information about your Google Drive files
type Drive'Metadata'Readonly =
"https://www.googleapis.com/auth/drive.metadata.readonly"
-- | View the photos, videos and albums in your Google Photos
type Drive'Photos'Readonly =
"https://www.googleapis.com/auth/drive.photos.readonly"
-- | See and download all your Google Drive files
type Drive'Readonly =
"https://www.googleapis.com/auth/drive.readonly"
-- | Modify your Google Apps Script scripts\' behavior
type Drive'Scripts =
"https://www.googleapis.com/auth/drive.scripts"