source: vendor/google/apiclient-services/src/BigQueryReservation/Reservation.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: 4.6 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\BigQueryReservation;
19
20class Reservation extends \Google\Model
21{
22 protected $autoscaleType = Autoscale::class;
23 protected $autoscaleDataType = '';
24 /**
25 * @var string
26 */
27 public $concurrency;
28 /**
29 * @var string
30 */
31 public $creationTime;
32 /**
33 * @var string
34 */
35 public $edition;
36 /**
37 * @var bool
38 */
39 public $ignoreIdleSlots;
40 /**
41 * @var string[]
42 */
43 public $labels;
44 /**
45 * @var bool
46 */
47 public $multiRegionAuxiliary;
48 /**
49 * @var string
50 */
51 public $name;
52 /**
53 * @var string
54 */
55 public $originalPrimaryLocation;
56 /**
57 * @var string
58 */
59 public $primaryLocation;
60 /**
61 * @var string
62 */
63 public $secondaryLocation;
64 /**
65 * @var string
66 */
67 public $slotCapacity;
68 /**
69 * @var string
70 */
71 public $updateTime;
72
73 /**
74 * @param Autoscale
75 */
76 public function setAutoscale(Autoscale $autoscale)
77 {
78 $this->autoscale = $autoscale;
79 }
80 /**
81 * @return Autoscale
82 */
83 public function getAutoscale()
84 {
85 return $this->autoscale;
86 }
87 /**
88 * @param string
89 */
90 public function setConcurrency($concurrency)
91 {
92 $this->concurrency = $concurrency;
93 }
94 /**
95 * @return string
96 */
97 public function getConcurrency()
98 {
99 return $this->concurrency;
100 }
101 /**
102 * @param string
103 */
104 public function setCreationTime($creationTime)
105 {
106 $this->creationTime = $creationTime;
107 }
108 /**
109 * @return string
110 */
111 public function getCreationTime()
112 {
113 return $this->creationTime;
114 }
115 /**
116 * @param string
117 */
118 public function setEdition($edition)
119 {
120 $this->edition = $edition;
121 }
122 /**
123 * @return string
124 */
125 public function getEdition()
126 {
127 return $this->edition;
128 }
129 /**
130 * @param bool
131 */
132 public function setIgnoreIdleSlots($ignoreIdleSlots)
133 {
134 $this->ignoreIdleSlots = $ignoreIdleSlots;
135 }
136 /**
137 * @return bool
138 */
139 public function getIgnoreIdleSlots()
140 {
141 return $this->ignoreIdleSlots;
142 }
143 /**
144 * @param string[]
145 */
146 public function setLabels($labels)
147 {
148 $this->labels = $labels;
149 }
150 /**
151 * @return string[]
152 */
153 public function getLabels()
154 {
155 return $this->labels;
156 }
157 /**
158 * @param bool
159 */
160 public function setMultiRegionAuxiliary($multiRegionAuxiliary)
161 {
162 $this->multiRegionAuxiliary = $multiRegionAuxiliary;
163 }
164 /**
165 * @return bool
166 */
167 public function getMultiRegionAuxiliary()
168 {
169 return $this->multiRegionAuxiliary;
170 }
171 /**
172 * @param string
173 */
174 public function setName($name)
175 {
176 $this->name = $name;
177 }
178 /**
179 * @return string
180 */
181 public function getName()
182 {
183 return $this->name;
184 }
185 /**
186 * @param string
187 */
188 public function setOriginalPrimaryLocation($originalPrimaryLocation)
189 {
190 $this->originalPrimaryLocation = $originalPrimaryLocation;
191 }
192 /**
193 * @return string
194 */
195 public function getOriginalPrimaryLocation()
196 {
197 return $this->originalPrimaryLocation;
198 }
199 /**
200 * @param string
201 */
202 public function setPrimaryLocation($primaryLocation)
203 {
204 $this->primaryLocation = $primaryLocation;
205 }
206 /**
207 * @return string
208 */
209 public function getPrimaryLocation()
210 {
211 return $this->primaryLocation;
212 }
213 /**
214 * @param string
215 */
216 public function setSecondaryLocation($secondaryLocation)
217 {
218 $this->secondaryLocation = $secondaryLocation;
219 }
220 /**
221 * @return string
222 */
223 public function getSecondaryLocation()
224 {
225 return $this->secondaryLocation;
226 }
227 /**
228 * @param string
229 */
230 public function setSlotCapacity($slotCapacity)
231 {
232 $this->slotCapacity = $slotCapacity;
233 }
234 /**
235 * @return string
236 */
237 public function getSlotCapacity()
238 {
239 return $this->slotCapacity;
240 }
241 /**
242 * @param string
243 */
244 public function setUpdateTime($updateTime)
245 {
246 $this->updateTime = $updateTime;
247 }
248 /**
249 * @return string
250 */
251 public function getUpdateTime()
252 {
253 return $this->updateTime;
254 }
255}
256
257// Adding a class alias for backwards compatibility with the previous class name.
258class_alias(Reservation::class, 'Google_Service_BigQueryReservation_Reservation');
Note: See TracBrowser for help on using the repository browser.