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_AuditLog extends Google_Collection 19{ 20 protected $collection_key = 'authorizationInfo'; 21 protected $authenticationInfoType = 'Google_Service_ServiceControl_AuthenticationInfo'; 22 protected $authenticationInfoDataType = ''; 23 protected $authorizationInfoType = 'Google_Service_ServiceControl_AuthorizationInfo'; 24 protected $authorizationInfoDataType = 'array'; 25 public $metadata; 26 public $methodName; 27 public $numResponseItems; 28 public $request; 29 protected $requestMetadataType = 'Google_Service_ServiceControl_RequestMetadata'; 30 protected $requestMetadataDataType = ''; 31 protected $resourceLocationType = 'Google_Service_ServiceControl_ResourceLocation'; 32 protected $resourceLocationDataType = ''; 33 public $resourceName; 34 public $resourceOriginalState; 35 public $response; 36 public $serviceData; 37 public $serviceName; 38 protected $statusType = 'Google_Service_ServiceControl_Status'; 39 protected $statusDataType = ''; 40 41 /** 42 * @param Google_Service_ServiceControl_AuthenticationInfo 43 */ 44 public function setAuthenticationInfo(Google_Service_ServiceControl_AuthenticationInfo $authenticationInfo) 45 { 46 $this->authenticationInfo = $authenticationInfo; 47 } 48 /** 49 * @return Google_Service_ServiceControl_AuthenticationInfo 50 */ 51 public function getAuthenticationInfo() 52 { 53 return $this->authenticationInfo; 54 } 55 /** 56 * @param Google_Service_ServiceControl_AuthorizationInfo 57 */ 58 public function setAuthorizationInfo($authorizationInfo) 59 { 60 $this->authorizationInfo = $authorizationInfo; 61 } 62 /** 63 * @return Google_Service_ServiceControl_AuthorizationInfo 64 */ 65 public function getAuthorizationInfo() 66 { 67 return $this->authorizationInfo; 68 } 69 public function setMetadata($metadata) 70 { 71 $this->metadata = $metadata; 72 } 73 public function getMetadata() 74 { 75 return $this->metadata; 76 } 77 public function setMethodName($methodName) 78 { 79 $this->methodName = $methodName; 80 } 81 public function getMethodName() 82 { 83 return $this->methodName; 84 } 85 public function setNumResponseItems($numResponseItems) 86 { 87 $this->numResponseItems = $numResponseItems; 88 } 89 public function getNumResponseItems() 90 { 91 return $this->numResponseItems; 92 } 93 public function setRequest($request) 94 { 95 $this->request = $request; 96 } 97 public function getRequest() 98 { 99 return $this->request; 100 } 101 /** 102 * @param Google_Service_ServiceControl_RequestMetadata 103 */ 104 public function setRequestMetadata(Google_Service_ServiceControl_RequestMetadata $requestMetadata) 105 { 106 $this->requestMetadata = $requestMetadata; 107 } 108 /** 109 * @return Google_Service_ServiceControl_RequestMetadata 110 */ 111 public function getRequestMetadata() 112 { 113 return $this->requestMetadata; 114 } 115 /** 116 * @param Google_Service_ServiceControl_ResourceLocation 117 */ 118 public function setResourceLocation(Google_Service_ServiceControl_ResourceLocation $resourceLocation) 119 { 120 $this->resourceLocation = $resourceLocation; 121 } 122 /** 123 * @return Google_Service_ServiceControl_ResourceLocation 124 */ 125 public function getResourceLocation() 126 { 127 return $this->resourceLocation; 128 } 129 public function setResourceName($resourceName) 130 { 131 $this->resourceName = $resourceName; 132 } 133 public function getResourceName() 134 { 135 return $this->resourceName; 136 } 137 public function setResourceOriginalState($resourceOriginalState) 138 { 139 $this->resourceOriginalState = $resourceOriginalState; 140 } 141 public function getResourceOriginalState() 142 { 143 return $this->resourceOriginalState; 144 } 145 public function setResponse($response) 146 { 147 $this->response = $response; 148 } 149 public function getResponse() 150 { 151 return $this->response; 152 } 153 public function setServiceData($serviceData) 154 { 155 $this->serviceData = $serviceData; 156 } 157 public function getServiceData() 158 { 159 return $this->serviceData; 160 } 161 public function setServiceName($serviceName) 162 { 163 $this->serviceName = $serviceName; 164 } 165 public function getServiceName() 166 { 167 return $this->serviceName; 168 } 169 /** 170 * @param Google_Service_ServiceControl_Status 171 */ 172 public function setStatus(Google_Service_ServiceControl_Status $status) 173 { 174 $this->status = $status; 175 } 176 /** 177 * @return Google_Service_ServiceControl_Status 178 */ 179 public function getStatus() 180 { 181 return $this->status; 182 } 183} 184