source: vendor/google/apiclient-services/src/Compute/SourceInstanceProperties.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: 5.3 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 SourceInstanceProperties extends \Google\Collection
21{
22 protected $collection_key = 'serviceAccounts';
23 /**
24 * @var bool
25 */
26 public $canIpForward;
27 /**
28 * @var bool
29 */
30 public $deletionProtection;
31 /**
32 * @var string
33 */
34 public $description;
35 protected $disksType = SavedAttachedDisk::class;
36 protected $disksDataType = 'array';
37 protected $guestAcceleratorsType = AcceleratorConfig::class;
38 protected $guestAcceleratorsDataType = 'array';
39 /**
40 * @var string
41 */
42 public $keyRevocationActionType;
43 /**
44 * @var string[]
45 */
46 public $labels;
47 /**
48 * @var string
49 */
50 public $machineType;
51 protected $metadataType = Metadata::class;
52 protected $metadataDataType = '';
53 /**
54 * @var string
55 */
56 public $minCpuPlatform;
57 protected $networkInterfacesType = NetworkInterface::class;
58 protected $networkInterfacesDataType = 'array';
59 protected $schedulingType = Scheduling::class;
60 protected $schedulingDataType = '';
61 protected $serviceAccountsType = ServiceAccount::class;
62 protected $serviceAccountsDataType = 'array';
63 protected $tagsType = Tags::class;
64 protected $tagsDataType = '';
65
66 /**
67 * @param bool
68 */
69 public function setCanIpForward($canIpForward)
70 {
71 $this->canIpForward = $canIpForward;
72 }
73 /**
74 * @return bool
75 */
76 public function getCanIpForward()
77 {
78 return $this->canIpForward;
79 }
80 /**
81 * @param bool
82 */
83 public function setDeletionProtection($deletionProtection)
84 {
85 $this->deletionProtection = $deletionProtection;
86 }
87 /**
88 * @return bool
89 */
90 public function getDeletionProtection()
91 {
92 return $this->deletionProtection;
93 }
94 /**
95 * @param string
96 */
97 public function setDescription($description)
98 {
99 $this->description = $description;
100 }
101 /**
102 * @return string
103 */
104 public function getDescription()
105 {
106 return $this->description;
107 }
108 /**
109 * @param SavedAttachedDisk[]
110 */
111 public function setDisks($disks)
112 {
113 $this->disks = $disks;
114 }
115 /**
116 * @return SavedAttachedDisk[]
117 */
118 public function getDisks()
119 {
120 return $this->disks;
121 }
122 /**
123 * @param AcceleratorConfig[]
124 */
125 public function setGuestAccelerators($guestAccelerators)
126 {
127 $this->guestAccelerators = $guestAccelerators;
128 }
129 /**
130 * @return AcceleratorConfig[]
131 */
132 public function getGuestAccelerators()
133 {
134 return $this->guestAccelerators;
135 }
136 /**
137 * @param string
138 */
139 public function setKeyRevocationActionType($keyRevocationActionType)
140 {
141 $this->keyRevocationActionType = $keyRevocationActionType;
142 }
143 /**
144 * @return string
145 */
146 public function getKeyRevocationActionType()
147 {
148 return $this->keyRevocationActionType;
149 }
150 /**
151 * @param string[]
152 */
153 public function setLabels($labels)
154 {
155 $this->labels = $labels;
156 }
157 /**
158 * @return string[]
159 */
160 public function getLabels()
161 {
162 return $this->labels;
163 }
164 /**
165 * @param string
166 */
167 public function setMachineType($machineType)
168 {
169 $this->machineType = $machineType;
170 }
171 /**
172 * @return string
173 */
174 public function getMachineType()
175 {
176 return $this->machineType;
177 }
178 /**
179 * @param Metadata
180 */
181 public function setMetadata(Metadata $metadata)
182 {
183 $this->metadata = $metadata;
184 }
185 /**
186 * @return Metadata
187 */
188 public function getMetadata()
189 {
190 return $this->metadata;
191 }
192 /**
193 * @param string
194 */
195 public function setMinCpuPlatform($minCpuPlatform)
196 {
197 $this->minCpuPlatform = $minCpuPlatform;
198 }
199 /**
200 * @return string
201 */
202 public function getMinCpuPlatform()
203 {
204 return $this->minCpuPlatform;
205 }
206 /**
207 * @param NetworkInterface[]
208 */
209 public function setNetworkInterfaces($networkInterfaces)
210 {
211 $this->networkInterfaces = $networkInterfaces;
212 }
213 /**
214 * @return NetworkInterface[]
215 */
216 public function getNetworkInterfaces()
217 {
218 return $this->networkInterfaces;
219 }
220 /**
221 * @param Scheduling
222 */
223 public function setScheduling(Scheduling $scheduling)
224 {
225 $this->scheduling = $scheduling;
226 }
227 /**
228 * @return Scheduling
229 */
230 public function getScheduling()
231 {
232 return $this->scheduling;
233 }
234 /**
235 * @param ServiceAccount[]
236 */
237 public function setServiceAccounts($serviceAccounts)
238 {
239 $this->serviceAccounts = $serviceAccounts;
240 }
241 /**
242 * @return ServiceAccount[]
243 */
244 public function getServiceAccounts()
245 {
246 return $this->serviceAccounts;
247 }
248 /**
249 * @param Tags
250 */
251 public function setTags(Tags $tags)
252 {
253 $this->tags = $tags;
254 }
255 /**
256 * @return Tags
257 */
258 public function getTags()
259 {
260 return $this->tags;
261 }
262}
263
264// Adding a class alias for backwards compatibility with the previous class name.
265class_alias(SourceInstanceProperties::class, 'Google_Service_Compute_SourceInstanceProperties');
Note: See TracBrowser for help on using the repository browser.