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 18class Google_Service_ServiceControl_LogEntry extends Google_Model 19{ 20 protected $httpRequestType = 'Google_Service_ServiceControl_HttpRequest'; 21 protected $httpRequestDataType = ''; 22 public $insertId; 23 public $labels; 24 public $name; 25 protected $operationType = 'Google_Service_ServiceControl_LogEntryOperation'; 26 protected $operationDataType = ''; 27 public $protoPayload; 28 public $severity; 29 public $structPayload; 30 public $textPayload; 31 public $timestamp; 32 public $trace; 33 34 /** 35 * @param Google_Service_ServiceControl_HttpRequest 36 */ 37 public function setHttpRequest(Google_Service_ServiceControl_HttpRequest $httpRequest) 38 { 39 $this->httpRequest = $httpRequest; 40 } 41 /** 42 * @return Google_Service_ServiceControl_HttpRequest 43 */ 44 public function getHttpRequest() 45 { 46 return $this->httpRequest; 47 } 48 public function setInsertId($insertId) 49 { 50 $this->insertId = $insertId; 51 } 52 public function getInsertId() 53 { 54 return $this->insertId; 55 } 56 public function setLabels($labels) 57 { 58 $this->labels = $labels; 59 } 60 public function getLabels() 61 { 62 return $this->labels; 63 } 64 public function setName($name) 65 { 66 $this->name = $name; 67 } 68 public function getName() 69 { 70 return $this->name; 71 } 72 /** 73 * @param Google_Service_ServiceControl_LogEntryOperation 74 */ 75 public function setOperation(Google_Service_ServiceControl_LogEntryOperation $operation) 76 { 77 $this->operation = $operation; 78 } 79 /** 80 * @return Google_Service_ServiceControl_LogEntryOperation 81 */ 82 public function getOperation() 83 { 84 return $this->operation; 85 } 86 public function setProtoPayload($protoPayload) 87 { 88 $this->protoPayload = $protoPayload; 89 } 90 public function getProtoPayload() 91 { 92 return $this->protoPayload; 93 } 94 public function setSeverity($severity) 95 { 96 $this->severity = $severity; 97 } 98 public function getSeverity() 99 { 100 return $this->severity; 101 } 102 public function setStructPayload($structPayload) 103 { 104 $this->structPayload = $structPayload; 105 } 106 public function getStructPayload() 107 { 108 return $this->structPayload; 109 } 110 public function setTextPayload($textPayload) 111 { 112 $this->textPayload = $textPayload; 113 } 114 public function getTextPayload() 115 { 116 return $this->textPayload; 117 } 118 public function setTimestamp($timestamp) 119 { 120 $this->timestamp = $timestamp; 121 } 122 public function getTimestamp() 123 { 124 return $this->timestamp; 125 } 126 public function setTrace($trace) 127 { 128 $this->trace = $trace; 129 } 130 public function getTrace() 131 { 132 return $this->trace; 133 } 134} 135