[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\SecurityCommandCenter;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudSecuritycenterV2Kubernetes extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'roles';
|
---|
| 23 | protected $accessReviewsType = GoogleCloudSecuritycenterV2AccessReview::class;
|
---|
| 24 | protected $accessReviewsDataType = 'array';
|
---|
| 25 | protected $bindingsType = GoogleCloudSecuritycenterV2Binding::class;
|
---|
| 26 | protected $bindingsDataType = 'array';
|
---|
| 27 | protected $nodePoolsType = GoogleCloudSecuritycenterV2NodePool::class;
|
---|
| 28 | protected $nodePoolsDataType = 'array';
|
---|
| 29 | protected $nodesType = GoogleCloudSecuritycenterV2Node::class;
|
---|
| 30 | protected $nodesDataType = 'array';
|
---|
| 31 | protected $objectsType = GoogleCloudSecuritycenterV2Object::class;
|
---|
| 32 | protected $objectsDataType = 'array';
|
---|
| 33 | protected $podsType = GoogleCloudSecuritycenterV2Pod::class;
|
---|
| 34 | protected $podsDataType = 'array';
|
---|
| 35 | protected $rolesType = GoogleCloudSecuritycenterV2Role::class;
|
---|
| 36 | protected $rolesDataType = 'array';
|
---|
| 37 |
|
---|
| 38 | /**
|
---|
| 39 | * @param GoogleCloudSecuritycenterV2AccessReview[]
|
---|
| 40 | */
|
---|
| 41 | public function setAccessReviews($accessReviews)
|
---|
| 42 | {
|
---|
| 43 | $this->accessReviews = $accessReviews;
|
---|
| 44 | }
|
---|
| 45 | /**
|
---|
| 46 | * @return GoogleCloudSecuritycenterV2AccessReview[]
|
---|
| 47 | */
|
---|
| 48 | public function getAccessReviews()
|
---|
| 49 | {
|
---|
| 50 | return $this->accessReviews;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @param GoogleCloudSecuritycenterV2Binding[]
|
---|
| 54 | */
|
---|
| 55 | public function setBindings($bindings)
|
---|
| 56 | {
|
---|
| 57 | $this->bindings = $bindings;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @return GoogleCloudSecuritycenterV2Binding[]
|
---|
| 61 | */
|
---|
| 62 | public function getBindings()
|
---|
| 63 | {
|
---|
| 64 | return $this->bindings;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @param GoogleCloudSecuritycenterV2NodePool[]
|
---|
| 68 | */
|
---|
| 69 | public function setNodePools($nodePools)
|
---|
| 70 | {
|
---|
| 71 | $this->nodePools = $nodePools;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @return GoogleCloudSecuritycenterV2NodePool[]
|
---|
| 75 | */
|
---|
| 76 | public function getNodePools()
|
---|
| 77 | {
|
---|
| 78 | return $this->nodePools;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @param GoogleCloudSecuritycenterV2Node[]
|
---|
| 82 | */
|
---|
| 83 | public function setNodes($nodes)
|
---|
| 84 | {
|
---|
| 85 | $this->nodes = $nodes;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return GoogleCloudSecuritycenterV2Node[]
|
---|
| 89 | */
|
---|
| 90 | public function getNodes()
|
---|
| 91 | {
|
---|
| 92 | return $this->nodes;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param GoogleCloudSecuritycenterV2Object[]
|
---|
| 96 | */
|
---|
| 97 | public function setObjects($objects)
|
---|
| 98 | {
|
---|
| 99 | $this->objects = $objects;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return GoogleCloudSecuritycenterV2Object[]
|
---|
| 103 | */
|
---|
| 104 | public function getObjects()
|
---|
| 105 | {
|
---|
| 106 | return $this->objects;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param GoogleCloudSecuritycenterV2Pod[]
|
---|
| 110 | */
|
---|
| 111 | public function setPods($pods)
|
---|
| 112 | {
|
---|
| 113 | $this->pods = $pods;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return GoogleCloudSecuritycenterV2Pod[]
|
---|
| 117 | */
|
---|
| 118 | public function getPods()
|
---|
| 119 | {
|
---|
| 120 | return $this->pods;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param GoogleCloudSecuritycenterV2Role[]
|
---|
| 124 | */
|
---|
| 125 | public function setRoles($roles)
|
---|
| 126 | {
|
---|
| 127 | $this->roles = $roles;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return GoogleCloudSecuritycenterV2Role[]
|
---|
| 131 | */
|
---|
| 132 | public function getRoles()
|
---|
| 133 | {
|
---|
| 134 | return $this->roles;
|
---|
| 135 | }
|
---|
| 136 | }
|
---|
| 137 |
|
---|
| 138 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 139 | class_alias(GoogleCloudSecuritycenterV2Kubernetes::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Kubernetes');
|
---|