{-# 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.DFAReporting.UserProFiles.List
(
UserProFilesListResource
, userProFilesList
, UserProFilesList
) where
import Network.Google.DFAReporting.Types
import Network.Google.Prelude
type UserProFilesListResource =
"dfareporting" :>
"v3.2" :>
"userprofiles" :>
QueryParam "alt" AltJSON :>
Get '[JSON] UserProFileList
data UserProFilesList =
UserProFilesList'
deriving (Eq,Show,Data,Typeable,Generic)
userProFilesList
:: UserProFilesList
userProFilesList = UserProFilesList'
instance GoogleRequest UserProFilesList where
type Rs UserProFilesList = UserProFileList
type Scopes UserProFilesList =
'["https://www.googleapis.com/auth/dfareporting",
"https://www.googleapis.com/auth/dfatrafficking"]
requestClient UserProFilesList'{}
= go (Just AltJSON) dFAReportingService
where go
= buildClient
(Proxy :: Proxy UserProFilesListResource)
mempty