{-# 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.Analytics.Management.RemarketingAudience.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) -- -- Delete a remarketing audience. -- -- /See:/ for @analytics.management.remarketingAudience.delete@. module Gogol.Analytics.Management.RemarketingAudience.Delete ( -- * Resource AnalyticsManagementRemarketingAudienceDeleteResource, -- ** Constructing a Request AnalyticsManagementRemarketingAudienceDelete (..), newAnalyticsManagementRemarketingAudienceDelete, ) where import Gogol.Analytics.Types import Gogol.Prelude qualified as Core -- | A resource alias for @analytics.management.remarketingAudience.delete@ method which the -- 'AnalyticsManagementRemarketingAudienceDelete' request conforms to. type AnalyticsManagementRemarketingAudienceDeleteResource = "analytics" Core.:> "v3" Core.:> "management" Core.:> "accounts" Core.:> Core.Capture "accountId" Core.Text Core.:> "webproperties" Core.:> Core.Capture "webPropertyId" Core.Text Core.:> "remarketingAudiences" Core.:> Core.Capture "remarketingAudienceId" Core.Text Core.:> Core.QueryParam "alt" Core.AltJSON Core.:> Core.Delete '[Core.JSON] () -- | Delete a remarketing audience. -- -- /See:/ 'newAnalyticsManagementRemarketingAudienceDelete' smart constructor. data AnalyticsManagementRemarketingAudienceDelete = AnalyticsManagementRemarketingAudienceDelete { -- | Account ID to which the remarketing audience belongs. accountId :: Core.Text, -- | The ID of the remarketing audience to delete. remarketingAudienceId :: Core.Text, -- | Web property ID to which the remarketing audience belongs. webPropertyId :: Core.Text } deriving (Core.Eq, Core.Show, Core.Generic) -- | Creates a value of 'AnalyticsManagementRemarketingAudienceDelete' with the minimum fields required to make a request. newAnalyticsManagementRemarketingAudienceDelete :: -- | Account ID to which the remarketing audience belongs. See 'accountId'. Core.Text -> -- | The ID of the remarketing audience to delete. See 'remarketingAudienceId'. Core.Text -> -- | Web property ID to which the remarketing audience belongs. See 'webPropertyId'. Core.Text -> AnalyticsManagementRemarketingAudienceDelete newAnalyticsManagementRemarketingAudienceDelete accountId remarketingAudienceId webPropertyId = AnalyticsManagementRemarketingAudienceDelete { accountId = accountId, remarketingAudienceId = remarketingAudienceId, webPropertyId = webPropertyId } instance Core.GoogleRequest AnalyticsManagementRemarketingAudienceDelete where type Rs AnalyticsManagementRemarketingAudienceDelete = () type Scopes AnalyticsManagementRemarketingAudienceDelete = '[Analytics'Edit] requestClient AnalyticsManagementRemarketingAudienceDelete {..} = go accountId webPropertyId remarketingAudienceId (Core.Just Core.AltJSON) analyticsService where go = Core.buildClient ( Core.Proxy :: Core.Proxy AnalyticsManagementRemarketingAudienceDeleteResource ) Core.mempty