gogol-clouderrorreporting-0.4.0: Google Stackdriver Error Reporting 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.CloudErrorReporting.Projects.Events.Report

Contents

Description

Report an individual error event. This endpoint accepts **either** an OAuth token, **or** an API key for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`

See: Stackdriver Error Reporting API Reference for clouderrorreporting.projects.events.report.

Synopsis

REST Resource

type ProjectsEventsReportResource = "v1beta1" :> (Capture "projectName" Text :> ("events:report" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReportedErrorEvent :> Post '[JSON] ReportErrorEventResponse))))))))) Source #

A resource alias for clouderrorreporting.projects.events.report method which the ProjectsEventsReport request conforms to.

Creating a Request

projectsEventsReport Source #

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

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

data ProjectsEventsReport Source #

Report an individual error event. This endpoint accepts **either** an OAuth token, **or** an API key for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`

See: projectsEventsReport smart constructor.

Instances
Eq ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

Data ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

Methods

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

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

toConstr :: ProjectsEventsReport -> Constr #

dataTypeOf :: ProjectsEventsReport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

Generic ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

Associated Types

type Rep ProjectsEventsReport :: Type -> Type #

GoogleRequest ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

Associated Types

type Rs ProjectsEventsReport :: Type #

type Scopes ProjectsEventsReport :: [Symbol] #

type Rep ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

type Rep ProjectsEventsReport = D1 (MetaData "ProjectsEventsReport" "Network.Google.Resource.CloudErrorReporting.Projects.Events.Report" "gogol-clouderrorreporting-0.4.0-2fiCci7Z6QjBU5UdTGLhWZ" False) (C1 (MetaCons "ProjectsEventsReport'" PrefixI True) ((S1 (MetaSel (Just "_perXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_perUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_perAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_perUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_perPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ReportedErrorEvent)) :*: (S1 (MetaSel (Just "_perProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_perCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsEventsReport Source # 
Instance details

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

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

Defined in Network.Google.Resource.CloudErrorReporting.Projects.Events.Report

Request Lenses

perUploadProtocol :: Lens' ProjectsEventsReport (Maybe Text) Source #

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

perUploadType :: Lens' ProjectsEventsReport (Maybe Text) Source #

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

perProjectName :: Lens' ProjectsEventsReport Text Source #

Required
The resource name of the Google Cloud Platform project. Written as `projects/` plus the Google Cloud Platform project ID. Example: `projects/my-project-123`.