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