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.Patch

Contents

Description

Changes one or more properties of an existing exclusion.

See: Stackdriver Logging API Reference for logging.billingAccounts.exclusions.patch.

Synopsis

REST Resource

type BillingAccountsExclusionsPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogExclusion :> Patch '[JSON] LogExclusion))))))))) Source #

A resource alias for logging.billingAccounts.exclusions.patch method which the BillingAccountsExclusionsPatch request conforms to.

Creating a Request

billingAccountsExclusionsPatch Source #

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

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

data BillingAccountsExclusionsPatch Source #

Changes one or more properties of an existing exclusion.

See: billingAccountsExclusionsPatch smart constructor.

Instances
Eq BillingAccountsExclusionsPatch Source # 
Instance details

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

Data BillingAccountsExclusionsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: BillingAccountsExclusionsPatch -> Constr #

dataTypeOf :: BillingAccountsExclusionsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BillingAccountsExclusionsPatch Source # 
Instance details

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

Generic BillingAccountsExclusionsPatch Source # 
Instance details

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

Associated Types

type Rep BillingAccountsExclusionsPatch :: Type -> Type #

GoogleRequest BillingAccountsExclusionsPatch Source # 
Instance details

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

type Rep BillingAccountsExclusionsPatch Source # 
Instance details

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

type Rep BillingAccountsExclusionsPatch = D1 (MetaData "BillingAccountsExclusionsPatch" "Network.Google.Resource.Logging.BillingAccounts.Exclusions.Patch" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "BillingAccountsExclusionsPatch'" PrefixI True) (((S1 (MetaSel (Just "_baepXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_baepUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_baepUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_baepAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_baepUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_baepPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogExclusion)) :*: (S1 (MetaSel (Just "_baepName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_baepCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BillingAccountsExclusionsPatch Source # 
Instance details

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

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

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

Request Lenses

baepUploadProtocol :: Lens' BillingAccountsExclusionsPatch (Maybe Text) Source #

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

baepUpdateMask :: Lens' BillingAccountsExclusionsPatch (Maybe GFieldMask) Source #

Required. A nonempty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".

baepUploadType :: Lens' BillingAccountsExclusionsPatch (Maybe Text) Source #

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

baepName :: Lens' BillingAccountsExclusionsPatch Text Source #

Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".