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