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