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