[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\RemoteBuildExecution;
|
---|
| 19 |
|
---|
| 20 | class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $acceleratorType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::class;
|
---|
| 23 | protected $acceleratorDataType = '';
|
---|
| 24 | public $diskSizeGb;
|
---|
| 25 | public $diskType;
|
---|
| 26 | public $labels;
|
---|
| 27 | public $machineType;
|
---|
| 28 | public $maxConcurrentActions;
|
---|
| 29 | public $minCpuPlatform;
|
---|
| 30 | public $networkAccess;
|
---|
| 31 | public $reserved;
|
---|
| 32 | public $soleTenantNodeType;
|
---|
| 33 | public $vmImage;
|
---|
| 34 |
|
---|
| 35 | /**
|
---|
| 36 | * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
---|
| 37 | */
|
---|
| 38 | public function setAccelerator(GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig $accelerator)
|
---|
| 39 | {
|
---|
| 40 | $this->accelerator = $accelerator;
|
---|
| 41 | }
|
---|
| 42 | /**
|
---|
| 43 | * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
---|
| 44 | */
|
---|
| 45 | public function getAccelerator()
|
---|
| 46 | {
|
---|
| 47 | return $this->accelerator;
|
---|
| 48 | }
|
---|
| 49 | public function setDiskSizeGb($diskSizeGb)
|
---|
| 50 | {
|
---|
| 51 | $this->diskSizeGb = $diskSizeGb;
|
---|
| 52 | }
|
---|
| 53 | public function getDiskSizeGb()
|
---|
| 54 | {
|
---|
| 55 | return $this->diskSizeGb;
|
---|
| 56 | }
|
---|
| 57 | public function setDiskType($diskType)
|
---|
| 58 | {
|
---|
| 59 | $this->diskType = $diskType;
|
---|
| 60 | }
|
---|
| 61 | public function getDiskType()
|
---|
| 62 | {
|
---|
| 63 | return $this->diskType;
|
---|
| 64 | }
|
---|
| 65 | public function setLabels($labels)
|
---|
| 66 | {
|
---|
| 67 | $this->labels = $labels;
|
---|
| 68 | }
|
---|
| 69 | public function getLabels()
|
---|
| 70 | {
|
---|
| 71 | return $this->labels;
|
---|
| 72 | }
|
---|
| 73 | public function setMachineType($machineType)
|
---|
| 74 | {
|
---|
| 75 | $this->machineType = $machineType;
|
---|
| 76 | }
|
---|
| 77 | public function getMachineType()
|
---|
| 78 | {
|
---|
| 79 | return $this->machineType;
|
---|
| 80 | }
|
---|
| 81 | public function setMaxConcurrentActions($maxConcurrentActions)
|
---|
| 82 | {
|
---|
| 83 | $this->maxConcurrentActions = $maxConcurrentActions;
|
---|
| 84 | }
|
---|
| 85 | public function getMaxConcurrentActions()
|
---|
| 86 | {
|
---|
| 87 | return $this->maxConcurrentActions;
|
---|
| 88 | }
|
---|
| 89 | public function setMinCpuPlatform($minCpuPlatform)
|
---|
| 90 | {
|
---|
| 91 | $this->minCpuPlatform = $minCpuPlatform;
|
---|
| 92 | }
|
---|
| 93 | public function getMinCpuPlatform()
|
---|
| 94 | {
|
---|
| 95 | return $this->minCpuPlatform;
|
---|
| 96 | }
|
---|
| 97 | public function setNetworkAccess($networkAccess)
|
---|
| 98 | {
|
---|
| 99 | $this->networkAccess = $networkAccess;
|
---|
| 100 | }
|
---|
| 101 | public function getNetworkAccess()
|
---|
| 102 | {
|
---|
| 103 | return $this->networkAccess;
|
---|
| 104 | }
|
---|
| 105 | public function setReserved($reserved)
|
---|
| 106 | {
|
---|
| 107 | $this->reserved = $reserved;
|
---|
| 108 | }
|
---|
| 109 | public function getReserved()
|
---|
| 110 | {
|
---|
| 111 | return $this->reserved;
|
---|
| 112 | }
|
---|
| 113 | public function setSoleTenantNodeType($soleTenantNodeType)
|
---|
| 114 | {
|
---|
| 115 | $this->soleTenantNodeType = $soleTenantNodeType;
|
---|
| 116 | }
|
---|
| 117 | public function getSoleTenantNodeType()
|
---|
| 118 | {
|
---|
| 119 | return $this->soleTenantNodeType;
|
---|
| 120 | }
|
---|
| 121 | public function setVmImage($vmImage)
|
---|
| 122 | {
|
---|
| 123 | $this->vmImage = $vmImage;
|
---|
| 124 | }
|
---|
| 125 | public function getVmImage()
|
---|
| 126 | {
|
---|
| 127 | return $this->vmImage;
|
---|
| 128 | }
|
---|
| 129 | }
|
---|
| 130 |
|
---|
| 131 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 132 | class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig');
|
---|