class Google::Apis::ClouderrorreportingV1beta1::HttpRequestContext

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_prop[RW]

The type of HTTP request, such as `GET`, `POST`, etc. Corresponds to the JSON property `method` @return [String]

referrer[RW]

The referrer information that is provided with the request. Corresponds to the JSON property `referrer` @return [String]

remote_ip[RW]

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. Corresponds to the JSON property `remoteIp` @return [String]

response_status_code[RW]

The HTTP response status code for the request. Corresponds to the JSON property `responseStatusCode` @return [Fixnum]

url[RW]

The URL of the request. Corresponds to the JSON property `url` @return [String]

user_agent[RW]

The user agent information that is provided with the request. Corresponds to the JSON property `userAgent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 293
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 298
def update!(**args)
  @method_prop = args[:method_prop] if args.key?(:method_prop)
  @referrer = args[:referrer] if args.key?(:referrer)
  @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
  @response_status_code = args[:response_status_code] if args.key?(:response_status_code)
  @url = args[:url] if args.key?(:url)
  @user_agent = args[:user_agent] if args.key?(:user_agent)
end