{-# 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.TagManager.Accounts.Containers.Delete
(
AccountsContainersDeleteResource
, accountsContainersDelete
, AccountsContainersDelete
, acdPath
) where
import Network.Google.Prelude
import Network.Google.TagManager.Types
type AccountsContainersDeleteResource =
"tagmanager" :>
"v2" :>
Capture "path" Text :>
QueryParam "alt" AltJSON :> Delete '[JSON] ()
newtype AccountsContainersDelete = AccountsContainersDelete'
{ _acdPath :: Text
} deriving (Eq,Show,Data,Typeable,Generic)
accountsContainersDelete
:: Text
-> AccountsContainersDelete
accountsContainersDelete pAcdPath_ =
AccountsContainersDelete'
{ _acdPath = pAcdPath_
}
acdPath :: Lens' AccountsContainersDelete Text
acdPath = lens _acdPath (\ s a -> s{_acdPath = a})
instance GoogleRequest AccountsContainersDelete where
type Rs AccountsContainersDelete = ()
type Scopes AccountsContainersDelete =
'["https://www.googleapis.com/auth/tagmanager.delete.containers"]
requestClient AccountsContainersDelete'{..}
= go _acdPath (Just AltJSON) tagManagerService
where go
= buildClient
(Proxy :: Proxy AccountsContainersDeleteResource)
mempty