{-# 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.AdSense.Metadata.Dimensions.List
(
MetadataDimensionsListResource
, metadataDimensionsList
, MetadataDimensionsList
) where
import Network.Google.AdSense.Types
import Network.Google.Prelude
type MetadataDimensionsListResource =
"adsense" :>
"v1.4" :>
"metadata" :>
"dimensions" :>
QueryParam "alt" AltJSON :> Get '[JSON] Metadata
data MetadataDimensionsList =
MetadataDimensionsList'
deriving (Eq,Show,Data,Typeable,Generic)
metadataDimensionsList
:: MetadataDimensionsList
metadataDimensionsList = MetadataDimensionsList'
instance GoogleRequest MetadataDimensionsList where
type Rs MetadataDimensionsList = Metadata
type Scopes MetadataDimensionsList =
'["https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"]
requestClient MetadataDimensionsList'{}
= go (Just AltJSON) adSenseService
where go
= buildClient
(Proxy :: Proxy MetadataDimensionsListResource)
mempty