Class: Google::Cloud::ErrorReporting::V1beta1::HttpRequestContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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

#method::String

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

Returns:

  • (::String)

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



159
160
161
162
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 159

class HttpRequestContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#referrer::String

Returns The referrer information that is provided with the request.

Returns:

  • (::String)

    The referrer information that is provided with the request.



159
160
161
162
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 159

class HttpRequestContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#remote_ip::String

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.



159
160
161
162
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 159

class HttpRequestContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#response_status_code::Integer

Returns The HTTP response status code for the request.

Returns:

  • (::Integer)

    The HTTP response status code for the request.



159
160
161
162
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 159

class HttpRequestContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#url::String

Returns The URL of the request.

Returns:

  • (::String)

    The URL of the request.



159
160
161
162
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 159

class HttpRequestContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#user_agent::String

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

Returns:

  • (::String)

    The user agent information that is provided with the request.



159
160
161
162
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/common.rb', line 159

class HttpRequestContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end