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