gogol-clouderrorreporting-0.5.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.CloudErrorReporting.Types

Contents

Description

 
Synopsis

Service Configuration

cloudErrorReportingService :: ServiceConfig Source #

Default request referring to version v1beta1 of the Stackdriver Error Reporting API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

ErrorEvent

data ErrorEvent Source #

An error event which is returned by the Error Reporting system.

See: errorEvent smart constructor.

Instances
Eq ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ErrorEvent -> Constr #

dataTypeOf :: ErrorEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ErrorEvent :: Type -> Type #

ToJSON ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorEvent = D1 (MetaData "ErrorEvent" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ErrorEvent'" PrefixI True) ((S1 (MetaSel (Just "_eeContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorContext)) :*: S1 (MetaSel (Just "_eeEventTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_eeServiceContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServiceContext)) :*: S1 (MetaSel (Just "_eeMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

errorEvent :: ErrorEvent Source #

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

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

eeContext :: Lens' ErrorEvent (Maybe ErrorContext) Source #

Data about the context in which the error occurred.

eeEventTime :: Lens' ErrorEvent (Maybe UTCTime) Source #

Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.

eeServiceContext :: Lens' ErrorEvent (Maybe ServiceContext) Source #

The `ServiceContext` for which this error was reported.

eeMessage :: Lens' ErrorEvent (Maybe Text) Source #

The stack trace that was reported or logged by the service.

ErrorContext

data ErrorContext Source #

A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

See: errorContext smart constructor.

Instances
Eq ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ErrorContext -> Constr #

dataTypeOf :: ErrorContext -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ErrorContext :: Type -> Type #

ToJSON ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorContext = D1 (MetaData "ErrorContext" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ErrorContext'" PrefixI True) ((S1 (MetaSel (Just "_ecHTTPRequest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HTTPRequestContext)) :*: S1 (MetaSel (Just "_ecUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ecSourceReferences") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SourceReference])) :*: S1 (MetaSel (Just "_ecReportLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceLocation)))))

errorContext :: ErrorContext Source #

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

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

ecHTTPRequest :: Lens' ErrorContext (Maybe HTTPRequestContext) Source #

The HTTP request which was processed when the error was triggered.

ecUser :: Lens' ErrorContext (Maybe Text) Source #

The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See `affected_users_count` in `ErrorGroupStats`.

ecSourceReferences :: Lens' ErrorContext [SourceReference] Source #

Source code that was used to build the executable which has caused the given error message.

ecReportLocation :: Lens' ErrorContext (Maybe SourceLocation) Source #

The location in the source code where the decision was made to report the error, usually the place where it was logged. For a logged exception this would be the source line where the exception is logged, usually close to the place where it was caught.

ErrorGroup

data ErrorGroup Source #

Description of a group of similar error events.

See: errorGroup smart constructor.

Instances
Eq ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ErrorGroup -> Constr #

dataTypeOf :: ErrorGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ErrorGroup :: Type -> Type #

ToJSON ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorGroup Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorGroup = D1 (MetaData "ErrorGroup" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ErrorGroup'" PrefixI True) (S1 (MetaSel (Just "_egTrackingIssues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TrackingIssue])) :*: (S1 (MetaSel (Just "_egName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_egGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

errorGroup :: ErrorGroup Source #

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

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

egTrackingIssues :: Lens' ErrorGroup [TrackingIssue] Source #

Associated tracking issues.

egName :: Lens' ErrorGroup (Maybe Text) Source #

The group resource name. Example: 'projects\/my-project-123\/groups\/my-groupid'

egGroupId :: Lens' ErrorGroup (Maybe Text) Source #

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.

DeleteEventsResponse

data DeleteEventsResponse Source #

Response message for deleting error events.

See: deleteEventsResponse smart constructor.

Instances
Eq DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: DeleteEventsResponse -> Constr #

dataTypeOf :: DeleteEventsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep DeleteEventsResponse :: Type -> Type #

ToJSON DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep DeleteEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep DeleteEventsResponse = D1 (MetaData "DeleteEventsResponse" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "DeleteEventsResponse'" PrefixI False) (U1 :: Type -> Type))

deleteEventsResponse :: DeleteEventsResponse Source #

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

ReportedErrorEvent

data ReportedErrorEvent Source #

An error event which is reported to the Error Reporting system.

See: reportedErrorEvent smart constructor.

Instances
Eq ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ReportedErrorEvent -> Constr #

dataTypeOf :: ReportedErrorEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ReportedErrorEvent :: Type -> Type #

ToJSON ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ReportedErrorEvent Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ReportedErrorEvent = D1 (MetaData "ReportedErrorEvent" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ReportedErrorEvent'" PrefixI True) ((S1 (MetaSel (Just "_reeContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorContext)) :*: S1 (MetaSel (Just "_reeEventTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_reeServiceContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServiceContext)) :*: S1 (MetaSel (Just "_reeMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

reportedErrorEvent :: ReportedErrorEvent Source #

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

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

reeContext :: Lens' ReportedErrorEvent (Maybe ErrorContext) Source #

Optional
A description of the context in which the error occurred.

reeEventTime :: Lens' ReportedErrorEvent (Maybe UTCTime) Source #

Optional
Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.

reeServiceContext :: Lens' ReportedErrorEvent (Maybe ServiceContext) Source #

Required
The service context in which this error has occurred.

reeMessage :: Lens' ReportedErrorEvent (Maybe Text) Source #

Required
The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of
`Throwable.printStackTrace()`
(https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of
`traceback.format_exc()`
(https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of
`error.stack`
(https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by
`Exception.backtrace`
(https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of
`Exception.ToString()`
(https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)` and contain the result of
`(string)$exception`
(http://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of
`runtime.Stack()`
(https://golang.org/pkg/runtime/debug/#Stack).

HTTPRequestContext

data HTTPRequestContext Source #

HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

See: hTTPRequestContext smart constructor.

Instances
Eq HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: HTTPRequestContext -> Constr #

dataTypeOf :: HTTPRequestContext -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep HTTPRequestContext :: Type -> Type #

ToJSON HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep HTTPRequestContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep HTTPRequestContext = D1 (MetaData "HTTPRequestContext" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "HTTPRequestContext'" PrefixI True) ((S1 (MetaSel (Just "_httprcRemoteIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_httprcURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_httprcReferrer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_httprcMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_httprcResponseStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_httprcUserAgent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

hTTPRequestContext :: HTTPRequestContext Source #

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

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

httprcRemoteIP :: Lens' HTTPRequestContext (Maybe Text) Source #

The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.

httprcURL :: Lens' HTTPRequestContext (Maybe Text) Source #

The URL of the request.

httprcReferrer :: Lens' HTTPRequestContext (Maybe Text) Source #

The referrer information that is provided with the request.

httprcMethod :: Lens' HTTPRequestContext (Maybe Text) Source #

The type of HTTP request, such as `GET`, `POST`, etc.

httprcResponseStatusCode :: Lens' HTTPRequestContext (Maybe Int32) Source #

The HTTP response status code for the request.

httprcUserAgent :: Lens' HTTPRequestContext (Maybe Text) Source #

The user agent information that is provided with the request.

TrackingIssue

data TrackingIssue Source #

Information related to tracking the progress on resolving the error.

See: trackingIssue smart constructor.

Instances
Eq TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: TrackingIssue -> Constr #

dataTypeOf :: TrackingIssue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep TrackingIssue :: Type -> Type #

ToJSON TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep TrackingIssue Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep TrackingIssue = D1 (MetaData "TrackingIssue" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" True) (C1 (MetaCons "TrackingIssue'" PrefixI True) (S1 (MetaSel (Just "_tiURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

trackingIssue :: TrackingIssue Source #

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

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

tiURL :: Lens' TrackingIssue (Maybe Text) Source #

A URL pointing to a related entry in an issue tracking system. Example: https://github.com/user/project/issues/4

ListEventsResponse

data ListEventsResponse Source #

Contains a set of requested error events.

See: listEventsResponse smart constructor.

Instances
Eq ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ListEventsResponse -> Constr #

dataTypeOf :: ListEventsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ListEventsResponse :: Type -> Type #

ToJSON ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ListEventsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ListEventsResponse = D1 (MetaData "ListEventsResponse" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ListEventsResponse'" PrefixI True) (S1 (MetaSel (Just "_lerNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lerTimeRangeBegin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_lerErrorEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorEvent])))))

listEventsResponse :: ListEventsResponse Source #

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

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

lerNextPageToken :: Lens' ListEventsResponse (Maybe Text) Source #

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

lerTimeRangeBegin :: Lens' ListEventsResponse (Maybe UTCTime) Source #

The timestamp specifies the start time to which the request was restricted.

lerErrorEvents :: Lens' ListEventsResponse [ErrorEvent] Source #

The error events which match the given request.

ErrorGroupStats

data ErrorGroupStats Source #

Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.

See: errorGroupStats smart constructor.

Instances
Eq ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ErrorGroupStats -> Constr #

dataTypeOf :: ErrorGroupStats -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ErrorGroupStats :: Type -> Type #

ToJSON ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorGroupStats Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ErrorGroupStats = D1 (MetaData "ErrorGroupStats" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ErrorGroupStats'" PrefixI True) (((S1 (MetaSel (Just "_egsAffectedServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ServiceContext])) :*: S1 (MetaSel (Just "_egsGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorGroup))) :*: (S1 (MetaSel (Just "_egsFirstSeenTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_egsAffectedUsersCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) :*: ((S1 (MetaSel (Just "_egsCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_egsTimedCounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TimedCount]))) :*: (S1 (MetaSel (Just "_egsNumAffectedServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_egsLastSeenTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_egsRepresentative") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorEvent)))))))

errorGroupStats :: ErrorGroupStats Source #

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

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

egsAffectedServices :: Lens' ErrorGroupStats [ServiceContext] Source #

Service contexts with a non-zero error count for the given filter criteria. This list can be truncated if multiple services are affected. Refer to `num_affected_services` for the total count.

egsGroup :: Lens' ErrorGroupStats (Maybe ErrorGroup) Source #

Group data that is independent of the filter criteria.

egsFirstSeenTime :: Lens' ErrorGroupStats (Maybe UTCTime) Source #

Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.

egsAffectedUsersCount :: Lens' ErrorGroupStats (Maybe Int64) Source #

Approximate number of affected users in the given group that match the filter criteria. Users are distinguished by data in the `ErrorContext` of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.

egsCount :: Lens' ErrorGroupStats (Maybe Int64) Source #

Approximate total number of events in the given group that match the filter criteria.

egsTimedCounts :: Lens' ErrorGroupStats [TimedCount] Source #

Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be: - Inside the requested time interval - Non-overlapping, and - Ordered by ascending time.

egsNumAffectedServices :: Lens' ErrorGroupStats (Maybe Int32) Source #

The total number of services with a non-zero error count for the given filter criteria.

egsLastSeenTime :: Lens' ErrorGroupStats (Maybe UTCTime) Source #

Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.

egsRepresentative :: Lens' ErrorGroupStats (Maybe ErrorEvent) Source #

An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole.

ListGroupStatsResponse

data ListGroupStatsResponse Source #

Contains a set of requested error group stats.

See: listGroupStatsResponse smart constructor.

Instances
Eq ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ListGroupStatsResponse -> Constr #

dataTypeOf :: ListGroupStatsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ListGroupStatsResponse :: Type -> Type #

ToJSON ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ListGroupStatsResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ListGroupStatsResponse = D1 (MetaData "ListGroupStatsResponse" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ListGroupStatsResponse'" PrefixI True) (S1 (MetaSel (Just "_lgsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lgsrTimeRangeBegin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_lgsrErrorGroupStats") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorGroupStats])))))

listGroupStatsResponse :: ListGroupStatsResponse Source #

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

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

lgsrNextPageToken :: Lens' ListGroupStatsResponse (Maybe Text) Source #

If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.

lgsrTimeRangeBegin :: Lens' ListGroupStatsResponse (Maybe UTCTime) Source #

The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.

lgsrErrorGroupStats :: Lens' ListGroupStatsResponse [ErrorGroupStats] Source #

The error group stats which match the given request.

ServiceContext

data ServiceContext Source #

Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.

See: serviceContext smart constructor.

Instances
Eq ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ServiceContext -> Constr #

dataTypeOf :: ServiceContext -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ServiceContext :: Type -> Type #

ToJSON ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ServiceContext Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ServiceContext = D1 (MetaData "ServiceContext" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ServiceContext'" PrefixI True) (S1 (MetaSel (Just "_scResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_scService") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_scVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

serviceContext :: ServiceContext Source #

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

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

scResourceType :: Lens' ServiceContext (Maybe Text) Source #

Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources Value is set automatically for incoming errors and must not be set when reporting errors.

scService :: Lens' ServiceContext (Maybe Text) Source #

An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to `version`, which can be changed whenever new code is deployed. Contains the service name for error reports extracted from Google App Engine logs or `default` if the App Engine default service is used.

scVersion :: Lens' ServiceContext (Maybe Text) Source #

Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.CloudErrorReporting.Types.Sum" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

TimedCount

data TimedCount Source #

The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.

See: timedCount smart constructor.

Instances
Eq TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: TimedCount -> Constr #

dataTypeOf :: TimedCount -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep TimedCount :: Type -> Type #

ToJSON TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep TimedCount Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep TimedCount = D1 (MetaData "TimedCount" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "TimedCount'" PrefixI True) (S1 (MetaSel (Just "_tcStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_tcCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_tcEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

timedCount :: TimedCount Source #

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

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

tcStartTime :: Lens' TimedCount (Maybe UTCTime) Source #

Start of the time period to which `count` refers (included).

tcCount :: Lens' TimedCount (Maybe Int64) Source #

Approximate number of occurrences in the given time period.

tcEndTime :: Lens' TimedCount (Maybe UTCTime) Source #

End of the time period to which `count` refers (excluded).

SourceLocation

data SourceLocation Source #

Indicates a location in the source code of the service for which errors are reported. `functionName` must be provided by the application when reporting an error, unless the error report contains a `message` with a supported exception stack trace. All fields are optional for the later case.

See: sourceLocation smart constructor.

Instances
Eq SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: SourceLocation -> Constr #

dataTypeOf :: SourceLocation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep SourceLocation :: Type -> Type #

ToJSON SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep SourceLocation Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep SourceLocation = D1 (MetaData "SourceLocation" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "SourceLocation'" PrefixI True) (S1 (MetaSel (Just "_slLineNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_slFilePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

sourceLocation :: SourceLocation Source #

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

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

slLineNumber :: Lens' SourceLocation (Maybe Int32) Source #

1-based. 0 indicates that the line number is unknown.

slFilePath :: Lens' SourceLocation (Maybe Text) Source #

The source code filename, which can include a truncated relative path, or a full path from a production machine.

slFunctionName :: Lens' SourceLocation (Maybe Text) Source #

Human-readable name of a function or method. The value can include optional context like the class or package name. For example, `my.package.MyClass.method` in case of Java.

SourceReference

data SourceReference Source #

A reference to a particular snapshot of the source tree used to build and deploy an application.

See: sourceReference smart constructor.

Instances
Eq SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: SourceReference -> Constr #

dataTypeOf :: SourceReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep SourceReference :: Type -> Type #

ToJSON SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep SourceReference Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep SourceReference = D1 (MetaData "SourceReference" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "SourceReference'" PrefixI True) (S1 (MetaSel (Just "_srRepository") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srRevisionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

sourceReference :: SourceReference Source #

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

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

srRepository :: Lens' SourceReference (Maybe Text) Source #

Optional. A URI string identifying the repository. Example: "https://github.com/GoogleCloudPlatform/kubernetes.git"

srRevisionId :: Lens' SourceReference (Maybe Text) Source #

The canonical and persistent identifier of the deployed revision. Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b"

ReportErrorEventResponse

data ReportErrorEventResponse Source #

Response for reporting an individual error event. Data may be added to this message in the future.

See: reportErrorEventResponse smart constructor.

Instances
Eq ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Data ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Methods

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

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

toConstr :: ReportErrorEventResponse -> Constr #

dataTypeOf :: ReportErrorEventResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Generic ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

Associated Types

type Rep ReportErrorEventResponse :: Type -> Type #

ToJSON ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

FromJSON ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ReportErrorEventResponse Source # 
Instance details

Defined in Network.Google.CloudErrorReporting.Types.Product

type Rep ReportErrorEventResponse = D1 (MetaData "ReportErrorEventResponse" "Network.Google.CloudErrorReporting.Types.Product" "gogol-clouderrorreporting-0.5.0-4TPl1O2QQXI64SYGuu73u3" False) (C1 (MetaCons "ReportErrorEventResponse'" PrefixI False) (U1 :: Type -> Type))

reportErrorEventResponse :: ReportErrorEventResponse Source #

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