[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\ContainerAnalysis;
|
---|
| 19 |
|
---|
| 20 | class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'volumes';
|
---|
| 23 | /**
|
---|
| 24 | * @var bool
|
---|
| 25 | */
|
---|
| 26 | public $automapSubstitutions;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $defaultLogsBucketBehavior;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $diskSizeGb;
|
---|
| 35 | /**
|
---|
| 36 | * @var bool
|
---|
| 37 | */
|
---|
| 38 | public $dynamicSubstitutions;
|
---|
| 39 | /**
|
---|
| 40 | * @var string[]
|
---|
| 41 | */
|
---|
| 42 | public $env;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $logStreamingOption;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $logging;
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $machineType;
|
---|
| 55 | protected $poolType = ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption::class;
|
---|
| 56 | protected $poolDataType = '';
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $requestedVerifyOption;
|
---|
| 61 | /**
|
---|
| 62 | * @var string[]
|
---|
| 63 | */
|
---|
| 64 | public $secretEnv;
|
---|
| 65 | /**
|
---|
| 66 | * @var string[]
|
---|
| 67 | */
|
---|
| 68 | public $sourceProvenanceHash;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $substitutionOption;
|
---|
| 73 | protected $volumesType = ContaineranalysisGoogleDevtoolsCloudbuildV1Volume::class;
|
---|
| 74 | protected $volumesDataType = 'array';
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $workerPool;
|
---|
| 79 |
|
---|
| 80 | /**
|
---|
| 81 | * @param bool
|
---|
| 82 | */
|
---|
| 83 | public function setAutomapSubstitutions($automapSubstitutions)
|
---|
| 84 | {
|
---|
| 85 | $this->automapSubstitutions = $automapSubstitutions;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return bool
|
---|
| 89 | */
|
---|
| 90 | public function getAutomapSubstitutions()
|
---|
| 91 | {
|
---|
| 92 | return $this->automapSubstitutions;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param string
|
---|
| 96 | */
|
---|
| 97 | public function setDefaultLogsBucketBehavior($defaultLogsBucketBehavior)
|
---|
| 98 | {
|
---|
| 99 | $this->defaultLogsBucketBehavior = $defaultLogsBucketBehavior;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return string
|
---|
| 103 | */
|
---|
| 104 | public function getDefaultLogsBucketBehavior()
|
---|
| 105 | {
|
---|
| 106 | return $this->defaultLogsBucketBehavior;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param string
|
---|
| 110 | */
|
---|
| 111 | public function setDiskSizeGb($diskSizeGb)
|
---|
| 112 | {
|
---|
| 113 | $this->diskSizeGb = $diskSizeGb;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return string
|
---|
| 117 | */
|
---|
| 118 | public function getDiskSizeGb()
|
---|
| 119 | {
|
---|
| 120 | return $this->diskSizeGb;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param bool
|
---|
| 124 | */
|
---|
| 125 | public function setDynamicSubstitutions($dynamicSubstitutions)
|
---|
| 126 | {
|
---|
| 127 | $this->dynamicSubstitutions = $dynamicSubstitutions;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return bool
|
---|
| 131 | */
|
---|
| 132 | public function getDynamicSubstitutions()
|
---|
| 133 | {
|
---|
| 134 | return $this->dynamicSubstitutions;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param string[]
|
---|
| 138 | */
|
---|
| 139 | public function setEnv($env)
|
---|
| 140 | {
|
---|
| 141 | $this->env = $env;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return string[]
|
---|
| 145 | */
|
---|
| 146 | public function getEnv()
|
---|
| 147 | {
|
---|
| 148 | return $this->env;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param string
|
---|
| 152 | */
|
---|
| 153 | public function setLogStreamingOption($logStreamingOption)
|
---|
| 154 | {
|
---|
| 155 | $this->logStreamingOption = $logStreamingOption;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return string
|
---|
| 159 | */
|
---|
| 160 | public function getLogStreamingOption()
|
---|
| 161 | {
|
---|
| 162 | return $this->logStreamingOption;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param string
|
---|
| 166 | */
|
---|
| 167 | public function setLogging($logging)
|
---|
| 168 | {
|
---|
| 169 | $this->logging = $logging;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return string
|
---|
| 173 | */
|
---|
| 174 | public function getLogging()
|
---|
| 175 | {
|
---|
| 176 | return $this->logging;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param string
|
---|
| 180 | */
|
---|
| 181 | public function setMachineType($machineType)
|
---|
| 182 | {
|
---|
| 183 | $this->machineType = $machineType;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return string
|
---|
| 187 | */
|
---|
| 188 | public function getMachineType()
|
---|
| 189 | {
|
---|
| 190 | return $this->machineType;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption
|
---|
| 194 | */
|
---|
| 195 | public function setPool(ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption $pool)
|
---|
| 196 | {
|
---|
| 197 | $this->pool = $pool;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption
|
---|
| 201 | */
|
---|
| 202 | public function getPool()
|
---|
| 203 | {
|
---|
| 204 | return $this->pool;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param string
|
---|
| 208 | */
|
---|
| 209 | public function setRequestedVerifyOption($requestedVerifyOption)
|
---|
| 210 | {
|
---|
| 211 | $this->requestedVerifyOption = $requestedVerifyOption;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return string
|
---|
| 215 | */
|
---|
| 216 | public function getRequestedVerifyOption()
|
---|
| 217 | {
|
---|
| 218 | return $this->requestedVerifyOption;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param string[]
|
---|
| 222 | */
|
---|
| 223 | public function setSecretEnv($secretEnv)
|
---|
| 224 | {
|
---|
| 225 | $this->secretEnv = $secretEnv;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return string[]
|
---|
| 229 | */
|
---|
| 230 | public function getSecretEnv()
|
---|
| 231 | {
|
---|
| 232 | return $this->secretEnv;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param string[]
|
---|
| 236 | */
|
---|
| 237 | public function setSourceProvenanceHash($sourceProvenanceHash)
|
---|
| 238 | {
|
---|
| 239 | $this->sourceProvenanceHash = $sourceProvenanceHash;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return string[]
|
---|
| 243 | */
|
---|
| 244 | public function getSourceProvenanceHash()
|
---|
| 245 | {
|
---|
| 246 | return $this->sourceProvenanceHash;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @param string
|
---|
| 250 | */
|
---|
| 251 | public function setSubstitutionOption($substitutionOption)
|
---|
| 252 | {
|
---|
| 253 | $this->substitutionOption = $substitutionOption;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @return string
|
---|
| 257 | */
|
---|
| 258 | public function getSubstitutionOption()
|
---|
| 259 | {
|
---|
| 260 | return $this->substitutionOption;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @param ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[]
|
---|
| 264 | */
|
---|
| 265 | public function setVolumes($volumes)
|
---|
| 266 | {
|
---|
| 267 | $this->volumes = $volumes;
|
---|
| 268 | }
|
---|
| 269 | /**
|
---|
| 270 | * @return ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[]
|
---|
| 271 | */
|
---|
| 272 | public function getVolumes()
|
---|
| 273 | {
|
---|
| 274 | return $this->volumes;
|
---|
| 275 | }
|
---|
| 276 | /**
|
---|
| 277 | * @param string
|
---|
| 278 | */
|
---|
| 279 | public function setWorkerPool($workerPool)
|
---|
| 280 | {
|
---|
| 281 | $this->workerPool = $workerPool;
|
---|
| 282 | }
|
---|
| 283 | /**
|
---|
| 284 | * @return string
|
---|
| 285 | */
|
---|
| 286 | public function getWorkerPool()
|
---|
| 287 | {
|
---|
| 288 | return $this->workerPool;
|
---|
| 289 | }
|
---|
| 290 | }
|
---|
| 291 |
|
---|
| 292 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 293 | class_alias(ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions::class, 'Google_Service_ContainerAnalysis_ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions');
|
---|