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.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.exclusions.create.

Synopsis

REST Resource

type ExclusionsCreateResource = "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.exclusions.create method which the ExclusionsCreate request conforms to.

Creating a Request

exclusionsCreate Source #

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

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

data ExclusionsCreate 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: exclusionsCreate smart constructor.

Instances
Eq ExclusionsCreate Source # 
Instance details

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

Data ExclusionsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ExclusionsCreate -> Constr #

dataTypeOf :: ExclusionsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExclusionsCreate Source # 
Instance details

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

Generic ExclusionsCreate Source # 
Instance details

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

Associated Types

type Rep ExclusionsCreate :: Type -> Type #

GoogleRequest ExclusionsCreate Source # 
Instance details

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

Associated Types

type Rs ExclusionsCreate :: Type #

type Scopes ExclusionsCreate :: [Symbol] #

type Rep ExclusionsCreate Source # 
Instance details

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

type Rep ExclusionsCreate = D1 (MetaData "ExclusionsCreate" "Network.Google.Resource.Logging.Exclusions.Create" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ExclusionsCreate'" PrefixI True) ((S1 (MetaSel (Just "_ecParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogExclusion) :*: S1 (MetaSel (Just "_ecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ExclusionsCreate Source # 
Instance details

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

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

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

Request Lenses

ecParent :: Lens' ExclusionsCreate 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".

ecUploadProtocol :: Lens' ExclusionsCreate (Maybe Text) Source #

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

ecUploadType :: Lens' ExclusionsCreate (Maybe Text) Source #

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

ecPayload :: Lens' ExclusionsCreate LogExclusion Source #

Multipart request metadata.