{-# 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.Proposal.Delete
(
AccountsContainersWorkspacesProposalDeleteResource
, accountsContainersWorkspacesProposalDelete
, AccountsContainersWorkspacesProposalDelete
, acwpdPath
) where
import Network.Google.Prelude
import Network.Google.TagManager.Types
type AccountsContainersWorkspacesProposalDeleteResource
=
"tagmanager" :>
"v2" :>
Capture "path" Text :>
QueryParam "alt" AltJSON :> Delete '[JSON] ()
newtype AccountsContainersWorkspacesProposalDelete = AccountsContainersWorkspacesProposalDelete'
{ _acwpdPath :: Text
} deriving (Eq,Show,Data,Typeable,Generic)
accountsContainersWorkspacesProposalDelete
:: Text
-> AccountsContainersWorkspacesProposalDelete
accountsContainersWorkspacesProposalDelete pAcwpdPath_ =
AccountsContainersWorkspacesProposalDelete'
{ _acwpdPath = pAcwpdPath_
}
acwpdPath :: Lens' AccountsContainersWorkspacesProposalDelete Text
acwpdPath
= lens _acwpdPath (\ s a -> s{_acwpdPath = a})
instance GoogleRequest
AccountsContainersWorkspacesProposalDelete where
type Rs AccountsContainersWorkspacesProposalDelete =
()
type Scopes
AccountsContainersWorkspacesProposalDelete
= '[]
requestClient
AccountsContainersWorkspacesProposalDelete'{..}
= go _acwpdPath (Just AltJSON) tagManagerService
where go
= buildClient
(Proxy ::
Proxy
AccountsContainersWorkspacesProposalDeleteResource)
mempty