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\Genomics; 19 20class Action extends \Google\Collection 21{ 22 protected $collection_key = 'mounts'; 23 /** 24 * @var string[] 25 */ 26 public $commands; 27 protected $credentialsType = Secret::class; 28 protected $credentialsDataType = ''; 29 protected $encryptedEnvironmentType = Secret::class; 30 protected $encryptedEnvironmentDataType = ''; 31 /** 32 * @var string 33 */ 34 public $entrypoint; 35 /** 36 * @var string[] 37 */ 38 public $environment; 39 /** 40 * @var string[] 41 */ 42 public $flags; 43 /** 44 * @var string 45 */ 46 public $imageUri; 47 /** 48 * @var string[] 49 */ 50 public $labels; 51 protected $mountsType = Mount::class; 52 protected $mountsDataType = 'array'; 53 /** 54 * @var string 55 */ 56 public $name; 57 /** 58 * @var string 59 */ 60 public $pidNamespace; 61 /** 62 * @var int[] 63 */ 64 public $portMappings; 65 /** 66 * @var string 67 */ 68 public $timeout; 69 70 /** 71 * @param string[] 72 */ 73 public function setCommands($commands) 74 { 75 $this->commands = $commands; 76 } 77 /** 78 * @return string[] 79 */ 80 public function getCommands() 81 { 82 return $this->commands; 83 } 84 /** 85 * @param Secret 86 */ 87 public function setCredentials(Secret $credentials) 88 { 89 $this->credentials = $credentials; 90 } 91 /** 92 * @return Secret 93 */ 94 public function getCredentials() 95 { 96 return $this->credentials; 97 } 98 /** 99 * @param Secret 100 */ 101 public function setEncryptedEnvironment(Secret $encryptedEnvironment) 102 { 103 $this->encryptedEnvironment = $encryptedEnvironment; 104 } 105 /** 106 * @return Secret 107 */ 108 public function getEncryptedEnvironment() 109 { 110 return $this->encryptedEnvironment; 111 } 112 /** 113 * @param string 114 */ 115 public function setEntrypoint($entrypoint) 116 { 117 $this->entrypoint = $entrypoint; 118 } 119 /** 120 * @return string 121 */ 122 public function getEntrypoint() 123 { 124 return $this->entrypoint; 125 } 126 /** 127 * @param string[] 128 */ 129 public function setEnvironment($environment) 130 { 131 $this->environment = $environment; 132 } 133 /** 134 * @return string[] 135 */ 136 public function getEnvironment() 137 { 138 return $this->environment; 139 } 140 /** 141 * @param string[] 142 */ 143 public function setFlags($flags) 144 { 145 $this->flags = $flags; 146 } 147 /** 148 * @return string[] 149 */ 150 public function getFlags() 151 { 152 return $this->flags; 153 } 154 /** 155 * @param string 156 */ 157 public function setImageUri($imageUri) 158 { 159 $this->imageUri = $imageUri; 160 } 161 /** 162 * @return string 163 */ 164 public function getImageUri() 165 { 166 return $this->imageUri; 167 } 168 /** 169 * @param string[] 170 */ 171 public function setLabels($labels) 172 { 173 $this->labels = $labels; 174 } 175 /** 176 * @return string[] 177 */ 178 public function getLabels() 179 { 180 return $this->labels; 181 } 182 /** 183 * @param Mount[] 184 */ 185 public function setMounts($mounts) 186 { 187 $this->mounts = $mounts; 188 } 189 /** 190 * @return Mount[] 191 */ 192 public function getMounts() 193 { 194 return $this->mounts; 195 } 196 /** 197 * @param string 198 */ 199 public function setName($name) 200 { 201 $this->name = $name; 202 } 203 /** 204 * @return string 205 */ 206 public function getName() 207 { 208 return $this->name; 209 } 210 /** 211 * @param string 212 */ 213 public function setPidNamespace($pidNamespace) 214 { 215 $this->pidNamespace = $pidNamespace; 216 } 217 /** 218 * @return string 219 */ 220 public function getPidNamespace() 221 { 222 return $this->pidNamespace; 223 } 224 /** 225 * @param int[] 226 */ 227 public function setPortMappings($portMappings) 228 { 229 $this->portMappings = $portMappings; 230 } 231 /** 232 * @return int[] 233 */ 234 public function getPortMappings() 235 { 236 return $this->portMappings; 237 } 238 /** 239 * @param string 240 */ 241 public function setTimeout($timeout) 242 { 243 $this->timeout = $timeout; 244 } 245 /** 246 * @return string 247 */ 248 public function getTimeout() 249 { 250 return $this->timeout; 251 } 252} 253 254// Adding a class alias for backwards compatibility with the previous class name. 255class_alias(Action::class, 'Google_Service_Genomics_Action'); 256