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

Synopsis

REST Resource

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

Creating a Request

billingAccountsExclusionsCreate Source #

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

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

data BillingAccountsExclusionsCreate 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: billingAccountsExclusionsCreate smart constructor.

Instances
Eq BillingAccountsExclusionsCreate Source # 
Instance details

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

Data BillingAccountsExclusionsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: BillingAccountsExclusionsCreate -> Constr #

dataTypeOf :: BillingAccountsExclusionsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsExclusionsCreate Source # 
Instance details

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

Generic BillingAccountsExclusionsCreate Source # 
Instance details

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

Associated Types

type Rep BillingAccountsExclusionsCreate :: Type -> Type #

GoogleRequest BillingAccountsExclusionsCreate Source # 
Instance details

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

type Rep BillingAccountsExclusionsCreate Source # 
Instance details

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

type Rep BillingAccountsExclusionsCreate = D1 (MetaData "BillingAccountsExclusionsCreate" "Network.Google.Resource.Logging.BillingAccounts.Exclusions.Create" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "BillingAccountsExclusionsCreate'" PrefixI True) ((S1 (MetaSel (Just "_baecParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_baecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_baecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_baecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_baecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_baecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogExclusion) :*: S1 (MetaSel (Just "_baecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsExclusionsCreate Source # 
Instance details

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

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

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

Request Lenses

baecParent :: Lens' BillingAccountsExclusionsCreate 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".

baecUploadProtocol :: Lens' BillingAccountsExclusionsCreate (Maybe Text) Source #

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

baecUploadType :: Lens' BillingAccountsExclusionsCreate (Maybe Text) Source #

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