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\Container;
|
---|
19 |
|
---|
20 | class NodeNetworkConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'additionalPodNetworkConfigs';
|
---|
23 | protected $additionalNodeNetworkConfigsType = AdditionalNodeNetworkConfig::class;
|
---|
24 | protected $additionalNodeNetworkConfigsDataType = 'array';
|
---|
25 | protected $additionalPodNetworkConfigsType = AdditionalPodNetworkConfig::class;
|
---|
26 | protected $additionalPodNetworkConfigsDataType = 'array';
|
---|
27 | /**
|
---|
28 | * @var bool
|
---|
29 | */
|
---|
30 | public $createPodRange;
|
---|
31 | /**
|
---|
32 | * @var bool
|
---|
33 | */
|
---|
34 | public $enablePrivateNodes;
|
---|
35 | protected $networkPerformanceConfigType = NetworkPerformanceConfig::class;
|
---|
36 | protected $networkPerformanceConfigDataType = '';
|
---|
37 | protected $podCidrOverprovisionConfigType = PodCIDROverprovisionConfig::class;
|
---|
38 | protected $podCidrOverprovisionConfigDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $podIpv4CidrBlock;
|
---|
43 | public $podIpv4RangeUtilization;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $podRange;
|
---|
48 |
|
---|
49 | /**
|
---|
50 | * @param AdditionalNodeNetworkConfig[]
|
---|
51 | */
|
---|
52 | public function setAdditionalNodeNetworkConfigs($additionalNodeNetworkConfigs)
|
---|
53 | {
|
---|
54 | $this->additionalNodeNetworkConfigs = $additionalNodeNetworkConfigs;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return AdditionalNodeNetworkConfig[]
|
---|
58 | */
|
---|
59 | public function getAdditionalNodeNetworkConfigs()
|
---|
60 | {
|
---|
61 | return $this->additionalNodeNetworkConfigs;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param AdditionalPodNetworkConfig[]
|
---|
65 | */
|
---|
66 | public function setAdditionalPodNetworkConfigs($additionalPodNetworkConfigs)
|
---|
67 | {
|
---|
68 | $this->additionalPodNetworkConfigs = $additionalPodNetworkConfigs;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return AdditionalPodNetworkConfig[]
|
---|
72 | */
|
---|
73 | public function getAdditionalPodNetworkConfigs()
|
---|
74 | {
|
---|
75 | return $this->additionalPodNetworkConfigs;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param bool
|
---|
79 | */
|
---|
80 | public function setCreatePodRange($createPodRange)
|
---|
81 | {
|
---|
82 | $this->createPodRange = $createPodRange;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return bool
|
---|
86 | */
|
---|
87 | public function getCreatePodRange()
|
---|
88 | {
|
---|
89 | return $this->createPodRange;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param bool
|
---|
93 | */
|
---|
94 | public function setEnablePrivateNodes($enablePrivateNodes)
|
---|
95 | {
|
---|
96 | $this->enablePrivateNodes = $enablePrivateNodes;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return bool
|
---|
100 | */
|
---|
101 | public function getEnablePrivateNodes()
|
---|
102 | {
|
---|
103 | return $this->enablePrivateNodes;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param NetworkPerformanceConfig
|
---|
107 | */
|
---|
108 | public function setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)
|
---|
109 | {
|
---|
110 | $this->networkPerformanceConfig = $networkPerformanceConfig;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return NetworkPerformanceConfig
|
---|
114 | */
|
---|
115 | public function getNetworkPerformanceConfig()
|
---|
116 | {
|
---|
117 | return $this->networkPerformanceConfig;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @param PodCIDROverprovisionConfig
|
---|
121 | */
|
---|
122 | public function setPodCidrOverprovisionConfig(PodCIDROverprovisionConfig $podCidrOverprovisionConfig)
|
---|
123 | {
|
---|
124 | $this->podCidrOverprovisionConfig = $podCidrOverprovisionConfig;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @return PodCIDROverprovisionConfig
|
---|
128 | */
|
---|
129 | public function getPodCidrOverprovisionConfig()
|
---|
130 | {
|
---|
131 | return $this->podCidrOverprovisionConfig;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @param string
|
---|
135 | */
|
---|
136 | public function setPodIpv4CidrBlock($podIpv4CidrBlock)
|
---|
137 | {
|
---|
138 | $this->podIpv4CidrBlock = $podIpv4CidrBlock;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @return string
|
---|
142 | */
|
---|
143 | public function getPodIpv4CidrBlock()
|
---|
144 | {
|
---|
145 | return $this->podIpv4CidrBlock;
|
---|
146 | }
|
---|
147 | public function setPodIpv4RangeUtilization($podIpv4RangeUtilization)
|
---|
148 | {
|
---|
149 | $this->podIpv4RangeUtilization = $podIpv4RangeUtilization;
|
---|
150 | }
|
---|
151 | public function getPodIpv4RangeUtilization()
|
---|
152 | {
|
---|
153 | return $this->podIpv4RangeUtilization;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @param string
|
---|
157 | */
|
---|
158 | public function setPodRange($podRange)
|
---|
159 | {
|
---|
160 | $this->podRange = $podRange;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @return string
|
---|
164 | */
|
---|
165 | public function getPodRange()
|
---|
166 | {
|
---|
167 | return $this->podRange;
|
---|
168 | }
|
---|
169 | }
|
---|
170 |
|
---|
171 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
172 | class_alias(NodeNetworkConfig::class, 'Google_Service_Container_NodeNetworkConfig');
|
---|