google_api_cloud_error_reporting v0.3.0 GoogleApi.CloudErrorReporting.V1beta1.Model.HttpRequestContext View 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.

Attributes

  • method (String.t): The type of HTTP request, such as GET, POST, etc. Defaults to nil.
  • referrer (String.t): The referrer information that is provided with the request. Defaults to nil.
  • remoteIp (String.t): 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. Defaults to nil.
  • responseStatusCode (integer()): The HTTP response status code for the request. Defaults to nil.
  • url (String.t): The URL of the request. Defaults to nil.
  • userAgent (String.t): The user agent information that is provided with the request. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.CloudErrorReporting.V1beta1.Model.HttpRequestContext{
  method: String.t(),
  referrer: String.t(),
  remoteIp: String.t(),
  responseStatusCode: integer(),
  url: String.t(),
  userAgent: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.