{-# LANGUAGE DataKinds #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE ImportQualifiedPost #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-duplicate-exports #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- | -- Module : Gogol.SiteVerification.WebResource.Delete -- Copyright : (c) 2015-2025 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Toni Cebrián -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Relinquish ownership of a website or domain. -- -- /See:/ for @siteVerification.webResource.delete@. module Gogol.SiteVerification.WebResource.Delete ( -- * Resource SiteVerificationWebResourceDeleteResource, -- ** Constructing a Request SiteVerificationWebResourceDelete (..), newSiteVerificationWebResourceDelete, ) where import Gogol.Prelude qualified as Core import Gogol.SiteVerification.Types -- | A resource alias for @siteVerification.webResource.delete@ method which the -- 'SiteVerificationWebResourceDelete' request conforms to. type SiteVerificationWebResourceDeleteResource = "siteVerification" Core.:> "v1" Core.:> "webResource" Core.:> Core.Capture "id" Core.Text Core.:> Core.QueryParam "alt" Core.AltJSON Core.:> Core.Delete '[Core.JSON] () -- | Relinquish ownership of a website or domain. -- -- /See:/ 'newSiteVerificationWebResourceDelete' smart constructor. newtype SiteVerificationWebResourceDelete = SiteVerificationWebResourceDelete { -- | The id of a verified site or domain. id :: Core.Text } deriving (Core.Eq, Core.Show, Core.Generic) -- | Creates a value of 'SiteVerificationWebResourceDelete' with the minimum fields required to make a request. newSiteVerificationWebResourceDelete :: -- | The id of a verified site or domain. See 'id'. Core.Text -> SiteVerificationWebResourceDelete newSiteVerificationWebResourceDelete id = SiteVerificationWebResourceDelete {id = id} instance Core.GoogleRequest SiteVerificationWebResourceDelete where type Rs SiteVerificationWebResourceDelete = () type Scopes SiteVerificationWebResourceDelete = '[Siteverification'FullControl] requestClient SiteVerificationWebResourceDelete {..} = go id (Core.Just Core.AltJSON) siteVerificationService where go = Core.buildClient ( Core.Proxy :: Core.Proxy SiteVerificationWebResourceDeleteResource ) Core.mempty