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\CloudAsset; 19 20class ResourceSearchResult extends \Google\Collection 21{ 22 protected $collection_key = 'versionedResources'; 23 /** 24 * @var array[] 25 */ 26 public $additionalAttributes; 27 /** 28 * @var string 29 */ 30 public $assetType; 31 protected $attachedResourcesType = AttachedResource::class; 32 protected $attachedResourcesDataType = 'array'; 33 /** 34 * @var string 35 */ 36 public $createTime; 37 /** 38 * @var string 39 */ 40 public $description; 41 /** 42 * @var string 43 */ 44 public $displayName; 45 /** 46 * @var string[] 47 */ 48 public $folders; 49 /** 50 * @var string 51 */ 52 public $kmsKey; 53 /** 54 * @var string[] 55 */ 56 public $labels; 57 /** 58 * @var string 59 */ 60 public $location; 61 /** 62 * @var string 63 */ 64 public $name; 65 /** 66 * @var string[] 67 */ 68 public $networkTags; 69 /** 70 * @var string 71 */ 72 public $organization; 73 /** 74 * @var string 75 */ 76 public $parentAssetType; 77 /** 78 * @var string 79 */ 80 public $parentFullResourceName; 81 /** 82 * @var string 83 */ 84 public $project; 85 protected $relationshipsType = RelatedResources::class; 86 protected $relationshipsDataType = 'map'; 87 /** 88 * @var string 89 */ 90 public $state; 91 /** 92 * @var string[] 93 */ 94 public $tagKeys; 95 /** 96 * @var string[] 97 */ 98 public $tagValueIds; 99 /** 100 * @var string[] 101 */ 102 public $tagValues; 103 /** 104 * @var string 105 */ 106 public $updateTime; 107 protected $versionedResourcesType = VersionedResource::class; 108 protected $versionedResourcesDataType = 'array'; 109 110 /** 111 * @param array[] 112 */ 113 public function setAdditionalAttributes($additionalAttributes) 114 { 115 $this->additionalAttributes = $additionalAttributes; 116 } 117 /** 118 * @return array[] 119 */ 120 public function getAdditionalAttributes() 121 { 122 return $this->additionalAttributes; 123 } 124 /** 125 * @param string 126 */ 127 public function setAssetType($assetType) 128 { 129 $this->assetType = $assetType; 130 } 131 /** 132 * @return string 133 */ 134 public function getAssetType() 135 { 136 return $this->assetType; 137 } 138 /** 139 * @param AttachedResource[] 140 */ 141 public function setAttachedResources($attachedResources) 142 { 143 $this->attachedResources = $attachedResources; 144 } 145 /** 146 * @return AttachedResource[] 147 */ 148 public function getAttachedResources() 149 { 150 return $this->attachedResources; 151 } 152 /** 153 * @param string 154 */ 155 public function setCreateTime($createTime) 156 { 157 $this->createTime = $createTime; 158 } 159 /** 160 * @return string 161 */ 162 public function getCreateTime() 163 { 164 return $this->createTime; 165 } 166 /** 167 * @param string 168 */ 169 public function setDescription($description) 170 { 171 $this->description = $description; 172 } 173 /** 174 * @return string 175 */ 176 public function getDescription() 177 { 178 return $this->description; 179 } 180 /** 181 * @param string 182 */ 183 public function setDisplayName($displayName) 184 { 185 $this->displayName = $displayName; 186 } 187 /** 188 * @return string 189 */ 190 public function getDisplayName() 191 { 192 return $this->displayName; 193 } 194 /** 195 * @param string[] 196 */ 197 public function setFolders($folders) 198 { 199 $this->folders = $folders; 200 } 201 /** 202 * @return string[] 203 */ 204 public function getFolders() 205 { 206 return $this->folders; 207 } 208 /** 209 * @param string 210 */ 211 public function setKmsKey($kmsKey) 212 { 213 $this->kmsKey = $kmsKey; 214 } 215 /** 216 * @return string 217 */ 218 public function getKmsKey() 219 { 220 return $this->kmsKey; 221 } 222 /** 223 * @param string[] 224 */ 225 public function setLabels($labels) 226 { 227 $this->labels = $labels; 228 } 229 /** 230 * @return string[] 231 */ 232 public function getLabels() 233 { 234 return $this->labels; 235 } 236 /** 237 * @param string 238 */ 239 public function setLocation($location) 240 { 241 $this->location = $location; 242 } 243 /** 244 * @return string 245 */ 246 public function getLocation() 247 { 248 return $this->location; 249 } 250 /** 251 * @param string 252 */ 253 public function setName($name) 254 { 255 $this->name = $name; 256 } 257 /** 258 * @return string 259 */ 260 public function getName() 261 { 262 return $this->name; 263 } 264 /** 265 * @param string[] 266 */ 267 public function setNetworkTags($networkTags) 268 { 269 $this->networkTags = $networkTags; 270 } 271 /** 272 * @return string[] 273 */ 274 public function getNetworkTags() 275 { 276 return $this->networkTags; 277 } 278 /** 279 * @param string 280 */ 281 public function setOrganization($organization) 282 { 283 $this->organization = $organization; 284 } 285 /** 286 * @return string 287 */ 288 public function getOrganization() 289 { 290 return $this->organization; 291 } 292 /** 293 * @param string 294 */ 295 public function setParentAssetType($parentAssetType) 296 { 297 $this->parentAssetType = $parentAssetType; 298 } 299 /** 300 * @return string 301 */ 302 public function getParentAssetType() 303 { 304 return $this->parentAssetType; 305 } 306 /** 307 * @param string 308 */ 309 public function setParentFullResourceName($parentFullResourceName) 310 { 311 $this->parentFullResourceName = $parentFullResourceName; 312 } 313 /** 314 * @return string 315 */ 316 public function getParentFullResourceName() 317 { 318 return $this->parentFullResourceName; 319 } 320 /** 321 * @param string 322 */ 323 public function setProject($project) 324 { 325 $this->project = $project; 326 } 327 /** 328 * @return string 329 */ 330 public function getProject() 331 { 332 return $this->project; 333 } 334 /** 335 * @param RelatedResources[] 336 */ 337 public function setRelationships($relationships) 338 { 339 $this->relationships = $relationships; 340 } 341 /** 342 * @return RelatedResources[] 343 */ 344 public function getRelationships() 345 { 346 return $this->relationships; 347 } 348 /** 349 * @param string 350 */ 351 public function setState($state) 352 { 353 $this->state = $state; 354 } 355 /** 356 * @return string 357 */ 358 public function getState() 359 { 360 return $this->state; 361 } 362 /** 363 * @param string[] 364 */ 365 public function setTagKeys($tagKeys) 366 { 367 $this->tagKeys = $tagKeys; 368 } 369 /** 370 * @return string[] 371 */ 372 public function getTagKeys() 373 { 374 return $this->tagKeys; 375 } 376 /** 377 * @param string[] 378 */ 379 public function setTagValueIds($tagValueIds) 380 { 381 $this->tagValueIds = $tagValueIds; 382 } 383 /** 384 * @return string[] 385 */ 386 public function getTagValueIds() 387 { 388 return $this->tagValueIds; 389 } 390 /** 391 * @param string[] 392 */ 393 public function setTagValues($tagValues) 394 { 395 $this->tagValues = $tagValues; 396 } 397 /** 398 * @return string[] 399 */ 400 public function getTagValues() 401 { 402 return $this->tagValues; 403 } 404 /** 405 * @param string 406 */ 407 public function setUpdateTime($updateTime) 408 { 409 $this->updateTime = $updateTime; 410 } 411 /** 412 * @return string 413 */ 414 public function getUpdateTime() 415 { 416 return $this->updateTime; 417 } 418 /** 419 * @param VersionedResource[] 420 */ 421 public function setVersionedResources($versionedResources) 422 { 423 $this->versionedResources = $versionedResources; 424 } 425 /** 426 * @return VersionedResource[] 427 */ 428 public function getVersionedResources() 429 { 430 return $this->versionedResources; 431 } 432} 433 434// Adding a class alias for backwards compatibility with the previous class name. 435class_alias(ResourceSearchResult::class, 'Google_Service_CloudAsset_ResourceSearchResult'); 436