PluginProbe
WP Database Backup – Unlimited Database & Files Backup by Backup for WP / 6.11
WP Database Backup – Unlimited Database & Files Backup by Backup for WP v6.11
7.13 7.12 trunk 1.1 2.1.1 5.9 6.0 6.1 6.10 6.11 6.12 6.12.1 6.2 6.3 6.4 6.5 6.5.1 6.6 6.7 6.8 6.9 7.0 7.0.1 7.1 7.10 All 34 releases
wp-database-backup / includes / admin / Destination / Google / google-api-php-client / src / contrib / Google_GroupssettingsService.php

Google_GroupssettingsService.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.11, at includes/admin/Destination/Google/google-api-php-client/src/contrib/Google_GroupssettingsService.php

300 lines 10.5 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 /**
18 * The "groups" collection of methods.
19 * Typical usage is:
20 * <code>
21 * $groupssettingsService = new Google_GroupssettingsService(...);
22 * $groups = $groupssettingsService->groups;
23 * </code>
24 */
25 class Google_GroupsServiceResource extends Google_ServiceResource {
26
27 /**
28 * Gets one resource by id. (groups.get)
29 *
30 * @param string $groupUniqueId The resource ID
31 * @param array $optParams Optional parameters.
32 * @return Google_Groups
33 */
34 public function get($groupUniqueId, $optParams = array()) {
35 $params = array('groupUniqueId' => $groupUniqueId);
36 $params = array_merge($params, $optParams);
37 $data = $this->__call('get', array($params));
38 if ($this->useObjects()) {
39 return new Google_Groups($data);
40 } else {
41 return $data;
42 }
43 }
44 /**
45 * Updates an existing resource. This method supports patch semantics. (groups.patch)
46 *
47 * @param string $groupUniqueId The resource ID
48 * @param Google_Groups $postBody
49 * @param array $optParams Optional parameters.
50 * @return Google_Groups
51 */
52 public function patch($groupUniqueId, Google_Groups $postBody, $optParams = array()) {
53 $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
54 $params = array_merge($params, $optParams);
55 $data = $this->__call('patch', array($params));
56 if ($this->useObjects()) {
57 return new Google_Groups($data);
58 } else {
59 return $data;
60 }
61 }
62 /**
63 * Updates an existing resource. (groups.update)
64 *
65 * @param string $groupUniqueId The resource ID
66 * @param Google_Groups $postBody
67 * @param array $optParams Optional parameters.
68 * @return Google_Groups
69 */
70 public function update($groupUniqueId, Google_Groups $postBody, $optParams = array()) {
71 $params = array('groupUniqueId' => $groupUniqueId, 'postBody' => $postBody);
72 $params = array_merge($params, $optParams);
73 $data = $this->__call('update', array($params));
74 if ($this->useObjects()) {
75 return new Google_Groups($data);
76 } else {
77 return $data;
78 }
79 }
80 }
81
82 /**
83 * Service definition for Google_Groupssettings (v1).
84 *
85 * <p>
86 * Lets you manage permission levels and related settings of a group.
87 * </p>
88 *
89 * <p>
90 * For more information about this service, see the
91 * <a href="https://developers.google.com/google-apps/groups-settings/get_started" target="_blank">API Documentation</a>
92 * </p>
93 *
94 * @author Google, Inc.
95 */
96 class Google_GroupssettingsService extends Google_Service {
97 public $groups;
98 /**
99 * Constructs the internal representation of the Groupssettings service.
100 *
101 * @param Google_Client $client
102 */
103 public function __construct(Google_Client $client) {
104 $this->servicePath = 'groups/v1/groups/';
105 $this->version = 'v1';
106 $this->serviceName = 'groupssettings';
107
108 $client->addService($this->serviceName, $this->version);
109 $this->groups = new Google_GroupsServiceResource($this, $this->serviceName, 'groups', json_decode('{"methods": {"get": {"id": "groupsSettings.groups.get", "path": "{groupUniqueId}", "httpMethod": "GET", "parameters": {"groupUniqueId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Groups"}, "scopes": ["https://www.googleapis.com/auth/apps.groups.settings"]}, "patch": {"id": "groupsSettings.groups.patch", "path": "{groupUniqueId}", "httpMethod": "PATCH", "parameters": {"groupUniqueId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Groups"}, "response": {"$ref": "Groups"}, "scopes": ["https://www.googleapis.com/auth/apps.groups.settings"]}, "update": {"id": "groupsSettings.groups.update", "path": "{groupUniqueId}", "httpMethod": "PUT", "parameters": {"groupUniqueId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Groups"}, "response": {"$ref": "Groups"}, "scopes": ["https://www.googleapis.com/auth/apps.groups.settings"]}}}', true));
110
111 }
112 }
113
114
115
116 class Google_Groups extends Google_Model {
117 public $allowExternalMembers;
118 public $allowGoogleCommunication;
119 public $allowWebPosting;
120 public $archiveOnly;
121 public $customReplyTo;
122 public $defaultMessageDenyNotificationText;
123 public $description;
124 public $email;
125 public $includeInGlobalAddressList;
126 public $isArchived;
127 public $kind;
128 public $maxMessageBytes;
129 public $membersCanPostAsTheGroup;
130 public $messageDisplayFont;
131 public $messageModerationLevel;
132 public $name;
133 public $primaryLanguage;
134 public $replyTo;
135 public $sendMessageDenyNotification;
136 public $showInGroupDirectory;
137 public $spamModerationLevel;
138 public $whoCanInvite;
139 public $whoCanJoin;
140 public $whoCanPostMessage;
141 public $whoCanViewGroup;
142 public $whoCanViewMembership;
143 public function setAllowExternalMembers( $allowExternalMembers) {
144 $this->allowExternalMembers = $allowExternalMembers;
145 }
146 public function getAllowExternalMembers() {
147 return $this->allowExternalMembers;
148 }
149 public function setAllowGoogleCommunication( $allowGoogleCommunication) {
150 $this->allowGoogleCommunication = $allowGoogleCommunication;
151 }
152 public function getAllowGoogleCommunication() {
153 return $this->allowGoogleCommunication;
154 }
155 public function setAllowWebPosting( $allowWebPosting) {
156 $this->allowWebPosting = $allowWebPosting;
157 }
158 public function getAllowWebPosting() {
159 return $this->allowWebPosting;
160 }
161 public function setArchiveOnly( $archiveOnly) {
162 $this->archiveOnly = $archiveOnly;
163 }
164 public function getArchiveOnly() {
165 return $this->archiveOnly;
166 }
167 public function setCustomReplyTo( $customReplyTo) {
168 $this->customReplyTo = $customReplyTo;
169 }
170 public function getCustomReplyTo() {
171 return $this->customReplyTo;
172 }
173 public function setDefaultMessageDenyNotificationText( $defaultMessageDenyNotificationText) {
174 $this->defaultMessageDenyNotificationText = $defaultMessageDenyNotificationText;
175 }
176 public function getDefaultMessageDenyNotificationText() {
177 return $this->defaultMessageDenyNotificationText;
178 }
179 public function setDescription( $description) {
180 $this->description = $description;
181 }
182 public function getDescription() {
183 return $this->description;
184 }
185 public function setEmail( $email) {
186 $this->email = $email;
187 }
188 public function getEmail() {
189 return $this->email;
190 }
191 public function setIncludeInGlobalAddressList( $includeInGlobalAddressList) {
192 $this->includeInGlobalAddressList = $includeInGlobalAddressList;
193 }
194 public function getIncludeInGlobalAddressList() {
195 return $this->includeInGlobalAddressList;
196 }
197 public function setIsArchived( $isArchived) {
198 $this->isArchived = $isArchived;
199 }
200 public function getIsArchived() {
201 return $this->isArchived;
202 }
203 public function setKind( $kind) {
204 $this->kind = $kind;
205 }
206 public function getKind() {
207 return $this->kind;
208 }
209 public function setMaxMessageBytes( $maxMessageBytes) {
210 $this->maxMessageBytes = $maxMessageBytes;
211 }
212 public function getMaxMessageBytes() {
213 return $this->maxMessageBytes;
214 }
215 public function setMembersCanPostAsTheGroup( $membersCanPostAsTheGroup) {
216 $this->membersCanPostAsTheGroup = $membersCanPostAsTheGroup;
217 }
218 public function getMembersCanPostAsTheGroup() {
219 return $this->membersCanPostAsTheGroup;
220 }
221 public function setMessageDisplayFont( $messageDisplayFont) {
222 $this->messageDisplayFont = $messageDisplayFont;
223 }
224 public function getMessageDisplayFont() {
225 return $this->messageDisplayFont;
226 }
227 public function setMessageModerationLevel( $messageModerationLevel) {
228 $this->messageModerationLevel = $messageModerationLevel;
229 }
230 public function getMessageModerationLevel() {
231 return $this->messageModerationLevel;
232 }
233 public function setName( $name) {
234 $this->name = $name;
235 }
236 public function getName() {
237 return $this->name;
238 }
239 public function setPrimaryLanguage( $primaryLanguage) {
240 $this->primaryLanguage = $primaryLanguage;
241 }
242 public function getPrimaryLanguage() {
243 return $this->primaryLanguage;
244 }
245 public function setReplyTo( $replyTo) {
246 $this->replyTo = $replyTo;
247 }
248 public function getReplyTo() {
249 return $this->replyTo;
250 }
251 public function setSendMessageDenyNotification( $sendMessageDenyNotification) {
252 $this->sendMessageDenyNotification = $sendMessageDenyNotification;
253 }
254 public function getSendMessageDenyNotification() {
255 return $this->sendMessageDenyNotification;
256 }
257 public function setShowInGroupDirectory( $showInGroupDirectory) {
258 $this->showInGroupDirectory = $showInGroupDirectory;
259 }
260 public function getShowInGroupDirectory() {
261 return $this->showInGroupDirectory;
262 }
263 public function setSpamModerationLevel( $spamModerationLevel) {
264 $this->spamModerationLevel = $spamModerationLevel;
265 }
266 public function getSpamModerationLevel() {
267 return $this->spamModerationLevel;
268 }
269 public function setWhoCanInvite( $whoCanInvite) {
270 $this->whoCanInvite = $whoCanInvite;
271 }
272 public function getWhoCanInvite() {
273 return $this->whoCanInvite;
274 }
275 public function setWhoCanJoin( $whoCanJoin) {
276 $this->whoCanJoin = $whoCanJoin;
277 }
278 public function getWhoCanJoin() {
279 return $this->whoCanJoin;
280 }
281 public function setWhoCanPostMessage( $whoCanPostMessage) {
282 $this->whoCanPostMessage = $whoCanPostMessage;
283 }
284 public function getWhoCanPostMessage() {
285 return $this->whoCanPostMessage;
286 }
287 public function setWhoCanViewGroup( $whoCanViewGroup) {
288 $this->whoCanViewGroup = $whoCanViewGroup;
289 }
290 public function getWhoCanViewGroup() {
291 return $this->whoCanViewGroup;
292 }
293 public function setWhoCanViewMembership( $whoCanViewMembership) {
294 $this->whoCanViewMembership = $whoCanViewMembership;
295 }
296 public function getWhoCanViewMembership() {
297 return $this->whoCanViewMembership;
298 }
299 }
300