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