HttpRequestContext
class HttpRequestContext extends Message
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.
Protobuf type Google\Devtools\Clouderrorreporting\V1beta1\HttpRequestContext
Methods
No description
The type of HTTP request, such as GET
, POST
, etc.
The type of HTTP request, such as GET
, POST
, etc.
The URL of the request.
The URL of the request.
The user agent information that is provided with the request.
The user agent information that is provided with the request.
The referrer information that is provided with the request.
The referrer information that is provided with the request.
The HTTP response status code for the request.
The HTTP response status code for the request.
The IP address from which the request originated.
The IP address from which the request originated.
Details
at line 61
__construct()
at line 72
string
getMethod()
The type of HTTP request, such as GET
, POST
, etc.
Generated from protobuf field string method = 1;
at line 83
setMethod(string $var)
The type of HTTP request, such as GET
, POST
, etc.
Generated from protobuf field string method = 1;
at line 95
string
getUrl()
The URL of the request.
Generated from protobuf field string url = 2;
at line 106
setUrl(string $var)
The URL of the request.
Generated from protobuf field string url = 2;
at line 118
string
getUserAgent()
The user agent information that is provided with the request.
Generated from protobuf field string user_agent = 3;
at line 129
setUserAgent(string $var)
The user agent information that is provided with the request.
Generated from protobuf field string user_agent = 3;
at line 141
string
getReferrer()
The referrer information that is provided with the request.
Generated from protobuf field string referrer = 4;
at line 152
setReferrer(string $var)
The referrer information that is provided with the request.
Generated from protobuf field string referrer = 4;
at line 164
int
getResponseStatusCode()
The HTTP response status code for the request.
Generated from protobuf field int32 response_status_code = 5;
at line 175
setResponseStatusCode(int $var)
The HTTP response status code for the request.
Generated from protobuf field int32 response_status_code = 5;
at line 190
string
getRemoteIp()
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.
Generated from protobuf field string remote_ip = 6;
at line 204
setRemoteIp(string $var)
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.
Generated from protobuf field string remote_ip = 6;