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\Appengine;
|
---|
19 |
|
---|
20 | class Application extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'dispatchRules';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $authDomain;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $codeBucket;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $databaseType;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $defaultBucket;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $defaultCookieExpiration;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $defaultHostname;
|
---|
47 | protected $dispatchRulesType = UrlDispatchRule::class;
|
---|
48 | protected $dispatchRulesDataType = 'array';
|
---|
49 | protected $featureSettingsType = FeatureSettings::class;
|
---|
50 | protected $featureSettingsDataType = '';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $gcrDomain;
|
---|
55 | /**
|
---|
56 | * @var array[]
|
---|
57 | */
|
---|
58 | public $generatedCustomerMetadata;
|
---|
59 | protected $iapType = IdentityAwareProxy::class;
|
---|
60 | protected $iapDataType = '';
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $id;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $locationId;
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $name;
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $serviceAccount;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $servingStatus;
|
---|
81 |
|
---|
82 | /**
|
---|
83 | * @param string
|
---|
84 | */
|
---|
85 | public function setAuthDomain($authDomain)
|
---|
86 | {
|
---|
87 | $this->authDomain = $authDomain;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return string
|
---|
91 | */
|
---|
92 | public function getAuthDomain()
|
---|
93 | {
|
---|
94 | return $this->authDomain;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param string
|
---|
98 | */
|
---|
99 | public function setCodeBucket($codeBucket)
|
---|
100 | {
|
---|
101 | $this->codeBucket = $codeBucket;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return string
|
---|
105 | */
|
---|
106 | public function getCodeBucket()
|
---|
107 | {
|
---|
108 | return $this->codeBucket;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @param string
|
---|
112 | */
|
---|
113 | public function setDatabaseType($databaseType)
|
---|
114 | {
|
---|
115 | $this->databaseType = $databaseType;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @return string
|
---|
119 | */
|
---|
120 | public function getDatabaseType()
|
---|
121 | {
|
---|
122 | return $this->databaseType;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @param string
|
---|
126 | */
|
---|
127 | public function setDefaultBucket($defaultBucket)
|
---|
128 | {
|
---|
129 | $this->defaultBucket = $defaultBucket;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @return string
|
---|
133 | */
|
---|
134 | public function getDefaultBucket()
|
---|
135 | {
|
---|
136 | return $this->defaultBucket;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @param string
|
---|
140 | */
|
---|
141 | public function setDefaultCookieExpiration($defaultCookieExpiration)
|
---|
142 | {
|
---|
143 | $this->defaultCookieExpiration = $defaultCookieExpiration;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @return string
|
---|
147 | */
|
---|
148 | public function getDefaultCookieExpiration()
|
---|
149 | {
|
---|
150 | return $this->defaultCookieExpiration;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @param string
|
---|
154 | */
|
---|
155 | public function setDefaultHostname($defaultHostname)
|
---|
156 | {
|
---|
157 | $this->defaultHostname = $defaultHostname;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @return string
|
---|
161 | */
|
---|
162 | public function getDefaultHostname()
|
---|
163 | {
|
---|
164 | return $this->defaultHostname;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @param UrlDispatchRule[]
|
---|
168 | */
|
---|
169 | public function setDispatchRules($dispatchRules)
|
---|
170 | {
|
---|
171 | $this->dispatchRules = $dispatchRules;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @return UrlDispatchRule[]
|
---|
175 | */
|
---|
176 | public function getDispatchRules()
|
---|
177 | {
|
---|
178 | return $this->dispatchRules;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @param FeatureSettings
|
---|
182 | */
|
---|
183 | public function setFeatureSettings(FeatureSettings $featureSettings)
|
---|
184 | {
|
---|
185 | $this->featureSettings = $featureSettings;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @return FeatureSettings
|
---|
189 | */
|
---|
190 | public function getFeatureSettings()
|
---|
191 | {
|
---|
192 | return $this->featureSettings;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @param string
|
---|
196 | */
|
---|
197 | public function setGcrDomain($gcrDomain)
|
---|
198 | {
|
---|
199 | $this->gcrDomain = $gcrDomain;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @return string
|
---|
203 | */
|
---|
204 | public function getGcrDomain()
|
---|
205 | {
|
---|
206 | return $this->gcrDomain;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @param array[]
|
---|
210 | */
|
---|
211 | public function setGeneratedCustomerMetadata($generatedCustomerMetadata)
|
---|
212 | {
|
---|
213 | $this->generatedCustomerMetadata = $generatedCustomerMetadata;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @return array[]
|
---|
217 | */
|
---|
218 | public function getGeneratedCustomerMetadata()
|
---|
219 | {
|
---|
220 | return $this->generatedCustomerMetadata;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @param IdentityAwareProxy
|
---|
224 | */
|
---|
225 | public function setIap(IdentityAwareProxy $iap)
|
---|
226 | {
|
---|
227 | $this->iap = $iap;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @return IdentityAwareProxy
|
---|
231 | */
|
---|
232 | public function getIap()
|
---|
233 | {
|
---|
234 | return $this->iap;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @param string
|
---|
238 | */
|
---|
239 | public function setId($id)
|
---|
240 | {
|
---|
241 | $this->id = $id;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @return string
|
---|
245 | */
|
---|
246 | public function getId()
|
---|
247 | {
|
---|
248 | return $this->id;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @param string
|
---|
252 | */
|
---|
253 | public function setLocationId($locationId)
|
---|
254 | {
|
---|
255 | $this->locationId = $locationId;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @return string
|
---|
259 | */
|
---|
260 | public function getLocationId()
|
---|
261 | {
|
---|
262 | return $this->locationId;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @param string
|
---|
266 | */
|
---|
267 | public function setName($name)
|
---|
268 | {
|
---|
269 | $this->name = $name;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @return string
|
---|
273 | */
|
---|
274 | public function getName()
|
---|
275 | {
|
---|
276 | return $this->name;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @param string
|
---|
280 | */
|
---|
281 | public function setServiceAccount($serviceAccount)
|
---|
282 | {
|
---|
283 | $this->serviceAccount = $serviceAccount;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @return string
|
---|
287 | */
|
---|
288 | public function getServiceAccount()
|
---|
289 | {
|
---|
290 | return $this->serviceAccount;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @param string
|
---|
294 | */
|
---|
295 | public function setServingStatus($servingStatus)
|
---|
296 | {
|
---|
297 | $this->servingStatus = $servingStatus;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @return string
|
---|
301 | */
|
---|
302 | public function getServingStatus()
|
---|
303 | {
|
---|
304 | return $this->servingStatus;
|
---|
305 | }
|
---|
306 | }
|
---|
307 |
|
---|
308 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
309 | class_alias(Application::class, 'Google_Service_Appengine_Application');
|
---|