source: vendor/google/apiclient-services/src/CloudFunctions/ServiceConfig.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.0 KB
Line 
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\CloudFunctions;
19
20class ServiceConfig extends \Google\Collection
21{
22 protected $collection_key = 'secretVolumes';
23 /**
24 * @var bool
25 */
26 public $allTrafficOnLatestRevision;
27 /**
28 * @var string
29 */
30 public $availableCpu;
31 /**
32 * @var string
33 */
34 public $availableMemory;
35 /**
36 * @var string
37 */
38 public $binaryAuthorizationPolicy;
39 /**
40 * @var string[]
41 */
42 public $environmentVariables;
43 /**
44 * @var string
45 */
46 public $ingressSettings;
47 /**
48 * @var int
49 */
50 public $maxInstanceCount;
51 /**
52 * @var int
53 */
54 public $maxInstanceRequestConcurrency;
55 /**
56 * @var int
57 */
58 public $minInstanceCount;
59 /**
60 * @var string
61 */
62 public $revision;
63 protected $secretEnvironmentVariablesType = SecretEnvVar::class;
64 protected $secretEnvironmentVariablesDataType = 'array';
65 protected $secretVolumesType = SecretVolume::class;
66 protected $secretVolumesDataType = 'array';
67 /**
68 * @var string
69 */
70 public $securityLevel;
71 /**
72 * @var string
73 */
74 public $service;
75 /**
76 * @var string
77 */
78 public $serviceAccountEmail;
79 /**
80 * @var int
81 */
82 public $timeoutSeconds;
83 /**
84 * @var string
85 */
86 public $uri;
87 /**
88 * @var string
89 */
90 public $vpcConnector;
91 /**
92 * @var string
93 */
94 public $vpcConnectorEgressSettings;
95
96 /**
97 * @param bool
98 */
99 public function setAllTrafficOnLatestRevision($allTrafficOnLatestRevision)
100 {
101 $this->allTrafficOnLatestRevision = $allTrafficOnLatestRevision;
102 }
103 /**
104 * @return bool
105 */
106 public function getAllTrafficOnLatestRevision()
107 {
108 return $this->allTrafficOnLatestRevision;
109 }
110 /**
111 * @param string
112 */
113 public function setAvailableCpu($availableCpu)
114 {
115 $this->availableCpu = $availableCpu;
116 }
117 /**
118 * @return string
119 */
120 public function getAvailableCpu()
121 {
122 return $this->availableCpu;
123 }
124 /**
125 * @param string
126 */
127 public function setAvailableMemory($availableMemory)
128 {
129 $this->availableMemory = $availableMemory;
130 }
131 /**
132 * @return string
133 */
134 public function getAvailableMemory()
135 {
136 return $this->availableMemory;
137 }
138 /**
139 * @param string
140 */
141 public function setBinaryAuthorizationPolicy($binaryAuthorizationPolicy)
142 {
143 $this->binaryAuthorizationPolicy = $binaryAuthorizationPolicy;
144 }
145 /**
146 * @return string
147 */
148 public function getBinaryAuthorizationPolicy()
149 {
150 return $this->binaryAuthorizationPolicy;
151 }
152 /**
153 * @param string[]
154 */
155 public function setEnvironmentVariables($environmentVariables)
156 {
157 $this->environmentVariables = $environmentVariables;
158 }
159 /**
160 * @return string[]
161 */
162 public function getEnvironmentVariables()
163 {
164 return $this->environmentVariables;
165 }
166 /**
167 * @param string
168 */
169 public function setIngressSettings($ingressSettings)
170 {
171 $this->ingressSettings = $ingressSettings;
172 }
173 /**
174 * @return string
175 */
176 public function getIngressSettings()
177 {
178 return $this->ingressSettings;
179 }
180 /**
181 * @param int
182 */
183 public function setMaxInstanceCount($maxInstanceCount)
184 {
185 $this->maxInstanceCount = $maxInstanceCount;
186 }
187 /**
188 * @return int
189 */
190 public function getMaxInstanceCount()
191 {
192 return $this->maxInstanceCount;
193 }
194 /**
195 * @param int
196 */
197 public function setMaxInstanceRequestConcurrency($maxInstanceRequestConcurrency)
198 {
199 $this->maxInstanceRequestConcurrency = $maxInstanceRequestConcurrency;
200 }
201 /**
202 * @return int
203 */
204 public function getMaxInstanceRequestConcurrency()
205 {
206 return $this->maxInstanceRequestConcurrency;
207 }
208 /**
209 * @param int
210 */
211 public function setMinInstanceCount($minInstanceCount)
212 {
213 $this->minInstanceCount = $minInstanceCount;
214 }
215 /**
216 * @return int
217 */
218 public function getMinInstanceCount()
219 {
220 return $this->minInstanceCount;
221 }
222 /**
223 * @param string
224 */
225 public function setRevision($revision)
226 {
227 $this->revision = $revision;
228 }
229 /**
230 * @return string
231 */
232 public function getRevision()
233 {
234 return $this->revision;
235 }
236 /**
237 * @param SecretEnvVar[]
238 */
239 public function setSecretEnvironmentVariables($secretEnvironmentVariables)
240 {
241 $this->secretEnvironmentVariables = $secretEnvironmentVariables;
242 }
243 /**
244 * @return SecretEnvVar[]
245 */
246 public function getSecretEnvironmentVariables()
247 {
248 return $this->secretEnvironmentVariables;
249 }
250 /**
251 * @param SecretVolume[]
252 */
253 public function setSecretVolumes($secretVolumes)
254 {
255 $this->secretVolumes = $secretVolumes;
256 }
257 /**
258 * @return SecretVolume[]
259 */
260 public function getSecretVolumes()
261 {
262 return $this->secretVolumes;
263 }
264 /**
265 * @param string
266 */
267 public function setSecurityLevel($securityLevel)
268 {
269 $this->securityLevel = $securityLevel;
270 }
271 /**
272 * @return string
273 */
274 public function getSecurityLevel()
275 {
276 return $this->securityLevel;
277 }
278 /**
279 * @param string
280 */
281 public function setService($service)
282 {
283 $this->service = $service;
284 }
285 /**
286 * @return string
287 */
288 public function getService()
289 {
290 return $this->service;
291 }
292 /**
293 * @param string
294 */
295 public function setServiceAccountEmail($serviceAccountEmail)
296 {
297 $this->serviceAccountEmail = $serviceAccountEmail;
298 }
299 /**
300 * @return string
301 */
302 public function getServiceAccountEmail()
303 {
304 return $this->serviceAccountEmail;
305 }
306 /**
307 * @param int
308 */
309 public function setTimeoutSeconds($timeoutSeconds)
310 {
311 $this->timeoutSeconds = $timeoutSeconds;
312 }
313 /**
314 * @return int
315 */
316 public function getTimeoutSeconds()
317 {
318 return $this->timeoutSeconds;
319 }
320 /**
321 * @param string
322 */
323 public function setUri($uri)
324 {
325 $this->uri = $uri;
326 }
327 /**
328 * @return string
329 */
330 public function getUri()
331 {
332 return $this->uri;
333 }
334 /**
335 * @param string
336 */
337 public function setVpcConnector($vpcConnector)
338 {
339 $this->vpcConnector = $vpcConnector;
340 }
341 /**
342 * @return string
343 */
344 public function getVpcConnector()
345 {
346 return $this->vpcConnector;
347 }
348 /**
349 * @param string
350 */
351 public function setVpcConnectorEgressSettings($vpcConnectorEgressSettings)
352 {
353 $this->vpcConnectorEgressSettings = $vpcConnectorEgressSettings;
354 }
355 /**
356 * @return string
357 */
358 public function getVpcConnectorEgressSettings()
359 {
360 return $this->vpcConnectorEgressSettings;
361 }
362}
363
364// Adding a class alias for backwards compatibility with the previous class name.
365class_alias(ServiceConfig::class, 'Google_Service_CloudFunctions_ServiceConfig');
Note: See TracBrowser for help on using the repository browser.