Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]
1 <?php 2 /* 3 * Copyright 2010 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 18 /** 19 * Service definition for Logging (v2beta1). 20 * 21 * <p> 22 * Google Cloud Logging API lets you create logs, ingest log entries, and manage 23 * log sinks.</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://cloud.google.com/logging/docs/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32 #[AllowDynamicProperties] 33 class Google_Service_Logging extends Google_Service 34 { 35 36 37 38 39 40 /** 41 * Constructs the internal representation of the Logging service. 42 * 43 * @param Google_Client $client 44 */ 45 public function __construct(Google_Client $client) 46 { 47 parent::__construct($client); 48 $this->rootUrl = 'https://logging.googleapis.com/'; 49 $this->servicePath = ''; 50 $this->version = 'v2beta1'; 51 $this->serviceName = 'logging'; 52 53 } 54 } 55 56 57 58 59 60 #[AllowDynamicProperties] 61 class Google_Service_Logging_LogLine extends Google_Model 62 { 63 protected $internal_gapi_mappings = array( 64 ); 65 public $logMessage; 66 public $severity; 67 protected $sourceLocationType = 'Google_Service_Logging_SourceLocation'; 68 protected $sourceLocationDataType = ''; 69 public $time; 70 71 72 public function setLogMessage($logMessage) 73 { 74 $this->logMessage = $logMessage; 75 } 76 public function getLogMessage() 77 { 78 return $this->logMessage; 79 } 80 public function setSeverity($severity) 81 { 82 $this->severity = $severity; 83 } 84 public function getSeverity() 85 { 86 return $this->severity; 87 } 88 public function setSourceLocation(Google_Service_Logging_SourceLocation $sourceLocation) 89 { 90 $this->sourceLocation = $sourceLocation; 91 } 92 public function getSourceLocation() 93 { 94 return $this->sourceLocation; 95 } 96 public function setTime($time) 97 { 98 $this->time = $time; 99 } 100 public function getTime() 101 { 102 return $this->time; 103 } 104 } 105 106 #[AllowDynamicProperties] 107 class Google_Service_Logging_RequestLog extends Google_Collection 108 { 109 protected $collection_key = 'sourceReference'; 110 protected $internal_gapi_mappings = array( 111 ); 112 public $appEngineRelease; 113 public $appId; 114 public $cost; 115 public $endTime; 116 public $finished; 117 public $host; 118 public $httpVersion; 119 public $instanceId; 120 public $instanceIndex; 121 public $ip; 122 public $latency; 123 protected $lineType = 'Google_Service_Logging_LogLine'; 124 protected $lineDataType = 'array'; 125 public $megaCycles; 126 public $method; 127 public $moduleId; 128 public $nickname; 129 public $pendingTime; 130 public $referrer; 131 public $requestId; 132 public $resource; 133 public $responseSize; 134 protected $sourceReferenceType = 'Google_Service_Logging_SourceReference'; 135 protected $sourceReferenceDataType = 'array'; 136 public $startTime; 137 public $status; 138 public $taskName; 139 public $taskQueueName; 140 public $traceId; 141 public $urlMapEntry; 142 public $userAgent; 143 public $versionId; 144 public $wasLoadingRequest; 145 146 147 public function setAppEngineRelease($appEngineRelease) 148 { 149 $this->appEngineRelease = $appEngineRelease; 150 } 151 public function getAppEngineRelease() 152 { 153 return $this->appEngineRelease; 154 } 155 public function setAppId($appId) 156 { 157 $this->appId = $appId; 158 } 159 public function getAppId() 160 { 161 return $this->appId; 162 } 163 public function setCost($cost) 164 { 165 $this->cost = $cost; 166 } 167 public function getCost() 168 { 169 return $this->cost; 170 } 171 public function setEndTime($endTime) 172 { 173 $this->endTime = $endTime; 174 } 175 public function getEndTime() 176 { 177 return $this->endTime; 178 } 179 public function setFinished($finished) 180 { 181 $this->finished = $finished; 182 } 183 public function getFinished() 184 { 185 return $this->finished; 186 } 187 public function setHost($host) 188 { 189 $this->host = $host; 190 } 191 public function getHost() 192 { 193 return $this->host; 194 } 195 public function setHttpVersion($httpVersion) 196 { 197 $this->httpVersion = $httpVersion; 198 } 199 public function getHttpVersion() 200 { 201 return $this->httpVersion; 202 } 203 public function setInstanceId($instanceId) 204 { 205 $this->instanceId = $instanceId; 206 } 207 public function getInstanceId() 208 { 209 return $this->instanceId; 210 } 211 public function setInstanceIndex($instanceIndex) 212 { 213 $this->instanceIndex = $instanceIndex; 214 } 215 public function getInstanceIndex() 216 { 217 return $this->instanceIndex; 218 } 219 public function setIp($ip) 220 { 221 $this->ip = $ip; 222 } 223 public function getIp() 224 { 225 return $this->ip; 226 } 227 public function setLatency($latency) 228 { 229 $this->latency = $latency; 230 } 231 public function getLatency() 232 { 233 return $this->latency; 234 } 235 public function setLine($line) 236 { 237 $this->line = $line; 238 } 239 public function getLine() 240 { 241 return $this->line; 242 } 243 public function setMegaCycles($megaCycles) 244 { 245 $this->megaCycles = $megaCycles; 246 } 247 public function getMegaCycles() 248 { 249 return $this->megaCycles; 250 } 251 public function setMethod($method) 252 { 253 $this->method = $method; 254 } 255 public function getMethod() 256 { 257 return $this->method; 258 } 259 public function setModuleId($moduleId) 260 { 261 $this->moduleId = $moduleId; 262 } 263 public function getModuleId() 264 { 265 return $this->moduleId; 266 } 267 public function setNickname($nickname) 268 { 269 $this->nickname = $nickname; 270 } 271 public function getNickname() 272 { 273 return $this->nickname; 274 } 275 public function setPendingTime($pendingTime) 276 { 277 $this->pendingTime = $pendingTime; 278 } 279 public function getPendingTime() 280 { 281 return $this->pendingTime; 282 } 283 public function setReferrer($referrer) 284 { 285 $this->referrer = $referrer; 286 } 287 public function getReferrer() 288 { 289 return $this->referrer; 290 } 291 public function setRequestId($requestId) 292 { 293 $this->requestId = $requestId; 294 } 295 public function getRequestId() 296 { 297 return $this->requestId; 298 } 299 public function setResource($resource) 300 { 301 $this->resource = $resource; 302 } 303 public function getResource() 304 { 305 return $this->resource; 306 } 307 public function setResponseSize($responseSize) 308 { 309 $this->responseSize = $responseSize; 310 } 311 public function getResponseSize() 312 { 313 return $this->responseSize; 314 } 315 public function setSourceReference($sourceReference) 316 { 317 $this->sourceReference = $sourceReference; 318 } 319 public function getSourceReference() 320 { 321 return $this->sourceReference; 322 } 323 public function setStartTime($startTime) 324 { 325 $this->startTime = $startTime; 326 } 327 public function getStartTime() 328 { 329 return $this->startTime; 330 } 331 public function setStatus($status) 332 { 333 $this->status = $status; 334 } 335 public function getStatus() 336 { 337 return $this->status; 338 } 339 public function setTaskName($taskName) 340 { 341 $this->taskName = $taskName; 342 } 343 public function getTaskName() 344 { 345 return $this->taskName; 346 } 347 public function setTaskQueueName($taskQueueName) 348 { 349 $this->taskQueueName = $taskQueueName; 350 } 351 public function getTaskQueueName() 352 { 353 return $this->taskQueueName; 354 } 355 public function setTraceId($traceId) 356 { 357 $this->traceId = $traceId; 358 } 359 public function getTraceId() 360 { 361 return $this->traceId; 362 } 363 public function setUrlMapEntry($urlMapEntry) 364 { 365 $this->urlMapEntry = $urlMapEntry; 366 } 367 public function getUrlMapEntry() 368 { 369 return $this->urlMapEntry; 370 } 371 public function setUserAgent($userAgent) 372 { 373 $this->userAgent = $userAgent; 374 } 375 public function getUserAgent() 376 { 377 return $this->userAgent; 378 } 379 public function setVersionId($versionId) 380 { 381 $this->versionId = $versionId; 382 } 383 public function getVersionId() 384 { 385 return $this->versionId; 386 } 387 public function setWasLoadingRequest($wasLoadingRequest) 388 { 389 $this->wasLoadingRequest = $wasLoadingRequest; 390 } 391 public function getWasLoadingRequest() 392 { 393 return $this->wasLoadingRequest; 394 } 395 } 396 397 #[AllowDynamicProperties] 398 class Google_Service_Logging_SourceLocation extends Google_Model 399 { 400 protected $internal_gapi_mappings = array( 401 ); 402 public $file; 403 public $functionName; 404 public $line; 405 406 407 public function setFile($file) 408 { 409 $this->file = $file; 410 } 411 public function getFile() 412 { 413 return $this->file; 414 } 415 public function setFunctionName($functionName) 416 { 417 $this->functionName = $functionName; 418 } 419 public function getFunctionName() 420 { 421 return $this->functionName; 422 } 423 public function setLine($line) 424 { 425 $this->line = $line; 426 } 427 public function getLine() 428 { 429 return $this->line; 430 } 431 } 432 433 #[AllowDynamicProperties] 434 class Google_Service_Logging_SourceReference extends Google_Model 435 { 436 protected $internal_gapi_mappings = array( 437 ); 438 public $repository; 439 public $revisionId; 440 441 442 public function setRepository($repository) 443 { 444 $this->repository = $repository; 445 } 446 public function getRepository() 447 { 448 return $this->repository; 449 } 450 public function setRevisionId($revisionId) 451 { 452 $this->revisionId = $revisionId; 453 } 454 public function getRevisionId() 455 { 456 return $this->revisionId; 457 } 458 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body