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.Exclusions.Create

Contents

Description

Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

See: Stackdriver Logging API Reference for logging.folders.exclusions.create.

Synopsis

REST Resource

type FoldersExclusionsCreateResource = "v2" :> (Capture "parent" Text :> ("exclusions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogExclusion :> Post '[JSON] LogExclusion))))))))) Source #

A resource alias for logging.folders.exclusions.create method which the FoldersExclusionsCreate request conforms to.

Creating a Request

foldersExclusionsCreate Source #

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

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

data FoldersExclusionsCreate Source #

Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

See: foldersExclusionsCreate smart constructor.

Instances
Eq FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

Data FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

Methods

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

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

toConstr :: FoldersExclusionsCreate -> Constr #

dataTypeOf :: FoldersExclusionsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

Generic FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

Associated Types

type Rep FoldersExclusionsCreate :: Type -> Type #

GoogleRequest FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

type Rep FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

type Rep FoldersExclusionsCreate = D1 (MetaData "FoldersExclusionsCreate" "Network.Google.Resource.Logging.Folders.Exclusions.Create" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "FoldersExclusionsCreate'" PrefixI True) ((S1 (MetaSel (Just "_fecParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_fecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_fecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_fecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_fecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogExclusion) :*: S1 (MetaSel (Just "_fecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes FoldersExclusionsCreate Source # 
Instance details

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

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

Defined in Network.Google.Resource.Logging.Folders.Exclusions.Create

Request Lenses

fecParent :: Lens' FoldersExclusionsCreate Text Source #

Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/123456789".

fecUploadProtocol :: Lens' FoldersExclusionsCreate (Maybe Text) Source #

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

fecUploadType :: Lens' FoldersExclusionsCreate (Maybe Text) Source #

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