gogol-logging-0.4.0: Google Stackdriver Logging SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

Contents

Description

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

See: Stackdriver Logging API Reference for logging.billingAccounts.sinks.delete.

Synopsis

REST Resource

type BillingAccountsSinksDeleteResource = "v2" :> (Capture "sinkName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #

A resource alias for logging.billingAccounts.sinks.delete method which the BillingAccountsSinksDelete request conforms to.

Creating a Request

billingAccountsSinksDelete Source #

Creates a value of BillingAccountsSinksDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BillingAccountsSinksDelete Source #

Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

See: billingAccountsSinksDelete smart constructor.

Instances
Eq BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

Data BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BillingAccountsSinksDelete -> c BillingAccountsSinksDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BillingAccountsSinksDelete #

toConstr :: BillingAccountsSinksDelete -> Constr #

dataTypeOf :: BillingAccountsSinksDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BillingAccountsSinksDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BillingAccountsSinksDelete) #

gmapT :: (forall b. Data b => b -> b) -> BillingAccountsSinksDelete -> BillingAccountsSinksDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BillingAccountsSinksDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BillingAccountsSinksDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> BillingAccountsSinksDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BillingAccountsSinksDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BillingAccountsSinksDelete -> m BillingAccountsSinksDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BillingAccountsSinksDelete -> m BillingAccountsSinksDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BillingAccountsSinksDelete -> m BillingAccountsSinksDelete #

Show BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

Generic BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

Associated Types

type Rep BillingAccountsSinksDelete :: Type -> Type #

GoogleRequest BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

type Rep BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

type Rep BillingAccountsSinksDelete = D1 (MetaData "BillingAccountsSinksDelete" "Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "BillingAccountsSinksDelete'" PrefixI True) ((S1 (MetaSel (Just "_basdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_basdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_basdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_basdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_basdSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_basdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

type Scopes BillingAccountsSinksDelete = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/logging.admin" ': ([] :: [Symbol]))
type Rs BillingAccountsSinksDelete Source # 
Instance details

Defined in Network.Google.Resource.Logging.BillingAccounts.Sinks.Delete

Request Lenses

basdUploadProtocol :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

basdUploadType :: Lens' BillingAccountsSinksDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

basdSinkName :: Lens' BillingAccountsSinksDelete Text Source #

Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".