Class: Google::Devtools::Clouderrorreporting::V1beta1::HttpRequestContext

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#methodString

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

Returns:

  • (String)

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



134
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 134

class HttpRequestContext; end

#referrerString

Returns The referrer information that is provided with the request.

Returns:

  • (String)

    The referrer information that is provided with the request.



134
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 134

class HttpRequestContext; end

#remote_ipString

Returns 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.

Returns:

  • (String)

    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.



134
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 134

class HttpRequestContext; end

#response_status_codeInteger

Returns The HTTP response status code for the request.

Returns:

  • (Integer)

    The HTTP response status code for the request.



134
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 134

class HttpRequestContext; end

#urlString

Returns The URL of the request.

Returns:

  • (String)

    The URL of the request.



134
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 134

class HttpRequestContext; end

#user_agentString

Returns The user agent information that is provided with the request.

Returns:

  • (String)

    The user agent information that is provided with the request.



134
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 134

class HttpRequestContext; end