source: vendor/google/apiclient-services/src/BackupforGKE/RestoreConfig.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: 6.0 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\BackupforGKE;
19
20class RestoreConfig extends \Google\Collection
21{
22 protected $collection_key = 'volumeDataRestorePolicyBindings';
23 /**
24 * @var bool
25 */
26 public $allNamespaces;
27 /**
28 * @var string
29 */
30 public $clusterResourceConflictPolicy;
31 protected $clusterResourceRestoreScopeType = ClusterResourceRestoreScope::class;
32 protected $clusterResourceRestoreScopeDataType = '';
33 protected $excludedNamespacesType = Namespaces::class;
34 protected $excludedNamespacesDataType = '';
35 /**
36 * @var string
37 */
38 public $namespacedResourceRestoreMode;
39 /**
40 * @var bool
41 */
42 public $noNamespaces;
43 protected $restoreOrderType = RestoreOrder::class;
44 protected $restoreOrderDataType = '';
45 protected $selectedApplicationsType = NamespacedNames::class;
46 protected $selectedApplicationsDataType = '';
47 protected $selectedNamespacesType = Namespaces::class;
48 protected $selectedNamespacesDataType = '';
49 protected $substitutionRulesType = SubstitutionRule::class;
50 protected $substitutionRulesDataType = 'array';
51 protected $transformationRulesType = TransformationRule::class;
52 protected $transformationRulesDataType = 'array';
53 /**
54 * @var string
55 */
56 public $volumeDataRestorePolicy;
57 protected $volumeDataRestorePolicyBindingsType = VolumeDataRestorePolicyBinding::class;
58 protected $volumeDataRestorePolicyBindingsDataType = 'array';
59
60 /**
61 * @param bool
62 */
63 public function setAllNamespaces($allNamespaces)
64 {
65 $this->allNamespaces = $allNamespaces;
66 }
67 /**
68 * @return bool
69 */
70 public function getAllNamespaces()
71 {
72 return $this->allNamespaces;
73 }
74 /**
75 * @param string
76 */
77 public function setClusterResourceConflictPolicy($clusterResourceConflictPolicy)
78 {
79 $this->clusterResourceConflictPolicy = $clusterResourceConflictPolicy;
80 }
81 /**
82 * @return string
83 */
84 public function getClusterResourceConflictPolicy()
85 {
86 return $this->clusterResourceConflictPolicy;
87 }
88 /**
89 * @param ClusterResourceRestoreScope
90 */
91 public function setClusterResourceRestoreScope(ClusterResourceRestoreScope $clusterResourceRestoreScope)
92 {
93 $this->clusterResourceRestoreScope = $clusterResourceRestoreScope;
94 }
95 /**
96 * @return ClusterResourceRestoreScope
97 */
98 public function getClusterResourceRestoreScope()
99 {
100 return $this->clusterResourceRestoreScope;
101 }
102 /**
103 * @param Namespaces
104 */
105 public function setExcludedNamespaces(Namespaces $excludedNamespaces)
106 {
107 $this->excludedNamespaces = $excludedNamespaces;
108 }
109 /**
110 * @return Namespaces
111 */
112 public function getExcludedNamespaces()
113 {
114 return $this->excludedNamespaces;
115 }
116 /**
117 * @param string
118 */
119 public function setNamespacedResourceRestoreMode($namespacedResourceRestoreMode)
120 {
121 $this->namespacedResourceRestoreMode = $namespacedResourceRestoreMode;
122 }
123 /**
124 * @return string
125 */
126 public function getNamespacedResourceRestoreMode()
127 {
128 return $this->namespacedResourceRestoreMode;
129 }
130 /**
131 * @param bool
132 */
133 public function setNoNamespaces($noNamespaces)
134 {
135 $this->noNamespaces = $noNamespaces;
136 }
137 /**
138 * @return bool
139 */
140 public function getNoNamespaces()
141 {
142 return $this->noNamespaces;
143 }
144 /**
145 * @param RestoreOrder
146 */
147 public function setRestoreOrder(RestoreOrder $restoreOrder)
148 {
149 $this->restoreOrder = $restoreOrder;
150 }
151 /**
152 * @return RestoreOrder
153 */
154 public function getRestoreOrder()
155 {
156 return $this->restoreOrder;
157 }
158 /**
159 * @param NamespacedNames
160 */
161 public function setSelectedApplications(NamespacedNames $selectedApplications)
162 {
163 $this->selectedApplications = $selectedApplications;
164 }
165 /**
166 * @return NamespacedNames
167 */
168 public function getSelectedApplications()
169 {
170 return $this->selectedApplications;
171 }
172 /**
173 * @param Namespaces
174 */
175 public function setSelectedNamespaces(Namespaces $selectedNamespaces)
176 {
177 $this->selectedNamespaces = $selectedNamespaces;
178 }
179 /**
180 * @return Namespaces
181 */
182 public function getSelectedNamespaces()
183 {
184 return $this->selectedNamespaces;
185 }
186 /**
187 * @param SubstitutionRule[]
188 */
189 public function setSubstitutionRules($substitutionRules)
190 {
191 $this->substitutionRules = $substitutionRules;
192 }
193 /**
194 * @return SubstitutionRule[]
195 */
196 public function getSubstitutionRules()
197 {
198 return $this->substitutionRules;
199 }
200 /**
201 * @param TransformationRule[]
202 */
203 public function setTransformationRules($transformationRules)
204 {
205 $this->transformationRules = $transformationRules;
206 }
207 /**
208 * @return TransformationRule[]
209 */
210 public function getTransformationRules()
211 {
212 return $this->transformationRules;
213 }
214 /**
215 * @param string
216 */
217 public function setVolumeDataRestorePolicy($volumeDataRestorePolicy)
218 {
219 $this->volumeDataRestorePolicy = $volumeDataRestorePolicy;
220 }
221 /**
222 * @return string
223 */
224 public function getVolumeDataRestorePolicy()
225 {
226 return $this->volumeDataRestorePolicy;
227 }
228 /**
229 * @param VolumeDataRestorePolicyBinding[]
230 */
231 public function setVolumeDataRestorePolicyBindings($volumeDataRestorePolicyBindings)
232 {
233 $this->volumeDataRestorePolicyBindings = $volumeDataRestorePolicyBindings;
234 }
235 /**
236 * @return VolumeDataRestorePolicyBinding[]
237 */
238 public function getVolumeDataRestorePolicyBindings()
239 {
240 return $this->volumeDataRestorePolicyBindings;
241 }
242}
243
244// Adding a class alias for backwards compatibility with the previous class name.
245class_alias(RestoreConfig::class, 'Google_Service_BackupforGKE_RestoreConfig');
Note: See TracBrowser for help on using the repository browser.