Bez popisu

RequestLog.php 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Logging_RequestLog extends Google_Collection
  18. {
  19. protected $collection_key = 'sourceReference';
  20. public $appEngineRelease;
  21. public $appId;
  22. public $cost;
  23. public $endTime;
  24. public $finished;
  25. public $first;
  26. public $host;
  27. public $httpVersion;
  28. public $instanceId;
  29. public $instanceIndex;
  30. public $ip;
  31. public $latency;
  32. protected $lineType = 'Google_Service_Logging_LogLine';
  33. protected $lineDataType = 'array';
  34. public $megaCycles;
  35. public $method;
  36. public $moduleId;
  37. public $nickname;
  38. public $pendingTime;
  39. public $referrer;
  40. public $requestId;
  41. public $resource;
  42. public $responseSize;
  43. protected $sourceReferenceType = 'Google_Service_Logging_SourceReference';
  44. protected $sourceReferenceDataType = 'array';
  45. public $startTime;
  46. public $status;
  47. public $taskName;
  48. public $taskQueueName;
  49. public $traceId;
  50. public $urlMapEntry;
  51. public $userAgent;
  52. public $versionId;
  53. public $wasLoadingRequest;
  54. public function setAppEngineRelease($appEngineRelease)
  55. {
  56. $this->appEngineRelease = $appEngineRelease;
  57. }
  58. public function getAppEngineRelease()
  59. {
  60. return $this->appEngineRelease;
  61. }
  62. public function setAppId($appId)
  63. {
  64. $this->appId = $appId;
  65. }
  66. public function getAppId()
  67. {
  68. return $this->appId;
  69. }
  70. public function setCost($cost)
  71. {
  72. $this->cost = $cost;
  73. }
  74. public function getCost()
  75. {
  76. return $this->cost;
  77. }
  78. public function setEndTime($endTime)
  79. {
  80. $this->endTime = $endTime;
  81. }
  82. public function getEndTime()
  83. {
  84. return $this->endTime;
  85. }
  86. public function setFinished($finished)
  87. {
  88. $this->finished = $finished;
  89. }
  90. public function getFinished()
  91. {
  92. return $this->finished;
  93. }
  94. public function setFirst($first)
  95. {
  96. $this->first = $first;
  97. }
  98. public function getFirst()
  99. {
  100. return $this->first;
  101. }
  102. public function setHost($host)
  103. {
  104. $this->host = $host;
  105. }
  106. public function getHost()
  107. {
  108. return $this->host;
  109. }
  110. public function setHttpVersion($httpVersion)
  111. {
  112. $this->httpVersion = $httpVersion;
  113. }
  114. public function getHttpVersion()
  115. {
  116. return $this->httpVersion;
  117. }
  118. public function setInstanceId($instanceId)
  119. {
  120. $this->instanceId = $instanceId;
  121. }
  122. public function getInstanceId()
  123. {
  124. return $this->instanceId;
  125. }
  126. public function setInstanceIndex($instanceIndex)
  127. {
  128. $this->instanceIndex = $instanceIndex;
  129. }
  130. public function getInstanceIndex()
  131. {
  132. return $this->instanceIndex;
  133. }
  134. public function setIp($ip)
  135. {
  136. $this->ip = $ip;
  137. }
  138. public function getIp()
  139. {
  140. return $this->ip;
  141. }
  142. public function setLatency($latency)
  143. {
  144. $this->latency = $latency;
  145. }
  146. public function getLatency()
  147. {
  148. return $this->latency;
  149. }
  150. /**
  151. * @param Google_Service_Logging_LogLine
  152. */
  153. public function setLine($line)
  154. {
  155. $this->line = $line;
  156. }
  157. /**
  158. * @return Google_Service_Logging_LogLine
  159. */
  160. public function getLine()
  161. {
  162. return $this->line;
  163. }
  164. public function setMegaCycles($megaCycles)
  165. {
  166. $this->megaCycles = $megaCycles;
  167. }
  168. public function getMegaCycles()
  169. {
  170. return $this->megaCycles;
  171. }
  172. public function setMethod($method)
  173. {
  174. $this->method = $method;
  175. }
  176. public function getMethod()
  177. {
  178. return $this->method;
  179. }
  180. public function setModuleId($moduleId)
  181. {
  182. $this->moduleId = $moduleId;
  183. }
  184. public function getModuleId()
  185. {
  186. return $this->moduleId;
  187. }
  188. public function setNickname($nickname)
  189. {
  190. $this->nickname = $nickname;
  191. }
  192. public function getNickname()
  193. {
  194. return $this->nickname;
  195. }
  196. public function setPendingTime($pendingTime)
  197. {
  198. $this->pendingTime = $pendingTime;
  199. }
  200. public function getPendingTime()
  201. {
  202. return $this->pendingTime;
  203. }
  204. public function setReferrer($referrer)
  205. {
  206. $this->referrer = $referrer;
  207. }
  208. public function getReferrer()
  209. {
  210. return $this->referrer;
  211. }
  212. public function setRequestId($requestId)
  213. {
  214. $this->requestId = $requestId;
  215. }
  216. public function getRequestId()
  217. {
  218. return $this->requestId;
  219. }
  220. public function setResource($resource)
  221. {
  222. $this->resource = $resource;
  223. }
  224. public function getResource()
  225. {
  226. return $this->resource;
  227. }
  228. public function setResponseSize($responseSize)
  229. {
  230. $this->responseSize = $responseSize;
  231. }
  232. public function getResponseSize()
  233. {
  234. return $this->responseSize;
  235. }
  236. /**
  237. * @param Google_Service_Logging_SourceReference
  238. */
  239. public function setSourceReference($sourceReference)
  240. {
  241. $this->sourceReference = $sourceReference;
  242. }
  243. /**
  244. * @return Google_Service_Logging_SourceReference
  245. */
  246. public function getSourceReference()
  247. {
  248. return $this->sourceReference;
  249. }
  250. public function setStartTime($startTime)
  251. {
  252. $this->startTime = $startTime;
  253. }
  254. public function getStartTime()
  255. {
  256. return $this->startTime;
  257. }
  258. public function setStatus($status)
  259. {
  260. $this->status = $status;
  261. }
  262. public function getStatus()
  263. {
  264. return $this->status;
  265. }
  266. public function setTaskName($taskName)
  267. {
  268. $this->taskName = $taskName;
  269. }
  270. public function getTaskName()
  271. {
  272. return $this->taskName;
  273. }
  274. public function setTaskQueueName($taskQueueName)
  275. {
  276. $this->taskQueueName = $taskQueueName;
  277. }
  278. public function getTaskQueueName()
  279. {
  280. return $this->taskQueueName;
  281. }
  282. public function setTraceId($traceId)
  283. {
  284. $this->traceId = $traceId;
  285. }
  286. public function getTraceId()
  287. {
  288. return $this->traceId;
  289. }
  290. public function setUrlMapEntry($urlMapEntry)
  291. {
  292. $this->urlMapEntry = $urlMapEntry;
  293. }
  294. public function getUrlMapEntry()
  295. {
  296. return $this->urlMapEntry;
  297. }
  298. public function setUserAgent($userAgent)
  299. {
  300. $this->userAgent = $userAgent;
  301. }
  302. public function getUserAgent()
  303. {
  304. return $this->userAgent;
  305. }
  306. public function setVersionId($versionId)
  307. {
  308. $this->versionId = $versionId;
  309. }
  310. public function getVersionId()
  311. {
  312. return $this->versionId;
  313. }
  314. public function setWasLoadingRequest($wasLoadingRequest)
  315. {
  316. $this->wasLoadingRequest = $wasLoadingRequest;
  317. }
  318. public function getWasLoadingRequest()
  319. {
  320. return $this->wasLoadingRequest;
  321. }
  322. }