source: vendor/google/apiclient-services/src/Compute/NetworkInterface.php

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

Upload project files

  • Property mode set to 100644
File size: 5.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\Compute;
19
20class NetworkInterface extends \Google\Collection
21{
22 protected $collection_key = 'ipv6AccessConfigs';
23 protected $accessConfigsType = AccessConfig::class;
24 protected $accessConfigsDataType = 'array';
25 protected $aliasIpRangesType = AliasIpRange::class;
26 protected $aliasIpRangesDataType = 'array';
27 /**
28 * @var string
29 */
30 public $fingerprint;
31 /**
32 * @var int
33 */
34 public $internalIpv6PrefixLength;
35 protected $ipv6AccessConfigsType = AccessConfig::class;
36 protected $ipv6AccessConfigsDataType = 'array';
37 /**
38 * @var string
39 */
40 public $ipv6AccessType;
41 /**
42 * @var string
43 */
44 public $ipv6Address;
45 /**
46 * @var string
47 */
48 public $kind;
49 /**
50 * @var string
51 */
52 public $name;
53 /**
54 * @var string
55 */
56 public $network;
57 /**
58 * @var string
59 */
60 public $networkAttachment;
61 /**
62 * @var string
63 */
64 public $networkIP;
65 /**
66 * @var string
67 */
68 public $nicType;
69 /**
70 * @var int
71 */
72 public $queueCount;
73 /**
74 * @var string
75 */
76 public $stackType;
77 /**
78 * @var string
79 */
80 public $subnetwork;
81
82 /**
83 * @param AccessConfig[]
84 */
85 public function setAccessConfigs($accessConfigs)
86 {
87 $this->accessConfigs = $accessConfigs;
88 }
89 /**
90 * @return AccessConfig[]
91 */
92 public function getAccessConfigs()
93 {
94 return $this->accessConfigs;
95 }
96 /**
97 * @param AliasIpRange[]
98 */
99 public function setAliasIpRanges($aliasIpRanges)
100 {
101 $this->aliasIpRanges = $aliasIpRanges;
102 }
103 /**
104 * @return AliasIpRange[]
105 */
106 public function getAliasIpRanges()
107 {
108 return $this->aliasIpRanges;
109 }
110 /**
111 * @param string
112 */
113 public function setFingerprint($fingerprint)
114 {
115 $this->fingerprint = $fingerprint;
116 }
117 /**
118 * @return string
119 */
120 public function getFingerprint()
121 {
122 return $this->fingerprint;
123 }
124 /**
125 * @param int
126 */
127 public function setInternalIpv6PrefixLength($internalIpv6PrefixLength)
128 {
129 $this->internalIpv6PrefixLength = $internalIpv6PrefixLength;
130 }
131 /**
132 * @return int
133 */
134 public function getInternalIpv6PrefixLength()
135 {
136 return $this->internalIpv6PrefixLength;
137 }
138 /**
139 * @param AccessConfig[]
140 */
141 public function setIpv6AccessConfigs($ipv6AccessConfigs)
142 {
143 $this->ipv6AccessConfigs = $ipv6AccessConfigs;
144 }
145 /**
146 * @return AccessConfig[]
147 */
148 public function getIpv6AccessConfigs()
149 {
150 return $this->ipv6AccessConfigs;
151 }
152 /**
153 * @param string
154 */
155 public function setIpv6AccessType($ipv6AccessType)
156 {
157 $this->ipv6AccessType = $ipv6AccessType;
158 }
159 /**
160 * @return string
161 */
162 public function getIpv6AccessType()
163 {
164 return $this->ipv6AccessType;
165 }
166 /**
167 * @param string
168 */
169 public function setIpv6Address($ipv6Address)
170 {
171 $this->ipv6Address = $ipv6Address;
172 }
173 /**
174 * @return string
175 */
176 public function getIpv6Address()
177 {
178 return $this->ipv6Address;
179 }
180 /**
181 * @param string
182 */
183 public function setKind($kind)
184 {
185 $this->kind = $kind;
186 }
187 /**
188 * @return string
189 */
190 public function getKind()
191 {
192 return $this->kind;
193 }
194 /**
195 * @param string
196 */
197 public function setName($name)
198 {
199 $this->name = $name;
200 }
201 /**
202 * @return string
203 */
204 public function getName()
205 {
206 return $this->name;
207 }
208 /**
209 * @param string
210 */
211 public function setNetwork($network)
212 {
213 $this->network = $network;
214 }
215 /**
216 * @return string
217 */
218 public function getNetwork()
219 {
220 return $this->network;
221 }
222 /**
223 * @param string
224 */
225 public function setNetworkAttachment($networkAttachment)
226 {
227 $this->networkAttachment = $networkAttachment;
228 }
229 /**
230 * @return string
231 */
232 public function getNetworkAttachment()
233 {
234 return $this->networkAttachment;
235 }
236 /**
237 * @param string
238 */
239 public function setNetworkIP($networkIP)
240 {
241 $this->networkIP = $networkIP;
242 }
243 /**
244 * @return string
245 */
246 public function getNetworkIP()
247 {
248 return $this->networkIP;
249 }
250 /**
251 * @param string
252 */
253 public function setNicType($nicType)
254 {
255 $this->nicType = $nicType;
256 }
257 /**
258 * @return string
259 */
260 public function getNicType()
261 {
262 return $this->nicType;
263 }
264 /**
265 * @param int
266 */
267 public function setQueueCount($queueCount)
268 {
269 $this->queueCount = $queueCount;
270 }
271 /**
272 * @return int
273 */
274 public function getQueueCount()
275 {
276 return $this->queueCount;
277 }
278 /**
279 * @param string
280 */
281 public function setStackType($stackType)
282 {
283 $this->stackType = $stackType;
284 }
285 /**
286 * @return string
287 */
288 public function getStackType()
289 {
290 return $this->stackType;
291 }
292 /**
293 * @param string
294 */
295 public function setSubnetwork($subnetwork)
296 {
297 $this->subnetwork = $subnetwork;
298 }
299 /**
300 * @return string
301 */
302 public function getSubnetwork()
303 {
304 return $this->subnetwork;
305 }
306}
307
308// Adding a class alias for backwards compatibility with the previous class name.
309class_alias(NetworkInterface::class, 'Google_Service_Compute_NetworkInterface');
Note: See TracBrowser for help on using the repository browser.