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 AddonsConfig extends \Google\Model
21{
22  protected $cloudRunConfigType = CloudRunConfig::class;
23  protected $cloudRunConfigDataType = '';
24  protected $configConnectorConfigType = ConfigConnectorConfig::class;
25  protected $configConnectorConfigDataType = '';
26  protected $dnsCacheConfigType = DnsCacheConfig::class;
27  protected $dnsCacheConfigDataType = '';
28  protected $gcePersistentDiskCsiDriverConfigType = GcePersistentDiskCsiDriverConfig::class;
29  protected $gcePersistentDiskCsiDriverConfigDataType = '';
30  protected $gcpFilestoreCsiDriverConfigType = GcpFilestoreCsiDriverConfig::class;
31  protected $gcpFilestoreCsiDriverConfigDataType = '';
32  protected $horizontalPodAutoscalingType = HorizontalPodAutoscaling::class;
33  protected $horizontalPodAutoscalingDataType = '';
34  protected $httpLoadBalancingType = HttpLoadBalancing::class;
35  protected $httpLoadBalancingDataType = '';
36  protected $kubernetesDashboardType = KubernetesDashboard::class;
37  protected $kubernetesDashboardDataType = '';
38  protected $networkPolicyConfigType = NetworkPolicyConfig::class;
39  protected $networkPolicyConfigDataType = '';
40
41  /**
42   * @param CloudRunConfig
43   */
44  public function setCloudRunConfig(CloudRunConfig $cloudRunConfig)
45  {
46    $this->cloudRunConfig = $cloudRunConfig;
47  }
48  /**
49   * @return CloudRunConfig
50   */
51  public function getCloudRunConfig()
52  {
53    return $this->cloudRunConfig;
54  }
55  /**
56   * @param ConfigConnectorConfig
57   */
58  public function setConfigConnectorConfig(ConfigConnectorConfig $configConnectorConfig)
59  {
60    $this->configConnectorConfig = $configConnectorConfig;
61  }
62  /**
63   * @return ConfigConnectorConfig
64   */
65  public function getConfigConnectorConfig()
66  {
67    return $this->configConnectorConfig;
68  }
69  /**
70   * @param DnsCacheConfig
71   */
72  public function setDnsCacheConfig(DnsCacheConfig $dnsCacheConfig)
73  {
74    $this->dnsCacheConfig = $dnsCacheConfig;
75  }
76  /**
77   * @return DnsCacheConfig
78   */
79  public function getDnsCacheConfig()
80  {
81    return $this->dnsCacheConfig;
82  }
83  /**
84   * @param GcePersistentDiskCsiDriverConfig
85   */
86  public function setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfig $gcePersistentDiskCsiDriverConfig)
87  {
88    $this->gcePersistentDiskCsiDriverConfig = $gcePersistentDiskCsiDriverConfig;
89  }
90  /**
91   * @return GcePersistentDiskCsiDriverConfig
92   */
93  public function getGcePersistentDiskCsiDriverConfig()
94  {
95    return $this->gcePersistentDiskCsiDriverConfig;
96  }
97  /**
98   * @param GcpFilestoreCsiDriverConfig
99   */
100  public function setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig $gcpFilestoreCsiDriverConfig)
101  {
102    $this->gcpFilestoreCsiDriverConfig = $gcpFilestoreCsiDriverConfig;
103  }
104  /**
105   * @return GcpFilestoreCsiDriverConfig
106   */
107  public function getGcpFilestoreCsiDriverConfig()
108  {
109    return $this->gcpFilestoreCsiDriverConfig;
110  }
111  /**
112   * @param HorizontalPodAutoscaling
113   */
114  public function setHorizontalPodAutoscaling(HorizontalPodAutoscaling $horizontalPodAutoscaling)
115  {
116    $this->horizontalPodAutoscaling = $horizontalPodAutoscaling;
117  }
118  /**
119   * @return HorizontalPodAutoscaling
120   */
121  public function getHorizontalPodAutoscaling()
122  {
123    return $this->horizontalPodAutoscaling;
124  }
125  /**
126   * @param HttpLoadBalancing
127   */
128  public function setHttpLoadBalancing(HttpLoadBalancing $httpLoadBalancing)
129  {
130    $this->httpLoadBalancing = $httpLoadBalancing;
131  }
132  /**
133   * @return HttpLoadBalancing
134   */
135  public function getHttpLoadBalancing()
136  {
137    return $this->httpLoadBalancing;
138  }
139  /**
140   * @param KubernetesDashboard
141   */
142  public function setKubernetesDashboard(KubernetesDashboard $kubernetesDashboard)
143  {
144    $this->kubernetesDashboard = $kubernetesDashboard;
145  }
146  /**
147   * @return KubernetesDashboard
148   */
149  public function getKubernetesDashboard()
150  {
151    return $this->kubernetesDashboard;
152  }
153  /**
154   * @param NetworkPolicyConfig
155   */
156  public function setNetworkPolicyConfig(NetworkPolicyConfig $networkPolicyConfig)
157  {
158    $this->networkPolicyConfig = $networkPolicyConfig;
159  }
160  /**
161   * @return NetworkPolicyConfig
162   */
163  public function getNetworkPolicyConfig()
164  {
165    return $this->networkPolicyConfig;
166  }
167}
168
169// Adding a class alias for backwards compatibility with the previous class name.
170class_alias(AddonsConfig::class, 'Google_Service_Container_AddonsConfig');
171