source: vendor/google/apiclient-services/src/Backupdr/ComputeInstanceBackupProperties.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.2 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\Backupdr;
19
20class ComputeInstanceBackupProperties extends \Google\Collection
21{
22 protected $collection_key = 'serviceAccount';
23 /**
24 * @var bool
25 */
26 public $canIpForward;
27 /**
28 * @var string
29 */
30 public $description;
31 protected $diskType = AttachedDisk::class;
32 protected $diskDataType = 'array';
33 protected $guestAcceleratorType = AcceleratorConfig::class;
34 protected $guestAcceleratorDataType = 'array';
35 /**
36 * @var string
37 */
38 public $keyRevocationActionType;
39 /**
40 * @var string[]
41 */
42 public $labels;
43 /**
44 * @var string
45 */
46 public $machineType;
47 protected $metadataType = Metadata::class;
48 protected $metadataDataType = '';
49 /**
50 * @var string
51 */
52 public $minCpuPlatform;
53 protected $networkInterfaceType = NetworkInterface::class;
54 protected $networkInterfaceDataType = 'array';
55 protected $schedulingType = Scheduling::class;
56 protected $schedulingDataType = '';
57 protected $serviceAccountType = ServiceAccount::class;
58 protected $serviceAccountDataType = 'array';
59 /**
60 * @var string
61 */
62 public $sourceInstance;
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 string
82 */
83 public function setDescription($description)
84 {
85 $this->description = $description;
86 }
87 /**
88 * @return string
89 */
90 public function getDescription()
91 {
92 return $this->description;
93 }
94 /**
95 * @param AttachedDisk[]
96 */
97 public function setDisk($disk)
98 {
99 $this->disk = $disk;
100 }
101 /**
102 * @return AttachedDisk[]
103 */
104 public function getDisk()
105 {
106 return $this->disk;
107 }
108 /**
109 * @param AcceleratorConfig[]
110 */
111 public function setGuestAccelerator($guestAccelerator)
112 {
113 $this->guestAccelerator = $guestAccelerator;
114 }
115 /**
116 * @return AcceleratorConfig[]
117 */
118 public function getGuestAccelerator()
119 {
120 return $this->guestAccelerator;
121 }
122 /**
123 * @param string
124 */
125 public function setKeyRevocationActionType($keyRevocationActionType)
126 {
127 $this->keyRevocationActionType = $keyRevocationActionType;
128 }
129 /**
130 * @return string
131 */
132 public function getKeyRevocationActionType()
133 {
134 return $this->keyRevocationActionType;
135 }
136 /**
137 * @param string[]
138 */
139 public function setLabels($labels)
140 {
141 $this->labels = $labels;
142 }
143 /**
144 * @return string[]
145 */
146 public function getLabels()
147 {
148 return $this->labels;
149 }
150 /**
151 * @param string
152 */
153 public function setMachineType($machineType)
154 {
155 $this->machineType = $machineType;
156 }
157 /**
158 * @return string
159 */
160 public function getMachineType()
161 {
162 return $this->machineType;
163 }
164 /**
165 * @param Metadata
166 */
167 public function setMetadata(Metadata $metadata)
168 {
169 $this->metadata = $metadata;
170 }
171 /**
172 * @return Metadata
173 */
174 public function getMetadata()
175 {
176 return $this->metadata;
177 }
178 /**
179 * @param string
180 */
181 public function setMinCpuPlatform($minCpuPlatform)
182 {
183 $this->minCpuPlatform = $minCpuPlatform;
184 }
185 /**
186 * @return string
187 */
188 public function getMinCpuPlatform()
189 {
190 return $this->minCpuPlatform;
191 }
192 /**
193 * @param NetworkInterface[]
194 */
195 public function setNetworkInterface($networkInterface)
196 {
197 $this->networkInterface = $networkInterface;
198 }
199 /**
200 * @return NetworkInterface[]
201 */
202 public function getNetworkInterface()
203 {
204 return $this->networkInterface;
205 }
206 /**
207 * @param Scheduling
208 */
209 public function setScheduling(Scheduling $scheduling)
210 {
211 $this->scheduling = $scheduling;
212 }
213 /**
214 * @return Scheduling
215 */
216 public function getScheduling()
217 {
218 return $this->scheduling;
219 }
220 /**
221 * @param ServiceAccount[]
222 */
223 public function setServiceAccount($serviceAccount)
224 {
225 $this->serviceAccount = $serviceAccount;
226 }
227 /**
228 * @return ServiceAccount[]
229 */
230 public function getServiceAccount()
231 {
232 return $this->serviceAccount;
233 }
234 /**
235 * @param string
236 */
237 public function setSourceInstance($sourceInstance)
238 {
239 $this->sourceInstance = $sourceInstance;
240 }
241 /**
242 * @return string
243 */
244 public function getSourceInstance()
245 {
246 return $this->sourceInstance;
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(ComputeInstanceBackupProperties::class, 'Google_Service_Backupdr_ComputeInstanceBackupProperties');
Note: See TracBrowser for help on using the repository browser.