{-# 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.SiteVerification.WebResource.List
(
WebResourceListResource
, webResourceList
, WebResourceList
) where
import Network.Google.Prelude
import Network.Google.SiteVerification.Types
type WebResourceListResource =
"siteVerification" :>
"v1" :>
"webResource" :>
QueryParam "alt" AltJSON :>
Get '[JSON] SiteVerificationWebResourceListResponse
data WebResourceList =
WebResourceList'
deriving (Eq,Show,Data,Typeable,Generic)
webResourceList
:: WebResourceList
webResourceList = WebResourceList'
instance GoogleRequest WebResourceList where
type Rs WebResourceList =
SiteVerificationWebResourceListResponse
type Scopes WebResourceList =
'["https://www.googleapis.com/auth/siteverification"]
requestClient WebResourceList'{}
= go (Just AltJSON) siteVerificationService
where go
= buildClient
(Proxy :: Proxy WebResourceListResource)
mempty