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.Folders.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.folders.sinks.delete.

Synopsis

REST Resource

type FoldersSinksDeleteResource = "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.folders.sinks.delete method which the FoldersSinksDelete request conforms to.

Creating a Request

foldersSinksDelete Source #

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

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

data FoldersSinksDelete Source #

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

See: foldersSinksDelete smart constructor.

Instances
Eq FoldersSinksDelete Source # 
Instance details

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

Data FoldersSinksDelete Source # 
Instance details

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

Methods

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

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

toConstr :: FoldersSinksDelete -> Constr #

dataTypeOf :: FoldersSinksDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersSinksDelete Source # 
Instance details

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

Generic FoldersSinksDelete Source # 
Instance details

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

Associated Types

type Rep FoldersSinksDelete :: Type -> Type #

GoogleRequest FoldersSinksDelete Source # 
Instance details

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

Associated Types

type Rs FoldersSinksDelete :: Type #

type Scopes FoldersSinksDelete :: [Symbol] #

type Rep FoldersSinksDelete Source # 
Instance details

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

type Rep FoldersSinksDelete = D1 (MetaData "FoldersSinksDelete" "Network.Google.Resource.Logging.Folders.Sinks.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "FoldersSinksDelete'" PrefixI True) ((S1 (MetaSel (Just "_fsdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_fsdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fsdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_fsdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fsdSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fsdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FoldersSinksDelete Source # 
Instance details

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

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

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

Request Lenses

fsdUploadProtocol :: Lens' FoldersSinksDelete (Maybe Text) Source #

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

fsdUploadType :: Lens' FoldersSinksDelete (Maybe Text) Source #

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

fsdSinkName :: Lens' FoldersSinksDelete 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".