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_ServiceUsage_GoogleApiService extends Google_Collection 19{ 20 protected $collection_key = 'types'; 21 protected $apisType = 'Google_Service_ServiceUsage_Api'; 22 protected $apisDataType = 'array'; 23 protected $authenticationType = 'Google_Service_ServiceUsage_Authentication'; 24 protected $authenticationDataType = ''; 25 protected $backendType = 'Google_Service_ServiceUsage_Backend'; 26 protected $backendDataType = ''; 27 protected $billingType = 'Google_Service_ServiceUsage_Billing'; 28 protected $billingDataType = ''; 29 public $configVersion; 30 protected $contextType = 'Google_Service_ServiceUsage_Context'; 31 protected $contextDataType = ''; 32 protected $controlType = 'Google_Service_ServiceUsage_Control'; 33 protected $controlDataType = ''; 34 protected $customErrorType = 'Google_Service_ServiceUsage_CustomError'; 35 protected $customErrorDataType = ''; 36 protected $documentationType = 'Google_Service_ServiceUsage_Documentation'; 37 protected $documentationDataType = ''; 38 protected $endpointsType = 'Google_Service_ServiceUsage_Endpoint'; 39 protected $endpointsDataType = 'array'; 40 protected $enumsType = 'Google_Service_ServiceUsage_Enum'; 41 protected $enumsDataType = 'array'; 42 protected $httpType = 'Google_Service_ServiceUsage_Http'; 43 protected $httpDataType = ''; 44 public $id; 45 protected $loggingType = 'Google_Service_ServiceUsage_Logging'; 46 protected $loggingDataType = ''; 47 protected $logsType = 'Google_Service_ServiceUsage_LogDescriptor'; 48 protected $logsDataType = 'array'; 49 protected $metricsType = 'Google_Service_ServiceUsage_MetricDescriptor'; 50 protected $metricsDataType = 'array'; 51 protected $monitoredResourcesType = 'Google_Service_ServiceUsage_MonitoredResourceDescriptor'; 52 protected $monitoredResourcesDataType = 'array'; 53 protected $monitoringType = 'Google_Service_ServiceUsage_Monitoring'; 54 protected $monitoringDataType = ''; 55 public $name; 56 public $producerProjectId; 57 protected $quotaType = 'Google_Service_ServiceUsage_Quota'; 58 protected $quotaDataType = ''; 59 protected $sourceInfoType = 'Google_Service_ServiceUsage_SourceInfo'; 60 protected $sourceInfoDataType = ''; 61 protected $systemParametersType = 'Google_Service_ServiceUsage_SystemParameters'; 62 protected $systemParametersDataType = ''; 63 protected $systemTypesType = 'Google_Service_ServiceUsage_Type'; 64 protected $systemTypesDataType = 'array'; 65 public $title; 66 protected $typesType = 'Google_Service_ServiceUsage_Type'; 67 protected $typesDataType = 'array'; 68 protected $usageType = 'Google_Service_ServiceUsage_Usage'; 69 protected $usageDataType = ''; 70 71 /** 72 * @param Google_Service_ServiceUsage_Api 73 */ 74 public function setApis($apis) 75 { 76 $this->apis = $apis; 77 } 78 /** 79 * @return Google_Service_ServiceUsage_Api 80 */ 81 public function getApis() 82 { 83 return $this->apis; 84 } 85 /** 86 * @param Google_Service_ServiceUsage_Authentication 87 */ 88 public function setAuthentication(Google_Service_ServiceUsage_Authentication $authentication) 89 { 90 $this->authentication = $authentication; 91 } 92 /** 93 * @return Google_Service_ServiceUsage_Authentication 94 */ 95 public function getAuthentication() 96 { 97 return $this->authentication; 98 } 99 /** 100 * @param Google_Service_ServiceUsage_Backend 101 */ 102 public function setBackend(Google_Service_ServiceUsage_Backend $backend) 103 { 104 $this->backend = $backend; 105 } 106 /** 107 * @return Google_Service_ServiceUsage_Backend 108 */ 109 public function getBackend() 110 { 111 return $this->backend; 112 } 113 /** 114 * @param Google_Service_ServiceUsage_Billing 115 */ 116 public function setBilling(Google_Service_ServiceUsage_Billing $billing) 117 { 118 $this->billing = $billing; 119 } 120 /** 121 * @return Google_Service_ServiceUsage_Billing 122 */ 123 public function getBilling() 124 { 125 return $this->billing; 126 } 127 public function setConfigVersion($configVersion) 128 { 129 $this->configVersion = $configVersion; 130 } 131 public function getConfigVersion() 132 { 133 return $this->configVersion; 134 } 135 /** 136 * @param Google_Service_ServiceUsage_Context 137 */ 138 public function setContext(Google_Service_ServiceUsage_Context $context) 139 { 140 $this->context = $context; 141 } 142 /** 143 * @return Google_Service_ServiceUsage_Context 144 */ 145 public function getContext() 146 { 147 return $this->context; 148 } 149 /** 150 * @param Google_Service_ServiceUsage_Control 151 */ 152 public function setControl(Google_Service_ServiceUsage_Control $control) 153 { 154 $this->control = $control; 155 } 156 /** 157 * @return Google_Service_ServiceUsage_Control 158 */ 159 public function getControl() 160 { 161 return $this->control; 162 } 163 /** 164 * @param Google_Service_ServiceUsage_CustomError 165 */ 166 public function setCustomError(Google_Service_ServiceUsage_CustomError $customError) 167 { 168 $this->customError = $customError; 169 } 170 /** 171 * @return Google_Service_ServiceUsage_CustomError 172 */ 173 public function getCustomError() 174 { 175 return $this->customError; 176 } 177 /** 178 * @param Google_Service_ServiceUsage_Documentation 179 */ 180 public function setDocumentation(Google_Service_ServiceUsage_Documentation $documentation) 181 { 182 $this->documentation = $documentation; 183 } 184 /** 185 * @return Google_Service_ServiceUsage_Documentation 186 */ 187 public function getDocumentation() 188 { 189 return $this->documentation; 190 } 191 /** 192 * @param Google_Service_ServiceUsage_Endpoint 193 */ 194 public function setEndpoints($endpoints) 195 { 196 $this->endpoints = $endpoints; 197 } 198 /** 199 * @return Google_Service_ServiceUsage_Endpoint 200 */ 201 public function getEndpoints() 202 { 203 return $this->endpoints; 204 } 205 /** 206 * @param Google_Service_ServiceUsage_Enum 207 */ 208 public function setEnums($enums) 209 { 210 $this->enums = $enums; 211 } 212 /** 213 * @return Google_Service_ServiceUsage_Enum 214 */ 215 public function getEnums() 216 { 217 return $this->enums; 218 } 219 /** 220 * @param Google_Service_ServiceUsage_Http 221 */ 222 public function setHttp(Google_Service_ServiceUsage_Http $http) 223 { 224 $this->http = $http; 225 } 226 /** 227 * @return Google_Service_ServiceUsage_Http 228 */ 229 public function getHttp() 230 { 231 return $this->http; 232 } 233 public function setId($id) 234 { 235 $this->id = $id; 236 } 237 public function getId() 238 { 239 return $this->id; 240 } 241 /** 242 * @param Google_Service_ServiceUsage_Logging 243 */ 244 public function setLogging(Google_Service_ServiceUsage_Logging $logging) 245 { 246 $this->logging = $logging; 247 } 248 /** 249 * @return Google_Service_ServiceUsage_Logging 250 */ 251 public function getLogging() 252 { 253 return $this->logging; 254 } 255 /** 256 * @param Google_Service_ServiceUsage_LogDescriptor 257 */ 258 public function setLogs($logs) 259 { 260 $this->logs = $logs; 261 } 262 /** 263 * @return Google_Service_ServiceUsage_LogDescriptor 264 */ 265 public function getLogs() 266 { 267 return $this->logs; 268 } 269 /** 270 * @param Google_Service_ServiceUsage_MetricDescriptor 271 */ 272 public function setMetrics($metrics) 273 { 274 $this->metrics = $metrics; 275 } 276 /** 277 * @return Google_Service_ServiceUsage_MetricDescriptor 278 */ 279 public function getMetrics() 280 { 281 return $this->metrics; 282 } 283 /** 284 * @param Google_Service_ServiceUsage_MonitoredResourceDescriptor 285 */ 286 public function setMonitoredResources($monitoredResources) 287 { 288 $this->monitoredResources = $monitoredResources; 289 } 290 /** 291 * @return Google_Service_ServiceUsage_MonitoredResourceDescriptor 292 */ 293 public function getMonitoredResources() 294 { 295 return $this->monitoredResources; 296 } 297 /** 298 * @param Google_Service_ServiceUsage_Monitoring 299 */ 300 public function setMonitoring(Google_Service_ServiceUsage_Monitoring $monitoring) 301 { 302 $this->monitoring = $monitoring; 303 } 304 /** 305 * @return Google_Service_ServiceUsage_Monitoring 306 */ 307 public function getMonitoring() 308 { 309 return $this->monitoring; 310 } 311 public function setName($name) 312 { 313 $this->name = $name; 314 } 315 public function getName() 316 { 317 return $this->name; 318 } 319 public function setProducerProjectId($producerProjectId) 320 { 321 $this->producerProjectId = $producerProjectId; 322 } 323 public function getProducerProjectId() 324 { 325 return $this->producerProjectId; 326 } 327 /** 328 * @param Google_Service_ServiceUsage_Quota 329 */ 330 public function setQuota(Google_Service_ServiceUsage_Quota $quota) 331 { 332 $this->quota = $quota; 333 } 334 /** 335 * @return Google_Service_ServiceUsage_Quota 336 */ 337 public function getQuota() 338 { 339 return $this->quota; 340 } 341 /** 342 * @param Google_Service_ServiceUsage_SourceInfo 343 */ 344 public function setSourceInfo(Google_Service_ServiceUsage_SourceInfo $sourceInfo) 345 { 346 $this->sourceInfo = $sourceInfo; 347 } 348 /** 349 * @return Google_Service_ServiceUsage_SourceInfo 350 */ 351 public function getSourceInfo() 352 { 353 return $this->sourceInfo; 354 } 355 /** 356 * @param Google_Service_ServiceUsage_SystemParameters 357 */ 358 public function setSystemParameters(Google_Service_ServiceUsage_SystemParameters $systemParameters) 359 { 360 $this->systemParameters = $systemParameters; 361 } 362 /** 363 * @return Google_Service_ServiceUsage_SystemParameters 364 */ 365 public function getSystemParameters() 366 { 367 return $this->systemParameters; 368 } 369 /** 370 * @param Google_Service_ServiceUsage_Type 371 */ 372 public function setSystemTypes($systemTypes) 373 { 374 $this->systemTypes = $systemTypes; 375 } 376 /** 377 * @return Google_Service_ServiceUsage_Type 378 */ 379 public function getSystemTypes() 380 { 381 return $this->systemTypes; 382 } 383 public function setTitle($title) 384 { 385 $this->title = $title; 386 } 387 public function getTitle() 388 { 389 return $this->title; 390 } 391 /** 392 * @param Google_Service_ServiceUsage_Type 393 */ 394 public function setTypes($types) 395 { 396 $this->types = $types; 397 } 398 /** 399 * @return Google_Service_ServiceUsage_Type 400 */ 401 public function getTypes() 402 { 403 return $this->types; 404 } 405 /** 406 * @param Google_Service_ServiceUsage_Usage 407 */ 408 public function setUsage(Google_Service_ServiceUsage_Usage $usage) 409 { 410 $this->usage = $usage; 411 } 412 /** 413 * @return Google_Service_ServiceUsage_Usage 414 */ 415 public function getUsage() 416 { 417 return $this->usage; 418 } 419} 420