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\Apigee;
19 
20 class GoogleCloudApigeeV1EnvironmentConfig extends \Google\Collection
21 {
22   protected $collection_key = 'targets';
23   /**
24    * @var string
25    */
26   public $arcConfigLocation;
27   /**
28    * @var string
29    */
30   public $createTime;
31   protected $dataCollectorsType = GoogleCloudApigeeV1DataCollectorConfig::class;
32   protected $dataCollectorsDataType = 'array';
33   protected $debugMaskType = GoogleCloudApigeeV1DebugMask::class;
34   protected $debugMaskDataType = '';
35   protected $deploymentsType = GoogleCloudApigeeV1DeploymentConfig::class;
36   protected $deploymentsDataType = 'array';
37   /**
38    * @var string[]
39    */
40   public $featureFlags;
41   protected $flowhooksType = GoogleCloudApigeeV1FlowHookConfig::class;
42   protected $flowhooksDataType = 'array';
43   /**
44    * @var string
45    */
46   public $gatewayConfigLocation;
47   protected $keystoresType = GoogleCloudApigeeV1KeystoreConfig::class;
48   protected $keystoresDataType = 'array';
49   /**
50    * @var string
51    */
52   public $name;
53   /**
54    * @var string
55    */
56   public $provider;
57   /**
58    * @var string
59    */
60   public $pubsubTopic;
61   protected $resourceReferencesType = GoogleCloudApigeeV1ReferenceConfig::class;
62   protected $resourceReferencesDataType = 'array';
63   protected $resourcesType = GoogleCloudApigeeV1ResourceConfig::class;
64   protected $resourcesDataType = 'array';
65   /**
66    * @var string
67    */
68   public $revisionId;
69   /**
70    * @var string
71    */
72   public $sequenceNumber;
73   protected $targetsType = GoogleCloudApigeeV1TargetServerConfig::class;
74   protected $targetsDataType = 'array';
75   protected $traceConfigType = GoogleCloudApigeeV1RuntimeTraceConfig::class;
76   protected $traceConfigDataType = '';
77   /**
78    * @var string
79    */
80   public $uid;
81 
82   /**
83    * @param string
84    */
85   public function setArcConfigLocation($arcConfigLocation)
86   {
87     $this->arcConfigLocation = $arcConfigLocation;
88   }
89   /**
90    * @return string
91    */
92   public function getArcConfigLocation()
93   {
94     return $this->arcConfigLocation;
95   }
96   /**
97    * @param string
98    */
99   public function setCreateTime($createTime)
100   {
101     $this->createTime = $createTime;
102   }
103   /**
104    * @return string
105    */
106   public function getCreateTime()
107   {
108     return $this->createTime;
109   }
110   /**
111    * @param GoogleCloudApigeeV1DataCollectorConfig[]
112    */
113   public function setDataCollectors($dataCollectors)
114   {
115     $this->dataCollectors = $dataCollectors;
116   }
117   /**
118    * @return GoogleCloudApigeeV1DataCollectorConfig[]
119    */
120   public function getDataCollectors()
121   {
122     return $this->dataCollectors;
123   }
124   /**
125    * @param GoogleCloudApigeeV1DebugMask
126    */
127   public function setDebugMask(GoogleCloudApigeeV1DebugMask $debugMask)
128   {
129     $this->debugMask = $debugMask;
130   }
131   /**
132    * @return GoogleCloudApigeeV1DebugMask
133    */
134   public function getDebugMask()
135   {
136     return $this->debugMask;
137   }
138   /**
139    * @param GoogleCloudApigeeV1DeploymentConfig[]
140    */
141   public function setDeployments($deployments)
142   {
143     $this->deployments = $deployments;
144   }
145   /**
146    * @return GoogleCloudApigeeV1DeploymentConfig[]
147    */
148   public function getDeployments()
149   {
150     return $this->deployments;
151   }
152   /**
153    * @param string[]
154    */
155   public function setFeatureFlags($featureFlags)
156   {
157     $this->featureFlags = $featureFlags;
158   }
159   /**
160    * @return string[]
161    */
162   public function getFeatureFlags()
163   {
164     return $this->featureFlags;
165   }
166   /**
167    * @param GoogleCloudApigeeV1FlowHookConfig[]
168    */
169   public function setFlowhooks($flowhooks)
170   {
171     $this->flowhooks = $flowhooks;
172   }
173   /**
174    * @return GoogleCloudApigeeV1FlowHookConfig[]
175    */
176   public function getFlowhooks()
177   {
178     return $this->flowhooks;
179   }
180   /**
181    * @param string
182    */
183   public function setGatewayConfigLocation($gatewayConfigLocation)
184   {
185     $this->gatewayConfigLocation = $gatewayConfigLocation;
186   }
187   /**
188    * @return string
189    */
190   public function getGatewayConfigLocation()
191   {
192     return $this->gatewayConfigLocation;
193   }
194   /**
195    * @param GoogleCloudApigeeV1KeystoreConfig[]
196    */
197   public function setKeystores($keystores)
198   {
199     $this->keystores = $keystores;
200   }
201   /**
202    * @return GoogleCloudApigeeV1KeystoreConfig[]
203    */
204   public function getKeystores()
205   {
206     return $this->keystores;
207   }
208   /**
209    * @param string
210    */
211   public function setName($name)
212   {
213     $this->name = $name;
214   }
215   /**
216    * @return string
217    */
218   public function getName()
219   {
220     return $this->name;
221   }
222   /**
223    * @param string
224    */
225   public function setProvider($provider)
226   {
227     $this->provider = $provider;
228   }
229   /**
230    * @return string
231    */
232   public function getProvider()
233   {
234     return $this->provider;
235   }
236   /**
237    * @param string
238    */
239   public function setPubsubTopic($pubsubTopic)
240   {
241     $this->pubsubTopic = $pubsubTopic;
242   }
243   /**
244    * @return string
245    */
246   public function getPubsubTopic()
247   {
248     return $this->pubsubTopic;
249   }
250   /**
251    * @param GoogleCloudApigeeV1ReferenceConfig[]
252    */
253   public function setResourceReferences($resourceReferences)
254   {
255     $this->resourceReferences = $resourceReferences;
256   }
257   /**
258    * @return GoogleCloudApigeeV1ReferenceConfig[]
259    */
260   public function getResourceReferences()
261   {
262     return $this->resourceReferences;
263   }
264   /**
265    * @param GoogleCloudApigeeV1ResourceConfig[]
266    */
267   public function setResources($resources)
268   {
269     $this->resources = $resources;
270   }
271   /**
272    * @return GoogleCloudApigeeV1ResourceConfig[]
273    */
274   public function getResources()
275   {
276     return $this->resources;
277   }
278   /**
279    * @param string
280    */
281   public function setRevisionId($revisionId)
282   {
283     $this->revisionId = $revisionId;
284   }
285   /**
286    * @return string
287    */
288   public function getRevisionId()
289   {
290     return $this->revisionId;
291   }
292   /**
293    * @param string
294    */
295   public function setSequenceNumber($sequenceNumber)
296   {
297     $this->sequenceNumber = $sequenceNumber;
298   }
299   /**
300    * @return string
301    */
302   public function getSequenceNumber()
303   {
304     return $this->sequenceNumber;
305   }
306   /**
307    * @param GoogleCloudApigeeV1TargetServerConfig[]
308    */
309   public function setTargets($targets)
310   {
311     $this->targets = $targets;
312   }
313   /**
314    * @return GoogleCloudApigeeV1TargetServerConfig[]
315    */
316   public function getTargets()
317   {
318     return $this->targets;
319   }
320   /**
321    * @param GoogleCloudApigeeV1RuntimeTraceConfig
322    */
323   public function setTraceConfig(GoogleCloudApigeeV1RuntimeTraceConfig $traceConfig)
324   {
325     $this->traceConfig = $traceConfig;
326   }
327   /**
328    * @return GoogleCloudApigeeV1RuntimeTraceConfig
329    */
330   public function getTraceConfig()
331   {
332     return $this->traceConfig;
333   }
334   /**
335    * @param string
336    */
337   public function setUid($uid)
338   {
339     $this->uid = $uid;
340   }
341   /**
342    * @return string
343    */
344   public function getUid()
345   {
346     return $this->uid;
347   }
348 }
349 
350 // Adding a class alias for backwards compatibility with the previous class name.
351 class_alias(GoogleCloudApigeeV1EnvironmentConfig::class, 'Google_Service_Apigee_GoogleCloudApigeeV1EnvironmentConfig');
352