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\ServiceControl;
19
20class V2HttpRequest extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $cacheFillBytes;
26  /**
27   * @var bool
28   */
29  public $cacheHit;
30  /**
31   * @var bool
32   */
33  public $cacheLookup;
34  /**
35   * @var bool
36   */
37  public $cacheValidatedWithOriginServer;
38  /**
39   * @var string
40   */
41  public $latency;
42  /**
43   * @var string
44   */
45  public $protocol;
46  /**
47   * @var string
48   */
49  public $referer;
50  /**
51   * @var string
52   */
53  public $remoteIp;
54  /**
55   * @var string
56   */
57  public $requestMethod;
58  /**
59   * @var string
60   */
61  public $requestSize;
62  /**
63   * @var string
64   */
65  public $requestUrl;
66  /**
67   * @var string
68   */
69  public $responseSize;
70  /**
71   * @var string
72   */
73  public $serverIp;
74  /**
75   * @var int
76   */
77  public $status;
78  /**
79   * @var string
80   */
81  public $userAgent;
82
83  /**
84   * @param string
85   */
86  public function setCacheFillBytes($cacheFillBytes)
87  {
88    $this->cacheFillBytes = $cacheFillBytes;
89  }
90  /**
91   * @return string
92   */
93  public function getCacheFillBytes()
94  {
95    return $this->cacheFillBytes;
96  }
97  /**
98   * @param bool
99   */
100  public function setCacheHit($cacheHit)
101  {
102    $this->cacheHit = $cacheHit;
103  }
104  /**
105   * @return bool
106   */
107  public function getCacheHit()
108  {
109    return $this->cacheHit;
110  }
111  /**
112   * @param bool
113   */
114  public function setCacheLookup($cacheLookup)
115  {
116    $this->cacheLookup = $cacheLookup;
117  }
118  /**
119   * @return bool
120   */
121  public function getCacheLookup()
122  {
123    return $this->cacheLookup;
124  }
125  /**
126   * @param bool
127   */
128  public function setCacheValidatedWithOriginServer($cacheValidatedWithOriginServer)
129  {
130    $this->cacheValidatedWithOriginServer = $cacheValidatedWithOriginServer;
131  }
132  /**
133   * @return bool
134   */
135  public function getCacheValidatedWithOriginServer()
136  {
137    return $this->cacheValidatedWithOriginServer;
138  }
139  /**
140   * @param string
141   */
142  public function setLatency($latency)
143  {
144    $this->latency = $latency;
145  }
146  /**
147   * @return string
148   */
149  public function getLatency()
150  {
151    return $this->latency;
152  }
153  /**
154   * @param string
155   */
156  public function setProtocol($protocol)
157  {
158    $this->protocol = $protocol;
159  }
160  /**
161   * @return string
162   */
163  public function getProtocol()
164  {
165    return $this->protocol;
166  }
167  /**
168   * @param string
169   */
170  public function setReferer($referer)
171  {
172    $this->referer = $referer;
173  }
174  /**
175   * @return string
176   */
177  public function getReferer()
178  {
179    return $this->referer;
180  }
181  /**
182   * @param string
183   */
184  public function setRemoteIp($remoteIp)
185  {
186    $this->remoteIp = $remoteIp;
187  }
188  /**
189   * @return string
190   */
191  public function getRemoteIp()
192  {
193    return $this->remoteIp;
194  }
195  /**
196   * @param string
197   */
198  public function setRequestMethod($requestMethod)
199  {
200    $this->requestMethod = $requestMethod;
201  }
202  /**
203   * @return string
204   */
205  public function getRequestMethod()
206  {
207    return $this->requestMethod;
208  }
209  /**
210   * @param string
211   */
212  public function setRequestSize($requestSize)
213  {
214    $this->requestSize = $requestSize;
215  }
216  /**
217   * @return string
218   */
219  public function getRequestSize()
220  {
221    return $this->requestSize;
222  }
223  /**
224   * @param string
225   */
226  public function setRequestUrl($requestUrl)
227  {
228    $this->requestUrl = $requestUrl;
229  }
230  /**
231   * @return string
232   */
233  public function getRequestUrl()
234  {
235    return $this->requestUrl;
236  }
237  /**
238   * @param string
239   */
240  public function setResponseSize($responseSize)
241  {
242    $this->responseSize = $responseSize;
243  }
244  /**
245   * @return string
246   */
247  public function getResponseSize()
248  {
249    return $this->responseSize;
250  }
251  /**
252   * @param string
253   */
254  public function setServerIp($serverIp)
255  {
256    $this->serverIp = $serverIp;
257  }
258  /**
259   * @return string
260   */
261  public function getServerIp()
262  {
263    return $this->serverIp;
264  }
265  /**
266   * @param int
267   */
268  public function setStatus($status)
269  {
270    $this->status = $status;
271  }
272  /**
273   * @return int
274   */
275  public function getStatus()
276  {
277    return $this->status;
278  }
279  /**
280   * @param string
281   */
282  public function setUserAgent($userAgent)
283  {
284    $this->userAgent = $userAgent;
285  }
286  /**
287   * @return string
288   */
289  public function getUserAgent()
290  {
291    return $this->userAgent;
292  }
293}
294
295// Adding a class alias for backwards compatibility with the previous class name.
296class_alias(V2HttpRequest::class, 'Google_Service_ServiceControl_V2HttpRequest');
297