# Error Reporting V1beta1 API - Class Google::Cloud::ErrorReporting::V1beta1::HttpRequestContext (v0.17.0)

0.17.0 (latest) 0.16.0 0.15.1 0.14.0 0.13.1 0.12.0 0.11.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.5 Reference documentation and code samples for the Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #method

    def method() -> ::String

**Returns**

- (::String) --- The type of HTTP request, such as `GET`, `POST`, etc.

### #method=

    def method=(value) -> ::String

**Parameter**

- **value** (::String) --- The type of HTTP request, such as `GET`, `POST`, etc.
**Returns**

- (::String) --- The type of HTTP request, such as `GET`, `POST`, etc.

### #referrer

    def referrer() -> ::String

**Returns**

- (::String) --- The referrer information that is provided with the request.

### #referrer=

    def referrer=(value) -> ::String

**Parameter**

- **value** (::String) --- The referrer information that is provided with the request.
**Returns**

- (::String) --- The referrer information that is provided with the request.

### #remote_ip

    def remote_ip() -> ::String

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

### #remote_ip=

    def remote_ip=(value) -> ::String

**Parameter**

- **value** (::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.
**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.

### #response_status_code

    def response_status_code() -> ::Integer

**Returns**

- (::Integer) --- The HTTP response status code for the request.

### #response_status_code=

    def response_status_code=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The HTTP response status code for the request.
**Returns**

- (::Integer) --- The HTTP response status code for the request.

### #url

    def url() -> ::String

**Returns**

- (::String) --- The URL of the request.

### #url=

    def url=(value) -> ::String

**Parameter**

- **value** (::String) --- The URL of the request.
**Returns**

- (::String) --- The URL of the request.

### #user_agent

    def user_agent() -> ::String

**Returns**

- (::String) --- The user agent information that is provided with the request.

### #user_agent=

    def user_agent=(value) -> ::String

**Parameter**

- **value** (::String) --- The user agent information that is provided with the request.
**Returns**

- (::String) --- The user agent information that is provided with the request.