[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Compute;
|
---|
| 19 |
|
---|
| 20 | class UrlMap extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'tests';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $creationTimestamp;
|
---|
| 27 | protected $defaultCustomErrorResponsePolicyType = CustomErrorResponsePolicy::class;
|
---|
| 28 | protected $defaultCustomErrorResponsePolicyDataType = '';
|
---|
| 29 | protected $defaultRouteActionType = HttpRouteAction::class;
|
---|
| 30 | protected $defaultRouteActionDataType = '';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $defaultService;
|
---|
| 35 | protected $defaultUrlRedirectType = HttpRedirectAction::class;
|
---|
| 36 | protected $defaultUrlRedirectDataType = '';
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $description;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $fingerprint;
|
---|
| 45 | protected $headerActionType = HttpHeaderAction::class;
|
---|
| 46 | protected $headerActionDataType = '';
|
---|
| 47 | protected $hostRulesType = HostRule::class;
|
---|
| 48 | protected $hostRulesDataType = 'array';
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $id;
|
---|
| 53 | /**
|
---|
| 54 | * @var string
|
---|
| 55 | */
|
---|
| 56 | public $kind;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $name;
|
---|
| 61 | protected $pathMatchersType = PathMatcher::class;
|
---|
| 62 | protected $pathMatchersDataType = 'array';
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $region;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $selfLink;
|
---|
| 71 | protected $testsType = UrlMapTest::class;
|
---|
| 72 | protected $testsDataType = 'array';
|
---|
| 73 |
|
---|
| 74 | /**
|
---|
| 75 | * @param string
|
---|
| 76 | */
|
---|
| 77 | public function setCreationTimestamp($creationTimestamp)
|
---|
| 78 | {
|
---|
| 79 | $this->creationTimestamp = $creationTimestamp;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return string
|
---|
| 83 | */
|
---|
| 84 | public function getCreationTimestamp()
|
---|
| 85 | {
|
---|
| 86 | return $this->creationTimestamp;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param CustomErrorResponsePolicy
|
---|
| 90 | */
|
---|
| 91 | public function setDefaultCustomErrorResponsePolicy(CustomErrorResponsePolicy $defaultCustomErrorResponsePolicy)
|
---|
| 92 | {
|
---|
| 93 | $this->defaultCustomErrorResponsePolicy = $defaultCustomErrorResponsePolicy;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return CustomErrorResponsePolicy
|
---|
| 97 | */
|
---|
| 98 | public function getDefaultCustomErrorResponsePolicy()
|
---|
| 99 | {
|
---|
| 100 | return $this->defaultCustomErrorResponsePolicy;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param HttpRouteAction
|
---|
| 104 | */
|
---|
| 105 | public function setDefaultRouteAction(HttpRouteAction $defaultRouteAction)
|
---|
| 106 | {
|
---|
| 107 | $this->defaultRouteAction = $defaultRouteAction;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return HttpRouteAction
|
---|
| 111 | */
|
---|
| 112 | public function getDefaultRouteAction()
|
---|
| 113 | {
|
---|
| 114 | return $this->defaultRouteAction;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param string
|
---|
| 118 | */
|
---|
| 119 | public function setDefaultService($defaultService)
|
---|
| 120 | {
|
---|
| 121 | $this->defaultService = $defaultService;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return string
|
---|
| 125 | */
|
---|
| 126 | public function getDefaultService()
|
---|
| 127 | {
|
---|
| 128 | return $this->defaultService;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param HttpRedirectAction
|
---|
| 132 | */
|
---|
| 133 | public function setDefaultUrlRedirect(HttpRedirectAction $defaultUrlRedirect)
|
---|
| 134 | {
|
---|
| 135 | $this->defaultUrlRedirect = $defaultUrlRedirect;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return HttpRedirectAction
|
---|
| 139 | */
|
---|
| 140 | public function getDefaultUrlRedirect()
|
---|
| 141 | {
|
---|
| 142 | return $this->defaultUrlRedirect;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param string
|
---|
| 146 | */
|
---|
| 147 | public function setDescription($description)
|
---|
| 148 | {
|
---|
| 149 | $this->description = $description;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return string
|
---|
| 153 | */
|
---|
| 154 | public function getDescription()
|
---|
| 155 | {
|
---|
| 156 | return $this->description;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param string
|
---|
| 160 | */
|
---|
| 161 | public function setFingerprint($fingerprint)
|
---|
| 162 | {
|
---|
| 163 | $this->fingerprint = $fingerprint;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return string
|
---|
| 167 | */
|
---|
| 168 | public function getFingerprint()
|
---|
| 169 | {
|
---|
| 170 | return $this->fingerprint;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param HttpHeaderAction
|
---|
| 174 | */
|
---|
| 175 | public function setHeaderAction(HttpHeaderAction $headerAction)
|
---|
| 176 | {
|
---|
| 177 | $this->headerAction = $headerAction;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return HttpHeaderAction
|
---|
| 181 | */
|
---|
| 182 | public function getHeaderAction()
|
---|
| 183 | {
|
---|
| 184 | return $this->headerAction;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param HostRule[]
|
---|
| 188 | */
|
---|
| 189 | public function setHostRules($hostRules)
|
---|
| 190 | {
|
---|
| 191 | $this->hostRules = $hostRules;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return HostRule[]
|
---|
| 195 | */
|
---|
| 196 | public function getHostRules()
|
---|
| 197 | {
|
---|
| 198 | return $this->hostRules;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param string
|
---|
| 202 | */
|
---|
| 203 | public function setId($id)
|
---|
| 204 | {
|
---|
| 205 | $this->id = $id;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return string
|
---|
| 209 | */
|
---|
| 210 | public function getId()
|
---|
| 211 | {
|
---|
| 212 | return $this->id;
|
---|
| 213 | }
|
---|
| 214 | /**
|
---|
| 215 | * @param string
|
---|
| 216 | */
|
---|
| 217 | public function setKind($kind)
|
---|
| 218 | {
|
---|
| 219 | $this->kind = $kind;
|
---|
| 220 | }
|
---|
| 221 | /**
|
---|
| 222 | * @return string
|
---|
| 223 | */
|
---|
| 224 | public function getKind()
|
---|
| 225 | {
|
---|
| 226 | return $this->kind;
|
---|
| 227 | }
|
---|
| 228 | /**
|
---|
| 229 | * @param string
|
---|
| 230 | */
|
---|
| 231 | public function setName($name)
|
---|
| 232 | {
|
---|
| 233 | $this->name = $name;
|
---|
| 234 | }
|
---|
| 235 | /**
|
---|
| 236 | * @return string
|
---|
| 237 | */
|
---|
| 238 | public function getName()
|
---|
| 239 | {
|
---|
| 240 | return $this->name;
|
---|
| 241 | }
|
---|
| 242 | /**
|
---|
| 243 | * @param PathMatcher[]
|
---|
| 244 | */
|
---|
| 245 | public function setPathMatchers($pathMatchers)
|
---|
| 246 | {
|
---|
| 247 | $this->pathMatchers = $pathMatchers;
|
---|
| 248 | }
|
---|
| 249 | /**
|
---|
| 250 | * @return PathMatcher[]
|
---|
| 251 | */
|
---|
| 252 | public function getPathMatchers()
|
---|
| 253 | {
|
---|
| 254 | return $this->pathMatchers;
|
---|
| 255 | }
|
---|
| 256 | /**
|
---|
| 257 | * @param string
|
---|
| 258 | */
|
---|
| 259 | public function setRegion($region)
|
---|
| 260 | {
|
---|
| 261 | $this->region = $region;
|
---|
| 262 | }
|
---|
| 263 | /**
|
---|
| 264 | * @return string
|
---|
| 265 | */
|
---|
| 266 | public function getRegion()
|
---|
| 267 | {
|
---|
| 268 | return $this->region;
|
---|
| 269 | }
|
---|
| 270 | /**
|
---|
| 271 | * @param string
|
---|
| 272 | */
|
---|
| 273 | public function setSelfLink($selfLink)
|
---|
| 274 | {
|
---|
| 275 | $this->selfLink = $selfLink;
|
---|
| 276 | }
|
---|
| 277 | /**
|
---|
| 278 | * @return string
|
---|
| 279 | */
|
---|
| 280 | public function getSelfLink()
|
---|
| 281 | {
|
---|
| 282 | return $this->selfLink;
|
---|
| 283 | }
|
---|
| 284 | /**
|
---|
| 285 | * @param UrlMapTest[]
|
---|
| 286 | */
|
---|
| 287 | public function setTests($tests)
|
---|
| 288 | {
|
---|
| 289 | $this->tests = $tests;
|
---|
| 290 | }
|
---|
| 291 | /**
|
---|
| 292 | * @return UrlMapTest[]
|
---|
| 293 | */
|
---|
| 294 | public function getTests()
|
---|
| 295 | {
|
---|
| 296 | return $this->tests;
|
---|
| 297 | }
|
---|
| 298 | }
|
---|
| 299 |
|
---|
| 300 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 301 | class_alias(UrlMap::class, 'Google_Service_Compute_UrlMap');
|
---|