source: vendor/google/apiclient-services/src/GKEOnPrem/VmwareNetworkConfig.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.5 KB
Line 
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\GKEOnPrem;
19
20class VmwareNetworkConfig extends \Google\Collection
21{
22 protected $collection_key = 'serviceAddressCidrBlocks';
23 protected $controlPlaneV2ConfigType = VmwareControlPlaneV2Config::class;
24 protected $controlPlaneV2ConfigDataType = '';
25 protected $dhcpIpConfigType = VmwareDhcpIpConfig::class;
26 protected $dhcpIpConfigDataType = '';
27 protected $hostConfigType = VmwareHostConfig::class;
28 protected $hostConfigDataType = '';
29 /**
30 * @var string[]
31 */
32 public $podAddressCidrBlocks;
33 /**
34 * @var string[]
35 */
36 public $serviceAddressCidrBlocks;
37 protected $staticIpConfigType = VmwareStaticIpConfig::class;
38 protected $staticIpConfigDataType = '';
39 /**
40 * @var string
41 */
42 public $vcenterNetwork;
43
44 /**
45 * @param VmwareControlPlaneV2Config
46 */
47 public function setControlPlaneV2Config(VmwareControlPlaneV2Config $controlPlaneV2Config)
48 {
49 $this->controlPlaneV2Config = $controlPlaneV2Config;
50 }
51 /**
52 * @return VmwareControlPlaneV2Config
53 */
54 public function getControlPlaneV2Config()
55 {
56 return $this->controlPlaneV2Config;
57 }
58 /**
59 * @param VmwareDhcpIpConfig
60 */
61 public function setDhcpIpConfig(VmwareDhcpIpConfig $dhcpIpConfig)
62 {
63 $this->dhcpIpConfig = $dhcpIpConfig;
64 }
65 /**
66 * @return VmwareDhcpIpConfig
67 */
68 public function getDhcpIpConfig()
69 {
70 return $this->dhcpIpConfig;
71 }
72 /**
73 * @param VmwareHostConfig
74 */
75 public function setHostConfig(VmwareHostConfig $hostConfig)
76 {
77 $this->hostConfig = $hostConfig;
78 }
79 /**
80 * @return VmwareHostConfig
81 */
82 public function getHostConfig()
83 {
84 return $this->hostConfig;
85 }
86 /**
87 * @param string[]
88 */
89 public function setPodAddressCidrBlocks($podAddressCidrBlocks)
90 {
91 $this->podAddressCidrBlocks = $podAddressCidrBlocks;
92 }
93 /**
94 * @return string[]
95 */
96 public function getPodAddressCidrBlocks()
97 {
98 return $this->podAddressCidrBlocks;
99 }
100 /**
101 * @param string[]
102 */
103 public function setServiceAddressCidrBlocks($serviceAddressCidrBlocks)
104 {
105 $this->serviceAddressCidrBlocks = $serviceAddressCidrBlocks;
106 }
107 /**
108 * @return string[]
109 */
110 public function getServiceAddressCidrBlocks()
111 {
112 return $this->serviceAddressCidrBlocks;
113 }
114 /**
115 * @param VmwareStaticIpConfig
116 */
117 public function setStaticIpConfig(VmwareStaticIpConfig $staticIpConfig)
118 {
119 $this->staticIpConfig = $staticIpConfig;
120 }
121 /**
122 * @return VmwareStaticIpConfig
123 */
124 public function getStaticIpConfig()
125 {
126 return $this->staticIpConfig;
127 }
128 /**
129 * @param string
130 */
131 public function setVcenterNetwork($vcenterNetwork)
132 {
133 $this->vcenterNetwork = $vcenterNetwork;
134 }
135 /**
136 * @return string
137 */
138 public function getVcenterNetwork()
139 {
140 return $this->vcenterNetwork;
141 }
142}
143
144// Adding a class alias for backwards compatibility with the previous class name.
145class_alias(VmwareNetworkConfig::class, 'Google_Service_GKEOnPrem_VmwareNetworkConfig');
Note: See TracBrowser for help on using the repository browser.