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\Container;
19
20class ClusterUpdate extends \Google\Collection
21{
22  protected $collection_key = 'desiredLocations';
23  protected $desiredAddonsConfigType = AddonsConfig::class;
24  protected $desiredAddonsConfigDataType = '';
25  protected $desiredAuthenticatorGroupsConfigType = AuthenticatorGroupsConfig::class;
26  protected $desiredAuthenticatorGroupsConfigDataType = '';
27  protected $desiredBinaryAuthorizationType = BinaryAuthorization::class;
28  protected $desiredBinaryAuthorizationDataType = '';
29  protected $desiredClusterAutoscalingType = ClusterAutoscaling::class;
30  protected $desiredClusterAutoscalingDataType = '';
31  protected $desiredDatabaseEncryptionType = DatabaseEncryption::class;
32  protected $desiredDatabaseEncryptionDataType = '';
33  /**
34   * @var string
35   */
36  public $desiredDatapathProvider;
37  protected $desiredDefaultSnatStatusType = DefaultSnatStatus::class;
38  protected $desiredDefaultSnatStatusDataType = '';
39  protected $desiredDnsConfigType = DNSConfig::class;
40  protected $desiredDnsConfigDataType = '';
41  protected $desiredGcfsConfigType = GcfsConfig::class;
42  protected $desiredGcfsConfigDataType = '';
43  protected $desiredIdentityServiceConfigType = IdentityServiceConfig::class;
44  protected $desiredIdentityServiceConfigDataType = '';
45  /**
46   * @var string
47   */
48  public $desiredImageType;
49  protected $desiredIntraNodeVisibilityConfigType = IntraNodeVisibilityConfig::class;
50  protected $desiredIntraNodeVisibilityConfigDataType = '';
51  protected $desiredL4ilbSubsettingConfigType = ILBSubsettingConfig::class;
52  protected $desiredL4ilbSubsettingConfigDataType = '';
53  /**
54   * @var string[]
55   */
56  public $desiredLocations;
57  protected $desiredLoggingConfigType = LoggingConfig::class;
58  protected $desiredLoggingConfigDataType = '';
59  /**
60   * @var string
61   */
62  public $desiredLoggingService;
63  protected $desiredMasterAuthorizedNetworksConfigType = MasterAuthorizedNetworksConfig::class;
64  protected $desiredMasterAuthorizedNetworksConfigDataType = '';
65  /**
66   * @var string
67   */
68  public $desiredMasterVersion;
69  protected $desiredMeshCertificatesType = MeshCertificates::class;
70  protected $desiredMeshCertificatesDataType = '';
71  protected $desiredMonitoringConfigType = MonitoringConfig::class;
72  protected $desiredMonitoringConfigDataType = '';
73  /**
74   * @var string
75   */
76  public $desiredMonitoringService;
77  protected $desiredNodePoolAutoConfigNetworkTagsType = NetworkTags::class;
78  protected $desiredNodePoolAutoConfigNetworkTagsDataType = '';
79  protected $desiredNodePoolAutoscalingType = NodePoolAutoscaling::class;
80  protected $desiredNodePoolAutoscalingDataType = '';
81  /**
82   * @var string
83   */
84  public $desiredNodePoolId;
85  /**
86   * @var string
87   */
88  public $desiredNodeVersion;
89  protected $desiredNotificationConfigType = NotificationConfig::class;
90  protected $desiredNotificationConfigDataType = '';
91  protected $desiredPrivateClusterConfigType = PrivateClusterConfig::class;
92  protected $desiredPrivateClusterConfigDataType = '';
93  /**
94   * @var string
95   */
96  public $desiredPrivateIpv6GoogleAccess;
97  protected $desiredReleaseChannelType = ReleaseChannel::class;
98  protected $desiredReleaseChannelDataType = '';
99  protected $desiredResourceUsageExportConfigType = ResourceUsageExportConfig::class;
100  protected $desiredResourceUsageExportConfigDataType = '';
101  protected $desiredServiceExternalIpsConfigType = ServiceExternalIPsConfig::class;
102  protected $desiredServiceExternalIpsConfigDataType = '';
103  protected $desiredShieldedNodesType = ShieldedNodes::class;
104  protected $desiredShieldedNodesDataType = '';
105  protected $desiredVerticalPodAutoscalingType = VerticalPodAutoscaling::class;
106  protected $desiredVerticalPodAutoscalingDataType = '';
107  protected $desiredWorkloadIdentityConfigType = WorkloadIdentityConfig::class;
108  protected $desiredWorkloadIdentityConfigDataType = '';
109
110  /**
111   * @param AddonsConfig
112   */
113  public function setDesiredAddonsConfig(AddonsConfig $desiredAddonsConfig)
114  {
115    $this->desiredAddonsConfig = $desiredAddonsConfig;
116  }
117  /**
118   * @return AddonsConfig
119   */
120  public function getDesiredAddonsConfig()
121  {
122    return $this->desiredAddonsConfig;
123  }
124  /**
125   * @param AuthenticatorGroupsConfig
126   */
127  public function setDesiredAuthenticatorGroupsConfig(AuthenticatorGroupsConfig $desiredAuthenticatorGroupsConfig)
128  {
129    $this->desiredAuthenticatorGroupsConfig = $desiredAuthenticatorGroupsConfig;
130  }
131  /**
132   * @return AuthenticatorGroupsConfig
133   */
134  public function getDesiredAuthenticatorGroupsConfig()
135  {
136    return $this->desiredAuthenticatorGroupsConfig;
137  }
138  /**
139   * @param BinaryAuthorization
140   */
141  public function setDesiredBinaryAuthorization(BinaryAuthorization $desiredBinaryAuthorization)
142  {
143    $this->desiredBinaryAuthorization = $desiredBinaryAuthorization;
144  }
145  /**
146   * @return BinaryAuthorization
147   */
148  public function getDesiredBinaryAuthorization()
149  {
150    return $this->desiredBinaryAuthorization;
151  }
152  /**
153   * @param ClusterAutoscaling
154   */
155  public function setDesiredClusterAutoscaling(ClusterAutoscaling $desiredClusterAutoscaling)
156  {
157    $this->desiredClusterAutoscaling = $desiredClusterAutoscaling;
158  }
159  /**
160   * @return ClusterAutoscaling
161   */
162  public function getDesiredClusterAutoscaling()
163  {
164    return $this->desiredClusterAutoscaling;
165  }
166  /**
167   * @param DatabaseEncryption
168   */
169  public function setDesiredDatabaseEncryption(DatabaseEncryption $desiredDatabaseEncryption)
170  {
171    $this->desiredDatabaseEncryption = $desiredDatabaseEncryption;
172  }
173  /**
174   * @return DatabaseEncryption
175   */
176  public function getDesiredDatabaseEncryption()
177  {
178    return $this->desiredDatabaseEncryption;
179  }
180  /**
181   * @param string
182   */
183  public function setDesiredDatapathProvider($desiredDatapathProvider)
184  {
185    $this->desiredDatapathProvider = $desiredDatapathProvider;
186  }
187  /**
188   * @return string
189   */
190  public function getDesiredDatapathProvider()
191  {
192    return $this->desiredDatapathProvider;
193  }
194  /**
195   * @param DefaultSnatStatus
196   */
197  public function setDesiredDefaultSnatStatus(DefaultSnatStatus $desiredDefaultSnatStatus)
198  {
199    $this->desiredDefaultSnatStatus = $desiredDefaultSnatStatus;
200  }
201  /**
202   * @return DefaultSnatStatus
203   */
204  public function getDesiredDefaultSnatStatus()
205  {
206    return $this->desiredDefaultSnatStatus;
207  }
208  /**
209   * @param DNSConfig
210   */
211  public function setDesiredDnsConfig(DNSConfig $desiredDnsConfig)
212  {
213    $this->desiredDnsConfig = $desiredDnsConfig;
214  }
215  /**
216   * @return DNSConfig
217   */
218  public function getDesiredDnsConfig()
219  {
220    return $this->desiredDnsConfig;
221  }
222  /**
223   * @param GcfsConfig
224   */
225  public function setDesiredGcfsConfig(GcfsConfig $desiredGcfsConfig)
226  {
227    $this->desiredGcfsConfig = $desiredGcfsConfig;
228  }
229  /**
230   * @return GcfsConfig
231   */
232  public function getDesiredGcfsConfig()
233  {
234    return $this->desiredGcfsConfig;
235  }
236  /**
237   * @param IdentityServiceConfig
238   */
239  public function setDesiredIdentityServiceConfig(IdentityServiceConfig $desiredIdentityServiceConfig)
240  {
241    $this->desiredIdentityServiceConfig = $desiredIdentityServiceConfig;
242  }
243  /**
244   * @return IdentityServiceConfig
245   */
246  public function getDesiredIdentityServiceConfig()
247  {
248    return $this->desiredIdentityServiceConfig;
249  }
250  /**
251   * @param string
252   */
253  public function setDesiredImageType($desiredImageType)
254  {
255    $this->desiredImageType = $desiredImageType;
256  }
257  /**
258   * @return string
259   */
260  public function getDesiredImageType()
261  {
262    return $this->desiredImageType;
263  }
264  /**
265   * @param IntraNodeVisibilityConfig
266   */
267  public function setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig $desiredIntraNodeVisibilityConfig)
268  {
269    $this->desiredIntraNodeVisibilityConfig = $desiredIntraNodeVisibilityConfig;
270  }
271  /**
272   * @return IntraNodeVisibilityConfig
273   */
274  public function getDesiredIntraNodeVisibilityConfig()
275  {
276    return $this->desiredIntraNodeVisibilityConfig;
277  }
278  /**
279   * @param ILBSubsettingConfig
280   */
281  public function setDesiredL4ilbSubsettingConfig(ILBSubsettingConfig $desiredL4ilbSubsettingConfig)
282  {
283    $this->desiredL4ilbSubsettingConfig = $desiredL4ilbSubsettingConfig;
284  }
285  /**
286   * @return ILBSubsettingConfig
287   */
288  public function getDesiredL4ilbSubsettingConfig()
289  {
290    return $this->desiredL4ilbSubsettingConfig;
291  }
292  /**
293   * @param string[]
294   */
295  public function setDesiredLocations($desiredLocations)
296  {
297    $this->desiredLocations = $desiredLocations;
298  }
299  /**
300   * @return string[]
301   */
302  public function getDesiredLocations()
303  {
304    return $this->desiredLocations;
305  }
306  /**
307   * @param LoggingConfig
308   */
309  public function setDesiredLoggingConfig(LoggingConfig $desiredLoggingConfig)
310  {
311    $this->desiredLoggingConfig = $desiredLoggingConfig;
312  }
313  /**
314   * @return LoggingConfig
315   */
316  public function getDesiredLoggingConfig()
317  {
318    return $this->desiredLoggingConfig;
319  }
320  /**
321   * @param string
322   */
323  public function setDesiredLoggingService($desiredLoggingService)
324  {
325    $this->desiredLoggingService = $desiredLoggingService;
326  }
327  /**
328   * @return string
329   */
330  public function getDesiredLoggingService()
331  {
332    return $this->desiredLoggingService;
333  }
334  /**
335   * @param MasterAuthorizedNetworksConfig
336   */
337  public function setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig $desiredMasterAuthorizedNetworksConfig)
338  {
339    $this->desiredMasterAuthorizedNetworksConfig = $desiredMasterAuthorizedNetworksConfig;
340  }
341  /**
342   * @return MasterAuthorizedNetworksConfig
343   */
344  public function getDesiredMasterAuthorizedNetworksConfig()
345  {
346    return $this->desiredMasterAuthorizedNetworksConfig;
347  }
348  /**
349   * @param string
350   */
351  public function setDesiredMasterVersion($desiredMasterVersion)
352  {
353    $this->desiredMasterVersion = $desiredMasterVersion;
354  }
355  /**
356   * @return string
357   */
358  public function getDesiredMasterVersion()
359  {
360    return $this->desiredMasterVersion;
361  }
362  /**
363   * @param MeshCertificates
364   */
365  public function setDesiredMeshCertificates(MeshCertificates $desiredMeshCertificates)
366  {
367    $this->desiredMeshCertificates = $desiredMeshCertificates;
368  }
369  /**
370   * @return MeshCertificates
371   */
372  public function getDesiredMeshCertificates()
373  {
374    return $this->desiredMeshCertificates;
375  }
376  /**
377   * @param MonitoringConfig
378   */
379  public function setDesiredMonitoringConfig(MonitoringConfig $desiredMonitoringConfig)
380  {
381    $this->desiredMonitoringConfig = $desiredMonitoringConfig;
382  }
383  /**
384   * @return MonitoringConfig
385   */
386  public function getDesiredMonitoringConfig()
387  {
388    return $this->desiredMonitoringConfig;
389  }
390  /**
391   * @param string
392   */
393  public function setDesiredMonitoringService($desiredMonitoringService)
394  {
395    $this->desiredMonitoringService = $desiredMonitoringService;
396  }
397  /**
398   * @return string
399   */
400  public function getDesiredMonitoringService()
401  {
402    return $this->desiredMonitoringService;
403  }
404  /**
405   * @param NetworkTags
406   */
407  public function setDesiredNodePoolAutoConfigNetworkTags(NetworkTags $desiredNodePoolAutoConfigNetworkTags)
408  {
409    $this->desiredNodePoolAutoConfigNetworkTags = $desiredNodePoolAutoConfigNetworkTags;
410  }
411  /**
412   * @return NetworkTags
413   */
414  public function getDesiredNodePoolAutoConfigNetworkTags()
415  {
416    return $this->desiredNodePoolAutoConfigNetworkTags;
417  }
418  /**
419   * @param NodePoolAutoscaling
420   */
421  public function setDesiredNodePoolAutoscaling(NodePoolAutoscaling $desiredNodePoolAutoscaling)
422  {
423    $this->desiredNodePoolAutoscaling = $desiredNodePoolAutoscaling;
424  }
425  /**
426   * @return NodePoolAutoscaling
427   */
428  public function getDesiredNodePoolAutoscaling()
429  {
430    return $this->desiredNodePoolAutoscaling;
431  }
432  /**
433   * @param string
434   */
435  public function setDesiredNodePoolId($desiredNodePoolId)
436  {
437    $this->desiredNodePoolId = $desiredNodePoolId;
438  }
439  /**
440   * @return string
441   */
442  public function getDesiredNodePoolId()
443  {
444    return $this->desiredNodePoolId;
445  }
446  /**
447   * @param string
448   */
449  public function setDesiredNodeVersion($desiredNodeVersion)
450  {
451    $this->desiredNodeVersion = $desiredNodeVersion;
452  }
453  /**
454   * @return string
455   */
456  public function getDesiredNodeVersion()
457  {
458    return $this->desiredNodeVersion;
459  }
460  /**
461   * @param NotificationConfig
462   */
463  public function setDesiredNotificationConfig(NotificationConfig $desiredNotificationConfig)
464  {
465    $this->desiredNotificationConfig = $desiredNotificationConfig;
466  }
467  /**
468   * @return NotificationConfig
469   */
470  public function getDesiredNotificationConfig()
471  {
472    return $this->desiredNotificationConfig;
473  }
474  /**
475   * @param PrivateClusterConfig
476   */
477  public function setDesiredPrivateClusterConfig(PrivateClusterConfig $desiredPrivateClusterConfig)
478  {
479    $this->desiredPrivateClusterConfig = $desiredPrivateClusterConfig;
480  }
481  /**
482   * @return PrivateClusterConfig
483   */
484  public function getDesiredPrivateClusterConfig()
485  {
486    return $this->desiredPrivateClusterConfig;
487  }
488  /**
489   * @param string
490   */
491  public function setDesiredPrivateIpv6GoogleAccess($desiredPrivateIpv6GoogleAccess)
492  {
493    $this->desiredPrivateIpv6GoogleAccess = $desiredPrivateIpv6GoogleAccess;
494  }
495  /**
496   * @return string
497   */
498  public function getDesiredPrivateIpv6GoogleAccess()
499  {
500    return $this->desiredPrivateIpv6GoogleAccess;
501  }
502  /**
503   * @param ReleaseChannel
504   */
505  public function setDesiredReleaseChannel(ReleaseChannel $desiredReleaseChannel)
506  {
507    $this->desiredReleaseChannel = $desiredReleaseChannel;
508  }
509  /**
510   * @return ReleaseChannel
511   */
512  public function getDesiredReleaseChannel()
513  {
514    return $this->desiredReleaseChannel;
515  }
516  /**
517   * @param ResourceUsageExportConfig
518   */
519  public function setDesiredResourceUsageExportConfig(ResourceUsageExportConfig $desiredResourceUsageExportConfig)
520  {
521    $this->desiredResourceUsageExportConfig = $desiredResourceUsageExportConfig;
522  }
523  /**
524   * @return ResourceUsageExportConfig
525   */
526  public function getDesiredResourceUsageExportConfig()
527  {
528    return $this->desiredResourceUsageExportConfig;
529  }
530  /**
531   * @param ServiceExternalIPsConfig
532   */
533  public function setDesiredServiceExternalIpsConfig(ServiceExternalIPsConfig $desiredServiceExternalIpsConfig)
534  {
535    $this->desiredServiceExternalIpsConfig = $desiredServiceExternalIpsConfig;
536  }
537  /**
538   * @return ServiceExternalIPsConfig
539   */
540  public function getDesiredServiceExternalIpsConfig()
541  {
542    return $this->desiredServiceExternalIpsConfig;
543  }
544  /**
545   * @param ShieldedNodes
546   */
547  public function setDesiredShieldedNodes(ShieldedNodes $desiredShieldedNodes)
548  {
549    $this->desiredShieldedNodes = $desiredShieldedNodes;
550  }
551  /**
552   * @return ShieldedNodes
553   */
554  public function getDesiredShieldedNodes()
555  {
556    return $this->desiredShieldedNodes;
557  }
558  /**
559   * @param VerticalPodAutoscaling
560   */
561  public function setDesiredVerticalPodAutoscaling(VerticalPodAutoscaling $desiredVerticalPodAutoscaling)
562  {
563    $this->desiredVerticalPodAutoscaling = $desiredVerticalPodAutoscaling;
564  }
565  /**
566   * @return VerticalPodAutoscaling
567   */
568  public function getDesiredVerticalPodAutoscaling()
569  {
570    return $this->desiredVerticalPodAutoscaling;
571  }
572  /**
573   * @param WorkloadIdentityConfig
574   */
575  public function setDesiredWorkloadIdentityConfig(WorkloadIdentityConfig $desiredWorkloadIdentityConfig)
576  {
577    $this->desiredWorkloadIdentityConfig = $desiredWorkloadIdentityConfig;
578  }
579  /**
580   * @return WorkloadIdentityConfig
581   */
582  public function getDesiredWorkloadIdentityConfig()
583  {
584    return $this->desiredWorkloadIdentityConfig;
585  }
586}
587
588// Adding a class alias for backwards compatibility with the previous class name.
589class_alias(ClusterUpdate::class, 'Google_Service_Container_ClusterUpdate');
590