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\RemoteBuildExecution; 19 20class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy extends \Google\Model 21{ 22 protected $containerImageSourcesType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 23 protected $containerImageSourcesDataType = ''; 24 protected $dockerAddCapabilitiesType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 25 protected $dockerAddCapabilitiesDataType = ''; 26 protected $dockerChrootPathType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 27 protected $dockerChrootPathDataType = ''; 28 protected $dockerNetworkType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 29 protected $dockerNetworkDataType = ''; 30 protected $dockerPrivilegedType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 31 protected $dockerPrivilegedDataType = ''; 32 protected $dockerRunAsRootType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 33 protected $dockerRunAsRootDataType = ''; 34 protected $dockerRuntimeType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 35 protected $dockerRuntimeDataType = ''; 36 protected $dockerSiblingContainersType = GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature::class; 37 protected $dockerSiblingContainersDataType = ''; 38 public $linuxIsolation; 39 40 /** 41 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 42 */ 43 public function setContainerImageSources(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $containerImageSources) 44 { 45 $this->containerImageSources = $containerImageSources; 46 } 47 /** 48 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 49 */ 50 public function getContainerImageSources() 51 { 52 return $this->containerImageSources; 53 } 54 /** 55 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 56 */ 57 public function setDockerAddCapabilities(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerAddCapabilities) 58 { 59 $this->dockerAddCapabilities = $dockerAddCapabilities; 60 } 61 /** 62 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 63 */ 64 public function getDockerAddCapabilities() 65 { 66 return $this->dockerAddCapabilities; 67 } 68 /** 69 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 70 */ 71 public function setDockerChrootPath(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerChrootPath) 72 { 73 $this->dockerChrootPath = $dockerChrootPath; 74 } 75 /** 76 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 77 */ 78 public function getDockerChrootPath() 79 { 80 return $this->dockerChrootPath; 81 } 82 /** 83 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 84 */ 85 public function setDockerNetwork(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerNetwork) 86 { 87 $this->dockerNetwork = $dockerNetwork; 88 } 89 /** 90 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 91 */ 92 public function getDockerNetwork() 93 { 94 return $this->dockerNetwork; 95 } 96 /** 97 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 98 */ 99 public function setDockerPrivileged(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerPrivileged) 100 { 101 $this->dockerPrivileged = $dockerPrivileged; 102 } 103 /** 104 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 105 */ 106 public function getDockerPrivileged() 107 { 108 return $this->dockerPrivileged; 109 } 110 /** 111 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 112 */ 113 public function setDockerRunAsRoot(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerRunAsRoot) 114 { 115 $this->dockerRunAsRoot = $dockerRunAsRoot; 116 } 117 /** 118 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 119 */ 120 public function getDockerRunAsRoot() 121 { 122 return $this->dockerRunAsRoot; 123 } 124 /** 125 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 126 */ 127 public function setDockerRuntime(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerRuntime) 128 { 129 $this->dockerRuntime = $dockerRuntime; 130 } 131 /** 132 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 133 */ 134 public function getDockerRuntime() 135 { 136 return $this->dockerRuntime; 137 } 138 /** 139 * @param GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 140 */ 141 public function setDockerSiblingContainers(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature $dockerSiblingContainers) 142 { 143 $this->dockerSiblingContainers = $dockerSiblingContainers; 144 } 145 /** 146 * @return GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature 147 */ 148 public function getDockerSiblingContainers() 149 { 150 return $this->dockerSiblingContainers; 151 } 152 public function setLinuxIsolation($linuxIsolation) 153 { 154 $this->linuxIsolation = $linuxIsolation; 155 } 156 public function getLinuxIsolation() 157 { 158 return $this->linuxIsolation; 159 } 160} 161 162// Adding a class alias for backwards compatibility with the previous class name. 163class_alias(GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy::class, 'Google_Service_RemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy'); 164