source: vendor/google/apiclient-services/src/AccessApproval/AccessApprovalSettings.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: 5.2 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\AccessApproval;
19
20class AccessApprovalSettings extends \Google\Collection
21{
22 protected $collection_key = 'notificationEmails';
23 /**
24 * @var string
25 */
26 public $activeKeyVersion;
27 /**
28 * @var bool
29 */
30 public $ancestorHasActiveKeyVersion;
31 /**
32 * @var bool
33 */
34 public $enrolledAncestor;
35 protected $enrolledServicesType = EnrolledService::class;
36 protected $enrolledServicesDataType = 'array';
37 /**
38 * @var bool
39 */
40 public $invalidKeyVersion;
41 /**
42 * @var string
43 */
44 public $name;
45 /**
46 * @var string[]
47 */
48 public $notificationEmails;
49 /**
50 * @var string
51 */
52 public $notificationPubsubTopic;
53 /**
54 * @var bool
55 */
56 public $preferNoBroadApprovalRequests;
57 /**
58 * @var int
59 */
60 public $preferredRequestExpirationDays;
61 /**
62 * @var string
63 */
64 public $requestScopeMaxWidthPreference;
65 /**
66 * @var bool
67 */
68 public $requireCustomerVisibleJustification;
69
70 /**
71 * @param string
72 */
73 public function setActiveKeyVersion($activeKeyVersion)
74 {
75 $this->activeKeyVersion = $activeKeyVersion;
76 }
77 /**
78 * @return string
79 */
80 public function getActiveKeyVersion()
81 {
82 return $this->activeKeyVersion;
83 }
84 /**
85 * @param bool
86 */
87 public function setAncestorHasActiveKeyVersion($ancestorHasActiveKeyVersion)
88 {
89 $this->ancestorHasActiveKeyVersion = $ancestorHasActiveKeyVersion;
90 }
91 /**
92 * @return bool
93 */
94 public function getAncestorHasActiveKeyVersion()
95 {
96 return $this->ancestorHasActiveKeyVersion;
97 }
98 /**
99 * @param bool
100 */
101 public function setEnrolledAncestor($enrolledAncestor)
102 {
103 $this->enrolledAncestor = $enrolledAncestor;
104 }
105 /**
106 * @return bool
107 */
108 public function getEnrolledAncestor()
109 {
110 return $this->enrolledAncestor;
111 }
112 /**
113 * @param EnrolledService[]
114 */
115 public function setEnrolledServices($enrolledServices)
116 {
117 $this->enrolledServices = $enrolledServices;
118 }
119 /**
120 * @return EnrolledService[]
121 */
122 public function getEnrolledServices()
123 {
124 return $this->enrolledServices;
125 }
126 /**
127 * @param bool
128 */
129 public function setInvalidKeyVersion($invalidKeyVersion)
130 {
131 $this->invalidKeyVersion = $invalidKeyVersion;
132 }
133 /**
134 * @return bool
135 */
136 public function getInvalidKeyVersion()
137 {
138 return $this->invalidKeyVersion;
139 }
140 /**
141 * @param string
142 */
143 public function setName($name)
144 {
145 $this->name = $name;
146 }
147 /**
148 * @return string
149 */
150 public function getName()
151 {
152 return $this->name;
153 }
154 /**
155 * @param string[]
156 */
157 public function setNotificationEmails($notificationEmails)
158 {
159 $this->notificationEmails = $notificationEmails;
160 }
161 /**
162 * @return string[]
163 */
164 public function getNotificationEmails()
165 {
166 return $this->notificationEmails;
167 }
168 /**
169 * @param string
170 */
171 public function setNotificationPubsubTopic($notificationPubsubTopic)
172 {
173 $this->notificationPubsubTopic = $notificationPubsubTopic;
174 }
175 /**
176 * @return string
177 */
178 public function getNotificationPubsubTopic()
179 {
180 return $this->notificationPubsubTopic;
181 }
182 /**
183 * @param bool
184 */
185 public function setPreferNoBroadApprovalRequests($preferNoBroadApprovalRequests)
186 {
187 $this->preferNoBroadApprovalRequests = $preferNoBroadApprovalRequests;
188 }
189 /**
190 * @return bool
191 */
192 public function getPreferNoBroadApprovalRequests()
193 {
194 return $this->preferNoBroadApprovalRequests;
195 }
196 /**
197 * @param int
198 */
199 public function setPreferredRequestExpirationDays($preferredRequestExpirationDays)
200 {
201 $this->preferredRequestExpirationDays = $preferredRequestExpirationDays;
202 }
203 /**
204 * @return int
205 */
206 public function getPreferredRequestExpirationDays()
207 {
208 return $this->preferredRequestExpirationDays;
209 }
210 /**
211 * @param string
212 */
213 public function setRequestScopeMaxWidthPreference($requestScopeMaxWidthPreference)
214 {
215 $this->requestScopeMaxWidthPreference = $requestScopeMaxWidthPreference;
216 }
217 /**
218 * @return string
219 */
220 public function getRequestScopeMaxWidthPreference()
221 {
222 return $this->requestScopeMaxWidthPreference;
223 }
224 /**
225 * @param bool
226 */
227 public function setRequireCustomerVisibleJustification($requireCustomerVisibleJustification)
228 {
229 $this->requireCustomerVisibleJustification = $requireCustomerVisibleJustification;
230 }
231 /**
232 * @return bool
233 */
234 public function getRequireCustomerVisibleJustification()
235 {
236 return $this->requireCustomerVisibleJustification;
237 }
238}
239
240// Adding a class alias for backwards compatibility with the previous class name.
241class_alias(AccessApprovalSettings::class, 'Google_Service_AccessApproval_AccessApprovalSettings');
Note: See TracBrowser for help on using the repository browser.