source: vendor/google/apiclient-services/src/SecurityCommandCenter/Kubernetes.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: 3.0 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\SecurityCommandCenter;
19
20class Kubernetes extends \Google\Collection
21{
22 protected $collection_key = 'roles';
23 protected $accessReviewsType = AccessReview::class;
24 protected $accessReviewsDataType = 'array';
25 protected $bindingsType = GoogleCloudSecuritycenterV1Binding::class;
26 protected $bindingsDataType = 'array';
27 protected $nodePoolsType = NodePool::class;
28 protected $nodePoolsDataType = 'array';
29 protected $nodesType = Node::class;
30 protected $nodesDataType = 'array';
31 protected $objectsType = SecuritycenterObject::class;
32 protected $objectsDataType = 'array';
33 protected $podsType = Pod::class;
34 protected $podsDataType = 'array';
35 protected $rolesType = Role::class;
36 protected $rolesDataType = 'array';
37
38 /**
39 * @param AccessReview[]
40 */
41 public function setAccessReviews($accessReviews)
42 {
43 $this->accessReviews = $accessReviews;
44 }
45 /**
46 * @return AccessReview[]
47 */
48 public function getAccessReviews()
49 {
50 return $this->accessReviews;
51 }
52 /**
53 * @param GoogleCloudSecuritycenterV1Binding[]
54 */
55 public function setBindings($bindings)
56 {
57 $this->bindings = $bindings;
58 }
59 /**
60 * @return GoogleCloudSecuritycenterV1Binding[]
61 */
62 public function getBindings()
63 {
64 return $this->bindings;
65 }
66 /**
67 * @param NodePool[]
68 */
69 public function setNodePools($nodePools)
70 {
71 $this->nodePools = $nodePools;
72 }
73 /**
74 * @return NodePool[]
75 */
76 public function getNodePools()
77 {
78 return $this->nodePools;
79 }
80 /**
81 * @param Node[]
82 */
83 public function setNodes($nodes)
84 {
85 $this->nodes = $nodes;
86 }
87 /**
88 * @return Node[]
89 */
90 public function getNodes()
91 {
92 return $this->nodes;
93 }
94 /**
95 * @param SecuritycenterObject[]
96 */
97 public function setObjects($objects)
98 {
99 $this->objects = $objects;
100 }
101 /**
102 * @return SecuritycenterObject[]
103 */
104 public function getObjects()
105 {
106 return $this->objects;
107 }
108 /**
109 * @param Pod[]
110 */
111 public function setPods($pods)
112 {
113 $this->pods = $pods;
114 }
115 /**
116 * @return Pod[]
117 */
118 public function getPods()
119 {
120 return $this->pods;
121 }
122 /**
123 * @param Role[]
124 */
125 public function setRoles($roles)
126 {
127 $this->roles = $roles;
128 }
129 /**
130 * @return Role[]
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.
139class_alias(Kubernetes::class, 'Google_Service_SecurityCommandCenter_Kubernetes');
Note: See TracBrowser for help on using the repository browser.