source: vendor/google/apiclient-services/src/Logging/RequestLog.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 9.7 KB
Line 
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
18namespace Google\Service\Logging;
19
20class RequestLog extends \Google\Collection
21{
22 protected $collection_key = 'sourceReference';
23 /**
24 * @var string
25 */
26 public $appEngineRelease;
27 /**
28 * @var string
29 */
30 public $appId;
31 public $cost;
32 /**
33 * @var string
34 */
35 public $endTime;
36 /**
37 * @var bool
38 */
39 public $finished;
40 /**
41 * @var bool
42 */
43 public $first;
44 /**
45 * @var string
46 */
47 public $host;
48 /**
49 * @var string
50 */
51 public $httpVersion;
52 /**
53 * @var string
54 */
55 public $instanceId;
56 /**
57 * @var int
58 */
59 public $instanceIndex;
60 /**
61 * @var string
62 */
63 public $ip;
64 /**
65 * @var string
66 */
67 public $latency;
68 protected $lineType = LogLine::class;
69 protected $lineDataType = 'array';
70 /**
71 * @var string
72 */
73 public $megaCycles;
74 /**
75 * @var string
76 */
77 public $method;
78 /**
79 * @var string
80 */
81 public $moduleId;
82 /**
83 * @var string
84 */
85 public $nickname;
86 /**
87 * @var string
88 */
89 public $pendingTime;
90 /**
91 * @var string
92 */
93 public $referrer;
94 /**
95 * @var string
96 */
97 public $requestId;
98 /**
99 * @var string
100 */
101 public $resource;
102 /**
103 * @var string
104 */
105 public $responseSize;
106 protected $sourceReferenceType = SourceReference::class;
107 protected $sourceReferenceDataType = 'array';
108 /**
109 * @var string
110 */
111 public $spanId;
112 /**
113 * @var string
114 */
115 public $startTime;
116 /**
117 * @var int
118 */
119 public $status;
120 /**
121 * @var string
122 */
123 public $taskName;
124 /**
125 * @var string
126 */
127 public $taskQueueName;
128 /**
129 * @var string
130 */
131 public $traceId;
132 /**
133 * @var bool
134 */
135 public $traceSampled;
136 /**
137 * @var string
138 */
139 public $urlMapEntry;
140 /**
141 * @var string
142 */
143 public $userAgent;
144 /**
145 * @var string
146 */
147 public $versionId;
148 /**
149 * @var bool
150 */
151 public $wasLoadingRequest;
152
153 /**
154 * @param string
155 */
156 public function setAppEngineRelease($appEngineRelease)
157 {
158 $this->appEngineRelease = $appEngineRelease;
159 }
160 /**
161 * @return string
162 */
163 public function getAppEngineRelease()
164 {
165 return $this->appEngineRelease;
166 }
167 /**
168 * @param string
169 */
170 public function setAppId($appId)
171 {
172 $this->appId = $appId;
173 }
174 /**
175 * @return string
176 */
177 public function getAppId()
178 {
179 return $this->appId;
180 }
181 public function setCost($cost)
182 {
183 $this->cost = $cost;
184 }
185 public function getCost()
186 {
187 return $this->cost;
188 }
189 /**
190 * @param string
191 */
192 public function setEndTime($endTime)
193 {
194 $this->endTime = $endTime;
195 }
196 /**
197 * @return string
198 */
199 public function getEndTime()
200 {
201 return $this->endTime;
202 }
203 /**
204 * @param bool
205 */
206 public function setFinished($finished)
207 {
208 $this->finished = $finished;
209 }
210 /**
211 * @return bool
212 */
213 public function getFinished()
214 {
215 return $this->finished;
216 }
217 /**
218 * @param bool
219 */
220 public function setFirst($first)
221 {
222 $this->first = $first;
223 }
224 /**
225 * @return bool
226 */
227 public function getFirst()
228 {
229 return $this->first;
230 }
231 /**
232 * @param string
233 */
234 public function setHost($host)
235 {
236 $this->host = $host;
237 }
238 /**
239 * @return string
240 */
241 public function getHost()
242 {
243 return $this->host;
244 }
245 /**
246 * @param string
247 */
248 public function setHttpVersion($httpVersion)
249 {
250 $this->httpVersion = $httpVersion;
251 }
252 /**
253 * @return string
254 */
255 public function getHttpVersion()
256 {
257 return $this->httpVersion;
258 }
259 /**
260 * @param string
261 */
262 public function setInstanceId($instanceId)
263 {
264 $this->instanceId = $instanceId;
265 }
266 /**
267 * @return string
268 */
269 public function getInstanceId()
270 {
271 return $this->instanceId;
272 }
273 /**
274 * @param int
275 */
276 public function setInstanceIndex($instanceIndex)
277 {
278 $this->instanceIndex = $instanceIndex;
279 }
280 /**
281 * @return int
282 */
283 public function getInstanceIndex()
284 {
285 return $this->instanceIndex;
286 }
287 /**
288 * @param string
289 */
290 public function setIp($ip)
291 {
292 $this->ip = $ip;
293 }
294 /**
295 * @return string
296 */
297 public function getIp()
298 {
299 return $this->ip;
300 }
301 /**
302 * @param string
303 */
304 public function setLatency($latency)
305 {
306 $this->latency = $latency;
307 }
308 /**
309 * @return string
310 */
311 public function getLatency()
312 {
313 return $this->latency;
314 }
315 /**
316 * @param LogLine[]
317 */
318 public function setLine($line)
319 {
320 $this->line = $line;
321 }
322 /**
323 * @return LogLine[]
324 */
325 public function getLine()
326 {
327 return $this->line;
328 }
329 /**
330 * @param string
331 */
332 public function setMegaCycles($megaCycles)
333 {
334 $this->megaCycles = $megaCycles;
335 }
336 /**
337 * @return string
338 */
339 public function getMegaCycles()
340 {
341 return $this->megaCycles;
342 }
343 /**
344 * @param string
345 */
346 public function setMethod($method)
347 {
348 $this->method = $method;
349 }
350 /**
351 * @return string
352 */
353 public function getMethod()
354 {
355 return $this->method;
356 }
357 /**
358 * @param string
359 */
360 public function setModuleId($moduleId)
361 {
362 $this->moduleId = $moduleId;
363 }
364 /**
365 * @return string
366 */
367 public function getModuleId()
368 {
369 return $this->moduleId;
370 }
371 /**
372 * @param string
373 */
374 public function setNickname($nickname)
375 {
376 $this->nickname = $nickname;
377 }
378 /**
379 * @return string
380 */
381 public function getNickname()
382 {
383 return $this->nickname;
384 }
385 /**
386 * @param string
387 */
388 public function setPendingTime($pendingTime)
389 {
390 $this->pendingTime = $pendingTime;
391 }
392 /**
393 * @return string
394 */
395 public function getPendingTime()
396 {
397 return $this->pendingTime;
398 }
399 /**
400 * @param string
401 */
402 public function setReferrer($referrer)
403 {
404 $this->referrer = $referrer;
405 }
406 /**
407 * @return string
408 */
409 public function getReferrer()
410 {
411 return $this->referrer;
412 }
413 /**
414 * @param string
415 */
416 public function setRequestId($requestId)
417 {
418 $this->requestId = $requestId;
419 }
420 /**
421 * @return string
422 */
423 public function getRequestId()
424 {
425 return $this->requestId;
426 }
427 /**
428 * @param string
429 */
430 public function setResource($resource)
431 {
432 $this->resource = $resource;
433 }
434 /**
435 * @return string
436 */
437 public function getResource()
438 {
439 return $this->resource;
440 }
441 /**
442 * @param string
443 */
444 public function setResponseSize($responseSize)
445 {
446 $this->responseSize = $responseSize;
447 }
448 /**
449 * @return string
450 */
451 public function getResponseSize()
452 {
453 return $this->responseSize;
454 }
455 /**
456 * @param SourceReference[]
457 */
458 public function setSourceReference($sourceReference)
459 {
460 $this->sourceReference = $sourceReference;
461 }
462 /**
463 * @return SourceReference[]
464 */
465 public function getSourceReference()
466 {
467 return $this->sourceReference;
468 }
469 /**
470 * @param string
471 */
472 public function setSpanId($spanId)
473 {
474 $this->spanId = $spanId;
475 }
476 /**
477 * @return string
478 */
479 public function getSpanId()
480 {
481 return $this->spanId;
482 }
483 /**
484 * @param string
485 */
486 public function setStartTime($startTime)
487 {
488 $this->startTime = $startTime;
489 }
490 /**
491 * @return string
492 */
493 public function getStartTime()
494 {
495 return $this->startTime;
496 }
497 /**
498 * @param int
499 */
500 public function setStatus($status)
501 {
502 $this->status = $status;
503 }
504 /**
505 * @return int
506 */
507 public function getStatus()
508 {
509 return $this->status;
510 }
511 /**
512 * @param string
513 */
514 public function setTaskName($taskName)
515 {
516 $this->taskName = $taskName;
517 }
518 /**
519 * @return string
520 */
521 public function getTaskName()
522 {
523 return $this->taskName;
524 }
525 /**
526 * @param string
527 */
528 public function setTaskQueueName($taskQueueName)
529 {
530 $this->taskQueueName = $taskQueueName;
531 }
532 /**
533 * @return string
534 */
535 public function getTaskQueueName()
536 {
537 return $this->taskQueueName;
538 }
539 /**
540 * @param string
541 */
542 public function setTraceId($traceId)
543 {
544 $this->traceId = $traceId;
545 }
546 /**
547 * @return string
548 */
549 public function getTraceId()
550 {
551 return $this->traceId;
552 }
553 /**
554 * @param bool
555 */
556 public function setTraceSampled($traceSampled)
557 {
558 $this->traceSampled = $traceSampled;
559 }
560 /**
561 * @return bool
562 */
563 public function getTraceSampled()
564 {
565 return $this->traceSampled;
566 }
567 /**
568 * @param string
569 */
570 public function setUrlMapEntry($urlMapEntry)
571 {
572 $this->urlMapEntry = $urlMapEntry;
573 }
574 /**
575 * @return string
576 */
577 public function getUrlMapEntry()
578 {
579 return $this->urlMapEntry;
580 }
581 /**
582 * @param string
583 */
584 public function setUserAgent($userAgent)
585 {
586 $this->userAgent = $userAgent;
587 }
588 /**
589 * @return string
590 */
591 public function getUserAgent()
592 {
593 return $this->userAgent;
594 }
595 /**
596 * @param string
597 */
598 public function setVersionId($versionId)
599 {
600 $this->versionId = $versionId;
601 }
602 /**
603 * @return string
604 */
605 public function getVersionId()
606 {
607 return $this->versionId;
608 }
609 /**
610 * @param bool
611 */
612 public function setWasLoadingRequest($wasLoadingRequest)
613 {
614 $this->wasLoadingRequest = $wasLoadingRequest;
615 }
616 /**
617 * @return bool
618 */
619 public function getWasLoadingRequest()
620 {
621 return $this->wasLoadingRequest;
622 }
623}
624
625// Adding a class alias for backwards compatibility with the previous class name.
626class_alias(RequestLog::class, 'Google_Service_Logging_RequestLog');
Note: See TracBrowser for help on using the repository browser.