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

Synopsis

REST Resource

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

Creating a Request

sinksDelete Source #

Arguments

:: Text

sdSinkName

-> SinksDelete 

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

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

data SinksDelete Source #

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

See: sinksDelete smart constructor.

Instances
Eq SinksDelete Source # 
Instance details

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

Data SinksDelete Source # 
Instance details

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

Methods

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

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

toConstr :: SinksDelete -> Constr #

dataTypeOf :: SinksDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SinksDelete Source # 
Instance details

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

Generic SinksDelete Source # 
Instance details

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

Associated Types

type Rep SinksDelete :: Type -> Type #

GoogleRequest SinksDelete Source # 
Instance details

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

Associated Types

type Rs SinksDelete :: Type #

type Scopes SinksDelete :: [Symbol] #

type Rep SinksDelete Source # 
Instance details

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

type Rep SinksDelete = D1 (MetaData "SinksDelete" "Network.Google.Resource.Logging.Sinks.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "SinksDelete'" PrefixI True) ((S1 (MetaSel (Just "_sdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sdSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SinksDelete Source # 
Instance details

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

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

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

Request Lenses

sdXgafv :: Lens' SinksDelete (Maybe Xgafv) Source #

V1 error format.

sdUploadProtocol :: Lens' SinksDelete (Maybe Text) Source #

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

sdAccessToken :: Lens' SinksDelete (Maybe Text) Source #

OAuth access token.

sdUploadType :: Lens' SinksDelete (Maybe Text) Source #

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

sdSinkName :: Lens' SinksDelete 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".