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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.