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

Synopsis

REST Resource

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

Creating a Request

projectsExclusionsCreate Source #

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

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

data ProjectsExclusionsCreate 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: projectsExclusionsCreate smart constructor.

Instances
Eq ProjectsExclusionsCreate Source # 
Instance details

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

Data ProjectsExclusionsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsExclusionsCreate -> Constr #

dataTypeOf :: ProjectsExclusionsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsExclusionsCreate Source # 
Instance details

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

Generic ProjectsExclusionsCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsExclusionsCreate :: Type -> Type #

GoogleRequest ProjectsExclusionsCreate Source # 
Instance details

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

type Rep ProjectsExclusionsCreate Source # 
Instance details

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

type Rep ProjectsExclusionsCreate = D1 (MetaData "ProjectsExclusionsCreate" "Network.Google.Resource.Logging.Projects.Exclusions.Create" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsExclusionsCreate'" PrefixI True) ((S1 (MetaSel (Just "_pecParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogExclusion) :*: S1 (MetaSel (Just "_pecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsExclusionsCreate Source # 
Instance details

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

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

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

Request Lenses

pecParent :: Lens' ProjectsExclusionsCreate 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".

pecUploadProtocol :: Lens' ProjectsExclusionsCreate (Maybe Text) Source #

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

pecUploadType :: Lens' ProjectsExclusionsCreate (Maybe Text) Source #

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