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 GoogleCloudSecuritycenterV2Access extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'serviceAccountDelegationInfo';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $callerIp;
|
---|
27 | protected $callerIpGeoType = GoogleCloudSecuritycenterV2Geolocation::class;
|
---|
28 | protected $callerIpGeoDataType = '';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $methodName;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $principalEmail;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $principalSubject;
|
---|
41 | protected $serviceAccountDelegationInfoType = GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo::class;
|
---|
42 | protected $serviceAccountDelegationInfoDataType = 'array';
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $serviceAccountKeyName;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $serviceName;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $userAgent;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $userAgentFamily;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $userName;
|
---|
63 |
|
---|
64 | /**
|
---|
65 | * @param string
|
---|
66 | */
|
---|
67 | public function setCallerIp($callerIp)
|
---|
68 | {
|
---|
69 | $this->callerIp = $callerIp;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return string
|
---|
73 | */
|
---|
74 | public function getCallerIp()
|
---|
75 | {
|
---|
76 | return $this->callerIp;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param GoogleCloudSecuritycenterV2Geolocation
|
---|
80 | */
|
---|
81 | public function setCallerIpGeo(GoogleCloudSecuritycenterV2Geolocation $callerIpGeo)
|
---|
82 | {
|
---|
83 | $this->callerIpGeo = $callerIpGeo;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return GoogleCloudSecuritycenterV2Geolocation
|
---|
87 | */
|
---|
88 | public function getCallerIpGeo()
|
---|
89 | {
|
---|
90 | return $this->callerIpGeo;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string
|
---|
94 | */
|
---|
95 | public function setMethodName($methodName)
|
---|
96 | {
|
---|
97 | $this->methodName = $methodName;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string
|
---|
101 | */
|
---|
102 | public function getMethodName()
|
---|
103 | {
|
---|
104 | return $this->methodName;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param string
|
---|
108 | */
|
---|
109 | public function setPrincipalEmail($principalEmail)
|
---|
110 | {
|
---|
111 | $this->principalEmail = $principalEmail;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return string
|
---|
115 | */
|
---|
116 | public function getPrincipalEmail()
|
---|
117 | {
|
---|
118 | return $this->principalEmail;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param string
|
---|
122 | */
|
---|
123 | public function setPrincipalSubject($principalSubject)
|
---|
124 | {
|
---|
125 | $this->principalSubject = $principalSubject;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return string
|
---|
129 | */
|
---|
130 | public function getPrincipalSubject()
|
---|
131 | {
|
---|
132 | return $this->principalSubject;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo[]
|
---|
136 | */
|
---|
137 | public function setServiceAccountDelegationInfo($serviceAccountDelegationInfo)
|
---|
138 | {
|
---|
139 | $this->serviceAccountDelegationInfo = $serviceAccountDelegationInfo;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo[]
|
---|
143 | */
|
---|
144 | public function getServiceAccountDelegationInfo()
|
---|
145 | {
|
---|
146 | return $this->serviceAccountDelegationInfo;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param string
|
---|
150 | */
|
---|
151 | public function setServiceAccountKeyName($serviceAccountKeyName)
|
---|
152 | {
|
---|
153 | $this->serviceAccountKeyName = $serviceAccountKeyName;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return string
|
---|
157 | */
|
---|
158 | public function getServiceAccountKeyName()
|
---|
159 | {
|
---|
160 | return $this->serviceAccountKeyName;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param string
|
---|
164 | */
|
---|
165 | public function setServiceName($serviceName)
|
---|
166 | {
|
---|
167 | $this->serviceName = $serviceName;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return string
|
---|
171 | */
|
---|
172 | public function getServiceName()
|
---|
173 | {
|
---|
174 | return $this->serviceName;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param string
|
---|
178 | */
|
---|
179 | public function setUserAgent($userAgent)
|
---|
180 | {
|
---|
181 | $this->userAgent = $userAgent;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return string
|
---|
185 | */
|
---|
186 | public function getUserAgent()
|
---|
187 | {
|
---|
188 | return $this->userAgent;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param string
|
---|
192 | */
|
---|
193 | public function setUserAgentFamily($userAgentFamily)
|
---|
194 | {
|
---|
195 | $this->userAgentFamily = $userAgentFamily;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return string
|
---|
199 | */
|
---|
200 | public function getUserAgentFamily()
|
---|
201 | {
|
---|
202 | return $this->userAgentFamily;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param string
|
---|
206 | */
|
---|
207 | public function setUserName($userName)
|
---|
208 | {
|
---|
209 | $this->userName = $userName;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return string
|
---|
213 | */
|
---|
214 | public function getUserName()
|
---|
215 | {
|
---|
216 | return $this->userName;
|
---|
217 | }
|
---|
218 | }
|
---|
219 |
|
---|
220 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
221 | class_alias(GoogleCloudSecuritycenterV2Access::class, 'Google_Service_SecurityCommandCenter_GoogleCloudSecuritycenterV2Access');
|
---|