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

Synopsis

REST Resource

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

Creating a Request

organizationsExclusionsCreate Source #

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

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

data OrganizationsExclusionsCreate 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: organizationsExclusionsCreate smart constructor.

Instances
Eq OrganizationsExclusionsCreate Source # 
Instance details

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

Data OrganizationsExclusionsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsExclusionsCreate -> Constr #

dataTypeOf :: OrganizationsExclusionsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsExclusionsCreate Source # 
Instance details

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

Generic OrganizationsExclusionsCreate Source # 
Instance details

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

Associated Types

type Rep OrganizationsExclusionsCreate :: Type -> Type #

GoogleRequest OrganizationsExclusionsCreate Source # 
Instance details

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

type Rep OrganizationsExclusionsCreate Source # 
Instance details

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

type Rep OrganizationsExclusionsCreate = D1 (MetaData "OrganizationsExclusionsCreate" "Network.Google.Resource.Logging.Organizations.Exclusions.Create" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "OrganizationsExclusionsCreate'" PrefixI True) ((S1 (MetaSel (Just "_oecParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_oecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_oecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LogExclusion) :*: S1 (MetaSel (Just "_oecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsExclusionsCreate Source # 
Instance details

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

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

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

Request Lenses

oecParent :: Lens' OrganizationsExclusionsCreate 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".

oecUploadProtocol :: Lens' OrganizationsExclusionsCreate (Maybe Text) Source #

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

oecUploadType :: Lens' OrganizationsExclusionsCreate (Maybe Text) Source #

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