source: vendor/google/apiclient-services/src/Spanner/Instance.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 5.7 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\Spanner;
19
20class Instance extends \Google\Collection
21{
22 protected $collection_key = 'replicaComputeCapacity';
23 protected $autoscalingConfigType = AutoscalingConfig::class;
24 protected $autoscalingConfigDataType = '';
25 /**
26 * @var string
27 */
28 public $config;
29 /**
30 * @var string
31 */
32 public $createTime;
33 /**
34 * @var string
35 */
36 public $defaultBackupScheduleType;
37 /**
38 * @var string
39 */
40 public $displayName;
41 /**
42 * @var string
43 */
44 public $edition;
45 /**
46 * @var string[]
47 */
48 public $endpointUris;
49 protected $freeInstanceMetadataType = FreeInstanceMetadata::class;
50 protected $freeInstanceMetadataDataType = '';
51 /**
52 * @var string
53 */
54 public $instanceType;
55 /**
56 * @var string[]
57 */
58 public $labels;
59 /**
60 * @var string
61 */
62 public $name;
63 /**
64 * @var int
65 */
66 public $nodeCount;
67 /**
68 * @var int
69 */
70 public $processingUnits;
71 protected $replicaComputeCapacityType = ReplicaComputeCapacity::class;
72 protected $replicaComputeCapacityDataType = 'array';
73 /**
74 * @var string
75 */
76 public $state;
77 /**
78 * @var string
79 */
80 public $updateTime;
81
82 /**
83 * @param AutoscalingConfig
84 */
85 public function setAutoscalingConfig(AutoscalingConfig $autoscalingConfig)
86 {
87 $this->autoscalingConfig = $autoscalingConfig;
88 }
89 /**
90 * @return AutoscalingConfig
91 */
92 public function getAutoscalingConfig()
93 {
94 return $this->autoscalingConfig;
95 }
96 /**
97 * @param string
98 */
99 public function setConfig($config)
100 {
101 $this->config = $config;
102 }
103 /**
104 * @return string
105 */
106 public function getConfig()
107 {
108 return $this->config;
109 }
110 /**
111 * @param string
112 */
113 public function setCreateTime($createTime)
114 {
115 $this->createTime = $createTime;
116 }
117 /**
118 * @return string
119 */
120 public function getCreateTime()
121 {
122 return $this->createTime;
123 }
124 /**
125 * @param string
126 */
127 public function setDefaultBackupScheduleType($defaultBackupScheduleType)
128 {
129 $this->defaultBackupScheduleType = $defaultBackupScheduleType;
130 }
131 /**
132 * @return string
133 */
134 public function getDefaultBackupScheduleType()
135 {
136 return $this->defaultBackupScheduleType;
137 }
138 /**
139 * @param string
140 */
141 public function setDisplayName($displayName)
142 {
143 $this->displayName = $displayName;
144 }
145 /**
146 * @return string
147 */
148 public function getDisplayName()
149 {
150 return $this->displayName;
151 }
152 /**
153 * @param string
154 */
155 public function setEdition($edition)
156 {
157 $this->edition = $edition;
158 }
159 /**
160 * @return string
161 */
162 public function getEdition()
163 {
164 return $this->edition;
165 }
166 /**
167 * @param string[]
168 */
169 public function setEndpointUris($endpointUris)
170 {
171 $this->endpointUris = $endpointUris;
172 }
173 /**
174 * @return string[]
175 */
176 public function getEndpointUris()
177 {
178 return $this->endpointUris;
179 }
180 /**
181 * @param FreeInstanceMetadata
182 */
183 public function setFreeInstanceMetadata(FreeInstanceMetadata $freeInstanceMetadata)
184 {
185 $this->freeInstanceMetadata = $freeInstanceMetadata;
186 }
187 /**
188 * @return FreeInstanceMetadata
189 */
190 public function getFreeInstanceMetadata()
191 {
192 return $this->freeInstanceMetadata;
193 }
194 /**
195 * @param string
196 */
197 public function setInstanceType($instanceType)
198 {
199 $this->instanceType = $instanceType;
200 }
201 /**
202 * @return string
203 */
204 public function getInstanceType()
205 {
206 return $this->instanceType;
207 }
208 /**
209 * @param string[]
210 */
211 public function setLabels($labels)
212 {
213 $this->labels = $labels;
214 }
215 /**
216 * @return string[]
217 */
218 public function getLabels()
219 {
220 return $this->labels;
221 }
222 /**
223 * @param string
224 */
225 public function setName($name)
226 {
227 $this->name = $name;
228 }
229 /**
230 * @return string
231 */
232 public function getName()
233 {
234 return $this->name;
235 }
236 /**
237 * @param int
238 */
239 public function setNodeCount($nodeCount)
240 {
241 $this->nodeCount = $nodeCount;
242 }
243 /**
244 * @return int
245 */
246 public function getNodeCount()
247 {
248 return $this->nodeCount;
249 }
250 /**
251 * @param int
252 */
253 public function setProcessingUnits($processingUnits)
254 {
255 $this->processingUnits = $processingUnits;
256 }
257 /**
258 * @return int
259 */
260 public function getProcessingUnits()
261 {
262 return $this->processingUnits;
263 }
264 /**
265 * @param ReplicaComputeCapacity[]
266 */
267 public function setReplicaComputeCapacity($replicaComputeCapacity)
268 {
269 $this->replicaComputeCapacity = $replicaComputeCapacity;
270 }
271 /**
272 * @return ReplicaComputeCapacity[]
273 */
274 public function getReplicaComputeCapacity()
275 {
276 return $this->replicaComputeCapacity;
277 }
278 /**
279 * @param string
280 */
281 public function setState($state)
282 {
283 $this->state = $state;
284 }
285 /**
286 * @return string
287 */
288 public function getState()
289 {
290 return $this->state;
291 }
292 /**
293 * @param string
294 */
295 public function setUpdateTime($updateTime)
296 {
297 $this->updateTime = $updateTime;
298 }
299 /**
300 * @return string
301 */
302 public function getUpdateTime()
303 {
304 return $this->updateTime;
305 }
306}
307
308// Adding a class alias for backwards compatibility with the previous class name.
309class_alias(Instance::class, 'Google_Service_Spanner_Instance');
Note: See TracBrowser for help on using the repository browser.