Class RequestLog
Complete log information about a single HTTP request to an App Engine application.
Implements
Inherited Members
Namespace: Google.Apis.Logging.v2.Data
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class RequestLog : IDirectResponseSchema
Properties
AppEngineRelease
App Engine release version.
Declaration
[JsonProperty("appEngineRelease")]
public virtual string AppEngineRelease { get; set; }
Property Value
Type | Description |
---|---|
string |
AppId
Application that handled this request.
Declaration
[JsonProperty("appId")]
public virtual string AppId { get; set; }
Property Value
Type | Description |
---|---|
string |
Cost
An indication of the relative cost of serving this request.
Declaration
[JsonProperty("cost")]
public virtual double? Cost { get; set; }
Property Value
Type | Description |
---|---|
double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTime
object representation of EndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
EndTimeDateTimeOffset
DateTimeOffset representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EndTimeRaw
Time when the request finished.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Finished
Whether this request is finished or active.
Declaration
[JsonProperty("finished")]
public virtual bool? Finished { get; set; }
Property Value
Type | Description |
---|---|
bool? |
First
Whether this is the first RequestLog entry for this request. If an active request has several RequestLog entries written to Stackdriver Logging, then this field will be set for one of them.
Declaration
[JsonProperty("first")]
public virtual bool? First { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Host
Internet host and port number of the resource being requested.
Declaration
[JsonProperty("host")]
public virtual string Host { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpVersion
HTTP version of request. Example: "HTTP/1.1".
Declaration
[JsonProperty("httpVersion")]
public virtual string HttpVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
InstanceId
An identifier for the instance that handled the request.
Declaration
[JsonProperty("instanceId")]
public virtual string InstanceId { get; set; }
Property Value
Type | Description |
---|---|
string |
InstanceIndex
If the instance processing this request belongs to a manually scaled module, then this is the 0-based index of the instance. Otherwise, this value is -1.
Declaration
[JsonProperty("instanceIndex")]
public virtual int? InstanceIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
Ip
Origin IP address.
Declaration
[JsonProperty("ip")]
public virtual string Ip { get; set; }
Property Value
Type | Description |
---|---|
string |
Latency
Latency of the request.
Declaration
[JsonProperty("latency")]
public virtual object Latency { get; set; }
Property Value
Type | Description |
---|---|
object |
Line
A list of log lines emitted by the application while serving this request.
Declaration
[JsonProperty("line")]
public virtual IList<LogLine> Line { get; set; }
Property Value
Type | Description |
---|---|
IList<LogLine> |
MegaCycles
Number of CPU megacycles used to process request.
Declaration
[JsonProperty("megaCycles")]
public virtual long? MegaCycles { get; set; }
Property Value
Type | Description |
---|---|
long? |
Method
Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
Type | Description |
---|---|
string |
ModuleId
Module of the application that handled this request.
Declaration
[JsonProperty("moduleId")]
public virtual string ModuleId { get; set; }
Property Value
Type | Description |
---|---|
string |
Nickname
The logged-in user who made the request.Most likely, this is the part of the user's email before the @ sign. The field value is the same for different requests from the same user, but different users can have similar names. This information is also available to the application via the App Engine Users API.This field will be populated starting with App Engine 1.9.21.
Declaration
[JsonProperty("nickname")]
public virtual string Nickname { get; set; }
Property Value
Type | Description |
---|---|
string |
PendingTime
Time this request spent in the pending request queue.
Declaration
[JsonProperty("pendingTime")]
public virtual object PendingTime { get; set; }
Property Value
Type | Description |
---|---|
object |
Referrer
Referrer URL of request.
Declaration
[JsonProperty("referrer")]
public virtual string Referrer { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestId
Globally unique identifier for a request, which is based on the request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier.
Declaration
[JsonProperty("requestId")]
public virtual string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string |
Resource
Contains the path and query portion of the URL that was requested. For example, if the URL was "http://example.com/app?name=val", the resource would be "/app?name=val". The fragment identifier, which is identified by the # character, is not included.
Declaration
[JsonProperty("resource")]
public virtual string Resource { get; set; }
Property Value
Type | Description |
---|---|
string |
ResponseSize
Size in bytes sent back to client by request.
Declaration
[JsonProperty("responseSize")]
public virtual long? ResponseSize { get; set; }
Property Value
Type | Description |
---|---|
long? |
SourceReference
Source code for the application that handled this request. There can be more than one source reference per deployed application if source code is distributed among multiple repositories.
Declaration
[JsonProperty("sourceReference")]
public virtual IList<SourceReference> SourceReference { get; set; }
Property Value
Type | Description |
---|---|
IList<SourceReference> |
SpanId
Stackdriver Trace span identifier for this request.
Declaration
[JsonProperty("spanId")]
public virtual string SpanId { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
Time when the request started.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
HTTP response status code. Example: 200, 404.
Declaration
[JsonProperty("status")]
public virtual int? Status { get; set; }
Property Value
Type | Description |
---|---|
int? |
TaskName
Task name of the request, in the case of an offline request.
Declaration
[JsonProperty("taskName")]
public virtual string TaskName { get; set; }
Property Value
Type | Description |
---|---|
string |
TaskQueueName
Queue name of the request, in the case of an offline request.
Declaration
[JsonProperty("taskQueueName")]
public virtual string TaskQueueName { get; set; }
Property Value
Type | Description |
---|---|
string |
TraceId
Stackdriver Trace identifier for this request.
Declaration
[JsonProperty("traceId")]
public virtual string TraceId { get; set; }
Property Value
Type | Description |
---|---|
string |
TraceSampled
If true, the value in the 'trace_id' field was sampled for storage in a trace backend.
Declaration
[JsonProperty("traceSampled")]
public virtual bool? TraceSampled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UrlMapEntry
File or class that handled the request.
Declaration
[JsonProperty("urlMapEntry")]
public virtual string UrlMapEntry { get; set; }
Property Value
Type | Description |
---|---|
string |
UserAgent
User agent that made the request.
Declaration
[JsonProperty("userAgent")]
public virtual string UserAgent { get; set; }
Property Value
Type | Description |
---|---|
string |
VersionId
Version of the application that handled this request.
Declaration
[JsonProperty("versionId")]
public virtual string VersionId { get; set; }
Property Value
Type | Description |
---|---|
string |
WasLoadingRequest
Whether this was a loading request for the instance.
Declaration
[JsonProperty("wasLoadingRequest")]
public virtual bool? WasLoadingRequest { get; set; }
Property Value
Type | Description |
---|---|
bool? |