{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.Drive.Files.EmptyTrash
(
FilesEmptyTrashResource
, filesEmptyTrash
, FilesEmptyTrash
) where
import Network.Google.Drive.Types
import Network.Google.Prelude
type FilesEmptyTrashResource =
"drive" :>
"v3" :>
"files" :>
"trash" :>
QueryParam "alt" AltJSON :> Delete '[JSON] ()
data FilesEmptyTrash =
FilesEmptyTrash'
deriving (Eq,Show,Data,Typeable,Generic)
filesEmptyTrash
:: FilesEmptyTrash
filesEmptyTrash = FilesEmptyTrash'
instance GoogleRequest FilesEmptyTrash where
type Rs FilesEmptyTrash = ()
type Scopes FilesEmptyTrash =
'["https://www.googleapis.com/auth/drive"]
requestClient FilesEmptyTrash'{}
= go (Just AltJSON) driveService
where go
= buildClient
(Proxy :: Proxy FilesEmptyTrashResource)
mempty