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.Projects.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.projects.sinks.delete.

Synopsis

REST Resource

type ProjectsSinksDeleteResource = "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.projects.sinks.delete method which the ProjectsSinksDelete request conforms to.

Creating a Request

projectsSinksDelete Source #

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

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

data ProjectsSinksDelete Source #

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

See: projectsSinksDelete smart constructor.

Instances
Eq ProjectsSinksDelete Source # 
Instance details

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

Data ProjectsSinksDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsSinksDelete -> Constr #

dataTypeOf :: ProjectsSinksDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSinksDelete Source # 
Instance details

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

Generic ProjectsSinksDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsSinksDelete :: Type -> Type #

GoogleRequest ProjectsSinksDelete Source # 
Instance details

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

Associated Types

type Rs ProjectsSinksDelete :: Type #

type Scopes ProjectsSinksDelete :: [Symbol] #

type Rep ProjectsSinksDelete Source # 
Instance details

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

type Rep ProjectsSinksDelete = D1 (MetaData "ProjectsSinksDelete" "Network.Google.Resource.Logging.Projects.Sinks.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsSinksDelete'" PrefixI True) ((S1 (MetaSel (Just "_psdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_psdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psdSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSinksDelete Source # 
Instance details

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

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

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

Request Lenses

psdUploadProtocol :: Lens' ProjectsSinksDelete (Maybe Text) Source #

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

psdUploadType :: Lens' ProjectsSinksDelete (Maybe Text) Source #

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

psdSinkName :: Lens' ProjectsSinksDelete 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".