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\Appengine;
19
20class Version extends \Google\Collection
21{
22  protected $collection_key = 'zones';
23  protected $apiConfigType = ApiConfigHandler::class;
24  protected $apiConfigDataType = '';
25  /**
26   * @var bool
27   */
28  public $appEngineApis;
29  protected $automaticScalingType = AutomaticScaling::class;
30  protected $automaticScalingDataType = '';
31  protected $basicScalingType = BasicScaling::class;
32  protected $basicScalingDataType = '';
33  /**
34   * @var string[]
35   */
36  public $betaSettings;
37  /**
38   * @var string[]
39   */
40  public $buildEnvVariables;
41  /**
42   * @var string
43   */
44  public $createTime;
45  /**
46   * @var string
47   */
48  public $createdBy;
49  /**
50   * @var string
51   */
52  public $defaultExpiration;
53  protected $deploymentType = Deployment::class;
54  protected $deploymentDataType = '';
55  /**
56   * @var string
57   */
58  public $diskUsageBytes;
59  protected $endpointsApiServiceType = EndpointsApiService::class;
60  protected $endpointsApiServiceDataType = '';
61  protected $entrypointType = Entrypoint::class;
62  protected $entrypointDataType = '';
63  /**
64   * @var string
65   */
66  public $env;
67  /**
68   * @var string[]
69   */
70  public $envVariables;
71  protected $errorHandlersType = ErrorHandler::class;
72  protected $errorHandlersDataType = 'array';
73  protected $handlersType = UrlMap::class;
74  protected $handlersDataType = 'array';
75  protected $healthCheckType = HealthCheck::class;
76  protected $healthCheckDataType = '';
77  /**
78   * @var string
79   */
80  public $id;
81  /**
82   * @var string[]
83   */
84  public $inboundServices;
85  /**
86   * @var string
87   */
88  public $instanceClass;
89  protected $librariesType = Library::class;
90  protected $librariesDataType = 'array';
91  protected $livenessCheckType = LivenessCheck::class;
92  protected $livenessCheckDataType = '';
93  protected $manualScalingType = ManualScaling::class;
94  protected $manualScalingDataType = '';
95  /**
96   * @var string
97   */
98  public $name;
99  protected $networkType = Network::class;
100  protected $networkDataType = '';
101  /**
102   * @var string
103   */
104  public $nobuildFilesRegex;
105  protected $readinessCheckType = ReadinessCheck::class;
106  protected $readinessCheckDataType = '';
107  protected $resourcesType = Resources::class;
108  protected $resourcesDataType = '';
109  /**
110   * @var string
111   */
112  public $runtime;
113  /**
114   * @var string
115   */
116  public $runtimeApiVersion;
117  /**
118   * @var string
119   */
120  public $runtimeChannel;
121  /**
122   * @var string
123   */
124  public $runtimeMainExecutablePath;
125  /**
126   * @var string
127   */
128  public $serviceAccount;
129  /**
130   * @var string
131   */
132  public $servingStatus;
133  /**
134   * @var bool
135   */
136  public $threadsafe;
137  /**
138   * @var string
139   */
140  public $versionUrl;
141  /**
142   * @var bool
143   */
144  public $vm;
145  protected $vpcAccessConnectorType = VpcAccessConnector::class;
146  protected $vpcAccessConnectorDataType = '';
147  /**
148   * @var string[]
149   */
150  public $zones;
151
152  /**
153   * @param ApiConfigHandler
154   */
155  public function setApiConfig(ApiConfigHandler $apiConfig)
156  {
157    $this->apiConfig = $apiConfig;
158  }
159  /**
160   * @return ApiConfigHandler
161   */
162  public function getApiConfig()
163  {
164    return $this->apiConfig;
165  }
166  /**
167   * @param bool
168   */
169  public function setAppEngineApis($appEngineApis)
170  {
171    $this->appEngineApis = $appEngineApis;
172  }
173  /**
174   * @return bool
175   */
176  public function getAppEngineApis()
177  {
178    return $this->appEngineApis;
179  }
180  /**
181   * @param AutomaticScaling
182   */
183  public function setAutomaticScaling(AutomaticScaling $automaticScaling)
184  {
185    $this->automaticScaling = $automaticScaling;
186  }
187  /**
188   * @return AutomaticScaling
189   */
190  public function getAutomaticScaling()
191  {
192    return $this->automaticScaling;
193  }
194  /**
195   * @param BasicScaling
196   */
197  public function setBasicScaling(BasicScaling $basicScaling)
198  {
199    $this->basicScaling = $basicScaling;
200  }
201  /**
202   * @return BasicScaling
203   */
204  public function getBasicScaling()
205  {
206    return $this->basicScaling;
207  }
208  /**
209   * @param string[]
210   */
211  public function setBetaSettings($betaSettings)
212  {
213    $this->betaSettings = $betaSettings;
214  }
215  /**
216   * @return string[]
217   */
218  public function getBetaSettings()
219  {
220    return $this->betaSettings;
221  }
222  /**
223   * @param string[]
224   */
225  public function setBuildEnvVariables($buildEnvVariables)
226  {
227    $this->buildEnvVariables = $buildEnvVariables;
228  }
229  /**
230   * @return string[]
231   */
232  public function getBuildEnvVariables()
233  {
234    return $this->buildEnvVariables;
235  }
236  /**
237   * @param string
238   */
239  public function setCreateTime($createTime)
240  {
241    $this->createTime = $createTime;
242  }
243  /**
244   * @return string
245   */
246  public function getCreateTime()
247  {
248    return $this->createTime;
249  }
250  /**
251   * @param string
252   */
253  public function setCreatedBy($createdBy)
254  {
255    $this->createdBy = $createdBy;
256  }
257  /**
258   * @return string
259   */
260  public function getCreatedBy()
261  {
262    return $this->createdBy;
263  }
264  /**
265   * @param string
266   */
267  public function setDefaultExpiration($defaultExpiration)
268  {
269    $this->defaultExpiration = $defaultExpiration;
270  }
271  /**
272   * @return string
273   */
274  public function getDefaultExpiration()
275  {
276    return $this->defaultExpiration;
277  }
278  /**
279   * @param Deployment
280   */
281  public function setDeployment(Deployment $deployment)
282  {
283    $this->deployment = $deployment;
284  }
285  /**
286   * @return Deployment
287   */
288  public function getDeployment()
289  {
290    return $this->deployment;
291  }
292  /**
293   * @param string
294   */
295  public function setDiskUsageBytes($diskUsageBytes)
296  {
297    $this->diskUsageBytes = $diskUsageBytes;
298  }
299  /**
300   * @return string
301   */
302  public function getDiskUsageBytes()
303  {
304    return $this->diskUsageBytes;
305  }
306  /**
307   * @param EndpointsApiService
308   */
309  public function setEndpointsApiService(EndpointsApiService $endpointsApiService)
310  {
311    $this->endpointsApiService = $endpointsApiService;
312  }
313  /**
314   * @return EndpointsApiService
315   */
316  public function getEndpointsApiService()
317  {
318    return $this->endpointsApiService;
319  }
320  /**
321   * @param Entrypoint
322   */
323  public function setEntrypoint(Entrypoint $entrypoint)
324  {
325    $this->entrypoint = $entrypoint;
326  }
327  /**
328   * @return Entrypoint
329   */
330  public function getEntrypoint()
331  {
332    return $this->entrypoint;
333  }
334  /**
335   * @param string
336   */
337  public function setEnv($env)
338  {
339    $this->env = $env;
340  }
341  /**
342   * @return string
343   */
344  public function getEnv()
345  {
346    return $this->env;
347  }
348  /**
349   * @param string[]
350   */
351  public function setEnvVariables($envVariables)
352  {
353    $this->envVariables = $envVariables;
354  }
355  /**
356   * @return string[]
357   */
358  public function getEnvVariables()
359  {
360    return $this->envVariables;
361  }
362  /**
363   * @param ErrorHandler[]
364   */
365  public function setErrorHandlers($errorHandlers)
366  {
367    $this->errorHandlers = $errorHandlers;
368  }
369  /**
370   * @return ErrorHandler[]
371   */
372  public function getErrorHandlers()
373  {
374    return $this->errorHandlers;
375  }
376  /**
377   * @param UrlMap[]
378   */
379  public function setHandlers($handlers)
380  {
381    $this->handlers = $handlers;
382  }
383  /**
384   * @return UrlMap[]
385   */
386  public function getHandlers()
387  {
388    return $this->handlers;
389  }
390  /**
391   * @param HealthCheck
392   */
393  public function setHealthCheck(HealthCheck $healthCheck)
394  {
395    $this->healthCheck = $healthCheck;
396  }
397  /**
398   * @return HealthCheck
399   */
400  public function getHealthCheck()
401  {
402    return $this->healthCheck;
403  }
404  /**
405   * @param string
406   */
407  public function setId($id)
408  {
409    $this->id = $id;
410  }
411  /**
412   * @return string
413   */
414  public function getId()
415  {
416    return $this->id;
417  }
418  /**
419   * @param string[]
420   */
421  public function setInboundServices($inboundServices)
422  {
423    $this->inboundServices = $inboundServices;
424  }
425  /**
426   * @return string[]
427   */
428  public function getInboundServices()
429  {
430    return $this->inboundServices;
431  }
432  /**
433   * @param string
434   */
435  public function setInstanceClass($instanceClass)
436  {
437    $this->instanceClass = $instanceClass;
438  }
439  /**
440   * @return string
441   */
442  public function getInstanceClass()
443  {
444    return $this->instanceClass;
445  }
446  /**
447   * @param Library[]
448   */
449  public function setLibraries($libraries)
450  {
451    $this->libraries = $libraries;
452  }
453  /**
454   * @return Library[]
455   */
456  public function getLibraries()
457  {
458    return $this->libraries;
459  }
460  /**
461   * @param LivenessCheck
462   */
463  public function setLivenessCheck(LivenessCheck $livenessCheck)
464  {
465    $this->livenessCheck = $livenessCheck;
466  }
467  /**
468   * @return LivenessCheck
469   */
470  public function getLivenessCheck()
471  {
472    return $this->livenessCheck;
473  }
474  /**
475   * @param ManualScaling
476   */
477  public function setManualScaling(ManualScaling $manualScaling)
478  {
479    $this->manualScaling = $manualScaling;
480  }
481  /**
482   * @return ManualScaling
483   */
484  public function getManualScaling()
485  {
486    return $this->manualScaling;
487  }
488  /**
489   * @param string
490   */
491  public function setName($name)
492  {
493    $this->name = $name;
494  }
495  /**
496   * @return string
497   */
498  public function getName()
499  {
500    return $this->name;
501  }
502  /**
503   * @param Network
504   */
505  public function setNetwork(Network $network)
506  {
507    $this->network = $network;
508  }
509  /**
510   * @return Network
511   */
512  public function getNetwork()
513  {
514    return $this->network;
515  }
516  /**
517   * @param string
518   */
519  public function setNobuildFilesRegex($nobuildFilesRegex)
520  {
521    $this->nobuildFilesRegex = $nobuildFilesRegex;
522  }
523  /**
524   * @return string
525   */
526  public function getNobuildFilesRegex()
527  {
528    return $this->nobuildFilesRegex;
529  }
530  /**
531   * @param ReadinessCheck
532   */
533  public function setReadinessCheck(ReadinessCheck $readinessCheck)
534  {
535    $this->readinessCheck = $readinessCheck;
536  }
537  /**
538   * @return ReadinessCheck
539   */
540  public function getReadinessCheck()
541  {
542    return $this->readinessCheck;
543  }
544  /**
545   * @param Resources
546   */
547  public function setResources(Resources $resources)
548  {
549    $this->resources = $resources;
550  }
551  /**
552   * @return Resources
553   */
554  public function getResources()
555  {
556    return $this->resources;
557  }
558  /**
559   * @param string
560   */
561  public function setRuntime($runtime)
562  {
563    $this->runtime = $runtime;
564  }
565  /**
566   * @return string
567   */
568  public function getRuntime()
569  {
570    return $this->runtime;
571  }
572  /**
573   * @param string
574   */
575  public function setRuntimeApiVersion($runtimeApiVersion)
576  {
577    $this->runtimeApiVersion = $runtimeApiVersion;
578  }
579  /**
580   * @return string
581   */
582  public function getRuntimeApiVersion()
583  {
584    return $this->runtimeApiVersion;
585  }
586  /**
587   * @param string
588   */
589  public function setRuntimeChannel($runtimeChannel)
590  {
591    $this->runtimeChannel = $runtimeChannel;
592  }
593  /**
594   * @return string
595   */
596  public function getRuntimeChannel()
597  {
598    return $this->runtimeChannel;
599  }
600  /**
601   * @param string
602   */
603  public function setRuntimeMainExecutablePath($runtimeMainExecutablePath)
604  {
605    $this->runtimeMainExecutablePath = $runtimeMainExecutablePath;
606  }
607  /**
608   * @return string
609   */
610  public function getRuntimeMainExecutablePath()
611  {
612    return $this->runtimeMainExecutablePath;
613  }
614  /**
615   * @param string
616   */
617  public function setServiceAccount($serviceAccount)
618  {
619    $this->serviceAccount = $serviceAccount;
620  }
621  /**
622   * @return string
623   */
624  public function getServiceAccount()
625  {
626    return $this->serviceAccount;
627  }
628  /**
629   * @param string
630   */
631  public function setServingStatus($servingStatus)
632  {
633    $this->servingStatus = $servingStatus;
634  }
635  /**
636   * @return string
637   */
638  public function getServingStatus()
639  {
640    return $this->servingStatus;
641  }
642  /**
643   * @param bool
644   */
645  public function setThreadsafe($threadsafe)
646  {
647    $this->threadsafe = $threadsafe;
648  }
649  /**
650   * @return bool
651   */
652  public function getThreadsafe()
653  {
654    return $this->threadsafe;
655  }
656  /**
657   * @param string
658   */
659  public function setVersionUrl($versionUrl)
660  {
661    $this->versionUrl = $versionUrl;
662  }
663  /**
664   * @return string
665   */
666  public function getVersionUrl()
667  {
668    return $this->versionUrl;
669  }
670  /**
671   * @param bool
672   */
673  public function setVm($vm)
674  {
675    $this->vm = $vm;
676  }
677  /**
678   * @return bool
679   */
680  public function getVm()
681  {
682    return $this->vm;
683  }
684  /**
685   * @param VpcAccessConnector
686   */
687  public function setVpcAccessConnector(VpcAccessConnector $vpcAccessConnector)
688  {
689    $this->vpcAccessConnector = $vpcAccessConnector;
690  }
691  /**
692   * @return VpcAccessConnector
693   */
694  public function getVpcAccessConnector()
695  {
696    return $this->vpcAccessConnector;
697  }
698  /**
699   * @param string[]
700   */
701  public function setZones($zones)
702  {
703    $this->zones = $zones;
704  }
705  /**
706   * @return string[]
707   */
708  public function getZones()
709  {
710    return $this->zones;
711  }
712}
713
714// Adding a class alias for backwards compatibility with the previous class name.
715class_alias(Version::class, 'Google_Service_Appengine_Version');
716