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