source: vendor/google/apiclient-services/src/CloudFunctions/BuildConfig.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 4.9 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 BuildConfig extends \Google\Model
21{
22 protected $automaticUpdatePolicyType = AutomaticUpdatePolicy::class;
23 protected $automaticUpdatePolicyDataType = '';
24 /**
25 * @var string
26 */
27 public $build;
28 /**
29 * @var string
30 */
31 public $dockerRegistry;
32 /**
33 * @var string
34 */
35 public $dockerRepository;
36 /**
37 * @var string
38 */
39 public $entryPoint;
40 /**
41 * @var string[]
42 */
43 public $environmentVariables;
44 protected $onDeployUpdatePolicyType = OnDeployUpdatePolicy::class;
45 protected $onDeployUpdatePolicyDataType = '';
46 /**
47 * @var string
48 */
49 public $runtime;
50 /**
51 * @var string
52 */
53 public $serviceAccount;
54 protected $sourceType = Source::class;
55 protected $sourceDataType = '';
56 protected $sourceProvenanceType = SourceProvenance::class;
57 protected $sourceProvenanceDataType = '';
58 /**
59 * @var string
60 */
61 public $sourceToken;
62 /**
63 * @var string
64 */
65 public $workerPool;
66
67 /**
68 * @param AutomaticUpdatePolicy
69 */
70 public function setAutomaticUpdatePolicy(AutomaticUpdatePolicy $automaticUpdatePolicy)
71 {
72 $this->automaticUpdatePolicy = $automaticUpdatePolicy;
73 }
74 /**
75 * @return AutomaticUpdatePolicy
76 */
77 public function getAutomaticUpdatePolicy()
78 {
79 return $this->automaticUpdatePolicy;
80 }
81 /**
82 * @param string
83 */
84 public function setBuild($build)
85 {
86 $this->build = $build;
87 }
88 /**
89 * @return string
90 */
91 public function getBuild()
92 {
93 return $this->build;
94 }
95 /**
96 * @param string
97 */
98 public function setDockerRegistry($dockerRegistry)
99 {
100 $this->dockerRegistry = $dockerRegistry;
101 }
102 /**
103 * @return string
104 */
105 public function getDockerRegistry()
106 {
107 return $this->dockerRegistry;
108 }
109 /**
110 * @param string
111 */
112 public function setDockerRepository($dockerRepository)
113 {
114 $this->dockerRepository = $dockerRepository;
115 }
116 /**
117 * @return string
118 */
119 public function getDockerRepository()
120 {
121 return $this->dockerRepository;
122 }
123 /**
124 * @param string
125 */
126 public function setEntryPoint($entryPoint)
127 {
128 $this->entryPoint = $entryPoint;
129 }
130 /**
131 * @return string
132 */
133 public function getEntryPoint()
134 {
135 return $this->entryPoint;
136 }
137 /**
138 * @param string[]
139 */
140 public function setEnvironmentVariables($environmentVariables)
141 {
142 $this->environmentVariables = $environmentVariables;
143 }
144 /**
145 * @return string[]
146 */
147 public function getEnvironmentVariables()
148 {
149 return $this->environmentVariables;
150 }
151 /**
152 * @param OnDeployUpdatePolicy
153 */
154 public function setOnDeployUpdatePolicy(OnDeployUpdatePolicy $onDeployUpdatePolicy)
155 {
156 $this->onDeployUpdatePolicy = $onDeployUpdatePolicy;
157 }
158 /**
159 * @return OnDeployUpdatePolicy
160 */
161 public function getOnDeployUpdatePolicy()
162 {
163 return $this->onDeployUpdatePolicy;
164 }
165 /**
166 * @param string
167 */
168 public function setRuntime($runtime)
169 {
170 $this->runtime = $runtime;
171 }
172 /**
173 * @return string
174 */
175 public function getRuntime()
176 {
177 return $this->runtime;
178 }
179 /**
180 * @param string
181 */
182 public function setServiceAccount($serviceAccount)
183 {
184 $this->serviceAccount = $serviceAccount;
185 }
186 /**
187 * @return string
188 */
189 public function getServiceAccount()
190 {
191 return $this->serviceAccount;
192 }
193 /**
194 * @param Source
195 */
196 public function setSource(Source $source)
197 {
198 $this->source = $source;
199 }
200 /**
201 * @return Source
202 */
203 public function getSource()
204 {
205 return $this->source;
206 }
207 /**
208 * @param SourceProvenance
209 */
210 public function setSourceProvenance(SourceProvenance $sourceProvenance)
211 {
212 $this->sourceProvenance = $sourceProvenance;
213 }
214 /**
215 * @return SourceProvenance
216 */
217 public function getSourceProvenance()
218 {
219 return $this->sourceProvenance;
220 }
221 /**
222 * @param string
223 */
224 public function setSourceToken($sourceToken)
225 {
226 $this->sourceToken = $sourceToken;
227 }
228 /**
229 * @return string
230 */
231 public function getSourceToken()
232 {
233 return $this->sourceToken;
234 }
235 /**
236 * @param string
237 */
238 public function setWorkerPool($workerPool)
239 {
240 $this->workerPool = $workerPool;
241 }
242 /**
243 * @return string
244 */
245 public function getWorkerPool()
246 {
247 return $this->workerPool;
248 }
249}
250
251// Adding a class alias for backwards compatibility with the previous class name.
252class_alias(BuildConfig::class, 'Google_Service_CloudFunctions_BuildConfig');
Note: See TracBrowser for help on using the repository browser.