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\AIPlatformNotebooks; 19 20class ExecutionTemplate extends \Google\Model 21{ 22 protected $acceleratorConfigType = SchedulerAcceleratorConfig::class; 23 protected $acceleratorConfigDataType = ''; 24 /** 25 * @var string 26 */ 27 public $containerImageUri; 28 protected $dataprocParametersType = DataprocParameters::class; 29 protected $dataprocParametersDataType = ''; 30 /** 31 * @var string 32 */ 33 public $inputNotebookFile; 34 /** 35 * @var string 36 */ 37 public $jobType; 38 /** 39 * @var string 40 */ 41 public $kernelSpec; 42 /** 43 * @var string[] 44 */ 45 public $labels; 46 /** 47 * @var string 48 */ 49 public $masterType; 50 /** 51 * @var string 52 */ 53 public $outputNotebookFolder; 54 /** 55 * @var string 56 */ 57 public $parameters; 58 /** 59 * @var string 60 */ 61 public $paramsYamlFile; 62 /** 63 * @var string 64 */ 65 public $scaleTier; 66 /** 67 * @var string 68 */ 69 public $serviceAccount; 70 /** 71 * @var string 72 */ 73 public $tensorboard; 74 protected $vertexAiParametersType = VertexAIParameters::class; 75 protected $vertexAiParametersDataType = ''; 76 77 /** 78 * @param SchedulerAcceleratorConfig 79 */ 80 public function setAcceleratorConfig(SchedulerAcceleratorConfig $acceleratorConfig) 81 { 82 $this->acceleratorConfig = $acceleratorConfig; 83 } 84 /** 85 * @return SchedulerAcceleratorConfig 86 */ 87 public function getAcceleratorConfig() 88 { 89 return $this->acceleratorConfig; 90 } 91 /** 92 * @param string 93 */ 94 public function setContainerImageUri($containerImageUri) 95 { 96 $this->containerImageUri = $containerImageUri; 97 } 98 /** 99 * @return string 100 */ 101 public function getContainerImageUri() 102 { 103 return $this->containerImageUri; 104 } 105 /** 106 * @param DataprocParameters 107 */ 108 public function setDataprocParameters(DataprocParameters $dataprocParameters) 109 { 110 $this->dataprocParameters = $dataprocParameters; 111 } 112 /** 113 * @return DataprocParameters 114 */ 115 public function getDataprocParameters() 116 { 117 return $this->dataprocParameters; 118 } 119 /** 120 * @param string 121 */ 122 public function setInputNotebookFile($inputNotebookFile) 123 { 124 $this->inputNotebookFile = $inputNotebookFile; 125 } 126 /** 127 * @return string 128 */ 129 public function getInputNotebookFile() 130 { 131 return $this->inputNotebookFile; 132 } 133 /** 134 * @param string 135 */ 136 public function setJobType($jobType) 137 { 138 $this->jobType = $jobType; 139 } 140 /** 141 * @return string 142 */ 143 public function getJobType() 144 { 145 return $this->jobType; 146 } 147 /** 148 * @param string 149 */ 150 public function setKernelSpec($kernelSpec) 151 { 152 $this->kernelSpec = $kernelSpec; 153 } 154 /** 155 * @return string 156 */ 157 public function getKernelSpec() 158 { 159 return $this->kernelSpec; 160 } 161 /** 162 * @param string[] 163 */ 164 public function setLabels($labels) 165 { 166 $this->labels = $labels; 167 } 168 /** 169 * @return string[] 170 */ 171 public function getLabels() 172 { 173 return $this->labels; 174 } 175 /** 176 * @param string 177 */ 178 public function setMasterType($masterType) 179 { 180 $this->masterType = $masterType; 181 } 182 /** 183 * @return string 184 */ 185 public function getMasterType() 186 { 187 return $this->masterType; 188 } 189 /** 190 * @param string 191 */ 192 public function setOutputNotebookFolder($outputNotebookFolder) 193 { 194 $this->outputNotebookFolder = $outputNotebookFolder; 195 } 196 /** 197 * @return string 198 */ 199 public function getOutputNotebookFolder() 200 { 201 return $this->outputNotebookFolder; 202 } 203 /** 204 * @param string 205 */ 206 public function setParameters($parameters) 207 { 208 $this->parameters = $parameters; 209 } 210 /** 211 * @return string 212 */ 213 public function getParameters() 214 { 215 return $this->parameters; 216 } 217 /** 218 * @param string 219 */ 220 public function setParamsYamlFile($paramsYamlFile) 221 { 222 $this->paramsYamlFile = $paramsYamlFile; 223 } 224 /** 225 * @return string 226 */ 227 public function getParamsYamlFile() 228 { 229 return $this->paramsYamlFile; 230 } 231 /** 232 * @param string 233 */ 234 public function setScaleTier($scaleTier) 235 { 236 $this->scaleTier = $scaleTier; 237 } 238 /** 239 * @return string 240 */ 241 public function getScaleTier() 242 { 243 return $this->scaleTier; 244 } 245 /** 246 * @param string 247 */ 248 public function setServiceAccount($serviceAccount) 249 { 250 $this->serviceAccount = $serviceAccount; 251 } 252 /** 253 * @return string 254 */ 255 public function getServiceAccount() 256 { 257 return $this->serviceAccount; 258 } 259 /** 260 * @param string 261 */ 262 public function setTensorboard($tensorboard) 263 { 264 $this->tensorboard = $tensorboard; 265 } 266 /** 267 * @return string 268 */ 269 public function getTensorboard() 270 { 271 return $this->tensorboard; 272 } 273 /** 274 * @param VertexAIParameters 275 */ 276 public function setVertexAiParameters(VertexAIParameters $vertexAiParameters) 277 { 278 $this->vertexAiParameters = $vertexAiParameters; 279 } 280 /** 281 * @return VertexAIParameters 282 */ 283 public function getVertexAiParameters() 284 { 285 return $this->vertexAiParameters; 286 } 287} 288 289// Adding a class alias for backwards compatibility with the previous class name. 290class_alias(ExecutionTemplate::class, 'Google_Service_AIPlatformNotebooks_ExecutionTemplate'); 291