class Google::Apis::LoggingV1beta3::RequestLog
Complete log information about a single request to an application.
Attributes
App Engine release version string. Corresponds to the JSON property `appEngineRelease` @return [String]
Identifies the application that handled this request. Corresponds to the JSON property `appId` @return [String]
An indication of the relative cost of serving this request. Corresponds to the JSON property `cost` @return [Float]
Time at which request was known to end processing. Corresponds to the JSON property `endTime` @return [String]
If true, represents a finished request. Otherwise, the request is active. Corresponds to the JSON property `finished` @return [Boolean]
If true, represents a finished request. Otherwise, the request is active. Corresponds to the JSON property `finished` @return [Boolean]
The Internet host and port number of the resource being requested. Corresponds to the JSON property `host` @return [String]
HTTP version of request. Corresponds to the JSON property `httpVersion` @return [String]
An opaque identifier for the instance that handled the request. Corresponds to the JSON property `instanceId` @return [String]
If the instance that processed this request was individually addressable (i.e. belongs to a manually scaled module), this is the index of the instance. Corresponds to the JSON property `instanceIndex` @return [Fixnum]
Origin IP address. Corresponds to the JSON property `ip` @return [String]
Latency of the request. Corresponds to the JSON property `latency` @return [String]
List of log lines emitted by the application while serving this request, if requested. Corresponds to the JSON property `line` @return [Array<Google::Apis::LoggingV1beta3::LogLine>]
Number of CPU megacycles used to process request. Corresponds to the JSON property `megaCycles` @return [String]
Request method, such as `GET`, `HEAD`, `PUT`, `POST`, or `DELETE`. Corresponds to the JSON property `method` @return [String]
Identifies the module of the application that handled this request. Corresponds to the JSON property `moduleId` @return [String]
A string that identifies a logged-in user who made this request, or empty if the user is not logged in. 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 may have a similar name. This information is also available to the application via Users API. This field will be populated starting with App Engine 1.9.21. Corresponds to the JSON property `nickname` @return [String]
Time this request spent in the pending request queue, if it was pending at all. Corresponds to the JSON property `pendingTime` @return [String]
Referrer URL of request. Corresponds to the JSON property `referrer` @return [String]
Globally unique identifier for a request, based on request start time. Request IDs for requests which started later will compare greater as strings than those for requests which started earlier. Corresponds to the JSON property `requestId` @return [String]
Contains the path and query portion of the URL that was requested. For example, if the URL was βexample.com/app?name=valβ, the resource would be β/app? name=valβ. Any trailing fragment (separated by a '#' character) will not be included. Corresponds to the JSON property `resource` @return [String]
Size in bytes sent back to client by request. Corresponds to the JSON property `responseSize` @return [String]
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. Corresponds to the JSON property `sourceReference` @return [Array<Google::Apis::LoggingV1beta3::SourceReference>]
Time at which request was known to have begun processing. Corresponds to the JSON property `startTime` @return [String]
Response status of request. Corresponds to the JSON property `status` @return [Fixnum]
Task name of the request (for an offline request). Corresponds to the JSON property `taskName` @return [String]
Queue name of the request (for an offline request). Corresponds to the JSON property `taskQueueName` @return [String]
Cloud Trace identifier of the trace for this request. Corresponds to the JSON property `traceId` @return [String]
File or class within URL mapping used for request. Useful for tracking down the source code which was responsible for managing request. Especially for multiply mapped handlers. Corresponds to the JSON property `urlMapEntry` @return [String]
User agent used for making request. Corresponds to the JSON property `userAgent` @return [String]
Version of the application that handled this request. Corresponds to the JSON property `versionId` @return [String]
Was this request a loading request for this instance? Corresponds to the JSON property `wasLoadingRequest` @return [Boolean]
Was this request a loading request for this instance? Corresponds to the JSON property `wasLoadingRequest` @return [Boolean]
Public Class Methods
# File generated/google/apis/logging_v1beta3/classes.rb, line 937 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/logging_v1beta3/classes.rb, line 942 def update!(**args) @app_id = args[:app_id] unless args[:app_id].nil? @module_id = args[:module_id] unless args[:module_id].nil? @version_id = args[:version_id] unless args[:version_id].nil? @request_id = args[:request_id] unless args[:request_id].nil? @ip = args[:ip] unless args[:ip].nil? @start_time = args[:start_time] unless args[:start_time].nil? @end_time = args[:end_time] unless args[:end_time].nil? @latency = args[:latency] unless args[:latency].nil? @mega_cycles = args[:mega_cycles] unless args[:mega_cycles].nil? @method_prop = args[:method_prop] unless args[:method_prop].nil? @resource = args[:resource] unless args[:resource].nil? @http_version = args[:http_version] unless args[:http_version].nil? @status = args[:status] unless args[:status].nil? @response_size = args[:response_size] unless args[:response_size].nil? @referrer = args[:referrer] unless args[:referrer].nil? @user_agent = args[:user_agent] unless args[:user_agent].nil? @nickname = args[:nickname] unless args[:nickname].nil? @url_map_entry = args[:url_map_entry] unless args[:url_map_entry].nil? @host = args[:host] unless args[:host].nil? @cost = args[:cost] unless args[:cost].nil? @task_queue_name = args[:task_queue_name] unless args[:task_queue_name].nil? @task_name = args[:task_name] unless args[:task_name].nil? @was_loading_request = args[:was_loading_request] unless args[:was_loading_request].nil? @pending_time = args[:pending_time] unless args[:pending_time].nil? @instance_index = args[:instance_index] unless args[:instance_index].nil? @finished = args[:finished] unless args[:finished].nil? @instance_id = args[:instance_id] unless args[:instance_id].nil? @line = args[:line] unless args[:line].nil? @app_engine_release = args[:app_engine_release] unless args[:app_engine_release].nil? @trace_id = args[:trace_id] unless args[:trace_id].nil? @source_reference = args[:source_reference] unless args[:source_reference].nil? end