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 $networkIP;
61  /**
62   * @var string
63   */
64  public $nicType;
65  /**
66   * @var int
67   */
68  public $queueCount;
69  /**
70   * @var string
71   */
72  public $stackType;
73  /**
74   * @var string
75   */
76  public $subnetwork;
77
78  /**
79   * @param AccessConfig[]
80   */
81  public function setAccessConfigs($accessConfigs)
82  {
83    $this->accessConfigs = $accessConfigs;
84  }
85  /**
86   * @return AccessConfig[]
87   */
88  public function getAccessConfigs()
89  {
90    return $this->accessConfigs;
91  }
92  /**
93   * @param AliasIpRange[]
94   */
95  public function setAliasIpRanges($aliasIpRanges)
96  {
97    $this->aliasIpRanges = $aliasIpRanges;
98  }
99  /**
100   * @return AliasIpRange[]
101   */
102  public function getAliasIpRanges()
103  {
104    return $this->aliasIpRanges;
105  }
106  /**
107   * @param string
108   */
109  public function setFingerprint($fingerprint)
110  {
111    $this->fingerprint = $fingerprint;
112  }
113  /**
114   * @return string
115   */
116  public function getFingerprint()
117  {
118    return $this->fingerprint;
119  }
120  /**
121   * @param int
122   */
123  public function setInternalIpv6PrefixLength($internalIpv6PrefixLength)
124  {
125    $this->internalIpv6PrefixLength = $internalIpv6PrefixLength;
126  }
127  /**
128   * @return int
129   */
130  public function getInternalIpv6PrefixLength()
131  {
132    return $this->internalIpv6PrefixLength;
133  }
134  /**
135   * @param AccessConfig[]
136   */
137  public function setIpv6AccessConfigs($ipv6AccessConfigs)
138  {
139    $this->ipv6AccessConfigs = $ipv6AccessConfigs;
140  }
141  /**
142   * @return AccessConfig[]
143   */
144  public function getIpv6AccessConfigs()
145  {
146    return $this->ipv6AccessConfigs;
147  }
148  /**
149   * @param string
150   */
151  public function setIpv6AccessType($ipv6AccessType)
152  {
153    $this->ipv6AccessType = $ipv6AccessType;
154  }
155  /**
156   * @return string
157   */
158  public function getIpv6AccessType()
159  {
160    return $this->ipv6AccessType;
161  }
162  /**
163   * @param string
164   */
165  public function setIpv6Address($ipv6Address)
166  {
167    $this->ipv6Address = $ipv6Address;
168  }
169  /**
170   * @return string
171   */
172  public function getIpv6Address()
173  {
174    return $this->ipv6Address;
175  }
176  /**
177   * @param string
178   */
179  public function setKind($kind)
180  {
181    $this->kind = $kind;
182  }
183  /**
184   * @return string
185   */
186  public function getKind()
187  {
188    return $this->kind;
189  }
190  /**
191   * @param string
192   */
193  public function setName($name)
194  {
195    $this->name = $name;
196  }
197  /**
198   * @return string
199   */
200  public function getName()
201  {
202    return $this->name;
203  }
204  /**
205   * @param string
206   */
207  public function setNetwork($network)
208  {
209    $this->network = $network;
210  }
211  /**
212   * @return string
213   */
214  public function getNetwork()
215  {
216    return $this->network;
217  }
218  /**
219   * @param string
220   */
221  public function setNetworkIP($networkIP)
222  {
223    $this->networkIP = $networkIP;
224  }
225  /**
226   * @return string
227   */
228  public function getNetworkIP()
229  {
230    return $this->networkIP;
231  }
232  /**
233   * @param string
234   */
235  public function setNicType($nicType)
236  {
237    $this->nicType = $nicType;
238  }
239  /**
240   * @return string
241   */
242  public function getNicType()
243  {
244    return $this->nicType;
245  }
246  /**
247   * @param int
248   */
249  public function setQueueCount($queueCount)
250  {
251    $this->queueCount = $queueCount;
252  }
253  /**
254   * @return int
255   */
256  public function getQueueCount()
257  {
258    return $this->queueCount;
259  }
260  /**
261   * @param string
262   */
263  public function setStackType($stackType)
264  {
265    $this->stackType = $stackType;
266  }
267  /**
268   * @return string
269   */
270  public function getStackType()
271  {
272    return $this->stackType;
273  }
274  /**
275   * @param string
276   */
277  public function setSubnetwork($subnetwork)
278  {
279    $this->subnetwork = $subnetwork;
280  }
281  /**
282   * @return string
283   */
284  public function getSubnetwork()
285  {
286    return $this->subnetwork;
287  }
288}
289
290// Adding a class alias for backwards compatibility with the previous class name.
291class_alias(NetworkInterface::class, 'Google_Service_Compute_NetworkInterface');
292