source: vendor/google/apiclient-services/src/Compute/TargetPool.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.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 TargetPool extends \Google\Collection
21{
22 protected $collection_key = 'instances';
23 /**
24 * @var string
25 */
26 public $backupPool;
27 /**
28 * @var string
29 */
30 public $creationTimestamp;
31 /**
32 * @var string
33 */
34 public $description;
35 /**
36 * @var float
37 */
38 public $failoverRatio;
39 /**
40 * @var string[]
41 */
42 public $healthChecks;
43 /**
44 * @var string
45 */
46 public $id;
47 /**
48 * @var string[]
49 */
50 public $instances;
51 /**
52 * @var string
53 */
54 public $kind;
55 /**
56 * @var string
57 */
58 public $name;
59 /**
60 * @var string
61 */
62 public $region;
63 /**
64 * @var string
65 */
66 public $securityPolicy;
67 /**
68 * @var string
69 */
70 public $selfLink;
71 /**
72 * @var string
73 */
74 public $sessionAffinity;
75
76 /**
77 * @param string
78 */
79 public function setBackupPool($backupPool)
80 {
81 $this->backupPool = $backupPool;
82 }
83 /**
84 * @return string
85 */
86 public function getBackupPool()
87 {
88 return $this->backupPool;
89 }
90 /**
91 * @param string
92 */
93 public function setCreationTimestamp($creationTimestamp)
94 {
95 $this->creationTimestamp = $creationTimestamp;
96 }
97 /**
98 * @return string
99 */
100 public function getCreationTimestamp()
101 {
102 return $this->creationTimestamp;
103 }
104 /**
105 * @param string
106 */
107 public function setDescription($description)
108 {
109 $this->description = $description;
110 }
111 /**
112 * @return string
113 */
114 public function getDescription()
115 {
116 return $this->description;
117 }
118 /**
119 * @param float
120 */
121 public function setFailoverRatio($failoverRatio)
122 {
123 $this->failoverRatio = $failoverRatio;
124 }
125 /**
126 * @return float
127 */
128 public function getFailoverRatio()
129 {
130 return $this->failoverRatio;
131 }
132 /**
133 * @param string[]
134 */
135 public function setHealthChecks($healthChecks)
136 {
137 $this->healthChecks = $healthChecks;
138 }
139 /**
140 * @return string[]
141 */
142 public function getHealthChecks()
143 {
144 return $this->healthChecks;
145 }
146 /**
147 * @param string
148 */
149 public function setId($id)
150 {
151 $this->id = $id;
152 }
153 /**
154 * @return string
155 */
156 public function getId()
157 {
158 return $this->id;
159 }
160 /**
161 * @param string[]
162 */
163 public function setInstances($instances)
164 {
165 $this->instances = $instances;
166 }
167 /**
168 * @return string[]
169 */
170 public function getInstances()
171 {
172 return $this->instances;
173 }
174 /**
175 * @param string
176 */
177 public function setKind($kind)
178 {
179 $this->kind = $kind;
180 }
181 /**
182 * @return string
183 */
184 public function getKind()
185 {
186 return $this->kind;
187 }
188 /**
189 * @param string
190 */
191 public function setName($name)
192 {
193 $this->name = $name;
194 }
195 /**
196 * @return string
197 */
198 public function getName()
199 {
200 return $this->name;
201 }
202 /**
203 * @param string
204 */
205 public function setRegion($region)
206 {
207 $this->region = $region;
208 }
209 /**
210 * @return string
211 */
212 public function getRegion()
213 {
214 return $this->region;
215 }
216 /**
217 * @param string
218 */
219 public function setSecurityPolicy($securityPolicy)
220 {
221 $this->securityPolicy = $securityPolicy;
222 }
223 /**
224 * @return string
225 */
226 public function getSecurityPolicy()
227 {
228 return $this->securityPolicy;
229 }
230 /**
231 * @param string
232 */
233 public function setSelfLink($selfLink)
234 {
235 $this->selfLink = $selfLink;
236 }
237 /**
238 * @return string
239 */
240 public function getSelfLink()
241 {
242 return $this->selfLink;
243 }
244 /**
245 * @param string
246 */
247 public function setSessionAffinity($sessionAffinity)
248 {
249 $this->sessionAffinity = $sessionAffinity;
250 }
251 /**
252 * @return string
253 */
254 public function getSessionAffinity()
255 {
256 return $this->sessionAffinity;
257 }
258}
259
260// Adding a class alias for backwards compatibility with the previous class name.
261class_alias(TargetPool::class, 'Google_Service_Compute_TargetPool');
Note: See TracBrowser for help on using the repository browser.