source: vendor/google/apiclient-services/src/Baremetalsolution/InstanceConfig.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[f9c482b]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\Baremetalsolution;
19
20class InstanceConfig extends \Google\Collection
21{
22 protected $collection_key = 'sshKeyNames';
23 /**
24 * @var bool
25 */
26 public $accountNetworksEnabled;
27 protected $clientNetworkType = NetworkAddress::class;
28 protected $clientNetworkDataType = '';
29 /**
30 * @var bool
31 */
32 public $hyperthreading;
33 /**
34 * @var string
35 */
36 public $id;
37 /**
38 * @var string
39 */
40 public $instanceType;
41 /**
42 * @var string
43 */
44 public $kmsKeyVersion;
45 protected $logicalInterfacesType = GoogleCloudBaremetalsolutionV2LogicalInterface::class;
46 protected $logicalInterfacesDataType = 'array';
47 /**
48 * @var string
49 */
50 public $name;
51 /**
52 * @var string
53 */
54 public $networkConfig;
55 /**
56 * @var string
57 */
58 public $networkTemplate;
59 /**
60 * @var string
61 */
62 public $osImage;
63 protected $privateNetworkType = NetworkAddress::class;
64 protected $privateNetworkDataType = '';
65 /**
66 * @var string[]
67 */
68 public $sshKeyNames;
69 /**
70 * @var string
71 */
72 public $userNote;
73
74 /**
75 * @param bool
76 */
77 public function setAccountNetworksEnabled($accountNetworksEnabled)
78 {
79 $this->accountNetworksEnabled = $accountNetworksEnabled;
80 }
81 /**
82 * @return bool
83 */
84 public function getAccountNetworksEnabled()
85 {
86 return $this->accountNetworksEnabled;
87 }
88 /**
89 * @param NetworkAddress
90 */
91 public function setClientNetwork(NetworkAddress $clientNetwork)
92 {
93 $this->clientNetwork = $clientNetwork;
94 }
95 /**
96 * @return NetworkAddress
97 */
98 public function getClientNetwork()
99 {
100 return $this->clientNetwork;
101 }
102 /**
103 * @param bool
104 */
105 public function setHyperthreading($hyperthreading)
106 {
107 $this->hyperthreading = $hyperthreading;
108 }
109 /**
110 * @return bool
111 */
112 public function getHyperthreading()
113 {
114 return $this->hyperthreading;
115 }
116 /**
117 * @param string
118 */
119 public function setId($id)
120 {
121 $this->id = $id;
122 }
123 /**
124 * @return string
125 */
126 public function getId()
127 {
128 return $this->id;
129 }
130 /**
131 * @param string
132 */
133 public function setInstanceType($instanceType)
134 {
135 $this->instanceType = $instanceType;
136 }
137 /**
138 * @return string
139 */
140 public function getInstanceType()
141 {
142 return $this->instanceType;
143 }
144 /**
145 * @param string
146 */
147 public function setKmsKeyVersion($kmsKeyVersion)
148 {
149 $this->kmsKeyVersion = $kmsKeyVersion;
150 }
151 /**
152 * @return string
153 */
154 public function getKmsKeyVersion()
155 {
156 return $this->kmsKeyVersion;
157 }
158 /**
159 * @param GoogleCloudBaremetalsolutionV2LogicalInterface[]
160 */
161 public function setLogicalInterfaces($logicalInterfaces)
162 {
163 $this->logicalInterfaces = $logicalInterfaces;
164 }
165 /**
166 * @return GoogleCloudBaremetalsolutionV2LogicalInterface[]
167 */
168 public function getLogicalInterfaces()
169 {
170 return $this->logicalInterfaces;
171 }
172 /**
173 * @param string
174 */
175 public function setName($name)
176 {
177 $this->name = $name;
178 }
179 /**
180 * @return string
181 */
182 public function getName()
183 {
184 return $this->name;
185 }
186 /**
187 * @param string
188 */
189 public function setNetworkConfig($networkConfig)
190 {
191 $this->networkConfig = $networkConfig;
192 }
193 /**
194 * @return string
195 */
196 public function getNetworkConfig()
197 {
198 return $this->networkConfig;
199 }
200 /**
201 * @param string
202 */
203 public function setNetworkTemplate($networkTemplate)
204 {
205 $this->networkTemplate = $networkTemplate;
206 }
207 /**
208 * @return string
209 */
210 public function getNetworkTemplate()
211 {
212 return $this->networkTemplate;
213 }
214 /**
215 * @param string
216 */
217 public function setOsImage($osImage)
218 {
219 $this->osImage = $osImage;
220 }
221 /**
222 * @return string
223 */
224 public function getOsImage()
225 {
226 return $this->osImage;
227 }
228 /**
229 * @param NetworkAddress
230 */
231 public function setPrivateNetwork(NetworkAddress $privateNetwork)
232 {
233 $this->privateNetwork = $privateNetwork;
234 }
235 /**
236 * @return NetworkAddress
237 */
238 public function getPrivateNetwork()
239 {
240 return $this->privateNetwork;
241 }
242 /**
243 * @param string[]
244 */
245 public function setSshKeyNames($sshKeyNames)
246 {
247 $this->sshKeyNames = $sshKeyNames;
248 }
249 /**
250 * @return string[]
251 */
252 public function getSshKeyNames()
253 {
254 return $this->sshKeyNames;
255 }
256 /**
257 * @param string
258 */
259 public function setUserNote($userNote)
260 {
261 $this->userNote = $userNote;
262 }
263 /**
264 * @return string
265 */
266 public function getUserNote()
267 {
268 return $this->userNote;
269 }
270}
271
272// Adding a class alias for backwards compatibility with the previous class name.
273class_alias(InstanceConfig::class, 'Google_Service_Baremetalsolution_InstanceConfig');
Note: See TracBrowser for help on using the repository browser.