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