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

Synopsis

REST Resource

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

Creating a Request

organizationsSinksDelete Source #

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

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

data OrganizationsSinksDelete Source #

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

See: organizationsSinksDelete smart constructor.

Instances
Eq OrganizationsSinksDelete Source # 
Instance details

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

Data OrganizationsSinksDelete Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsSinksDelete -> Constr #

dataTypeOf :: OrganizationsSinksDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSinksDelete Source # 
Instance details

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

Generic OrganizationsSinksDelete Source # 
Instance details

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

Associated Types

type Rep OrganizationsSinksDelete :: Type -> Type #

GoogleRequest OrganizationsSinksDelete Source # 
Instance details

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

type Rep OrganizationsSinksDelete Source # 
Instance details

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

type Rep OrganizationsSinksDelete = D1 (MetaData "OrganizationsSinksDelete" "Network.Google.Resource.Logging.Organizations.Sinks.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "OrganizationsSinksDelete'" PrefixI True) ((S1 (MetaSel (Just "_osdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_osdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_osdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_osdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_osdSinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_osdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSinksDelete Source # 
Instance details

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

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

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

Request Lenses

osdUploadProtocol :: Lens' OrganizationsSinksDelete (Maybe Text) Source #

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

osdUploadType :: Lens' OrganizationsSinksDelete (Maybe Text) Source #

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

osdSinkName :: Lens' OrganizationsSinksDelete 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".