PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / vendor / google-api-php-client / src / Google / Service / Groupssettings.php

Groupssettings.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Groupssettings.php

414 lines 11.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16 /**
17 * Service definition for Groupssettings (v1).
18 *
19 * <p>
20 * Lets you manage permission levels and related settings of a group.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/google-apps/groups-settings/get_started" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_Groupssettings extends Google_Service
30 {
31 /** View and manage the settings of a Google Apps Group. */
32 const APPS_GROUPS_SETTINGS =
33 "https://www.googleapis.com/auth/apps.groups.settings";
34
35 public $groups;
36
37
38 /**
39 * Constructs the internal representation of the Groupssettings service.
40 *
41 * @param Google_Client $client
42 */
43 public function __construct(Google_Client $client)
44 {
45 parent::__construct($client);
46 $this->rootUrl = 'https://www.googleapis.com/';
47 $this->servicePath = 'groups/v1/groups/';
48 $this->version = 'v1';
49 $this->serviceName = 'groupssettings';
50
51 $this->groups = new Google_Service_Groupssettings_Groups_Resource(
52 $this,
53 $this->serviceName,
54 'groups',
55 array(
56 'methods' => array(
57 'get' => array(
58 'path' => '{groupUniqueId}',
59 'httpMethod' => 'GET',
60 'parameters' => array(
61 'groupUniqueId' => array(
62 'location' => 'path',
63 'type' => 'string',
64 'required' => true,
65 ),
66 ),
67 ),'patch' => array(
68 'path' => '{groupUniqueId}',
69 'httpMethod' => 'PATCH',
70 'parameters' => array(
71 'groupUniqueId' => array(
72 'location' => 'path',
73 'type' => 'string',
74 'required' => true,
75 ),
76 ),
77 ),'update' => array(
78 'path' => '{groupUniqueId}',
79 'httpMethod' => 'PUT',
80 'parameters' => array(
81 'groupUniqueId' => array(
82 'location' => 'path',
83 'type' => 'string',
84 'required' => true,
85 ),
86 ),
87 ),
88 )
89 )
90 );
91 }
92 }
93
94
95 /**
96 * The "groups" collection of methods.
97 * Typical usage is:
98 * <code>
99 * $groupssettingsService = new Google_Service_Groupssettings(...);
100 * $groups = $groupssettingsService->groups;
101 * </code>
102 */
103 class Google_Service_Groupssettings_Groups_Resource extends Google_Service_Resource
104 {
105
106 /**
107 * Gets one resource by id. (groups.get)
108 *
109 * @param string $groupUniqueId The resource ID
110 * @param array $optParams Optional parameters.
111 * @return Google_Service_Groupssettings_Groups
112 */
113 public function get($groupUniqueId, $optParams = array())
114 {
115 $params = array('groupUniqueId' => $groupUniqueId);
116 $params = array_merge($params, $optParams);
117 return $this->call('get', array($params), "Google_Service_Groupssettings_Groups");
118 }
119
120 /**
121 * Updates an existing resource. This method supports patch semantics.
122 * (groups.patch)
123 *
124 * @param string $groupUniqueId The resource ID
125 * @param Google_Groups $postBody
126 * @param array $optParams Optional parameters.
127 * @return Google_Service_Groupssettings_Groups
128 */
129 public function patch($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array())
130 {
131 $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
132 $params = array_merge($params, $optParams);
133 return $this->call('patch', array($params), "Google_Service_Groupssettings_Groups");
134 }
135
136 /**
137 * Updates an existing resource. (groups.update)
138 *
139 * @param string $groupUniqueId The resource ID
140 * @param Google_Groups $postBody
141 * @param array $optParams Optional parameters.
142 * @return Google_Service_Groupssettings_Groups
143 */
144 public function update($groupUniqueId, Google_Service_Groupssettings_Groups $postBody, $optParams = array())
145 {
146 $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
147 $params = array_merge($params, $optParams);
148 return $this->call('update', array($params), "Google_Service_Groupssettings_Groups");
149 }
150 }
151
152
153
154
155 class Google_Service_Groupssettings_Groups extends Google_Model
156 {
157 protected $internal_gapi_mappings = array(
158 );
159 public $allowExternalMembers;
160 public $allowGoogleCommunication;
161 public $allowWebPosting;
162 public $archiveOnly;
163 public $customReplyTo;
164 public $defaultMessageDenyNotificationText;
165 public $description;
166 public $email;
167 public $includeInGlobalAddressList;
168 public $isArchived;
169 public $kind;
170 public $maxMessageBytes;
171 public $membersCanPostAsTheGroup;
172 public $messageDisplayFont;
173 public $messageModerationLevel;
174 public $name;
175 public $primaryLanguage;
176 public $replyTo;
177 public $sendMessageDenyNotification;
178 public $showInGroupDirectory;
179 public $spamModerationLevel;
180 public $whoCanContactOwner;
181 public $whoCanInvite;
182 public $whoCanJoin;
183 public $whoCanLeaveGroup;
184 public $whoCanPostMessage;
185 public $whoCanViewGroup;
186 public $whoCanViewMembership;
187
188
189 public function setAllowExternalMembers($allowExternalMembers)
190 {
191 $this->allowExternalMembers = $allowExternalMembers;
192 }
193 public function getAllowExternalMembers()
194 {
195 return $this->allowExternalMembers;
196 }
197 public function setAllowGoogleCommunication($allowGoogleCommunication)
198 {
199 $this->allowGoogleCommunication = $allowGoogleCommunication;
200 }
201 public function getAllowGoogleCommunication()
202 {
203 return $this->allowGoogleCommunication;
204 }
205 public function setAllowWebPosting($allowWebPosting)
206 {
207 $this->allowWebPosting = $allowWebPosting;
208 }
209 public function getAllowWebPosting()
210 {
211 return $this->allowWebPosting;
212 }
213 public function setArchiveOnly($archiveOnly)
214 {
215 $this->archiveOnly = $archiveOnly;
216 }
217 public function getArchiveOnly()
218 {
219 return $this->archiveOnly;
220 }
221 public function setCustomReplyTo($customReplyTo)
222 {
223 $this->customReplyTo = $customReplyTo;
224 }
225 public function getCustomReplyTo()
226 {
227 return $this->customReplyTo;
228 }
229 public function setDefaultMessageDenyNotificationText($defaultMessageDenyNotificationText)
230 {
231 $this->defaultMessageDenyNotificationText = $defaultMessageDenyNotificationText;
232 }
233 public function getDefaultMessageDenyNotificationText()
234 {
235 return $this->defaultMessageDenyNotificationText;
236 }
237 public function setDescription($description)
238 {
239 $this->description = $description;
240 }
241 public function getDescription()
242 {
243 return $this->description;
244 }
245 public function setEmail($email)
246 {
247 $this->email = $email;
248 }
249 public function getEmail()
250 {
251 return $this->email;
252 }
253 public function setIncludeInGlobalAddressList($includeInGlobalAddressList)
254 {
255 $this->includeInGlobalAddressList = $includeInGlobalAddressList;
256 }
257 public function getIncludeInGlobalAddressList()
258 {
259 return $this->includeInGlobalAddressList;
260 }
261 public function setIsArchived($isArchived)
262 {
263 $this->isArchived = $isArchived;
264 }
265 public function getIsArchived()
266 {
267 return $this->isArchived;
268 }
269 public function setKind($kind)
270 {
271 $this->kind = $kind;
272 }
273 public function getKind()
274 {
275 return $this->kind;
276 }
277 public function setMaxMessageBytes($maxMessageBytes)
278 {
279 $this->maxMessageBytes = $maxMessageBytes;
280 }
281 public function getMaxMessageBytes()
282 {
283 return $this->maxMessageBytes;
284 }
285 public function setMembersCanPostAsTheGroup($membersCanPostAsTheGroup)
286 {
287 $this->membersCanPostAsTheGroup = $membersCanPostAsTheGroup;
288 }
289 public function getMembersCanPostAsTheGroup()
290 {
291 return $this->membersCanPostAsTheGroup;
292 }
293 public function setMessageDisplayFont($messageDisplayFont)
294 {
295 $this->messageDisplayFont = $messageDisplayFont;
296 }
297 public function getMessageDisplayFont()
298 {
299 return $this->messageDisplayFont;
300 }
301 public function setMessageModerationLevel($messageModerationLevel)
302 {
303 $this->messageModerationLevel = $messageModerationLevel;
304 }
305 public function getMessageModerationLevel()
306 {
307 return $this->messageModerationLevel;
308 }
309 public function setName($name)
310 {
311 $this->name = $name;
312 }
313 public function getName()
314 {
315 return $this->name;
316 }
317 public function setPrimaryLanguage($primaryLanguage)
318 {
319 $this->primaryLanguage = $primaryLanguage;
320 }
321 public function getPrimaryLanguage()
322 {
323 return $this->primaryLanguage;
324 }
325 public function setReplyTo($replyTo)
326 {
327 $this->replyTo = $replyTo;
328 }
329 public function getReplyTo()
330 {
331 return $this->replyTo;
332 }
333 public function setSendMessageDenyNotification($sendMessageDenyNotification)
334 {
335 $this->sendMessageDenyNotification = $sendMessageDenyNotification;
336 }
337 public function getSendMessageDenyNotification()
338 {
339 return $this->sendMessageDenyNotification;
340 }
341 public function setShowInGroupDirectory($showInGroupDirectory)
342 {
343 $this->showInGroupDirectory = $showInGroupDirectory;
344 }
345 public function getShowInGroupDirectory()
346 {
347 return $this->showInGroupDirectory;
348 }
349 public function setSpamModerationLevel($spamModerationLevel)
350 {
351 $this->spamModerationLevel = $spamModerationLevel;
352 }
353 public function getSpamModerationLevel()
354 {
355 return $this->spamModerationLevel;
356 }
357 public function setWhoCanContactOwner($whoCanContactOwner)
358 {
359 $this->whoCanContactOwner = $whoCanContactOwner;
360 }
361 public function getWhoCanContactOwner()
362 {
363 return $this->whoCanContactOwner;
364 }
365 public function setWhoCanInvite($whoCanInvite)
366 {
367 $this->whoCanInvite = $whoCanInvite;
368 }
369 public function getWhoCanInvite()
370 {
371 return $this->whoCanInvite;
372 }
373 public function setWhoCanJoin($whoCanJoin)
374 {
375 $this->whoCanJoin = $whoCanJoin;
376 }
377 public function getWhoCanJoin()
378 {
379 return $this->whoCanJoin;
380 }
381 public function setWhoCanLeaveGroup($whoCanLeaveGroup)
382 {
383 $this->whoCanLeaveGroup = $whoCanLeaveGroup;
384 }
385 public function getWhoCanLeaveGroup()
386 {
387 return $this->whoCanLeaveGroup;
388 }
389 public function setWhoCanPostMessage($whoCanPostMessage)
390 {
391 $this->whoCanPostMessage = $whoCanPostMessage;
392 }
393 public function getWhoCanPostMessage()
394 {
395 return $this->whoCanPostMessage;
396 }
397 public function setWhoCanViewGroup($whoCanViewGroup)
398 {
399 $this->whoCanViewGroup = $whoCanViewGroup;
400 }
401 public function getWhoCanViewGroup()
402 {
403 return $this->whoCanViewGroup;
404 }
405 public function setWhoCanViewMembership($whoCanViewMembership)
406 {
407 $this->whoCanViewMembership = $whoCanViewMembership;
408 }
409 public function getWhoCanViewMembership()
410 {
411 return $this->whoCanViewMembership;
412 }
413 }
414