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\CloudAsset;
|
---|
19 |
|
---|
20 | class 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 | protected $effectiveTagsType = EffectiveTagDetails::class;
|
---|
46 | protected $effectiveTagsDataType = 'array';
|
---|
47 | protected $enrichmentsType = AssetEnrichment::class;
|
---|
48 | protected $enrichmentsDataType = 'array';
|
---|
49 | /**
|
---|
50 | * @var string[]
|
---|
51 | */
|
---|
52 | public $folders;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $kmsKey;
|
---|
57 | /**
|
---|
58 | * @var string[]
|
---|
59 | */
|
---|
60 | public $kmsKeys;
|
---|
61 | /**
|
---|
62 | * @var string[]
|
---|
63 | */
|
---|
64 | public $labels;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $location;
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $name;
|
---|
73 | /**
|
---|
74 | * @var string[]
|
---|
75 | */
|
---|
76 | public $networkTags;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $organization;
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $parentAssetType;
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $parentFullResourceName;
|
---|
89 | /**
|
---|
90 | * @var string
|
---|
91 | */
|
---|
92 | public $project;
|
---|
93 | protected $relationshipsType = RelatedResources::class;
|
---|
94 | protected $relationshipsDataType = 'map';
|
---|
95 | /**
|
---|
96 | * @var string[]
|
---|
97 | */
|
---|
98 | public $sccSecurityMarks;
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $state;
|
---|
103 | /**
|
---|
104 | * @var string[]
|
---|
105 | */
|
---|
106 | public $tagKeys;
|
---|
107 | /**
|
---|
108 | * @var string[]
|
---|
109 | */
|
---|
110 | public $tagValueIds;
|
---|
111 | /**
|
---|
112 | * @var string[]
|
---|
113 | */
|
---|
114 | public $tagValues;
|
---|
115 | protected $tagsType = Tag::class;
|
---|
116 | protected $tagsDataType = 'array';
|
---|
117 | /**
|
---|
118 | * @var string
|
---|
119 | */
|
---|
120 | public $updateTime;
|
---|
121 | protected $versionedResourcesType = VersionedResource::class;
|
---|
122 | protected $versionedResourcesDataType = 'array';
|
---|
123 |
|
---|
124 | /**
|
---|
125 | * @param array[]
|
---|
126 | */
|
---|
127 | public function setAdditionalAttributes($additionalAttributes)
|
---|
128 | {
|
---|
129 | $this->additionalAttributes = $additionalAttributes;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @return array[]
|
---|
133 | */
|
---|
134 | public function getAdditionalAttributes()
|
---|
135 | {
|
---|
136 | return $this->additionalAttributes;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @param string
|
---|
140 | */
|
---|
141 | public function setAssetType($assetType)
|
---|
142 | {
|
---|
143 | $this->assetType = $assetType;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @return string
|
---|
147 | */
|
---|
148 | public function getAssetType()
|
---|
149 | {
|
---|
150 | return $this->assetType;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @param AttachedResource[]
|
---|
154 | */
|
---|
155 | public function setAttachedResources($attachedResources)
|
---|
156 | {
|
---|
157 | $this->attachedResources = $attachedResources;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @return AttachedResource[]
|
---|
161 | */
|
---|
162 | public function getAttachedResources()
|
---|
163 | {
|
---|
164 | return $this->attachedResources;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @param string
|
---|
168 | */
|
---|
169 | public function setCreateTime($createTime)
|
---|
170 | {
|
---|
171 | $this->createTime = $createTime;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @return string
|
---|
175 | */
|
---|
176 | public function getCreateTime()
|
---|
177 | {
|
---|
178 | return $this->createTime;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @param string
|
---|
182 | */
|
---|
183 | public function setDescription($description)
|
---|
184 | {
|
---|
185 | $this->description = $description;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @return string
|
---|
189 | */
|
---|
190 | public function getDescription()
|
---|
191 | {
|
---|
192 | return $this->description;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @param string
|
---|
196 | */
|
---|
197 | public function setDisplayName($displayName)
|
---|
198 | {
|
---|
199 | $this->displayName = $displayName;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @return string
|
---|
203 | */
|
---|
204 | public function getDisplayName()
|
---|
205 | {
|
---|
206 | return $this->displayName;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @param EffectiveTagDetails[]
|
---|
210 | */
|
---|
211 | public function setEffectiveTags($effectiveTags)
|
---|
212 | {
|
---|
213 | $this->effectiveTags = $effectiveTags;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @return EffectiveTagDetails[]
|
---|
217 | */
|
---|
218 | public function getEffectiveTags()
|
---|
219 | {
|
---|
220 | return $this->effectiveTags;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @param AssetEnrichment[]
|
---|
224 | */
|
---|
225 | public function setEnrichments($enrichments)
|
---|
226 | {
|
---|
227 | $this->enrichments = $enrichments;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @return AssetEnrichment[]
|
---|
231 | */
|
---|
232 | public function getEnrichments()
|
---|
233 | {
|
---|
234 | return $this->enrichments;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @param string[]
|
---|
238 | */
|
---|
239 | public function setFolders($folders)
|
---|
240 | {
|
---|
241 | $this->folders = $folders;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @return string[]
|
---|
245 | */
|
---|
246 | public function getFolders()
|
---|
247 | {
|
---|
248 | return $this->folders;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @param string
|
---|
252 | */
|
---|
253 | public function setKmsKey($kmsKey)
|
---|
254 | {
|
---|
255 | $this->kmsKey = $kmsKey;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @return string
|
---|
259 | */
|
---|
260 | public function getKmsKey()
|
---|
261 | {
|
---|
262 | return $this->kmsKey;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @param string[]
|
---|
266 | */
|
---|
267 | public function setKmsKeys($kmsKeys)
|
---|
268 | {
|
---|
269 | $this->kmsKeys = $kmsKeys;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @return string[]
|
---|
273 | */
|
---|
274 | public function getKmsKeys()
|
---|
275 | {
|
---|
276 | return $this->kmsKeys;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @param string[]
|
---|
280 | */
|
---|
281 | public function setLabels($labels)
|
---|
282 | {
|
---|
283 | $this->labels = $labels;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @return string[]
|
---|
287 | */
|
---|
288 | public function getLabels()
|
---|
289 | {
|
---|
290 | return $this->labels;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @param string
|
---|
294 | */
|
---|
295 | public function setLocation($location)
|
---|
296 | {
|
---|
297 | $this->location = $location;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @return string
|
---|
301 | */
|
---|
302 | public function getLocation()
|
---|
303 | {
|
---|
304 | return $this->location;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @param string
|
---|
308 | */
|
---|
309 | public function setName($name)
|
---|
310 | {
|
---|
311 | $this->name = $name;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @return string
|
---|
315 | */
|
---|
316 | public function getName()
|
---|
317 | {
|
---|
318 | return $this->name;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @param string[]
|
---|
322 | */
|
---|
323 | public function setNetworkTags($networkTags)
|
---|
324 | {
|
---|
325 | $this->networkTags = $networkTags;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @return string[]
|
---|
329 | */
|
---|
330 | public function getNetworkTags()
|
---|
331 | {
|
---|
332 | return $this->networkTags;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @param string
|
---|
336 | */
|
---|
337 | public function setOrganization($organization)
|
---|
338 | {
|
---|
339 | $this->organization = $organization;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @return string
|
---|
343 | */
|
---|
344 | public function getOrganization()
|
---|
345 | {
|
---|
346 | return $this->organization;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @param string
|
---|
350 | */
|
---|
351 | public function setParentAssetType($parentAssetType)
|
---|
352 | {
|
---|
353 | $this->parentAssetType = $parentAssetType;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @return string
|
---|
357 | */
|
---|
358 | public function getParentAssetType()
|
---|
359 | {
|
---|
360 | return $this->parentAssetType;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @param string
|
---|
364 | */
|
---|
365 | public function setParentFullResourceName($parentFullResourceName)
|
---|
366 | {
|
---|
367 | $this->parentFullResourceName = $parentFullResourceName;
|
---|
368 | }
|
---|
369 | /**
|
---|
370 | * @return string
|
---|
371 | */
|
---|
372 | public function getParentFullResourceName()
|
---|
373 | {
|
---|
374 | return $this->parentFullResourceName;
|
---|
375 | }
|
---|
376 | /**
|
---|
377 | * @param string
|
---|
378 | */
|
---|
379 | public function setProject($project)
|
---|
380 | {
|
---|
381 | $this->project = $project;
|
---|
382 | }
|
---|
383 | /**
|
---|
384 | * @return string
|
---|
385 | */
|
---|
386 | public function getProject()
|
---|
387 | {
|
---|
388 | return $this->project;
|
---|
389 | }
|
---|
390 | /**
|
---|
391 | * @param RelatedResources[]
|
---|
392 | */
|
---|
393 | public function setRelationships($relationships)
|
---|
394 | {
|
---|
395 | $this->relationships = $relationships;
|
---|
396 | }
|
---|
397 | /**
|
---|
398 | * @return RelatedResources[]
|
---|
399 | */
|
---|
400 | public function getRelationships()
|
---|
401 | {
|
---|
402 | return $this->relationships;
|
---|
403 | }
|
---|
404 | /**
|
---|
405 | * @param string[]
|
---|
406 | */
|
---|
407 | public function setSccSecurityMarks($sccSecurityMarks)
|
---|
408 | {
|
---|
409 | $this->sccSecurityMarks = $sccSecurityMarks;
|
---|
410 | }
|
---|
411 | /**
|
---|
412 | * @return string[]
|
---|
413 | */
|
---|
414 | public function getSccSecurityMarks()
|
---|
415 | {
|
---|
416 | return $this->sccSecurityMarks;
|
---|
417 | }
|
---|
418 | /**
|
---|
419 | * @param string
|
---|
420 | */
|
---|
421 | public function setState($state)
|
---|
422 | {
|
---|
423 | $this->state = $state;
|
---|
424 | }
|
---|
425 | /**
|
---|
426 | * @return string
|
---|
427 | */
|
---|
428 | public function getState()
|
---|
429 | {
|
---|
430 | return $this->state;
|
---|
431 | }
|
---|
432 | /**
|
---|
433 | * @param string[]
|
---|
434 | */
|
---|
435 | public function setTagKeys($tagKeys)
|
---|
436 | {
|
---|
437 | $this->tagKeys = $tagKeys;
|
---|
438 | }
|
---|
439 | /**
|
---|
440 | * @return string[]
|
---|
441 | */
|
---|
442 | public function getTagKeys()
|
---|
443 | {
|
---|
444 | return $this->tagKeys;
|
---|
445 | }
|
---|
446 | /**
|
---|
447 | * @param string[]
|
---|
448 | */
|
---|
449 | public function setTagValueIds($tagValueIds)
|
---|
450 | {
|
---|
451 | $this->tagValueIds = $tagValueIds;
|
---|
452 | }
|
---|
453 | /**
|
---|
454 | * @return string[]
|
---|
455 | */
|
---|
456 | public function getTagValueIds()
|
---|
457 | {
|
---|
458 | return $this->tagValueIds;
|
---|
459 | }
|
---|
460 | /**
|
---|
461 | * @param string[]
|
---|
462 | */
|
---|
463 | public function setTagValues($tagValues)
|
---|
464 | {
|
---|
465 | $this->tagValues = $tagValues;
|
---|
466 | }
|
---|
467 | /**
|
---|
468 | * @return string[]
|
---|
469 | */
|
---|
470 | public function getTagValues()
|
---|
471 | {
|
---|
472 | return $this->tagValues;
|
---|
473 | }
|
---|
474 | /**
|
---|
475 | * @param Tag[]
|
---|
476 | */
|
---|
477 | public function setTags($tags)
|
---|
478 | {
|
---|
479 | $this->tags = $tags;
|
---|
480 | }
|
---|
481 | /**
|
---|
482 | * @return Tag[]
|
---|
483 | */
|
---|
484 | public function getTags()
|
---|
485 | {
|
---|
486 | return $this->tags;
|
---|
487 | }
|
---|
488 | /**
|
---|
489 | * @param string
|
---|
490 | */
|
---|
491 | public function setUpdateTime($updateTime)
|
---|
492 | {
|
---|
493 | $this->updateTime = $updateTime;
|
---|
494 | }
|
---|
495 | /**
|
---|
496 | * @return string
|
---|
497 | */
|
---|
498 | public function getUpdateTime()
|
---|
499 | {
|
---|
500 | return $this->updateTime;
|
---|
501 | }
|
---|
502 | /**
|
---|
503 | * @param VersionedResource[]
|
---|
504 | */
|
---|
505 | public function setVersionedResources($versionedResources)
|
---|
506 | {
|
---|
507 | $this->versionedResources = $versionedResources;
|
---|
508 | }
|
---|
509 | /**
|
---|
510 | * @return VersionedResource[]
|
---|
511 | */
|
---|
512 | public function getVersionedResources()
|
---|
513 | {
|
---|
514 | return $this->versionedResources;
|
---|
515 | }
|
---|
516 | }
|
---|
517 |
|
---|
518 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
519 | class_alias(ResourceSearchResult::class, 'Google_Service_CloudAsset_ResourceSearchResult');
|
---|