Google Cloud Error Reporting v1beta1 API - Class HttpRequestContext (3.0.0-beta03)

public sealed class HttpRequestContext : IMessage<HttpRequestContext>, IEquatable<HttpRequestContext>, IDeepCloneable<HttpRequestContext>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class 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.

Inheritance

object > HttpRequestContext

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Constructors

HttpRequestContext()

public HttpRequestContext()

HttpRequestContext(HttpRequestContext)

public HttpRequestContext(HttpRequestContext other)
Parameter
NameDescription
otherHttpRequestContext

Properties

Method

public string Method { get; set; }

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

Property Value
TypeDescription
string

Referrer

public string Referrer { get; set; }

The referrer information that is provided with the request.

Property Value
TypeDescription
string

RemoteIp

public string RemoteIp { get; set; }

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.

Property Value
TypeDescription
string

ResponseStatusCode

public int ResponseStatusCode { get; set; }

The HTTP response status code for the request.

Property Value
TypeDescription
int

Url

public string Url { get; set; }

The URL of the request.

Property Value
TypeDescription
string

UserAgent

public string UserAgent { get; set; }

The user agent information that is provided with the request.

Property Value
TypeDescription
string