App Engine PHP SDK  v1 rev.445
The PHP runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google\appengine\api\log\RequestLog Class Reference

Public Member Functions

 __construct (\google\appengine\RequestLog $pb)
 
 getAppId ()
 
 getAppLogs ()
 
 getCombined ()
 
 getStartTimeUsec ()
 
 getStartDateTime ()
 
 getEndTimeUsec ()
 
 getEndDateTime ()
 
 getHost ()
 
 getHttpVersion ()
 
 getInstanceKey ()
 
 getIp ()
 
 getLatencyUsec ()
 
 getMethod ()
 
 getNickname ()
 
 getOffset ()
 
 getPendingTimeUsec ()
 
 getReferrer ()
 
 getInstanceIndex ()
 
 getRequestId ()
 
 getResource ()
 
 getResponseSize ()
 
 getStatus ()
 
 getTaskName ()
 
 getTaskQueueName ()
 
 getUrlMapEntry ()
 
 getUserAgent ()
 
 getVersionId ()
 
 getModuleId ()
 
 isFinished ()
 
 isLoadingRequest ()
 
 getAppEngineRelease ()
 

Detailed Description

Represents the details of a single request and may optionally contain application logs written during the request using the syslog function.

Member Function Documentation

google\appengine\api\log\RequestLog::getAppEngineRelease ( )
Returns
string App Engine Release, e.g. "1.8.4"
google\appengine\api\log\RequestLog::getAppId ( )
Returns
string The application ID that handled this request.
google\appengine\api\log\RequestLog::getAppLogs ( )
Returns
AppLogLine[] The AppLogLines added during this request.
google\appengine\api\log\RequestLog::getCombined ( )
Returns
string The Apache-format combined log entry for this request. While the information in this field can be constructed from the rest of this message, we include this method for convenience.
google\appengine\api\log\RequestLog::getEndDateTime ( )
Returns
DateTime The same value as getEndTimeUsec() as a DateTime instance accurate to the second. For greater accuracy use getEndTimeUsec().
google\appengine\api\log\RequestLog::getEndTimeUsec ( )
Returns
double The time at which the request finished processing, in microseconds since the Unix epoch.
google\appengine\api\log\RequestLog::getHost ( )
Returns
string The Internet host and port number of the resource being requested.
google\appengine\api\log\RequestLog::getHttpVersion ( )
Returns
string The HTTP version of this request.
google\appengine\api\log\RequestLog::getInstanceIndex ( )
Returns
integer The module instance that handled the request if manual_scaling or basic_scaling is configured or -1 for automatic_scaling.
google\appengine\api\log\RequestLog::getInstanceKey ( )
Returns
string Mostly-unique identifier for the instance that handled the request, or the empty string.
google\appengine\api\log\RequestLog::getIp ( )
Returns
string The origin IP address of this request. App Engine uses an origin IP address from the 0.0.0.0/8 range when the request is to a web hook. Some examples of web hooks are task queues, cron jobs and warming requests.
google\appengine\api\log\RequestLog::getLatencyUsec ( )
Returns
double The time required to process this request in microseconds.
google\appengine\api\log\RequestLog::getMethod ( )
Returns
string The request's HTTP method (e.g., GET, PUT, POST).
google\appengine\api\log\RequestLog::getModuleId ( )
Returns
string The version of the application that handled this request.
google\appengine\api\log\RequestLog::getNickname ( )
Returns
string The nickname of the user that made the request. An empty string is returned if the user is not logged in.
google\appengine\api\log\RequestLog::getOffset ( )
Returns
string A url safe value that may be used as an option to LogService::fetch($options) to continue reading after this log.
google\appengine\api\log\RequestLog::getPendingTimeUsec ( )
Returns
double The time, in microseconds, that this request spent in the pending request queue, if it was pending at all.
google\appengine\api\log\RequestLog::getReferrer ( )
Returns
string The referrer URL of this request.
google\appengine\api\log\RequestLog::getRequestId ( )
Returns
string A globally unique identifier for a request, based on the request's starting time.
google\appengine\api\log\RequestLog::getResource ( )
Returns
string The resource path on the server requested by the client. Contains only the path component of the request URL.
google\appengine\api\log\RequestLog::getResponseSize ( )
Returns
integer The size (in bytes) of the response sent back to the client.
google\appengine\api\log\RequestLog::getStartDateTime ( )
Returns
DateTime The same value as getStartTimeUsec() as a DateTime instance accurate to the second. For greater accuracy use getStartTimeUsec().
google\appengine\api\log\RequestLog::getStartTimeUsec ( )
Returns
double The time at which this request began processing, in microseconds since the Unix epoch.
google\appengine\api\log\RequestLog::getStatus ( )
Returns
integer The HTTP response status of this request.
google\appengine\api\log\RequestLog::getTaskName ( )
Returns
string The request's task name, if this request was generated via the Task Queue API.
google\appengine\api\log\RequestLog::getTaskQueueName ( )
Returns
string The request's queue name, if this request was generated via the Task Queue API.
google\appengine\api\log\RequestLog::getUrlMapEntry ( )
Returns
string The file or class within the URL mapping used for this request. Useful for tracking down the source code which was responsible for managing the request, especially for multiply mapped handlers.
google\appengine\api\log\RequestLog::getUserAgent ( )
Returns
string The user agent used to make this request.
google\appengine\api\log\RequestLog::getVersionId ( )
Returns
string The version of the application that handled this request.
google\appengine\api\log\RequestLog::isFinished ( )
Returns
boolean Whether or not this request has finished processing. If not, this request is still active.
google\appengine\api\log\RequestLog::isLoadingRequest ( )
Returns
boolean Whether or not this request was a loading request.

The documentation for this class was generated from the following file: