Version Description
Internal changes to Google Client library. Essential for the latest versions of some extension plugins such as Google Drive Embedder.
Download this release
Release Info
Developer | danlester |
Plugin | Google Apps Login |
Version | 3.0 |
Comparing to | |
See all releases |
Code changes from version 2.10.5 to 3.0
- core/Google/Service/DriveT.php +4637 -0
- core/core_google_apps_login.php +7 -1
- google_apps_login.php +3 -3
- readme.txt +8 -4
core/Google/Service/DriveT.php
ADDED
@@ -0,0 +1,4637 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* Copyright 2016 Google Inc.
|
5 |
+
*
|
6 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
7 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
8 |
+
* the License at
|
9 |
+
*
|
10 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11 |
+
*
|
12 |
+
* Unless required by applicable law or agreed to in writing, software
|
13 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
14 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
15 |
+
* License for the specific language governing permissions and limitations under
|
16 |
+
* the License.
|
17 |
+
*/
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Service definition for Drive (v3).
|
21 |
+
*
|
22 |
+
* <p>
|
23 |
+
* Manages files in Drive including uploading, downloading, searching, detecting
|
24 |
+
* changes, and updating sharing permissions.</p>
|
25 |
+
*
|
26 |
+
* <p>
|
27 |
+
* For more information about this service, see the API
|
28 |
+
* <a href="https://developers.google.com/drive/" target="_blank">Documentation</a>
|
29 |
+
* </p>
|
30 |
+
*
|
31 |
+
* @author Google, Inc.
|
32 |
+
*/
|
33 |
+
class GoogleGAL_Service_DriveT extends GoogleGAL_Service
|
34 |
+
{
|
35 |
+
/** View and manage the files in your Google Drive. */
|
36 |
+
const DRIVE =
|
37 |
+
"https://www.googleapis.com/auth/drive";
|
38 |
+
/** View and manage its own configuration data in your Google Drive. */
|
39 |
+
const DRIVE_APPDATA =
|
40 |
+
"https://www.googleapis.com/auth/drive.appdata";
|
41 |
+
/** View and manage Google Drive files and folders that you have opened or created with this app. */
|
42 |
+
const DRIVE_FILE =
|
43 |
+
"https://www.googleapis.com/auth/drive.file";
|
44 |
+
/** View and manage metadata of files in your Google Drive. */
|
45 |
+
const DRIVE_METADATA =
|
46 |
+
"https://www.googleapis.com/auth/drive.metadata";
|
47 |
+
/** View metadata for files in your Google Drive. */
|
48 |
+
const DRIVE_METADATA_READONLY =
|
49 |
+
"https://www.googleapis.com/auth/drive.metadata.readonly";
|
50 |
+
/** View the photos, videos and albums in your Google Photos. */
|
51 |
+
const DRIVE_PHOTOS_READONLY =
|
52 |
+
"https://www.googleapis.com/auth/drive.photos.readonly";
|
53 |
+
/** View the files in your Google Drive. */
|
54 |
+
const DRIVE_READONLY =
|
55 |
+
"https://www.googleapis.com/auth/drive.readonly";
|
56 |
+
/** Modify your Google Apps Script scripts' behavior. */
|
57 |
+
const DRIVE_SCRIPTS =
|
58 |
+
"https://www.googleapis.com/auth/drive.scripts";
|
59 |
+
|
60 |
+
public $about;
|
61 |
+
public $changes;
|
62 |
+
public $channels;
|
63 |
+
public $comments;
|
64 |
+
public $files;
|
65 |
+
public $permissions;
|
66 |
+
public $replies;
|
67 |
+
public $revisions;
|
68 |
+
public $teamdrives;
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Constructs the internal representation of the Drive service.
|
72 |
+
*
|
73 |
+
* @param GoogleGAL_Client $client
|
74 |
+
*/
|
75 |
+
public function __construct(GoogleGAL_Client $client)
|
76 |
+
{
|
77 |
+
parent::__construct($client);
|
78 |
+
$this->rootUrl = 'https://www.googleapis.com/';
|
79 |
+
$this->servicePath = 'drive/v3/';
|
80 |
+
$this->version = 'v3';
|
81 |
+
$this->serviceName = 'drive';
|
82 |
+
|
83 |
+
$this->about = new GoogleGAL_Service_DriveT_Resource_About(
|
84 |
+
$this,
|
85 |
+
$this->serviceName,
|
86 |
+
'about',
|
87 |
+
array(
|
88 |
+
'methods' => array(
|
89 |
+
'get' => array(
|
90 |
+
'path' => 'about',
|
91 |
+
'httpMethod' => 'GET',
|
92 |
+
'parameters' => array(),
|
93 |
+
),
|
94 |
+
)
|
95 |
+
)
|
96 |
+
);
|
97 |
+
$this->changes = new GoogleGAL_Service_DriveT_Resource_Changes(
|
98 |
+
$this,
|
99 |
+
$this->serviceName,
|
100 |
+
'changes',
|
101 |
+
array(
|
102 |
+
'methods' => array(
|
103 |
+
'getStartPageToken' => array(
|
104 |
+
'path' => 'changes/startPageToken',
|
105 |
+
'httpMethod' => 'GET',
|
106 |
+
'parameters' => array(
|
107 |
+
'supportsTeamDrives' => array(
|
108 |
+
'location' => 'query',
|
109 |
+
'type' => 'boolean',
|
110 |
+
),
|
111 |
+
'teamDriveId' => array(
|
112 |
+
'location' => 'query',
|
113 |
+
'type' => 'string',
|
114 |
+
),
|
115 |
+
),
|
116 |
+
),'list' => array(
|
117 |
+
'path' => 'changes',
|
118 |
+
'httpMethod' => 'GET',
|
119 |
+
'parameters' => array(
|
120 |
+
'pageToken' => array(
|
121 |
+
'location' => 'query',
|
122 |
+
'type' => 'string',
|
123 |
+
'required' => true,
|
124 |
+
),
|
125 |
+
'includeCorpusRemovals' => array(
|
126 |
+
'location' => 'query',
|
127 |
+
'type' => 'boolean',
|
128 |
+
),
|
129 |
+
'includeRemoved' => array(
|
130 |
+
'location' => 'query',
|
131 |
+
'type' => 'boolean',
|
132 |
+
),
|
133 |
+
'includeTeamDriveItems' => array(
|
134 |
+
'location' => 'query',
|
135 |
+
'type' => 'boolean',
|
136 |
+
),
|
137 |
+
'pageSize' => array(
|
138 |
+
'location' => 'query',
|
139 |
+
'type' => 'integer',
|
140 |
+
),
|
141 |
+
'restrictToMyDrive' => array(
|
142 |
+
'location' => 'query',
|
143 |
+
'type' => 'boolean',
|
144 |
+
),
|
145 |
+
'spaces' => array(
|
146 |
+
'location' => 'query',
|
147 |
+
'type' => 'string',
|
148 |
+
),
|
149 |
+
'supportsTeamDrives' => array(
|
150 |
+
'location' => 'query',
|
151 |
+
'type' => 'boolean',
|
152 |
+
),
|
153 |
+
'teamDriveId' => array(
|
154 |
+
'location' => 'query',
|
155 |
+
'type' => 'string',
|
156 |
+
),
|
157 |
+
),
|
158 |
+
),'watch' => array(
|
159 |
+
'path' => 'changes/watch',
|
160 |
+
'httpMethod' => 'POST',
|
161 |
+
'parameters' => array(
|
162 |
+
'pageToken' => array(
|
163 |
+
'location' => 'query',
|
164 |
+
'type' => 'string',
|
165 |
+
'required' => true,
|
166 |
+
),
|
167 |
+
'includeCorpusRemovals' => array(
|
168 |
+
'location' => 'query',
|
169 |
+
'type' => 'boolean',
|
170 |
+
),
|
171 |
+
'includeRemoved' => array(
|
172 |
+
'location' => 'query',
|
173 |
+
'type' => 'boolean',
|
174 |
+
),
|
175 |
+
'includeTeamDriveItems' => array(
|
176 |
+
'location' => 'query',
|
177 |
+
'type' => 'boolean',
|
178 |
+
),
|
179 |
+
'pageSize' => array(
|
180 |
+
'location' => 'query',
|
181 |
+
'type' => 'integer',
|
182 |
+
),
|
183 |
+
'restrictToMyDrive' => array(
|
184 |
+
'location' => 'query',
|
185 |
+
'type' => 'boolean',
|
186 |
+
),
|
187 |
+
'spaces' => array(
|
188 |
+
'location' => 'query',
|
189 |
+
'type' => 'string',
|
190 |
+
),
|
191 |
+
'supportsTeamDrives' => array(
|
192 |
+
'location' => 'query',
|
193 |
+
'type' => 'boolean',
|
194 |
+
),
|
195 |
+
'teamDriveId' => array(
|
196 |
+
'location' => 'query',
|
197 |
+
'type' => 'string',
|
198 |
+
),
|
199 |
+
),
|
200 |
+
),
|
201 |
+
)
|
202 |
+
)
|
203 |
+
);
|
204 |
+
$this->channels = new GoogleGAL_Service_DriveT_Resource_Channels(
|
205 |
+
$this,
|
206 |
+
$this->serviceName,
|
207 |
+
'channels',
|
208 |
+
array(
|
209 |
+
'methods' => array(
|
210 |
+
'stop' => array(
|
211 |
+
'path' => 'channels/stop',
|
212 |
+
'httpMethod' => 'POST',
|
213 |
+
'parameters' => array(),
|
214 |
+
),
|
215 |
+
)
|
216 |
+
)
|
217 |
+
);
|
218 |
+
$this->comments = new GoogleGAL_Service_DriveT_Resource_Comments(
|
219 |
+
$this,
|
220 |
+
$this->serviceName,
|
221 |
+
'comments',
|
222 |
+
array(
|
223 |
+
'methods' => array(
|
224 |
+
'create' => array(
|
225 |
+
'path' => 'files/{fileId}/comments',
|
226 |
+
'httpMethod' => 'POST',
|
227 |
+
'parameters' => array(
|
228 |
+
'fileId' => array(
|
229 |
+
'location' => 'path',
|
230 |
+
'type' => 'string',
|
231 |
+
'required' => true,
|
232 |
+
),
|
233 |
+
),
|
234 |
+
),'delete' => array(
|
235 |
+
'path' => 'files/{fileId}/comments/{commentId}',
|
236 |
+
'httpMethod' => 'DELETE',
|
237 |
+
'parameters' => array(
|
238 |
+
'fileId' => array(
|
239 |
+
'location' => 'path',
|
240 |
+
'type' => 'string',
|
241 |
+
'required' => true,
|
242 |
+
),
|
243 |
+
'commentId' => array(
|
244 |
+
'location' => 'path',
|
245 |
+
'type' => 'string',
|
246 |
+
'required' => true,
|
247 |
+
),
|
248 |
+
),
|
249 |
+
),'get' => array(
|
250 |
+
'path' => 'files/{fileId}/comments/{commentId}',
|
251 |
+
'httpMethod' => 'GET',
|
252 |
+
'parameters' => array(
|
253 |
+
'fileId' => array(
|
254 |
+
'location' => 'path',
|
255 |
+
'type' => 'string',
|
256 |
+
'required' => true,
|
257 |
+
),
|
258 |
+
'commentId' => array(
|
259 |
+
'location' => 'path',
|
260 |
+
'type' => 'string',
|
261 |
+
'required' => true,
|
262 |
+
),
|
263 |
+
'includeDeleted' => array(
|
264 |
+
'location' => 'query',
|
265 |
+
'type' => 'boolean',
|
266 |
+
),
|
267 |
+
),
|
268 |
+
),'list' => array(
|
269 |
+
'path' => 'files/{fileId}/comments',
|
270 |
+
'httpMethod' => 'GET',
|
271 |
+
'parameters' => array(
|
272 |
+
'fileId' => array(
|
273 |
+
'location' => 'path',
|
274 |
+
'type' => 'string',
|
275 |
+
'required' => true,
|
276 |
+
),
|
277 |
+
'includeDeleted' => array(
|
278 |
+
'location' => 'query',
|
279 |
+
'type' => 'boolean',
|
280 |
+
),
|
281 |
+
'pageSize' => array(
|
282 |
+
'location' => 'query',
|
283 |
+
'type' => 'integer',
|
284 |
+
),
|
285 |
+
'pageToken' => array(
|
286 |
+
'location' => 'query',
|
287 |
+
'type' => 'string',
|
288 |
+
),
|
289 |
+
'startModifiedTime' => array(
|
290 |
+
'location' => 'query',
|
291 |
+
'type' => 'string',
|
292 |
+
),
|
293 |
+
),
|
294 |
+
),'update' => array(
|
295 |
+
'path' => 'files/{fileId}/comments/{commentId}',
|
296 |
+
'httpMethod' => 'PATCH',
|
297 |
+
'parameters' => array(
|
298 |
+
'fileId' => array(
|
299 |
+
'location' => 'path',
|
300 |
+
'type' => 'string',
|
301 |
+
'required' => true,
|
302 |
+
),
|
303 |
+
'commentId' => array(
|
304 |
+
'location' => 'path',
|
305 |
+
'type' => 'string',
|
306 |
+
'required' => true,
|
307 |
+
),
|
308 |
+
),
|
309 |
+
),
|
310 |
+
)
|
311 |
+
)
|
312 |
+
);
|
313 |
+
$this->files = new GoogleGAL_Service_DriveT_Resource_Files(
|
314 |
+
$this,
|
315 |
+
$this->serviceName,
|
316 |
+
'files',
|
317 |
+
array(
|
318 |
+
'methods' => array(
|
319 |
+
'copy' => array(
|
320 |
+
'path' => 'files/{fileId}/copy',
|
321 |
+
'httpMethod' => 'POST',
|
322 |
+
'parameters' => array(
|
323 |
+
'fileId' => array(
|
324 |
+
'location' => 'path',
|
325 |
+
'type' => 'string',
|
326 |
+
'required' => true,
|
327 |
+
),
|
328 |
+
'ignoreDefaultVisibility' => array(
|
329 |
+
'location' => 'query',
|
330 |
+
'type' => 'boolean',
|
331 |
+
),
|
332 |
+
'keepRevisionForever' => array(
|
333 |
+
'location' => 'query',
|
334 |
+
'type' => 'boolean',
|
335 |
+
),
|
336 |
+
'ocrLanguage' => array(
|
337 |
+
'location' => 'query',
|
338 |
+
'type' => 'string',
|
339 |
+
),
|
340 |
+
'supportsTeamDrives' => array(
|
341 |
+
'location' => 'query',
|
342 |
+
'type' => 'boolean',
|
343 |
+
),
|
344 |
+
),
|
345 |
+
),'create' => array(
|
346 |
+
'path' => 'files',
|
347 |
+
'httpMethod' => 'POST',
|
348 |
+
'parameters' => array(
|
349 |
+
'ignoreDefaultVisibility' => array(
|
350 |
+
'location' => 'query',
|
351 |
+
'type' => 'boolean',
|
352 |
+
),
|
353 |
+
'keepRevisionForever' => array(
|
354 |
+
'location' => 'query',
|
355 |
+
'type' => 'boolean',
|
356 |
+
),
|
357 |
+
'ocrLanguage' => array(
|
358 |
+
'location' => 'query',
|
359 |
+
'type' => 'string',
|
360 |
+
),
|
361 |
+
'supportsTeamDrives' => array(
|
362 |
+
'location' => 'query',
|
363 |
+
'type' => 'boolean',
|
364 |
+
),
|
365 |
+
'useContentAsIndexableText' => array(
|
366 |
+
'location' => 'query',
|
367 |
+
'type' => 'boolean',
|
368 |
+
),
|
369 |
+
),
|
370 |
+
),'delete' => array(
|
371 |
+
'path' => 'files/{fileId}',
|
372 |
+
'httpMethod' => 'DELETE',
|
373 |
+
'parameters' => array(
|
374 |
+
'fileId' => array(
|
375 |
+
'location' => 'path',
|
376 |
+
'type' => 'string',
|
377 |
+
'required' => true,
|
378 |
+
),
|
379 |
+
'supportsTeamDrives' => array(
|
380 |
+
'location' => 'query',
|
381 |
+
'type' => 'boolean',
|
382 |
+
),
|
383 |
+
),
|
384 |
+
),'emptyTrash' => array(
|
385 |
+
'path' => 'files/trash',
|
386 |
+
'httpMethod' => 'DELETE',
|
387 |
+
'parameters' => array(),
|
388 |
+
),'export' => array(
|
389 |
+
'path' => 'files/{fileId}/export',
|
390 |
+
'httpMethod' => 'GET',
|
391 |
+
'parameters' => array(
|
392 |
+
'fileId' => array(
|
393 |
+
'location' => 'path',
|
394 |
+
'type' => 'string',
|
395 |
+
'required' => true,
|
396 |
+
),
|
397 |
+
'mimeType' => array(
|
398 |
+
'location' => 'query',
|
399 |
+
'type' => 'string',
|
400 |
+
'required' => true,
|
401 |
+
),
|
402 |
+
),
|
403 |
+
),'generateIds' => array(
|
404 |
+
'path' => 'files/generateIds',
|
405 |
+
'httpMethod' => 'GET',
|
406 |
+
'parameters' => array(
|
407 |
+
'count' => array(
|
408 |
+
'location' => 'query',
|
409 |
+
'type' => 'integer',
|
410 |
+
),
|
411 |
+
'space' => array(
|
412 |
+
'location' => 'query',
|
413 |
+
'type' => 'string',
|
414 |
+
),
|
415 |
+
),
|
416 |
+
),'get' => array(
|
417 |
+
'path' => 'files/{fileId}',
|
418 |
+
'httpMethod' => 'GET',
|
419 |
+
'parameters' => array(
|
420 |
+
'fileId' => array(
|
421 |
+
'location' => 'path',
|
422 |
+
'type' => 'string',
|
423 |
+
'required' => true,
|
424 |
+
),
|
425 |
+
'acknowledgeAbuse' => array(
|
426 |
+
'location' => 'query',
|
427 |
+
'type' => 'boolean',
|
428 |
+
),
|
429 |
+
'supportsTeamDrives' => array(
|
430 |
+
'location' => 'query',
|
431 |
+
'type' => 'boolean',
|
432 |
+
),
|
433 |
+
),
|
434 |
+
),'list' => array(
|
435 |
+
'path' => 'files',
|
436 |
+
'httpMethod' => 'GET',
|
437 |
+
'parameters' => array(
|
438 |
+
'corpora' => array(
|
439 |
+
'location' => 'query',
|
440 |
+
'type' => 'string',
|
441 |
+
),
|
442 |
+
'corpus' => array(
|
443 |
+
'location' => 'query',
|
444 |
+
'type' => 'string',
|
445 |
+
),
|
446 |
+
'includeTeamDriveItems' => array(
|
447 |
+
'location' => 'query',
|
448 |
+
'type' => 'boolean',
|
449 |
+
),
|
450 |
+
'orderBy' => array(
|
451 |
+
'location' => 'query',
|
452 |
+
'type' => 'string',
|
453 |
+
),
|
454 |
+
'pageSize' => array(
|
455 |
+
'location' => 'query',
|
456 |
+
'type' => 'integer',
|
457 |
+
),
|
458 |
+
'pageToken' => array(
|
459 |
+
'location' => 'query',
|
460 |
+
'type' => 'string',
|
461 |
+
),
|
462 |
+
'q' => array(
|
463 |
+
'location' => 'query',
|
464 |
+
'type' => 'string',
|
465 |
+
),
|
466 |
+
'spaces' => array(
|
467 |
+
'location' => 'query',
|
468 |
+
'type' => 'string',
|
469 |
+
),
|
470 |
+
'supportsTeamDrives' => array(
|
471 |
+
'location' => 'query',
|
472 |
+
'type' => 'boolean',
|
473 |
+
),
|
474 |
+
'teamDriveId' => array(
|
475 |
+
'location' => 'query',
|
476 |
+
'type' => 'string',
|
477 |
+
),
|
478 |
+
),
|
479 |
+
),'update' => array(
|
480 |
+
'path' => 'files/{fileId}',
|
481 |
+
'httpMethod' => 'PATCH',
|
482 |
+
'parameters' => array(
|
483 |
+
'fileId' => array(
|
484 |
+
'location' => 'path',
|
485 |
+
'type' => 'string',
|
486 |
+
'required' => true,
|
487 |
+
),
|
488 |
+
'addParents' => array(
|
489 |
+
'location' => 'query',
|
490 |
+
'type' => 'string',
|
491 |
+
),
|
492 |
+
'keepRevisionForever' => array(
|
493 |
+
'location' => 'query',
|
494 |
+
'type' => 'boolean',
|
495 |
+
),
|
496 |
+
'ocrLanguage' => array(
|
497 |
+
'location' => 'query',
|
498 |
+
'type' => 'string',
|
499 |
+
),
|
500 |
+
'removeParents' => array(
|
501 |
+
'location' => 'query',
|
502 |
+
'type' => 'string',
|
503 |
+
),
|
504 |
+
'supportsTeamDrives' => array(
|
505 |
+
'location' => 'query',
|
506 |
+
'type' => 'boolean',
|
507 |
+
),
|
508 |
+
'useContentAsIndexableText' => array(
|
509 |
+
'location' => 'query',
|
510 |
+
'type' => 'boolean',
|
511 |
+
),
|
512 |
+
),
|
513 |
+
),'watch' => array(
|
514 |
+
'path' => 'files/{fileId}/watch',
|
515 |
+
'httpMethod' => 'POST',
|
516 |
+
'parameters' => array(
|
517 |
+
'fileId' => array(
|
518 |
+
'location' => 'path',
|
519 |
+
'type' => 'string',
|
520 |
+
'required' => true,
|
521 |
+
),
|
522 |
+
'acknowledgeAbuse' => array(
|
523 |
+
'location' => 'query',
|
524 |
+
'type' => 'boolean',
|
525 |
+
),
|
526 |
+
'supportsTeamDrives' => array(
|
527 |
+
'location' => 'query',
|
528 |
+
'type' => 'boolean',
|
529 |
+
),
|
530 |
+
),
|
531 |
+
),
|
532 |
+
)
|
533 |
+
)
|
534 |
+
);
|
535 |
+
$this->permissions = new GoogleGAL_Service_DriveT_Resource_Permissions(
|
536 |
+
$this,
|
537 |
+
$this->serviceName,
|
538 |
+
'permissions',
|
539 |
+
array(
|
540 |
+
'methods' => array(
|
541 |
+
'create' => array(
|
542 |
+
'path' => 'files/{fileId}/permissions',
|
543 |
+
'httpMethod' => 'POST',
|
544 |
+
'parameters' => array(
|
545 |
+
'fileId' => array(
|
546 |
+
'location' => 'path',
|
547 |
+
'type' => 'string',
|
548 |
+
'required' => true,
|
549 |
+
),
|
550 |
+
'emailMessage' => array(
|
551 |
+
'location' => 'query',
|
552 |
+
'type' => 'string',
|
553 |
+
),
|
554 |
+
'sendNotificationEmail' => array(
|
555 |
+
'location' => 'query',
|
556 |
+
'type' => 'boolean',
|
557 |
+
),
|
558 |
+
'supportsTeamDrives' => array(
|
559 |
+
'location' => 'query',
|
560 |
+
'type' => 'boolean',
|
561 |
+
),
|
562 |
+
'transferOwnership' => array(
|
563 |
+
'location' => 'query',
|
564 |
+
'type' => 'boolean',
|
565 |
+
),
|
566 |
+
),
|
567 |
+
),'delete' => array(
|
568 |
+
'path' => 'files/{fileId}/permissions/{permissionId}',
|
569 |
+
'httpMethod' => 'DELETE',
|
570 |
+
'parameters' => array(
|
571 |
+
'fileId' => array(
|
572 |
+
'location' => 'path',
|
573 |
+
'type' => 'string',
|
574 |
+
'required' => true,
|
575 |
+
),
|
576 |
+
'permissionId' => array(
|
577 |
+
'location' => 'path',
|
578 |
+
'type' => 'string',
|
579 |
+
'required' => true,
|
580 |
+
),
|
581 |
+
'supportsTeamDrives' => array(
|
582 |
+
'location' => 'query',
|
583 |
+
'type' => 'boolean',
|
584 |
+
),
|
585 |
+
),
|
586 |
+
),'get' => array(
|
587 |
+
'path' => 'files/{fileId}/permissions/{permissionId}',
|
588 |
+
'httpMethod' => 'GET',
|
589 |
+
'parameters' => array(
|
590 |
+
'fileId' => array(
|
591 |
+
'location' => 'path',
|
592 |
+
'type' => 'string',
|
593 |
+
'required' => true,
|
594 |
+
),
|
595 |
+
'permissionId' => array(
|
596 |
+
'location' => 'path',
|
597 |
+
'type' => 'string',
|
598 |
+
'required' => true,
|
599 |
+
),
|
600 |
+
'supportsTeamDrives' => array(
|
601 |
+
'location' => 'query',
|
602 |
+
'type' => 'boolean',
|
603 |
+
),
|
604 |
+
),
|
605 |
+
),'list' => array(
|
606 |
+
'path' => 'files/{fileId}/permissions',
|
607 |
+
'httpMethod' => 'GET',
|
608 |
+
'parameters' => array(
|
609 |
+
'fileId' => array(
|
610 |
+
'location' => 'path',
|
611 |
+
'type' => 'string',
|
612 |
+
'required' => true,
|
613 |
+
),
|
614 |
+
'pageSize' => array(
|
615 |
+
'location' => 'query',
|
616 |
+
'type' => 'integer',
|
617 |
+
),
|
618 |
+
'pageToken' => array(
|
619 |
+
'location' => 'query',
|
620 |
+
'type' => 'string',
|
621 |
+
),
|
622 |
+
'supportsTeamDrives' => array(
|
623 |
+
'location' => 'query',
|
624 |
+
'type' => 'boolean',
|
625 |
+
),
|
626 |
+
),
|
627 |
+
),'update' => array(
|
628 |
+
'path' => 'files/{fileId}/permissions/{permissionId}',
|
629 |
+
'httpMethod' => 'PATCH',
|
630 |
+
'parameters' => array(
|
631 |
+
'fileId' => array(
|
632 |
+
'location' => 'path',
|
633 |
+
'type' => 'string',
|
634 |
+
'required' => true,
|
635 |
+
),
|
636 |
+
'permissionId' => array(
|
637 |
+
'location' => 'path',
|
638 |
+
'type' => 'string',
|
639 |
+
'required' => true,
|
640 |
+
),
|
641 |
+
'removeExpiration' => array(
|
642 |
+
'location' => 'query',
|
643 |
+
'type' => 'boolean',
|
644 |
+
),
|
645 |
+
'supportsTeamDrives' => array(
|
646 |
+
'location' => 'query',
|
647 |
+
'type' => 'boolean',
|
648 |
+
),
|
649 |
+
'transferOwnership' => array(
|
650 |
+
'location' => 'query',
|
651 |
+
'type' => 'boolean',
|
652 |
+
),
|
653 |
+
),
|
654 |
+
),
|
655 |
+
)
|
656 |
+
)
|
657 |
+
);
|
658 |
+
$this->replies = new GoogleGAL_Service_DriveT_Resource_Replies(
|
659 |
+
$this,
|
660 |
+
$this->serviceName,
|
661 |
+
'replies',
|
662 |
+
array(
|
663 |
+
'methods' => array(
|
664 |
+
'create' => array(
|
665 |
+
'path' => 'files/{fileId}/comments/{commentId}/replies',
|
666 |
+
'httpMethod' => 'POST',
|
667 |
+
'parameters' => array(
|
668 |
+
'fileId' => array(
|
669 |
+
'location' => 'path',
|
670 |
+
'type' => 'string',
|
671 |
+
'required' => true,
|
672 |
+
),
|
673 |
+
'commentId' => array(
|
674 |
+
'location' => 'path',
|
675 |
+
'type' => 'string',
|
676 |
+
'required' => true,
|
677 |
+
),
|
678 |
+
),
|
679 |
+
),'delete' => array(
|
680 |
+
'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
|
681 |
+
'httpMethod' => 'DELETE',
|
682 |
+
'parameters' => array(
|
683 |
+
'fileId' => array(
|
684 |
+
'location' => 'path',
|
685 |
+
'type' => 'string',
|
686 |
+
'required' => true,
|
687 |
+
),
|
688 |
+
'commentId' => array(
|
689 |
+
'location' => 'path',
|
690 |
+
'type' => 'string',
|
691 |
+
'required' => true,
|
692 |
+
),
|
693 |
+
'replyId' => array(
|
694 |
+
'location' => 'path',
|
695 |
+
'type' => 'string',
|
696 |
+
'required' => true,
|
697 |
+
),
|
698 |
+
),
|
699 |
+
),'get' => array(
|
700 |
+
'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
|
701 |
+
'httpMethod' => 'GET',
|
702 |
+
'parameters' => array(
|
703 |
+
'fileId' => array(
|
704 |
+
'location' => 'path',
|
705 |
+
'type' => 'string',
|
706 |
+
'required' => true,
|
707 |
+
),
|
708 |
+
'commentId' => array(
|
709 |
+
'location' => 'path',
|
710 |
+
'type' => 'string',
|
711 |
+
'required' => true,
|
712 |
+
),
|
713 |
+
'replyId' => array(
|
714 |
+
'location' => 'path',
|
715 |
+
'type' => 'string',
|
716 |
+
'required' => true,
|
717 |
+
),
|
718 |
+
'includeDeleted' => array(
|
719 |
+
'location' => 'query',
|
720 |
+
'type' => 'boolean',
|
721 |
+
),
|
722 |
+
),
|
723 |
+
),'list' => array(
|
724 |
+
'path' => 'files/{fileId}/comments/{commentId}/replies',
|
725 |
+
'httpMethod' => 'GET',
|
726 |
+
'parameters' => array(
|
727 |
+
'fileId' => array(
|
728 |
+
'location' => 'path',
|
729 |
+
'type' => 'string',
|
730 |
+
'required' => true,
|
731 |
+
),
|
732 |
+
'commentId' => array(
|
733 |
+
'location' => 'path',
|
734 |
+
'type' => 'string',
|
735 |
+
'required' => true,
|
736 |
+
),
|
737 |
+
'includeDeleted' => array(
|
738 |
+
'location' => 'query',
|
739 |
+
'type' => 'boolean',
|
740 |
+
),
|
741 |
+
'pageSize' => array(
|
742 |
+
'location' => 'query',
|
743 |
+
'type' => 'integer',
|
744 |
+
),
|
745 |
+
'pageToken' => array(
|
746 |
+
'location' => 'query',
|
747 |
+
'type' => 'string',
|
748 |
+
),
|
749 |
+
),
|
750 |
+
),'update' => array(
|
751 |
+
'path' => 'files/{fileId}/comments/{commentId}/replies/{replyId}',
|
752 |
+
'httpMethod' => 'PATCH',
|
753 |
+
'parameters' => array(
|
754 |
+
'fileId' => array(
|
755 |
+
'location' => 'path',
|
756 |
+
'type' => 'string',
|
757 |
+
'required' => true,
|
758 |
+
),
|
759 |
+
'commentId' => array(
|
760 |
+
'location' => 'path',
|
761 |
+
'type' => 'string',
|
762 |
+
'required' => true,
|
763 |
+
),
|
764 |
+
'replyId' => array(
|
765 |
+
'location' => 'path',
|
766 |
+
'type' => 'string',
|
767 |
+
'required' => true,
|
768 |
+
),
|
769 |
+
),
|
770 |
+
),
|
771 |
+
)
|
772 |
+
)
|
773 |
+
);
|
774 |
+
$this->revisions = new GoogleGAL_Service_DriveT_Resource_Revisions(
|
775 |
+
$this,
|
776 |
+
$this->serviceName,
|
777 |
+
'revisions',
|
778 |
+
array(
|
779 |
+
'methods' => array(
|
780 |
+
'delete' => array(
|
781 |
+
'path' => 'files/{fileId}/revisions/{revisionId}',
|
782 |
+
'httpMethod' => 'DELETE',
|
783 |
+
'parameters' => array(
|
784 |
+
'fileId' => array(
|
785 |
+
'location' => 'path',
|
786 |
+
'type' => 'string',
|
787 |
+
'required' => true,
|
788 |
+
),
|
789 |
+
'revisionId' => array(
|
790 |
+
'location' => 'path',
|
791 |
+
'type' => 'string',
|
792 |
+
'required' => true,
|
793 |
+
),
|
794 |
+
),
|
795 |
+
),'get' => array(
|
796 |
+
'path' => 'files/{fileId}/revisions/{revisionId}',
|
797 |
+
'httpMethod' => 'GET',
|
798 |
+
'parameters' => array(
|
799 |
+
'fileId' => array(
|
800 |
+
'location' => 'path',
|
801 |
+
'type' => 'string',
|
802 |
+
'required' => true,
|
803 |
+
),
|
804 |
+
'revisionId' => array(
|
805 |
+
'location' => 'path',
|
806 |
+
'type' => 'string',
|
807 |
+
'required' => true,
|
808 |
+
),
|
809 |
+
'acknowledgeAbuse' => array(
|
810 |
+
'location' => 'query',
|
811 |
+
'type' => 'boolean',
|
812 |
+
),
|
813 |
+
),
|
814 |
+
),'list' => array(
|
815 |
+
'path' => 'files/{fileId}/revisions',
|
816 |
+
'httpMethod' => 'GET',
|
817 |
+
'parameters' => array(
|
818 |
+
'fileId' => array(
|
819 |
+
'location' => 'path',
|
820 |
+
'type' => 'string',
|
821 |
+
'required' => true,
|
822 |
+
),
|
823 |
+
'pageSize' => array(
|
824 |
+
'location' => 'query',
|
825 |
+
'type' => 'integer',
|
826 |
+
),
|
827 |
+
'pageToken' => array(
|
828 |
+
'location' => 'query',
|
829 |
+
'type' => 'string',
|
830 |
+
),
|
831 |
+
),
|
832 |
+
),'update' => array(
|
833 |
+
'path' => 'files/{fileId}/revisions/{revisionId}',
|
834 |
+
'httpMethod' => 'PATCH',
|
835 |
+
'parameters' => array(
|
836 |
+
'fileId' => array(
|
837 |
+
'location' => 'path',
|
838 |
+
'type' => 'string',
|
839 |
+
'required' => true,
|
840 |
+
),
|
841 |
+
'revisionId' => array(
|
842 |
+
'location' => 'path',
|
843 |
+
'type' => 'string',
|
844 |
+
'required' => true,
|
845 |
+
),
|
846 |
+
),
|
847 |
+
),
|
848 |
+
)
|
849 |
+
)
|
850 |
+
);
|
851 |
+
$this->teamdrives = new GoogleGAL_Service_DriveT_Resource_Teamdrives(
|
852 |
+
$this,
|
853 |
+
$this->serviceName,
|
854 |
+
'teamdrives',
|
855 |
+
array(
|
856 |
+
'methods' => array(
|
857 |
+
'create' => array(
|
858 |
+
'path' => 'teamdrives',
|
859 |
+
'httpMethod' => 'POST',
|
860 |
+
'parameters' => array(
|
861 |
+
'requestId' => array(
|
862 |
+
'location' => 'query',
|
863 |
+
'type' => 'string',
|
864 |
+
'required' => true,
|
865 |
+
),
|
866 |
+
),
|
867 |
+
),'delete' => array(
|
868 |
+
'path' => 'teamdrives/{teamDriveId}',
|
869 |
+
'httpMethod' => 'DELETE',
|
870 |
+
'parameters' => array(
|
871 |
+
'teamDriveId' => array(
|
872 |
+
'location' => 'path',
|
873 |
+
'type' => 'string',
|
874 |
+
'required' => true,
|
875 |
+
),
|
876 |
+
),
|
877 |
+
),'get' => array(
|
878 |
+
'path' => 'teamdrives/{teamDriveId}',
|
879 |
+
'httpMethod' => 'GET',
|
880 |
+
'parameters' => array(
|
881 |
+
'teamDriveId' => array(
|
882 |
+
'location' => 'path',
|
883 |
+
'type' => 'string',
|
884 |
+
'required' => true,
|
885 |
+
),
|
886 |
+
),
|
887 |
+
),'list' => array(
|
888 |
+
'path' => 'teamdrives',
|
889 |
+
'httpMethod' => 'GET',
|
890 |
+
'parameters' => array(
|
891 |
+
'pageSize' => array(
|
892 |
+
'location' => 'query',
|
893 |
+
'type' => 'integer',
|
894 |
+
),
|
895 |
+
'pageToken' => array(
|
896 |
+
'location' => 'query',
|
897 |
+
'type' => 'string',
|
898 |
+
),
|
899 |
+
),
|
900 |
+
),'update' => array(
|
901 |
+
'path' => 'teamdrives/{teamDriveId}',
|
902 |
+
'httpMethod' => 'PATCH',
|
903 |
+
'parameters' => array(
|
904 |
+
'teamDriveId' => array(
|
905 |
+
'location' => 'path',
|
906 |
+
'type' => 'string',
|
907 |
+
'required' => true,
|
908 |
+
),
|
909 |
+
),
|
910 |
+
),
|
911 |
+
)
|
912 |
+
)
|
913 |
+
);
|
914 |
+
}
|
915 |
+
}
|
916 |
+
|
917 |
+
|
918 |
+
/*
|
919 |
+
* Copyright 2016 Google Inc.
|
920 |
+
*
|
921 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
922 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
923 |
+
* the License at
|
924 |
+
*
|
925 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
926 |
+
*
|
927 |
+
* Unless required by applicable law or agreed to in writing, software
|
928 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
929 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
930 |
+
* License for the specific language governing permissions and limitations under
|
931 |
+
* the License.
|
932 |
+
*/
|
933 |
+
|
934 |
+
class GoogleGAL_Service_DriveT_About extends GoogleGAL_Collection
|
935 |
+
{
|
936 |
+
protected $collection_key = 'folderColorPalette';
|
937 |
+
public $appInstalled;
|
938 |
+
public $exportFormats;
|
939 |
+
public $folderColorPalette;
|
940 |
+
public $importFormats;
|
941 |
+
public $kind;
|
942 |
+
public $maxImportSizes;
|
943 |
+
public $maxUploadSize;
|
944 |
+
protected $storageQuotaType = 'GoogleGAL_Service_DriveT_AboutStorageQuota';
|
945 |
+
protected $storageQuotaDataType = '';
|
946 |
+
protected $userType = 'GoogleGAL_Service_DriveT_User';
|
947 |
+
protected $userDataType = '';
|
948 |
+
|
949 |
+
public function setAppInstalled($appInstalled)
|
950 |
+
{
|
951 |
+
$this->appInstalled = $appInstalled;
|
952 |
+
}
|
953 |
+
public function getAppInstalled()
|
954 |
+
{
|
955 |
+
return $this->appInstalled;
|
956 |
+
}
|
957 |
+
public function setExportFormats($exportFormats)
|
958 |
+
{
|
959 |
+
$this->exportFormats = $exportFormats;
|
960 |
+
}
|
961 |
+
public function getExportFormats()
|
962 |
+
{
|
963 |
+
return $this->exportFormats;
|
964 |
+
}
|
965 |
+
public function setFolderColorPalette($folderColorPalette)
|
966 |
+
{
|
967 |
+
$this->folderColorPalette = $folderColorPalette;
|
968 |
+
}
|
969 |
+
public function getFolderColorPalette()
|
970 |
+
{
|
971 |
+
return $this->folderColorPalette;
|
972 |
+
}
|
973 |
+
public function setImportFormats($importFormats)
|
974 |
+
{
|
975 |
+
$this->importFormats = $importFormats;
|
976 |
+
}
|
977 |
+
public function getImportFormats()
|
978 |
+
{
|
979 |
+
return $this->importFormats;
|
980 |
+
}
|
981 |
+
public function setKind($kind)
|
982 |
+
{
|
983 |
+
$this->kind = $kind;
|
984 |
+
}
|
985 |
+
public function getKind()
|
986 |
+
{
|
987 |
+
return $this->kind;
|
988 |
+
}
|
989 |
+
public function setMaxImportSizes($maxImportSizes)
|
990 |
+
{
|
991 |
+
$this->maxImportSizes = $maxImportSizes;
|
992 |
+
}
|
993 |
+
public function getMaxImportSizes()
|
994 |
+
{
|
995 |
+
return $this->maxImportSizes;
|
996 |
+
}
|
997 |
+
public function setMaxUploadSize($maxUploadSize)
|
998 |
+
{
|
999 |
+
$this->maxUploadSize = $maxUploadSize;
|
1000 |
+
}
|
1001 |
+
public function getMaxUploadSize()
|
1002 |
+
{
|
1003 |
+
return $this->maxUploadSize;
|
1004 |
+
}
|
1005 |
+
public function setStorageQuota(GoogleGAL_Service_DriveT_AboutStorageQuota $storageQuota)
|
1006 |
+
{
|
1007 |
+
$this->storageQuota = $storageQuota;
|
1008 |
+
}
|
1009 |
+
public function getStorageQuota()
|
1010 |
+
{
|
1011 |
+
return $this->storageQuota;
|
1012 |
+
}
|
1013 |
+
public function setUser(GoogleGAL_Service_DriveT_User $user)
|
1014 |
+
{
|
1015 |
+
$this->user = $user;
|
1016 |
+
}
|
1017 |
+
public function getUser()
|
1018 |
+
{
|
1019 |
+
return $this->user;
|
1020 |
+
}
|
1021 |
+
}
|
1022 |
+
|
1023 |
+
/*
|
1024 |
+
* Copyright 2016 Google Inc.
|
1025 |
+
*
|
1026 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1027 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1028 |
+
* the License at
|
1029 |
+
*
|
1030 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1031 |
+
*
|
1032 |
+
* Unless required by applicable law or agreed to in writing, software
|
1033 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1034 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1035 |
+
* License for the specific language governing permissions and limitations under
|
1036 |
+
* the License.
|
1037 |
+
*/
|
1038 |
+
|
1039 |
+
class GoogleGAL_Service_DriveT_AboutStorageQuota extends GoogleGAL_Model
|
1040 |
+
{
|
1041 |
+
public $limit;
|
1042 |
+
public $usage;
|
1043 |
+
public $usageInDrive;
|
1044 |
+
public $usageInDriveTrash;
|
1045 |
+
|
1046 |
+
public function setLimit($limit)
|
1047 |
+
{
|
1048 |
+
$this->limit = $limit;
|
1049 |
+
}
|
1050 |
+
public function getLimit()
|
1051 |
+
{
|
1052 |
+
return $this->limit;
|
1053 |
+
}
|
1054 |
+
public function setUsage($usage)
|
1055 |
+
{
|
1056 |
+
$this->usage = $usage;
|
1057 |
+
}
|
1058 |
+
public function getUsage()
|
1059 |
+
{
|
1060 |
+
return $this->usage;
|
1061 |
+
}
|
1062 |
+
public function setUsageInDrive($usageInDrive)
|
1063 |
+
{
|
1064 |
+
$this->usageInDrive = $usageInDrive;
|
1065 |
+
}
|
1066 |
+
public function getUsageInDrive()
|
1067 |
+
{
|
1068 |
+
return $this->usageInDrive;
|
1069 |
+
}
|
1070 |
+
public function setUsageInDriveTrash($usageInDriveTrash)
|
1071 |
+
{
|
1072 |
+
$this->usageInDriveTrash = $usageInDriveTrash;
|
1073 |
+
}
|
1074 |
+
public function getUsageInDriveTrash()
|
1075 |
+
{
|
1076 |
+
return $this->usageInDriveTrash;
|
1077 |
+
}
|
1078 |
+
}
|
1079 |
+
|
1080 |
+
/*
|
1081 |
+
* Copyright 2016 Google Inc.
|
1082 |
+
*
|
1083 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1084 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1085 |
+
* the License at
|
1086 |
+
*
|
1087 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1088 |
+
*
|
1089 |
+
* Unless required by applicable law or agreed to in writing, software
|
1090 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1091 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1092 |
+
* License for the specific language governing permissions and limitations under
|
1093 |
+
* the License.
|
1094 |
+
*/
|
1095 |
+
|
1096 |
+
class GoogleGAL_Service_DriveT_Change extends GoogleGAL_Model
|
1097 |
+
{
|
1098 |
+
protected $fileType = 'GoogleGAL_Service_DriveT_DriveFile';
|
1099 |
+
protected $fileDataType = '';
|
1100 |
+
public $fileId;
|
1101 |
+
public $kind;
|
1102 |
+
public $removed;
|
1103 |
+
protected $teamDriveType = 'GoogleGAL_Service_DriveT_TeamDrive';
|
1104 |
+
protected $teamDriveDataType = '';
|
1105 |
+
public $teamDriveId;
|
1106 |
+
public $time;
|
1107 |
+
public $type;
|
1108 |
+
|
1109 |
+
public function setFile(GoogleGAL_Service_DriveT_DriveFile $file)
|
1110 |
+
{
|
1111 |
+
$this->file = $file;
|
1112 |
+
}
|
1113 |
+
public function getFile()
|
1114 |
+
{
|
1115 |
+
return $this->file;
|
1116 |
+
}
|
1117 |
+
public function setFileId($fileId)
|
1118 |
+
{
|
1119 |
+
$this->fileId = $fileId;
|
1120 |
+
}
|
1121 |
+
public function getFileId()
|
1122 |
+
{
|
1123 |
+
return $this->fileId;
|
1124 |
+
}
|
1125 |
+
public function setKind($kind)
|
1126 |
+
{
|
1127 |
+
$this->kind = $kind;
|
1128 |
+
}
|
1129 |
+
public function getKind()
|
1130 |
+
{
|
1131 |
+
return $this->kind;
|
1132 |
+
}
|
1133 |
+
public function setRemoved($removed)
|
1134 |
+
{
|
1135 |
+
$this->removed = $removed;
|
1136 |
+
}
|
1137 |
+
public function getRemoved()
|
1138 |
+
{
|
1139 |
+
return $this->removed;
|
1140 |
+
}
|
1141 |
+
public function setTeamDrive(GoogleGAL_Service_DriveT_TeamDrive $teamDrive)
|
1142 |
+
{
|
1143 |
+
$this->teamDrive = $teamDrive;
|
1144 |
+
}
|
1145 |
+
public function getTeamDrive()
|
1146 |
+
{
|
1147 |
+
return $this->teamDrive;
|
1148 |
+
}
|
1149 |
+
public function setTeamDriveId($teamDriveId)
|
1150 |
+
{
|
1151 |
+
$this->teamDriveId = $teamDriveId;
|
1152 |
+
}
|
1153 |
+
public function getTeamDriveId()
|
1154 |
+
{
|
1155 |
+
return $this->teamDriveId;
|
1156 |
+
}
|
1157 |
+
public function setTime($time)
|
1158 |
+
{
|
1159 |
+
$this->time = $time;
|
1160 |
+
}
|
1161 |
+
public function getTime()
|
1162 |
+
{
|
1163 |
+
return $this->time;
|
1164 |
+
}
|
1165 |
+
public function setType($type)
|
1166 |
+
{
|
1167 |
+
$this->type = $type;
|
1168 |
+
}
|
1169 |
+
public function getType()
|
1170 |
+
{
|
1171 |
+
return $this->type;
|
1172 |
+
}
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
/*
|
1176 |
+
* Copyright 2016 Google Inc.
|
1177 |
+
*
|
1178 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1179 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1180 |
+
* the License at
|
1181 |
+
*
|
1182 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1183 |
+
*
|
1184 |
+
* Unless required by applicable law or agreed to in writing, software
|
1185 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1186 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1187 |
+
* License for the specific language governing permissions and limitations under
|
1188 |
+
* the License.
|
1189 |
+
*/
|
1190 |
+
|
1191 |
+
class GoogleGAL_Service_DriveT_ChangeList extends GoogleGAL_Collection
|
1192 |
+
{
|
1193 |
+
protected $collection_key = 'changes';
|
1194 |
+
protected $changesType = 'GoogleGAL_Service_DriveT_Change';
|
1195 |
+
protected $changesDataType = 'array';
|
1196 |
+
public $kind;
|
1197 |
+
public $newStartPageToken;
|
1198 |
+
public $nextPageToken;
|
1199 |
+
|
1200 |
+
public function setChanges($changes)
|
1201 |
+
{
|
1202 |
+
$this->changes = $changes;
|
1203 |
+
}
|
1204 |
+
public function getChanges()
|
1205 |
+
{
|
1206 |
+
return $this->changes;
|
1207 |
+
}
|
1208 |
+
public function setKind($kind)
|
1209 |
+
{
|
1210 |
+
$this->kind = $kind;
|
1211 |
+
}
|
1212 |
+
public function getKind()
|
1213 |
+
{
|
1214 |
+
return $this->kind;
|
1215 |
+
}
|
1216 |
+
public function setNewStartPageToken($newStartPageToken)
|
1217 |
+
{
|
1218 |
+
$this->newStartPageToken = $newStartPageToken;
|
1219 |
+
}
|
1220 |
+
public function getNewStartPageToken()
|
1221 |
+
{
|
1222 |
+
return $this->newStartPageToken;
|
1223 |
+
}
|
1224 |
+
public function setNextPageToken($nextPageToken)
|
1225 |
+
{
|
1226 |
+
$this->nextPageToken = $nextPageToken;
|
1227 |
+
}
|
1228 |
+
public function getNextPageToken()
|
1229 |
+
{
|
1230 |
+
return $this->nextPageToken;
|
1231 |
+
}
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
/*
|
1235 |
+
* Copyright 2016 Google Inc.
|
1236 |
+
*
|
1237 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1238 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1239 |
+
* the License at
|
1240 |
+
*
|
1241 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1242 |
+
*
|
1243 |
+
* Unless required by applicable law or agreed to in writing, software
|
1244 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1245 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1246 |
+
* License for the specific language governing permissions and limitations under
|
1247 |
+
* the License.
|
1248 |
+
*/
|
1249 |
+
|
1250 |
+
class GoogleGAL_Service_DriveT_Channel extends GoogleGAL_Model
|
1251 |
+
{
|
1252 |
+
public $address;
|
1253 |
+
public $expiration;
|
1254 |
+
public $id;
|
1255 |
+
public $kind;
|
1256 |
+
public $params;
|
1257 |
+
public $payload;
|
1258 |
+
public $resourceId;
|
1259 |
+
public $resourceUri;
|
1260 |
+
public $token;
|
1261 |
+
public $type;
|
1262 |
+
|
1263 |
+
public function setAddress($address)
|
1264 |
+
{
|
1265 |
+
$this->address = $address;
|
1266 |
+
}
|
1267 |
+
public function getAddress()
|
1268 |
+
{
|
1269 |
+
return $this->address;
|
1270 |
+
}
|
1271 |
+
public function setExpiration($expiration)
|
1272 |
+
{
|
1273 |
+
$this->expiration = $expiration;
|
1274 |
+
}
|
1275 |
+
public function getExpiration()
|
1276 |
+
{
|
1277 |
+
return $this->expiration;
|
1278 |
+
}
|
1279 |
+
public function setId($id)
|
1280 |
+
{
|
1281 |
+
$this->id = $id;
|
1282 |
+
}
|
1283 |
+
public function getId()
|
1284 |
+
{
|
1285 |
+
return $this->id;
|
1286 |
+
}
|
1287 |
+
public function setKind($kind)
|
1288 |
+
{
|
1289 |
+
$this->kind = $kind;
|
1290 |
+
}
|
1291 |
+
public function getKind()
|
1292 |
+
{
|
1293 |
+
return $this->kind;
|
1294 |
+
}
|
1295 |
+
public function setParams($params)
|
1296 |
+
{
|
1297 |
+
$this->params = $params;
|
1298 |
+
}
|
1299 |
+
public function getParams()
|
1300 |
+
{
|
1301 |
+
return $this->params;
|
1302 |
+
}
|
1303 |
+
public function setPayload($payload)
|
1304 |
+
{
|
1305 |
+
$this->payload = $payload;
|
1306 |
+
}
|
1307 |
+
public function getPayload()
|
1308 |
+
{
|
1309 |
+
return $this->payload;
|
1310 |
+
}
|
1311 |
+
public function setResourceId($resourceId)
|
1312 |
+
{
|
1313 |
+
$this->resourceId = $resourceId;
|
1314 |
+
}
|
1315 |
+
public function getResourceId()
|
1316 |
+
{
|
1317 |
+
return $this->resourceId;
|
1318 |
+
}
|
1319 |
+
public function setResourceUri($resourceUri)
|
1320 |
+
{
|
1321 |
+
$this->resourceUri = $resourceUri;
|
1322 |
+
}
|
1323 |
+
public function getResourceUri()
|
1324 |
+
{
|
1325 |
+
return $this->resourceUri;
|
1326 |
+
}
|
1327 |
+
public function setToken($token)
|
1328 |
+
{
|
1329 |
+
$this->token = $token;
|
1330 |
+
}
|
1331 |
+
public function getToken()
|
1332 |
+
{
|
1333 |
+
return $this->token;
|
1334 |
+
}
|
1335 |
+
public function setType($type)
|
1336 |
+
{
|
1337 |
+
$this->type = $type;
|
1338 |
+
}
|
1339 |
+
public function getType()
|
1340 |
+
{
|
1341 |
+
return $this->type;
|
1342 |
+
}
|
1343 |
+
}
|
1344 |
+
|
1345 |
+
/*
|
1346 |
+
* Copyright 2016 Google Inc.
|
1347 |
+
*
|
1348 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1349 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1350 |
+
* the License at
|
1351 |
+
*
|
1352 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1353 |
+
*
|
1354 |
+
* Unless required by applicable law or agreed to in writing, software
|
1355 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1356 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1357 |
+
* License for the specific language governing permissions and limitations under
|
1358 |
+
* the License.
|
1359 |
+
*/
|
1360 |
+
|
1361 |
+
class GoogleGAL_Service_DriveT_Comment extends GoogleGAL_Collection
|
1362 |
+
{
|
1363 |
+
protected $collection_key = 'replies';
|
1364 |
+
public $anchor;
|
1365 |
+
protected $authorType = 'GoogleGAL_Service_DriveT_User';
|
1366 |
+
protected $authorDataType = '';
|
1367 |
+
public $content;
|
1368 |
+
public $createdTime;
|
1369 |
+
public $deleted;
|
1370 |
+
public $htmlContent;
|
1371 |
+
public $id;
|
1372 |
+
public $kind;
|
1373 |
+
public $modifiedTime;
|
1374 |
+
protected $quotedFileContentType = 'GoogleGAL_Service_DriveT_CommentQuotedFileContent';
|
1375 |
+
protected $quotedFileContentDataType = '';
|
1376 |
+
protected $repliesType = 'GoogleGAL_Service_DriveT_Reply';
|
1377 |
+
protected $repliesDataType = 'array';
|
1378 |
+
public $resolved;
|
1379 |
+
|
1380 |
+
public function setAnchor($anchor)
|
1381 |
+
{
|
1382 |
+
$this->anchor = $anchor;
|
1383 |
+
}
|
1384 |
+
public function getAnchor()
|
1385 |
+
{
|
1386 |
+
return $this->anchor;
|
1387 |
+
}
|
1388 |
+
public function setAuthor(GoogleGAL_Service_DriveT_User $author)
|
1389 |
+
{
|
1390 |
+
$this->author = $author;
|
1391 |
+
}
|
1392 |
+
public function getAuthor()
|
1393 |
+
{
|
1394 |
+
return $this->author;
|
1395 |
+
}
|
1396 |
+
public function setContent($content)
|
1397 |
+
{
|
1398 |
+
$this->content = $content;
|
1399 |
+
}
|
1400 |
+
public function getContent()
|
1401 |
+
{
|
1402 |
+
return $this->content;
|
1403 |
+
}
|
1404 |
+
public function setCreatedTime($createdTime)
|
1405 |
+
{
|
1406 |
+
$this->createdTime = $createdTime;
|
1407 |
+
}
|
1408 |
+
public function getCreatedTime()
|
1409 |
+
{
|
1410 |
+
return $this->createdTime;
|
1411 |
+
}
|
1412 |
+
public function setDeleted($deleted)
|
1413 |
+
{
|
1414 |
+
$this->deleted = $deleted;
|
1415 |
+
}
|
1416 |
+
public function getDeleted()
|
1417 |
+
{
|
1418 |
+
return $this->deleted;
|
1419 |
+
}
|
1420 |
+
public function setHtmlContent($htmlContent)
|
1421 |
+
{
|
1422 |
+
$this->htmlContent = $htmlContent;
|
1423 |
+
}
|
1424 |
+
public function getHtmlContent()
|
1425 |
+
{
|
1426 |
+
return $this->htmlContent;
|
1427 |
+
}
|
1428 |
+
public function setId($id)
|
1429 |
+
{
|
1430 |
+
$this->id = $id;
|
1431 |
+
}
|
1432 |
+
public function getId()
|
1433 |
+
{
|
1434 |
+
return $this->id;
|
1435 |
+
}
|
1436 |
+
public function setKind($kind)
|
1437 |
+
{
|
1438 |
+
$this->kind = $kind;
|
1439 |
+
}
|
1440 |
+
public function getKind()
|
1441 |
+
{
|
1442 |
+
return $this->kind;
|
1443 |
+
}
|
1444 |
+
public function setModifiedTime($modifiedTime)
|
1445 |
+
{
|
1446 |
+
$this->modifiedTime = $modifiedTime;
|
1447 |
+
}
|
1448 |
+
public function getModifiedTime()
|
1449 |
+
{
|
1450 |
+
return $this->modifiedTime;
|
1451 |
+
}
|
1452 |
+
public function setQuotedFileContent(GoogleGAL_Service_DriveT_CommentQuotedFileContent $quotedFileContent)
|
1453 |
+
{
|
1454 |
+
$this->quotedFileContent = $quotedFileContent;
|
1455 |
+
}
|
1456 |
+
public function getQuotedFileContent()
|
1457 |
+
{
|
1458 |
+
return $this->quotedFileContent;
|
1459 |
+
}
|
1460 |
+
public function setReplies($replies)
|
1461 |
+
{
|
1462 |
+
$this->replies = $replies;
|
1463 |
+
}
|
1464 |
+
public function getReplies()
|
1465 |
+
{
|
1466 |
+
return $this->replies;
|
1467 |
+
}
|
1468 |
+
public function setResolved($resolved)
|
1469 |
+
{
|
1470 |
+
$this->resolved = $resolved;
|
1471 |
+
}
|
1472 |
+
public function getResolved()
|
1473 |
+
{
|
1474 |
+
return $this->resolved;
|
1475 |
+
}
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
/*
|
1479 |
+
* Copyright 2016 Google Inc.
|
1480 |
+
*
|
1481 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1482 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1483 |
+
* the License at
|
1484 |
+
*
|
1485 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1486 |
+
*
|
1487 |
+
* Unless required by applicable law or agreed to in writing, software
|
1488 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1489 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1490 |
+
* License for the specific language governing permissions and limitations under
|
1491 |
+
* the License.
|
1492 |
+
*/
|
1493 |
+
|
1494 |
+
class GoogleGAL_Service_DriveT_CommentList extends GoogleGAL_Collection
|
1495 |
+
{
|
1496 |
+
protected $collection_key = 'comments';
|
1497 |
+
protected $commentsType = 'GoogleGAL_Service_DriveT_Comment';
|
1498 |
+
protected $commentsDataType = 'array';
|
1499 |
+
public $kind;
|
1500 |
+
public $nextPageToken;
|
1501 |
+
|
1502 |
+
public function setComments($comments)
|
1503 |
+
{
|
1504 |
+
$this->comments = $comments;
|
1505 |
+
}
|
1506 |
+
public function getComments()
|
1507 |
+
{
|
1508 |
+
return $this->comments;
|
1509 |
+
}
|
1510 |
+
public function setKind($kind)
|
1511 |
+
{
|
1512 |
+
$this->kind = $kind;
|
1513 |
+
}
|
1514 |
+
public function getKind()
|
1515 |
+
{
|
1516 |
+
return $this->kind;
|
1517 |
+
}
|
1518 |
+
public function setNextPageToken($nextPageToken)
|
1519 |
+
{
|
1520 |
+
$this->nextPageToken = $nextPageToken;
|
1521 |
+
}
|
1522 |
+
public function getNextPageToken()
|
1523 |
+
{
|
1524 |
+
return $this->nextPageToken;
|
1525 |
+
}
|
1526 |
+
}
|
1527 |
+
|
1528 |
+
/*
|
1529 |
+
* Copyright 2016 Google Inc.
|
1530 |
+
*
|
1531 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1532 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1533 |
+
* the License at
|
1534 |
+
*
|
1535 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1536 |
+
*
|
1537 |
+
* Unless required by applicable law or agreed to in writing, software
|
1538 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1539 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1540 |
+
* License for the specific language governing permissions and limitations under
|
1541 |
+
* the License.
|
1542 |
+
*/
|
1543 |
+
|
1544 |
+
class GoogleGAL_Service_DriveT_CommentQuotedFileContent extends GoogleGAL_Model
|
1545 |
+
{
|
1546 |
+
public $mimeType;
|
1547 |
+
public $value;
|
1548 |
+
|
1549 |
+
public function setMimeType($mimeType)
|
1550 |
+
{
|
1551 |
+
$this->mimeType = $mimeType;
|
1552 |
+
}
|
1553 |
+
public function getMimeType()
|
1554 |
+
{
|
1555 |
+
return $this->mimeType;
|
1556 |
+
}
|
1557 |
+
public function setValue($value)
|
1558 |
+
{
|
1559 |
+
$this->value = $value;
|
1560 |
+
}
|
1561 |
+
public function getValue()
|
1562 |
+
{
|
1563 |
+
return $this->value;
|
1564 |
+
}
|
1565 |
+
}
|
1566 |
+
|
1567 |
+
/*
|
1568 |
+
* Copyright 2016 Google Inc.
|
1569 |
+
*
|
1570 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
1571 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
1572 |
+
* the License at
|
1573 |
+
*
|
1574 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
1575 |
+
*
|
1576 |
+
* Unless required by applicable law or agreed to in writing, software
|
1577 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
1578 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
1579 |
+
* License for the specific language governing permissions and limitations under
|
1580 |
+
* the License.
|
1581 |
+
*/
|
1582 |
+
|
1583 |
+
class GoogleGAL_Service_DriveT_DriveFile extends GoogleGAL_Collection
|
1584 |
+
{
|
1585 |
+
protected $collection_key = 'spaces';
|
1586 |
+
public $appProperties;
|
1587 |
+
protected $capabilitiesType = 'GoogleGAL_Service_DriveT_DriveFileCapabilities';
|
1588 |
+
protected $capabilitiesDataType = '';
|
1589 |
+
protected $contentHintsType = 'GoogleGAL_Service_DriveT_DriveFileContentHints';
|
1590 |
+
protected $contentHintsDataType = '';
|
1591 |
+
public $createdTime;
|
1592 |
+
public $description;
|
1593 |
+
public $explicitlyTrashed;
|
1594 |
+
public $fileExtension;
|
1595 |
+
public $folderColorRgb;
|
1596 |
+
public $fullFileExtension;
|
1597 |
+
public $hasAugmentedPermissions;
|
1598 |
+
public $hasThumbnail;
|
1599 |
+
public $headRevisionId;
|
1600 |
+
public $iconLink;
|
1601 |
+
public $id;
|
1602 |
+
protected $imageMediaMetadataType = 'GoogleGAL_Service_DriveT_DriveFileImageMediaMetadata';
|
1603 |
+
protected $imageMediaMetadataDataType = '';
|
1604 |
+
public $isAppAuthorized;
|
1605 |
+
public $kind;
|
1606 |
+
protected $lastModifyingUserType = 'GoogleGAL_Service_DriveT_User';
|
1607 |
+
protected $lastModifyingUserDataType = '';
|
1608 |
+
public $md5Checksum;
|
1609 |
+
public $mimeType;
|
1610 |
+
public $modifiedByMe;
|
1611 |
+
public $modifiedByMeTime;
|
1612 |
+
public $modifiedTime;
|
1613 |
+
public $name;
|
1614 |
+
public $originalFilename;
|
1615 |
+
public $ownedByMe;
|
1616 |
+
protected $ownersType = 'GoogleGAL_Service_DriveT_User';
|
1617 |
+
protected $ownersDataType = 'array';
|
1618 |
+
public $parents;
|
1619 |
+
protected $permissionsType = 'GoogleGAL_Service_DriveT_Permission';
|
1620 |
+
protected $permissionsDataType = 'array';
|
1621 |
+
public $properties;
|
1622 |
+
public $quotaBytesUsed;
|
1623 |
+
public $shared;
|
1624 |
+
public $sharedWithMeTime;
|
1625 |
+
protected $sharingUserType = 'GoogleGAL_Service_DriveT_User';
|
1626 |
+
protected $sharingUserDataType = '';
|
1627 |
+
public $size;
|
1628 |
+
public $spaces;
|
1629 |
+
public $starred;
|
1630 |
+
public $teamDriveId;
|
1631 |
+
public $thumbnailLink;
|
1632 |
+
public $thumbnailVersion;
|
1633 |
+
public $trashed;
|
1634 |
+
public $trashedTime;
|
1635 |
+
protected $trashingUserType = 'GoogleGAL_Service_DriveT_User';
|
1636 |
+
protected $trashingUserDataType = '';
|
1637 |
+
public $version;
|
1638 |
+
protected $videoMediaMetadataType = 'GoogleGAL_Service_DriveT_DriveFileVideoMediaMetadata';
|
1639 |
+
protected $videoMediaMetadataDataType = '';
|
1640 |
+
public $viewedByMe;
|
1641 |
+
public $viewedByMeTime;
|
1642 |
+
public $viewersCanCopyContent;
|
1643 |
+
public $webContentLink;
|
1644 |
+
public $webViewLink;
|
1645 |
+
public $writersCanShare;
|
1646 |
+
|
1647 |
+
public function setAppProperties($appProperties)
|
1648 |
+
{
|
1649 |
+
$this->appProperties = $appProperties;
|
1650 |
+
}
|
1651 |
+
public function getAppProperties()
|
1652 |
+
{
|
1653 |
+
return $this->appProperties;
|
1654 |
+
}
|
1655 |
+
public function setCapabilities(GoogleGAL_Service_DriveT_DriveFileCapabilities $capabilities)
|
1656 |
+
{
|
1657 |
+
$this->capabilities = $capabilities;
|
1658 |
+
}
|
1659 |
+
public function getCapabilities()
|
1660 |
+
{
|
1661 |
+
return $this->capabilities;
|
1662 |
+
}
|
1663 |
+
public function setContentHints(GoogleGAL_Service_DriveT_DriveFileContentHints $contentHints)
|
1664 |
+
{
|
1665 |
+
$this->contentHints = $contentHints;
|
1666 |
+
}
|
1667 |
+
public function getContentHints()
|
1668 |
+
{
|
1669 |
+
return $this->contentHints;
|
1670 |
+
}
|
1671 |
+
public function setCreatedTime($createdTime)
|
1672 |
+
{
|
1673 |
+
$this->createdTime = $createdTime;
|
1674 |
+
}
|
1675 |
+
public function getCreatedTime()
|
1676 |
+
{
|
1677 |
+
return $this->createdTime;
|
1678 |
+
}
|
1679 |
+
public function setDescription($description)
|
1680 |
+
{
|
1681 |
+
$this->description = $description;
|
1682 |
+
}
|
1683 |
+
public function getDescription()
|
1684 |
+
{
|
1685 |
+
return $this->description;
|
1686 |
+
}
|
1687 |
+
public function setExplicitlyTrashed($explicitlyTrashed)
|
1688 |
+
{
|
1689 |
+
$this->explicitlyTrashed = $explicitlyTrashed;
|
1690 |
+
}
|
1691 |
+
public function getExplicitlyTrashed()
|
1692 |
+
{
|
1693 |
+
return $this->explicitlyTrashed;
|
1694 |
+
}
|
1695 |
+
public function setFileExtension($fileExtension)
|
1696 |
+
{
|
1697 |
+
$this->fileExtension = $fileExtension;
|
1698 |
+
}
|
1699 |
+
public function getFileExtension()
|
1700 |
+
{
|
1701 |
+
return $this->fileExtension;
|
1702 |
+
}
|
1703 |
+
public function setFolderColorRgb($folderColorRgb)
|
1704 |
+
{
|
1705 |
+
$this->folderColorRgb = $folderColorRgb;
|
1706 |
+
}
|
1707 |
+
public function getFolderColorRgb()
|
1708 |
+
{
|
1709 |
+
return $this->folderColorRgb;
|
1710 |
+
}
|
1711 |
+
public function setFullFileExtension($fullFileExtension)
|
1712 |
+
{
|
1713 |
+
$this->fullFileExtension = $fullFileExtension;
|
1714 |
+
}
|
1715 |
+
public function getFullFileExtension()
|
1716 |
+
{
|
1717 |
+
return $this->fullFileExtension;
|
1718 |
+
}
|
1719 |
+
public function setHasAugmentedPermissions($hasAugmentedPermissions)
|
1720 |
+
{
|
1721 |
+
$this->hasAugmentedPermissions = $hasAugmentedPermissions;
|
1722 |
+
}
|
1723 |
+
public function getHasAugmentedPermissions()
|
1724 |
+
{
|
1725 |
+
return $this->hasAugmentedPermissions;
|
1726 |
+
}
|
1727 |
+
public function setHasThumbnail($hasThumbnail)
|
1728 |
+
{
|
1729 |
+
$this->hasThumbnail = $hasThumbnail;
|
1730 |
+
}
|
1731 |
+
public function getHasThumbnail()
|
1732 |
+
{
|
1733 |
+
return $this->hasThumbnail;
|
1734 |
+
}
|
1735 |
+
public function setHeadRevisionId($headRevisionId)
|
1736 |
+
{
|
1737 |
+
$this->headRevisionId = $headRevisionId;
|
1738 |
+
}
|
1739 |
+
public function getHeadRevisionId()
|
1740 |
+
{
|
1741 |
+
return $this->headRevisionId;
|
1742 |
+
}
|
1743 |
+
public function setIconLink($iconLink)
|
1744 |
+
{
|
1745 |
+
$this->iconLink = $iconLink;
|
1746 |
+
}
|
1747 |
+
public function getIconLink()
|
1748 |
+
{
|
1749 |
+
return $this->iconLink;
|
1750 |
+
}
|
1751 |
+
public function setId($id)
|
1752 |
+
{
|
1753 |
+
$this->id = $id;
|
1754 |
+
}
|
1755 |
+
public function getId()
|
1756 |
+
{
|
1757 |
+
return $this->id;
|
1758 |
+
}
|
1759 |
+
public function setImageMediaMetadata(GoogleGAL_Service_DriveT_DriveFileImageMediaMetadata $imageMediaMetadata)
|
1760 |
+
{
|
1761 |
+
$this->imageMediaMetadata = $imageMediaMetadata;
|
1762 |
+
}
|
1763 |
+
public function getImageMediaMetadata()
|
1764 |
+
{
|
1765 |
+
return $this->imageMediaMetadata;
|
1766 |
+
}
|
1767 |
+
public function setIsAppAuthorized($isAppAuthorized)
|
1768 |
+
{
|
1769 |
+
$this->isAppAuthorized = $isAppAuthorized;
|
1770 |
+
}
|
1771 |
+
public function getIsAppAuthorized()
|
1772 |
+
{
|
1773 |
+
return $this->isAppAuthorized;
|
1774 |
+
}
|
1775 |
+
public function setKind($kind)
|
1776 |
+
{
|
1777 |
+
$this->kind = $kind;
|
1778 |
+
}
|
1779 |
+
public function getKind()
|
1780 |
+
{
|
1781 |
+
return $this->kind;
|
1782 |
+
}
|
1783 |
+
public function setLastModifyingUser(GoogleGAL_Service_DriveT_User $lastModifyingUser)
|
1784 |
+
{
|
1785 |
+
$this->lastModifyingUser = $lastModifyingUser;
|
1786 |
+
}
|
1787 |
+
public function getLastModifyingUser()
|
1788 |
+
{
|
1789 |
+
return $this->lastModifyingUser;
|
1790 |
+
}
|
1791 |
+
public function setMd5Checksum($md5Checksum)
|
1792 |
+
{
|
1793 |
+
$this->md5Checksum = $md5Checksum;
|
1794 |
+
}
|
1795 |
+
public function getMd5Checksum()
|
1796 |
+
{
|
1797 |
+
return $this->md5Checksum;
|
1798 |
+
}
|
1799 |
+
public function setMimeType($mimeType)
|
1800 |
+
{
|
1801 |
+
$this->mimeType = $mimeType;
|
1802 |
+
}
|
1803 |
+
public function getMimeType()
|
1804 |
+
{
|
1805 |
+
return $this->mimeType;
|
1806 |
+
}
|
1807 |
+
public function setModifiedByMe($modifiedByMe)
|
1808 |
+
{
|
1809 |
+
$this->modifiedByMe = $modifiedByMe;
|
1810 |
+
}
|
1811 |
+
public function getModifiedByMe()
|
1812 |
+
{
|
1813 |
+
return $this->modifiedByMe;
|
1814 |
+
}
|
1815 |
+
public function setModifiedByMeTime($modifiedByMeTime)
|
1816 |
+
{
|
1817 |
+
$this->modifiedByMeTime = $modifiedByMeTime;
|
1818 |
+
}
|
1819 |
+
public function getModifiedByMeTime()
|
1820 |
+
{
|
1821 |
+
return $this->modifiedByMeTime;
|
1822 |
+
}
|
1823 |
+
public function setModifiedTime($modifiedTime)
|
1824 |
+
{
|
1825 |
+
$this->modifiedTime = $modifiedTime;
|
1826 |
+
}
|
1827 |
+
public function getModifiedTime()
|
1828 |
+
{
|
1829 |
+
return $this->modifiedTime;
|
1830 |
+
}
|
1831 |
+
public function setName($name)
|
1832 |
+
{
|
1833 |
+
$this->name = $name;
|
1834 |
+
}
|
1835 |
+
public function getName()
|
1836 |
+
{
|
1837 |
+
return $this->name;
|
1838 |
+
}
|
1839 |
+
public function setOriginalFilename($originalFilename)
|
1840 |
+
{
|
1841 |
+
$this->originalFilename = $originalFilename;
|
1842 |
+
}
|
1843 |
+
public function getOriginalFilename()
|
1844 |
+
{
|
1845 |
+
return $this->originalFilename;
|
1846 |
+
}
|
1847 |
+
public function setOwnedByMe($ownedByMe)
|
1848 |
+
{
|
1849 |
+
$this->ownedByMe = $ownedByMe;
|
1850 |
+
}
|
1851 |
+
public function getOwnedByMe()
|
1852 |
+
{
|
1853 |
+
return $this->ownedByMe;
|
1854 |
+
}
|
1855 |
+
public function setOwners($owners)
|
1856 |
+
{
|
1857 |
+
$this->owners = $owners;
|
1858 |
+
}
|
1859 |
+
public function getOwners()
|
1860 |
+
{
|
1861 |
+
return $this->owners;
|
1862 |
+
}
|
1863 |
+
public function setParents($parents)
|
1864 |
+
{
|
1865 |
+
$this->parents = $parents;
|
1866 |
+
}
|
1867 |
+
public function getParents()
|
1868 |
+
{
|
1869 |
+
return $this->parents;
|
1870 |
+
}
|
1871 |
+
public function setPermissions($permissions)
|
1872 |
+
{
|
1873 |
+
$this->permissions = $permissions;
|
1874 |
+
}
|
1875 |
+
public function getPermissions()
|
1876 |
+
{
|
1877 |
+
return $this->permissions;
|
1878 |
+
}
|
1879 |
+
public function setProperties($properties)
|
1880 |
+
{
|
1881 |
+
$this->properties = $properties;
|
1882 |
+
}
|
1883 |
+
public function getProperties()
|
1884 |
+
{
|
1885 |
+
return $this->properties;
|
1886 |
+
}
|
1887 |
+
public function setQuotaBytesUsed($quotaBytesUsed)
|
1888 |
+
{
|
1889 |
+
$this->quotaBytesUsed = $quotaBytesUsed;
|
1890 |
+
}
|
1891 |
+
public function getQuotaBytesUsed()
|
1892 |
+
{
|
1893 |
+
return $this->quotaBytesUsed;
|
1894 |
+
}
|
1895 |
+
public function setShared($shared)
|
1896 |
+
{
|
1897 |
+
$this->shared = $shared;
|
1898 |
+
}
|
1899 |
+
public function getShared()
|
1900 |
+
{
|
1901 |
+
return $this->shared;
|
1902 |
+
}
|
1903 |
+
public function setSharedWithMeTime($sharedWithMeTime)
|
1904 |
+
{
|
1905 |
+
$this->sharedWithMeTime = $sharedWithMeTime;
|
1906 |
+
}
|
1907 |
+
public function getSharedWithMeTime()
|
1908 |
+
{
|
1909 |
+
return $this->sharedWithMeTime;
|
1910 |
+
}
|
1911 |
+
public function setSharingUser(GoogleGAL_Service_DriveT_User $sharingUser)
|
1912 |
+
{
|
1913 |
+
$this->sharingUser = $sharingUser;
|
1914 |
+
}
|
1915 |
+
public function getSharingUser()
|
1916 |
+
{
|
1917 |
+
return $this->sharingUser;
|
1918 |
+
}
|
1919 |
+
public function setSize($size)
|
1920 |
+
{
|
1921 |
+
$this->size = $size;
|
1922 |
+
}
|
1923 |
+
public function getSize()
|
1924 |
+
{
|
1925 |
+
return $this->size;
|
1926 |
+
}
|
1927 |
+
public function setSpaces($spaces)
|
1928 |
+
{
|
1929 |
+
$this->spaces = $spaces;
|
1930 |
+
}
|
1931 |
+
public function getSpaces()
|
1932 |
+
{
|
1933 |
+
return $this->spaces;
|
1934 |
+
}
|
1935 |
+
public function setStarred($starred)
|
1936 |
+
{
|
1937 |
+
$this->starred = $starred;
|
1938 |
+
}
|
1939 |
+
public function getStarred()
|
1940 |
+
{
|
1941 |
+
return $this->starred;
|
1942 |
+
}
|
1943 |
+
public function setTeamDriveId($teamDriveId)
|
1944 |
+
{
|
1945 |
+
$this->teamDriveId = $teamDriveId;
|
1946 |
+
}
|
1947 |
+
public function getTeamDriveId()
|
1948 |
+
{
|
1949 |
+
return $this->teamDriveId;
|
1950 |
+
}
|
1951 |
+
public function setThumbnailLink($thumbnailLink)
|
1952 |
+
{
|
1953 |
+
$this->thumbnailLink = $thumbnailLink;
|
1954 |
+
}
|
1955 |
+
public function getThumbnailLink()
|
1956 |
+
{
|
1957 |
+
return $this->thumbnailLink;
|
1958 |
+
}
|
1959 |
+
public function setThumbnailVersion($thumbnailVersion)
|
1960 |
+
{
|
1961 |
+
$this->thumbnailVersion = $thumbnailVersion;
|
1962 |
+
}
|
1963 |
+
public function getThumbnailVersion()
|
1964 |
+
{
|
1965 |
+
return $this->thumbnailVersion;
|
1966 |
+
}
|
1967 |
+
public function setTrashed($trashed)
|
1968 |
+
{
|
1969 |
+
$this->trashed = $trashed;
|
1970 |
+
}
|
1971 |
+
public function getTrashed()
|
1972 |
+
{
|
1973 |
+
return $this->trashed;
|
1974 |
+
}
|
1975 |
+
public function setTrashedTime($trashedTime)
|
1976 |
+
{
|
1977 |
+
$this->trashedTime = $trashedTime;
|
1978 |
+
}
|
1979 |
+
public function getTrashedTime()
|
1980 |
+
{
|
1981 |
+
return $this->trashedTime;
|
1982 |
+
}
|
1983 |
+
public function setTrashingUser(GoogleGAL_Service_DriveT_User $trashingUser)
|
1984 |
+
{
|
1985 |
+
$this->trashingUser = $trashingUser;
|
1986 |
+
}
|
1987 |
+
public function getTrashingUser()
|
1988 |
+
{
|
1989 |
+
return $this->trashingUser;
|
1990 |
+
}
|
1991 |
+
public function setVersion($version)
|
1992 |
+
{
|
1993 |
+
$this->version = $version;
|
1994 |
+
}
|
1995 |
+
public function getVersion()
|
1996 |
+
{
|
1997 |
+
return $this->version;
|
1998 |
+
}
|
1999 |
+
public function setVideoMediaMetadata(GoogleGAL_Service_DriveT_DriveFileVideoMediaMetadata $videoMediaMetadata)
|
2000 |
+
{
|
2001 |
+
$this->videoMediaMetadata = $videoMediaMetadata;
|
2002 |
+
}
|
2003 |
+
public function getVideoMediaMetadata()
|
2004 |
+
{
|
2005 |
+
return $this->videoMediaMetadata;
|
2006 |
+
}
|
2007 |
+
public function setViewedByMe($viewedByMe)
|
2008 |
+
{
|
2009 |
+
$this->viewedByMe = $viewedByMe;
|
2010 |
+
}
|
2011 |
+
public function getViewedByMe()
|
2012 |
+
{
|
2013 |
+
return $this->viewedByMe;
|
2014 |
+
}
|
2015 |
+
public function setViewedByMeTime($viewedByMeTime)
|
2016 |
+
{
|
2017 |
+
$this->viewedByMeTime = $viewedByMeTime;
|
2018 |
+
}
|
2019 |
+
public function getViewedByMeTime()
|
2020 |
+
{
|
2021 |
+
return $this->viewedByMeTime;
|
2022 |
+
}
|
2023 |
+
public function setViewersCanCopyContent($viewersCanCopyContent)
|
2024 |
+
{
|
2025 |
+
$this->viewersCanCopyContent = $viewersCanCopyContent;
|
2026 |
+
}
|
2027 |
+
public function getViewersCanCopyContent()
|
2028 |
+
{
|
2029 |
+
return $this->viewersCanCopyContent;
|
2030 |
+
}
|
2031 |
+
public function setWebContentLink($webContentLink)
|
2032 |
+
{
|
2033 |
+
$this->webContentLink = $webContentLink;
|
2034 |
+
}
|
2035 |
+
public function getWebContentLink()
|
2036 |
+
{
|
2037 |
+
return $this->webContentLink;
|
2038 |
+
}
|
2039 |
+
public function setWebViewLink($webViewLink)
|
2040 |
+
{
|
2041 |
+
$this->webViewLink = $webViewLink;
|
2042 |
+
}
|
2043 |
+
public function getWebViewLink()
|
2044 |
+
{
|
2045 |
+
return $this->webViewLink;
|
2046 |
+
}
|
2047 |
+
public function setWritersCanShare($writersCanShare)
|
2048 |
+
{
|
2049 |
+
$this->writersCanShare = $writersCanShare;
|
2050 |
+
}
|
2051 |
+
public function getWritersCanShare()
|
2052 |
+
{
|
2053 |
+
return $this->writersCanShare;
|
2054 |
+
}
|
2055 |
+
}
|
2056 |
+
|
2057 |
+
/*
|
2058 |
+
* Copyright 2016 Google Inc.
|
2059 |
+
*
|
2060 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2061 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2062 |
+
* the License at
|
2063 |
+
*
|
2064 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2065 |
+
*
|
2066 |
+
* Unless required by applicable law or agreed to in writing, software
|
2067 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2068 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2069 |
+
* License for the specific language governing permissions and limitations under
|
2070 |
+
* the License.
|
2071 |
+
*/
|
2072 |
+
|
2073 |
+
class GoogleGAL_Service_DriveT_DriveFileCapabilities extends GoogleGAL_Model
|
2074 |
+
{
|
2075 |
+
public $canAddChildren;
|
2076 |
+
public $canComment;
|
2077 |
+
public $canCopy;
|
2078 |
+
public $canDelete;
|
2079 |
+
public $canDownload;
|
2080 |
+
public $canEdit;
|
2081 |
+
public $canListChildren;
|
2082 |
+
public $canMoveItemIntoTeamDrive;
|
2083 |
+
public $canMoveTeamDriveItem;
|
2084 |
+
public $canReadRevisions;
|
2085 |
+
public $canReadTeamDrive;
|
2086 |
+
public $canRemoveChildren;
|
2087 |
+
public $canRename;
|
2088 |
+
public $canShare;
|
2089 |
+
public $canTrash;
|
2090 |
+
public $canUntrash;
|
2091 |
+
|
2092 |
+
public function setCanAddChildren($canAddChildren)
|
2093 |
+
{
|
2094 |
+
$this->canAddChildren = $canAddChildren;
|
2095 |
+
}
|
2096 |
+
public function getCanAddChildren()
|
2097 |
+
{
|
2098 |
+
return $this->canAddChildren;
|
2099 |
+
}
|
2100 |
+
public function setCanComment($canComment)
|
2101 |
+
{
|
2102 |
+
$this->canComment = $canComment;
|
2103 |
+
}
|
2104 |
+
public function getCanComment()
|
2105 |
+
{
|
2106 |
+
return $this->canComment;
|
2107 |
+
}
|
2108 |
+
public function setCanCopy($canCopy)
|
2109 |
+
{
|
2110 |
+
$this->canCopy = $canCopy;
|
2111 |
+
}
|
2112 |
+
public function getCanCopy()
|
2113 |
+
{
|
2114 |
+
return $this->canCopy;
|
2115 |
+
}
|
2116 |
+
public function setCanDelete($canDelete)
|
2117 |
+
{
|
2118 |
+
$this->canDelete = $canDelete;
|
2119 |
+
}
|
2120 |
+
public function getCanDelete()
|
2121 |
+
{
|
2122 |
+
return $this->canDelete;
|
2123 |
+
}
|
2124 |
+
public function setCanDownload($canDownload)
|
2125 |
+
{
|
2126 |
+
$this->canDownload = $canDownload;
|
2127 |
+
}
|
2128 |
+
public function getCanDownload()
|
2129 |
+
{
|
2130 |
+
return $this->canDownload;
|
2131 |
+
}
|
2132 |
+
public function setCanEdit($canEdit)
|
2133 |
+
{
|
2134 |
+
$this->canEdit = $canEdit;
|
2135 |
+
}
|
2136 |
+
public function getCanEdit()
|
2137 |
+
{
|
2138 |
+
return $this->canEdit;
|
2139 |
+
}
|
2140 |
+
public function setCanListChildren($canListChildren)
|
2141 |
+
{
|
2142 |
+
$this->canListChildren = $canListChildren;
|
2143 |
+
}
|
2144 |
+
public function getCanListChildren()
|
2145 |
+
{
|
2146 |
+
return $this->canListChildren;
|
2147 |
+
}
|
2148 |
+
public function setCanMoveItemIntoTeamDrive($canMoveItemIntoTeamDrive)
|
2149 |
+
{
|
2150 |
+
$this->canMoveItemIntoTeamDrive = $canMoveItemIntoTeamDrive;
|
2151 |
+
}
|
2152 |
+
public function getCanMoveItemIntoTeamDrive()
|
2153 |
+
{
|
2154 |
+
return $this->canMoveItemIntoTeamDrive;
|
2155 |
+
}
|
2156 |
+
public function setCanMoveTeamDriveItem($canMoveTeamDriveItem)
|
2157 |
+
{
|
2158 |
+
$this->canMoveTeamDriveItem = $canMoveTeamDriveItem;
|
2159 |
+
}
|
2160 |
+
public function getCanMoveTeamDriveItem()
|
2161 |
+
{
|
2162 |
+
return $this->canMoveTeamDriveItem;
|
2163 |
+
}
|
2164 |
+
public function setCanReadRevisions($canReadRevisions)
|
2165 |
+
{
|
2166 |
+
$this->canReadRevisions = $canReadRevisions;
|
2167 |
+
}
|
2168 |
+
public function getCanReadRevisions()
|
2169 |
+
{
|
2170 |
+
return $this->canReadRevisions;
|
2171 |
+
}
|
2172 |
+
public function setCanReadTeamDrive($canReadTeamDrive)
|
2173 |
+
{
|
2174 |
+
$this->canReadTeamDrive = $canReadTeamDrive;
|
2175 |
+
}
|
2176 |
+
public function getCanReadTeamDrive()
|
2177 |
+
{
|
2178 |
+
return $this->canReadTeamDrive;
|
2179 |
+
}
|
2180 |
+
public function setCanRemoveChildren($canRemoveChildren)
|
2181 |
+
{
|
2182 |
+
$this->canRemoveChildren = $canRemoveChildren;
|
2183 |
+
}
|
2184 |
+
public function getCanRemoveChildren()
|
2185 |
+
{
|
2186 |
+
return $this->canRemoveChildren;
|
2187 |
+
}
|
2188 |
+
public function setCanRename($canRename)
|
2189 |
+
{
|
2190 |
+
$this->canRename = $canRename;
|
2191 |
+
}
|
2192 |
+
public function getCanRename()
|
2193 |
+
{
|
2194 |
+
return $this->canRename;
|
2195 |
+
}
|
2196 |
+
public function setCanShare($canShare)
|
2197 |
+
{
|
2198 |
+
$this->canShare = $canShare;
|
2199 |
+
}
|
2200 |
+
public function getCanShare()
|
2201 |
+
{
|
2202 |
+
return $this->canShare;
|
2203 |
+
}
|
2204 |
+
public function setCanTrash($canTrash)
|
2205 |
+
{
|
2206 |
+
$this->canTrash = $canTrash;
|
2207 |
+
}
|
2208 |
+
public function getCanTrash()
|
2209 |
+
{
|
2210 |
+
return $this->canTrash;
|
2211 |
+
}
|
2212 |
+
public function setCanUntrash($canUntrash)
|
2213 |
+
{
|
2214 |
+
$this->canUntrash = $canUntrash;
|
2215 |
+
}
|
2216 |
+
public function getCanUntrash()
|
2217 |
+
{
|
2218 |
+
return $this->canUntrash;
|
2219 |
+
}
|
2220 |
+
}
|
2221 |
+
|
2222 |
+
/*
|
2223 |
+
* Copyright 2016 Google Inc.
|
2224 |
+
*
|
2225 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2226 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2227 |
+
* the License at
|
2228 |
+
*
|
2229 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2230 |
+
*
|
2231 |
+
* Unless required by applicable law or agreed to in writing, software
|
2232 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2233 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2234 |
+
* License for the specific language governing permissions and limitations under
|
2235 |
+
* the License.
|
2236 |
+
*/
|
2237 |
+
|
2238 |
+
class GoogleGAL_Service_DriveT_DriveFileContentHints extends GoogleGAL_Model
|
2239 |
+
{
|
2240 |
+
public $indexableText;
|
2241 |
+
protected $thumbnailType = 'GoogleGAL_Service_DriveT_DriveFileContentHintsThumbnail';
|
2242 |
+
protected $thumbnailDataType = '';
|
2243 |
+
|
2244 |
+
public function setIndexableText($indexableText)
|
2245 |
+
{
|
2246 |
+
$this->indexableText = $indexableText;
|
2247 |
+
}
|
2248 |
+
public function getIndexableText()
|
2249 |
+
{
|
2250 |
+
return $this->indexableText;
|
2251 |
+
}
|
2252 |
+
public function setThumbnail(GoogleGAL_Service_DriveT_DriveFileContentHintsThumbnail $thumbnail)
|
2253 |
+
{
|
2254 |
+
$this->thumbnail = $thumbnail;
|
2255 |
+
}
|
2256 |
+
public function getThumbnail()
|
2257 |
+
{
|
2258 |
+
return $this->thumbnail;
|
2259 |
+
}
|
2260 |
+
}
|
2261 |
+
|
2262 |
+
/*
|
2263 |
+
* Copyright 2016 Google Inc.
|
2264 |
+
*
|
2265 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2266 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2267 |
+
* the License at
|
2268 |
+
*
|
2269 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2270 |
+
*
|
2271 |
+
* Unless required by applicable law or agreed to in writing, software
|
2272 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2273 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2274 |
+
* License for the specific language governing permissions and limitations under
|
2275 |
+
* the License.
|
2276 |
+
*/
|
2277 |
+
|
2278 |
+
class GoogleGAL_Service_DriveT_DriveFileContentHintsThumbnail extends GoogleGAL_Model
|
2279 |
+
{
|
2280 |
+
public $image;
|
2281 |
+
public $mimeType;
|
2282 |
+
|
2283 |
+
public function setImage($image)
|
2284 |
+
{
|
2285 |
+
$this->image = $image;
|
2286 |
+
}
|
2287 |
+
public function getImage()
|
2288 |
+
{
|
2289 |
+
return $this->image;
|
2290 |
+
}
|
2291 |
+
public function setMimeType($mimeType)
|
2292 |
+
{
|
2293 |
+
$this->mimeType = $mimeType;
|
2294 |
+
}
|
2295 |
+
public function getMimeType()
|
2296 |
+
{
|
2297 |
+
return $this->mimeType;
|
2298 |
+
}
|
2299 |
+
}
|
2300 |
+
|
2301 |
+
/*
|
2302 |
+
* Copyright 2016 Google Inc.
|
2303 |
+
*
|
2304 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2305 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2306 |
+
* the License at
|
2307 |
+
*
|
2308 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2309 |
+
*
|
2310 |
+
* Unless required by applicable law or agreed to in writing, software
|
2311 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2312 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2313 |
+
* License for the specific language governing permissions and limitations under
|
2314 |
+
* the License.
|
2315 |
+
*/
|
2316 |
+
|
2317 |
+
class GoogleGAL_Service_DriveT_DriveFileImageMediaMetadata extends GoogleGAL_Model
|
2318 |
+
{
|
2319 |
+
public $aperture;
|
2320 |
+
public $cameraMake;
|
2321 |
+
public $cameraModel;
|
2322 |
+
public $colorSpace;
|
2323 |
+
public $exposureBias;
|
2324 |
+
public $exposureMode;
|
2325 |
+
public $exposureTime;
|
2326 |
+
public $flashUsed;
|
2327 |
+
public $focalLength;
|
2328 |
+
public $height;
|
2329 |
+
public $isoSpeed;
|
2330 |
+
public $lens;
|
2331 |
+
protected $locationType = 'GoogleGAL_Service_DriveT_DriveFileImageMediaMetadataLocation';
|
2332 |
+
protected $locationDataType = '';
|
2333 |
+
public $maxApertureValue;
|
2334 |
+
public $meteringMode;
|
2335 |
+
public $rotation;
|
2336 |
+
public $sensor;
|
2337 |
+
public $subjectDistance;
|
2338 |
+
public $time;
|
2339 |
+
public $whiteBalance;
|
2340 |
+
public $width;
|
2341 |
+
|
2342 |
+
public function setAperture($aperture)
|
2343 |
+
{
|
2344 |
+
$this->aperture = $aperture;
|
2345 |
+
}
|
2346 |
+
public function getAperture()
|
2347 |
+
{
|
2348 |
+
return $this->aperture;
|
2349 |
+
}
|
2350 |
+
public function setCameraMake($cameraMake)
|
2351 |
+
{
|
2352 |
+
$this->cameraMake = $cameraMake;
|
2353 |
+
}
|
2354 |
+
public function getCameraMake()
|
2355 |
+
{
|
2356 |
+
return $this->cameraMake;
|
2357 |
+
}
|
2358 |
+
public function setCameraModel($cameraModel)
|
2359 |
+
{
|
2360 |
+
$this->cameraModel = $cameraModel;
|
2361 |
+
}
|
2362 |
+
public function getCameraModel()
|
2363 |
+
{
|
2364 |
+
return $this->cameraModel;
|
2365 |
+
}
|
2366 |
+
public function setColorSpace($colorSpace)
|
2367 |
+
{
|
2368 |
+
$this->colorSpace = $colorSpace;
|
2369 |
+
}
|
2370 |
+
public function getColorSpace()
|
2371 |
+
{
|
2372 |
+
return $this->colorSpace;
|
2373 |
+
}
|
2374 |
+
public function setExposureBias($exposureBias)
|
2375 |
+
{
|
2376 |
+
$this->exposureBias = $exposureBias;
|
2377 |
+
}
|
2378 |
+
public function getExposureBias()
|
2379 |
+
{
|
2380 |
+
return $this->exposureBias;
|
2381 |
+
}
|
2382 |
+
public function setExposureMode($exposureMode)
|
2383 |
+
{
|
2384 |
+
$this->exposureMode = $exposureMode;
|
2385 |
+
}
|
2386 |
+
public function getExposureMode()
|
2387 |
+
{
|
2388 |
+
return $this->exposureMode;
|
2389 |
+
}
|
2390 |
+
public function setExposureTime($exposureTime)
|
2391 |
+
{
|
2392 |
+
$this->exposureTime = $exposureTime;
|
2393 |
+
}
|
2394 |
+
public function getExposureTime()
|
2395 |
+
{
|
2396 |
+
return $this->exposureTime;
|
2397 |
+
}
|
2398 |
+
public function setFlashUsed($flashUsed)
|
2399 |
+
{
|
2400 |
+
$this->flashUsed = $flashUsed;
|
2401 |
+
}
|
2402 |
+
public function getFlashUsed()
|
2403 |
+
{
|
2404 |
+
return $this->flashUsed;
|
2405 |
+
}
|
2406 |
+
public function setFocalLength($focalLength)
|
2407 |
+
{
|
2408 |
+
$this->focalLength = $focalLength;
|
2409 |
+
}
|
2410 |
+
public function getFocalLength()
|
2411 |
+
{
|
2412 |
+
return $this->focalLength;
|
2413 |
+
}
|
2414 |
+
public function setHeight($height)
|
2415 |
+
{
|
2416 |
+
$this->height = $height;
|
2417 |
+
}
|
2418 |
+
public function getHeight()
|
2419 |
+
{
|
2420 |
+
return $this->height;
|
2421 |
+
}
|
2422 |
+
public function setIsoSpeed($isoSpeed)
|
2423 |
+
{
|
2424 |
+
$this->isoSpeed = $isoSpeed;
|
2425 |
+
}
|
2426 |
+
public function getIsoSpeed()
|
2427 |
+
{
|
2428 |
+
return $this->isoSpeed;
|
2429 |
+
}
|
2430 |
+
public function setLens($lens)
|
2431 |
+
{
|
2432 |
+
$this->lens = $lens;
|
2433 |
+
}
|
2434 |
+
public function getLens()
|
2435 |
+
{
|
2436 |
+
return $this->lens;
|
2437 |
+
}
|
2438 |
+
public function setLocation(GoogleGAL_Service_DriveT_DriveFileImageMediaMetadataLocation $location)
|
2439 |
+
{
|
2440 |
+
$this->location = $location;
|
2441 |
+
}
|
2442 |
+
public function getLocation()
|
2443 |
+
{
|
2444 |
+
return $this->location;
|
2445 |
+
}
|
2446 |
+
public function setMaxApertureValue($maxApertureValue)
|
2447 |
+
{
|
2448 |
+
$this->maxApertureValue = $maxApertureValue;
|
2449 |
+
}
|
2450 |
+
public function getMaxApertureValue()
|
2451 |
+
{
|
2452 |
+
return $this->maxApertureValue;
|
2453 |
+
}
|
2454 |
+
public function setMeteringMode($meteringMode)
|
2455 |
+
{
|
2456 |
+
$this->meteringMode = $meteringMode;
|
2457 |
+
}
|
2458 |
+
public function getMeteringMode()
|
2459 |
+
{
|
2460 |
+
return $this->meteringMode;
|
2461 |
+
}
|
2462 |
+
public function setRotation($rotation)
|
2463 |
+
{
|
2464 |
+
$this->rotation = $rotation;
|
2465 |
+
}
|
2466 |
+
public function getRotation()
|
2467 |
+
{
|
2468 |
+
return $this->rotation;
|
2469 |
+
}
|
2470 |
+
public function setSensor($sensor)
|
2471 |
+
{
|
2472 |
+
$this->sensor = $sensor;
|
2473 |
+
}
|
2474 |
+
public function getSensor()
|
2475 |
+
{
|
2476 |
+
return $this->sensor;
|
2477 |
+
}
|
2478 |
+
public function setSubjectDistance($subjectDistance)
|
2479 |
+
{
|
2480 |
+
$this->subjectDistance = $subjectDistance;
|
2481 |
+
}
|
2482 |
+
public function getSubjectDistance()
|
2483 |
+
{
|
2484 |
+
return $this->subjectDistance;
|
2485 |
+
}
|
2486 |
+
public function setTime($time)
|
2487 |
+
{
|
2488 |
+
$this->time = $time;
|
2489 |
+
}
|
2490 |
+
public function getTime()
|
2491 |
+
{
|
2492 |
+
return $this->time;
|
2493 |
+
}
|
2494 |
+
public function setWhiteBalance($whiteBalance)
|
2495 |
+
{
|
2496 |
+
$this->whiteBalance = $whiteBalance;
|
2497 |
+
}
|
2498 |
+
public function getWhiteBalance()
|
2499 |
+
{
|
2500 |
+
return $this->whiteBalance;
|
2501 |
+
}
|
2502 |
+
public function setWidth($width)
|
2503 |
+
{
|
2504 |
+
$this->width = $width;
|
2505 |
+
}
|
2506 |
+
public function getWidth()
|
2507 |
+
{
|
2508 |
+
return $this->width;
|
2509 |
+
}
|
2510 |
+
}
|
2511 |
+
|
2512 |
+
/*
|
2513 |
+
* Copyright 2016 Google Inc.
|
2514 |
+
*
|
2515 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2516 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2517 |
+
* the License at
|
2518 |
+
*
|
2519 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2520 |
+
*
|
2521 |
+
* Unless required by applicable law or agreed to in writing, software
|
2522 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2523 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2524 |
+
* License for the specific language governing permissions and limitations under
|
2525 |
+
* the License.
|
2526 |
+
*/
|
2527 |
+
|
2528 |
+
class GoogleGAL_Service_DriveT_DriveFileImageMediaMetadataLocation extends GoogleGAL_Model
|
2529 |
+
{
|
2530 |
+
public $altitude;
|
2531 |
+
public $latitude;
|
2532 |
+
public $longitude;
|
2533 |
+
|
2534 |
+
public function setAltitude($altitude)
|
2535 |
+
{
|
2536 |
+
$this->altitude = $altitude;
|
2537 |
+
}
|
2538 |
+
public function getAltitude()
|
2539 |
+
{
|
2540 |
+
return $this->altitude;
|
2541 |
+
}
|
2542 |
+
public function setLatitude($latitude)
|
2543 |
+
{
|
2544 |
+
$this->latitude = $latitude;
|
2545 |
+
}
|
2546 |
+
public function getLatitude()
|
2547 |
+
{
|
2548 |
+
return $this->latitude;
|
2549 |
+
}
|
2550 |
+
public function setLongitude($longitude)
|
2551 |
+
{
|
2552 |
+
$this->longitude = $longitude;
|
2553 |
+
}
|
2554 |
+
public function getLongitude()
|
2555 |
+
{
|
2556 |
+
return $this->longitude;
|
2557 |
+
}
|
2558 |
+
}
|
2559 |
+
|
2560 |
+
/*
|
2561 |
+
* Copyright 2016 Google Inc.
|
2562 |
+
*
|
2563 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2564 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2565 |
+
* the License at
|
2566 |
+
*
|
2567 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2568 |
+
*
|
2569 |
+
* Unless required by applicable law or agreed to in writing, software
|
2570 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2571 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2572 |
+
* License for the specific language governing permissions and limitations under
|
2573 |
+
* the License.
|
2574 |
+
*/
|
2575 |
+
|
2576 |
+
class GoogleGAL_Service_DriveT_DriveFileVideoMediaMetadata extends GoogleGAL_Model
|
2577 |
+
{
|
2578 |
+
public $durationMillis;
|
2579 |
+
public $height;
|
2580 |
+
public $width;
|
2581 |
+
|
2582 |
+
public function setDurationMillis($durationMillis)
|
2583 |
+
{
|
2584 |
+
$this->durationMillis = $durationMillis;
|
2585 |
+
}
|
2586 |
+
public function getDurationMillis()
|
2587 |
+
{
|
2588 |
+
return $this->durationMillis;
|
2589 |
+
}
|
2590 |
+
public function setHeight($height)
|
2591 |
+
{
|
2592 |
+
$this->height = $height;
|
2593 |
+
}
|
2594 |
+
public function getHeight()
|
2595 |
+
{
|
2596 |
+
return $this->height;
|
2597 |
+
}
|
2598 |
+
public function setWidth($width)
|
2599 |
+
{
|
2600 |
+
$this->width = $width;
|
2601 |
+
}
|
2602 |
+
public function getWidth()
|
2603 |
+
{
|
2604 |
+
return $this->width;
|
2605 |
+
}
|
2606 |
+
}
|
2607 |
+
|
2608 |
+
/*
|
2609 |
+
* Copyright 2016 Google Inc.
|
2610 |
+
*
|
2611 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2612 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2613 |
+
* the License at
|
2614 |
+
*
|
2615 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2616 |
+
*
|
2617 |
+
* Unless required by applicable law or agreed to in writing, software
|
2618 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2619 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2620 |
+
* License for the specific language governing permissions and limitations under
|
2621 |
+
* the License.
|
2622 |
+
*/
|
2623 |
+
|
2624 |
+
class GoogleGAL_Service_DriveT_FileList extends GoogleGAL_Collection
|
2625 |
+
{
|
2626 |
+
protected $collection_key = 'files';
|
2627 |
+
protected $filesType = 'GoogleGAL_Service_DriveT_DriveFile';
|
2628 |
+
protected $filesDataType = 'array';
|
2629 |
+
public $incompleteSearch;
|
2630 |
+
public $kind;
|
2631 |
+
public $nextPageToken;
|
2632 |
+
|
2633 |
+
public function setFiles($files)
|
2634 |
+
{
|
2635 |
+
$this->files = $files;
|
2636 |
+
}
|
2637 |
+
public function getFiles()
|
2638 |
+
{
|
2639 |
+
return $this->files;
|
2640 |
+
}
|
2641 |
+
public function setIncompleteSearch($incompleteSearch)
|
2642 |
+
{
|
2643 |
+
$this->incompleteSearch = $incompleteSearch;
|
2644 |
+
}
|
2645 |
+
public function getIncompleteSearch()
|
2646 |
+
{
|
2647 |
+
return $this->incompleteSearch;
|
2648 |
+
}
|
2649 |
+
public function setKind($kind)
|
2650 |
+
{
|
2651 |
+
$this->kind = $kind;
|
2652 |
+
}
|
2653 |
+
public function getKind()
|
2654 |
+
{
|
2655 |
+
return $this->kind;
|
2656 |
+
}
|
2657 |
+
public function setNextPageToken($nextPageToken)
|
2658 |
+
{
|
2659 |
+
$this->nextPageToken = $nextPageToken;
|
2660 |
+
}
|
2661 |
+
public function getNextPageToken()
|
2662 |
+
{
|
2663 |
+
return $this->nextPageToken;
|
2664 |
+
}
|
2665 |
+
}
|
2666 |
+
|
2667 |
+
/*
|
2668 |
+
* Copyright 2016 Google Inc.
|
2669 |
+
*
|
2670 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2671 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2672 |
+
* the License at
|
2673 |
+
*
|
2674 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2675 |
+
*
|
2676 |
+
* Unless required by applicable law or agreed to in writing, software
|
2677 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2678 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2679 |
+
* License for the specific language governing permissions and limitations under
|
2680 |
+
* the License.
|
2681 |
+
*/
|
2682 |
+
|
2683 |
+
class GoogleGAL_Service_DriveT_GeneratedIds extends GoogleGAL_Collection
|
2684 |
+
{
|
2685 |
+
protected $collection_key = 'ids';
|
2686 |
+
public $ids;
|
2687 |
+
public $kind;
|
2688 |
+
public $space;
|
2689 |
+
|
2690 |
+
public function setIds($ids)
|
2691 |
+
{
|
2692 |
+
$this->ids = $ids;
|
2693 |
+
}
|
2694 |
+
public function getIds()
|
2695 |
+
{
|
2696 |
+
return $this->ids;
|
2697 |
+
}
|
2698 |
+
public function setKind($kind)
|
2699 |
+
{
|
2700 |
+
$this->kind = $kind;
|
2701 |
+
}
|
2702 |
+
public function getKind()
|
2703 |
+
{
|
2704 |
+
return $this->kind;
|
2705 |
+
}
|
2706 |
+
public function setSpace($space)
|
2707 |
+
{
|
2708 |
+
$this->space = $space;
|
2709 |
+
}
|
2710 |
+
public function getSpace()
|
2711 |
+
{
|
2712 |
+
return $this->space;
|
2713 |
+
}
|
2714 |
+
}
|
2715 |
+
|
2716 |
+
/*
|
2717 |
+
* Copyright 2016 Google Inc.
|
2718 |
+
*
|
2719 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2720 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2721 |
+
* the License at
|
2722 |
+
*
|
2723 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2724 |
+
*
|
2725 |
+
* Unless required by applicable law or agreed to in writing, software
|
2726 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2727 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2728 |
+
* License for the specific language governing permissions and limitations under
|
2729 |
+
* the License.
|
2730 |
+
*/
|
2731 |
+
|
2732 |
+
class GoogleGAL_Service_DriveT_Permission extends GoogleGAL_Collection
|
2733 |
+
{
|
2734 |
+
protected $collection_key = 'teamDrivePermissionDetails';
|
2735 |
+
public $allowFileDiscovery;
|
2736 |
+
public $displayName;
|
2737 |
+
public $domain;
|
2738 |
+
public $emailAddress;
|
2739 |
+
public $expirationTime;
|
2740 |
+
public $id;
|
2741 |
+
public $kind;
|
2742 |
+
public $photoLink;
|
2743 |
+
public $role;
|
2744 |
+
protected $teamDrivePermissionDetailsType = 'GoogleGAL_Service_DriveT_PermissionTeamDrivePermissionDetails';
|
2745 |
+
protected $teamDrivePermissionDetailsDataType = 'array';
|
2746 |
+
public $type;
|
2747 |
+
|
2748 |
+
public function setAllowFileDiscovery($allowFileDiscovery)
|
2749 |
+
{
|
2750 |
+
$this->allowFileDiscovery = $allowFileDiscovery;
|
2751 |
+
}
|
2752 |
+
public function getAllowFileDiscovery()
|
2753 |
+
{
|
2754 |
+
return $this->allowFileDiscovery;
|
2755 |
+
}
|
2756 |
+
public function setDisplayName($displayName)
|
2757 |
+
{
|
2758 |
+
$this->displayName = $displayName;
|
2759 |
+
}
|
2760 |
+
public function getDisplayName()
|
2761 |
+
{
|
2762 |
+
return $this->displayName;
|
2763 |
+
}
|
2764 |
+
public function setDomain($domain)
|
2765 |
+
{
|
2766 |
+
$this->domain = $domain;
|
2767 |
+
}
|
2768 |
+
public function getDomain()
|
2769 |
+
{
|
2770 |
+
return $this->domain;
|
2771 |
+
}
|
2772 |
+
public function setEmailAddress($emailAddress)
|
2773 |
+
{
|
2774 |
+
$this->emailAddress = $emailAddress;
|
2775 |
+
}
|
2776 |
+
public function getEmailAddress()
|
2777 |
+
{
|
2778 |
+
return $this->emailAddress;
|
2779 |
+
}
|
2780 |
+
public function setExpirationTime($expirationTime)
|
2781 |
+
{
|
2782 |
+
$this->expirationTime = $expirationTime;
|
2783 |
+
}
|
2784 |
+
public function getExpirationTime()
|
2785 |
+
{
|
2786 |
+
return $this->expirationTime;
|
2787 |
+
}
|
2788 |
+
public function setId($id)
|
2789 |
+
{
|
2790 |
+
$this->id = $id;
|
2791 |
+
}
|
2792 |
+
public function getId()
|
2793 |
+
{
|
2794 |
+
return $this->id;
|
2795 |
+
}
|
2796 |
+
public function setKind($kind)
|
2797 |
+
{
|
2798 |
+
$this->kind = $kind;
|
2799 |
+
}
|
2800 |
+
public function getKind()
|
2801 |
+
{
|
2802 |
+
return $this->kind;
|
2803 |
+
}
|
2804 |
+
public function setPhotoLink($photoLink)
|
2805 |
+
{
|
2806 |
+
$this->photoLink = $photoLink;
|
2807 |
+
}
|
2808 |
+
public function getPhotoLink()
|
2809 |
+
{
|
2810 |
+
return $this->photoLink;
|
2811 |
+
}
|
2812 |
+
public function setRole($role)
|
2813 |
+
{
|
2814 |
+
$this->role = $role;
|
2815 |
+
}
|
2816 |
+
public function getRole()
|
2817 |
+
{
|
2818 |
+
return $this->role;
|
2819 |
+
}
|
2820 |
+
public function setTeamDrivePermissionDetails($teamDrivePermissionDetails)
|
2821 |
+
{
|
2822 |
+
$this->teamDrivePermissionDetails = $teamDrivePermissionDetails;
|
2823 |
+
}
|
2824 |
+
public function getTeamDrivePermissionDetails()
|
2825 |
+
{
|
2826 |
+
return $this->teamDrivePermissionDetails;
|
2827 |
+
}
|
2828 |
+
public function setType($type)
|
2829 |
+
{
|
2830 |
+
$this->type = $type;
|
2831 |
+
}
|
2832 |
+
public function getType()
|
2833 |
+
{
|
2834 |
+
return $this->type;
|
2835 |
+
}
|
2836 |
+
}
|
2837 |
+
|
2838 |
+
/*
|
2839 |
+
* Copyright 2016 Google Inc.
|
2840 |
+
*
|
2841 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2842 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2843 |
+
* the License at
|
2844 |
+
*
|
2845 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2846 |
+
*
|
2847 |
+
* Unless required by applicable law or agreed to in writing, software
|
2848 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2849 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2850 |
+
* License for the specific language governing permissions and limitations under
|
2851 |
+
* the License.
|
2852 |
+
*/
|
2853 |
+
|
2854 |
+
class GoogleGAL_Service_DriveT_PermissionList extends GoogleGAL_Collection
|
2855 |
+
{
|
2856 |
+
protected $collection_key = 'permissions';
|
2857 |
+
public $kind;
|
2858 |
+
public $nextPageToken;
|
2859 |
+
protected $permissionsType = 'GoogleGAL_Service_DriveT_Permission';
|
2860 |
+
protected $permissionsDataType = 'array';
|
2861 |
+
|
2862 |
+
public function setKind($kind)
|
2863 |
+
{
|
2864 |
+
$this->kind = $kind;
|
2865 |
+
}
|
2866 |
+
public function getKind()
|
2867 |
+
{
|
2868 |
+
return $this->kind;
|
2869 |
+
}
|
2870 |
+
public function setNextPageToken($nextPageToken)
|
2871 |
+
{
|
2872 |
+
$this->nextPageToken = $nextPageToken;
|
2873 |
+
}
|
2874 |
+
public function getNextPageToken()
|
2875 |
+
{
|
2876 |
+
return $this->nextPageToken;
|
2877 |
+
}
|
2878 |
+
public function setPermissions($permissions)
|
2879 |
+
{
|
2880 |
+
$this->permissions = $permissions;
|
2881 |
+
}
|
2882 |
+
public function getPermissions()
|
2883 |
+
{
|
2884 |
+
return $this->permissions;
|
2885 |
+
}
|
2886 |
+
}
|
2887 |
+
|
2888 |
+
/*
|
2889 |
+
* Copyright 2016 Google Inc.
|
2890 |
+
*
|
2891 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2892 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2893 |
+
* the License at
|
2894 |
+
*
|
2895 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2896 |
+
*
|
2897 |
+
* Unless required by applicable law or agreed to in writing, software
|
2898 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2899 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2900 |
+
* License for the specific language governing permissions and limitations under
|
2901 |
+
* the License.
|
2902 |
+
*/
|
2903 |
+
|
2904 |
+
class GoogleGAL_Service_DriveT_PermissionTeamDrivePermissionDetails extends GoogleGAL_Model
|
2905 |
+
{
|
2906 |
+
public $inherited;
|
2907 |
+
public $inheritedFrom;
|
2908 |
+
public $role;
|
2909 |
+
public $teamDrivePermissionType;
|
2910 |
+
|
2911 |
+
public function setInherited($inherited)
|
2912 |
+
{
|
2913 |
+
$this->inherited = $inherited;
|
2914 |
+
}
|
2915 |
+
public function getInherited()
|
2916 |
+
{
|
2917 |
+
return $this->inherited;
|
2918 |
+
}
|
2919 |
+
public function setInheritedFrom($inheritedFrom)
|
2920 |
+
{
|
2921 |
+
$this->inheritedFrom = $inheritedFrom;
|
2922 |
+
}
|
2923 |
+
public function getInheritedFrom()
|
2924 |
+
{
|
2925 |
+
return $this->inheritedFrom;
|
2926 |
+
}
|
2927 |
+
public function setRole($role)
|
2928 |
+
{
|
2929 |
+
$this->role = $role;
|
2930 |
+
}
|
2931 |
+
public function getRole()
|
2932 |
+
{
|
2933 |
+
return $this->role;
|
2934 |
+
}
|
2935 |
+
public function setTeamDrivePermissionType($teamDrivePermissionType)
|
2936 |
+
{
|
2937 |
+
$this->teamDrivePermissionType = $teamDrivePermissionType;
|
2938 |
+
}
|
2939 |
+
public function getTeamDrivePermissionType()
|
2940 |
+
{
|
2941 |
+
return $this->teamDrivePermissionType;
|
2942 |
+
}
|
2943 |
+
}
|
2944 |
+
|
2945 |
+
/*
|
2946 |
+
* Copyright 2016 Google Inc.
|
2947 |
+
*
|
2948 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
2949 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
2950 |
+
* the License at
|
2951 |
+
*
|
2952 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
2953 |
+
*
|
2954 |
+
* Unless required by applicable law or agreed to in writing, software
|
2955 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
2956 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
2957 |
+
* License for the specific language governing permissions and limitations under
|
2958 |
+
* the License.
|
2959 |
+
*/
|
2960 |
+
|
2961 |
+
class GoogleGAL_Service_DriveT_Reply extends GoogleGAL_Model
|
2962 |
+
{
|
2963 |
+
public $action;
|
2964 |
+
protected $authorType = 'GoogleGAL_Service_DriveT_User';
|
2965 |
+
protected $authorDataType = '';
|
2966 |
+
public $content;
|
2967 |
+
public $createdTime;
|
2968 |
+
public $deleted;
|
2969 |
+
public $htmlContent;
|
2970 |
+
public $id;
|
2971 |
+
public $kind;
|
2972 |
+
public $modifiedTime;
|
2973 |
+
|
2974 |
+
public function setAction($action)
|
2975 |
+
{
|
2976 |
+
$this->action = $action;
|
2977 |
+
}
|
2978 |
+
public function getAction()
|
2979 |
+
{
|
2980 |
+
return $this->action;
|
2981 |
+
}
|
2982 |
+
public function setAuthor(GoogleGAL_Service_DriveT_User $author)
|
2983 |
+
{
|
2984 |
+
$this->author = $author;
|
2985 |
+
}
|
2986 |
+
public function getAuthor()
|
2987 |
+
{
|
2988 |
+
return $this->author;
|
2989 |
+
}
|
2990 |
+
public function setContent($content)
|
2991 |
+
{
|
2992 |
+
$this->content = $content;
|
2993 |
+
}
|
2994 |
+
public function getContent()
|
2995 |
+
{
|
2996 |
+
return $this->content;
|
2997 |
+
}
|
2998 |
+
public function setCreatedTime($createdTime)
|
2999 |
+
{
|
3000 |
+
$this->createdTime = $createdTime;
|
3001 |
+
}
|
3002 |
+
public function getCreatedTime()
|
3003 |
+
{
|
3004 |
+
return $this->createdTime;
|
3005 |
+
}
|
3006 |
+
public function setDeleted($deleted)
|
3007 |
+
{
|
3008 |
+
$this->deleted = $deleted;
|
3009 |
+
}
|
3010 |
+
public function getDeleted()
|
3011 |
+
{
|
3012 |
+
return $this->deleted;
|
3013 |
+
}
|
3014 |
+
public function setHtmlContent($htmlContent)
|
3015 |
+
{
|
3016 |
+
$this->htmlContent = $htmlContent;
|
3017 |
+
}
|
3018 |
+
public function getHtmlContent()
|
3019 |
+
{
|
3020 |
+
return $this->htmlContent;
|
3021 |
+
}
|
3022 |
+
public function setId($id)
|
3023 |
+
{
|
3024 |
+
$this->id = $id;
|
3025 |
+
}
|
3026 |
+
public function getId()
|
3027 |
+
{
|
3028 |
+
return $this->id;
|
3029 |
+
}
|
3030 |
+
public function setKind($kind)
|
3031 |
+
{
|
3032 |
+
$this->kind = $kind;
|
3033 |
+
}
|
3034 |
+
public function getKind()
|
3035 |
+
{
|
3036 |
+
return $this->kind;
|
3037 |
+
}
|
3038 |
+
public function setModifiedTime($modifiedTime)
|
3039 |
+
{
|
3040 |
+
$this->modifiedTime = $modifiedTime;
|
3041 |
+
}
|
3042 |
+
public function getModifiedTime()
|
3043 |
+
{
|
3044 |
+
return $this->modifiedTime;
|
3045 |
+
}
|
3046 |
+
}
|
3047 |
+
|
3048 |
+
/*
|
3049 |
+
* Copyright 2016 Google Inc.
|
3050 |
+
*
|
3051 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3052 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3053 |
+
* the License at
|
3054 |
+
*
|
3055 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3056 |
+
*
|
3057 |
+
* Unless required by applicable law or agreed to in writing, software
|
3058 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3059 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3060 |
+
* License for the specific language governing permissions and limitations under
|
3061 |
+
* the License.
|
3062 |
+
*/
|
3063 |
+
|
3064 |
+
class GoogleGAL_Service_DriveT_ReplyList extends GoogleGAL_Collection
|
3065 |
+
{
|
3066 |
+
protected $collection_key = 'replies';
|
3067 |
+
public $kind;
|
3068 |
+
public $nextPageToken;
|
3069 |
+
protected $repliesType = 'GoogleGAL_Service_DriveT_Reply';
|
3070 |
+
protected $repliesDataType = 'array';
|
3071 |
+
|
3072 |
+
public function setKind($kind)
|
3073 |
+
{
|
3074 |
+
$this->kind = $kind;
|
3075 |
+
}
|
3076 |
+
public function getKind()
|
3077 |
+
{
|
3078 |
+
return $this->kind;
|
3079 |
+
}
|
3080 |
+
public function setNextPageToken($nextPageToken)
|
3081 |
+
{
|
3082 |
+
$this->nextPageToken = $nextPageToken;
|
3083 |
+
}
|
3084 |
+
public function getNextPageToken()
|
3085 |
+
{
|
3086 |
+
return $this->nextPageToken;
|
3087 |
+
}
|
3088 |
+
public function setReplies($replies)
|
3089 |
+
{
|
3090 |
+
$this->replies = $replies;
|
3091 |
+
}
|
3092 |
+
public function getReplies()
|
3093 |
+
{
|
3094 |
+
return $this->replies;
|
3095 |
+
}
|
3096 |
+
}
|
3097 |
+
|
3098 |
+
/*
|
3099 |
+
* Copyright 2016 Google Inc.
|
3100 |
+
*
|
3101 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3102 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3103 |
+
* the License at
|
3104 |
+
*
|
3105 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3106 |
+
*
|
3107 |
+
* Unless required by applicable law or agreed to in writing, software
|
3108 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3109 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3110 |
+
* License for the specific language governing permissions and limitations under
|
3111 |
+
* the License.
|
3112 |
+
*/
|
3113 |
+
|
3114 |
+
class GoogleGAL_Service_DriveT_Revision extends GoogleGAL_Model
|
3115 |
+
{
|
3116 |
+
public $id;
|
3117 |
+
public $keepForever;
|
3118 |
+
public $kind;
|
3119 |
+
protected $lastModifyingUserType = 'GoogleGAL_Service_DriveT_User';
|
3120 |
+
protected $lastModifyingUserDataType = '';
|
3121 |
+
public $md5Checksum;
|
3122 |
+
public $mimeType;
|
3123 |
+
public $modifiedTime;
|
3124 |
+
public $originalFilename;
|
3125 |
+
public $publishAuto;
|
3126 |
+
public $published;
|
3127 |
+
public $publishedOutsideDomain;
|
3128 |
+
public $size;
|
3129 |
+
|
3130 |
+
public function setId($id)
|
3131 |
+
{
|
3132 |
+
$this->id = $id;
|
3133 |
+
}
|
3134 |
+
public function getId()
|
3135 |
+
{
|
3136 |
+
return $this->id;
|
3137 |
+
}
|
3138 |
+
public function setKeepForever($keepForever)
|
3139 |
+
{
|
3140 |
+
$this->keepForever = $keepForever;
|
3141 |
+
}
|
3142 |
+
public function getKeepForever()
|
3143 |
+
{
|
3144 |
+
return $this->keepForever;
|
3145 |
+
}
|
3146 |
+
public function setKind($kind)
|
3147 |
+
{
|
3148 |
+
$this->kind = $kind;
|
3149 |
+
}
|
3150 |
+
public function getKind()
|
3151 |
+
{
|
3152 |
+
return $this->kind;
|
3153 |
+
}
|
3154 |
+
public function setLastModifyingUser(GoogleGAL_Service_DriveT_User $lastModifyingUser)
|
3155 |
+
{
|
3156 |
+
$this->lastModifyingUser = $lastModifyingUser;
|
3157 |
+
}
|
3158 |
+
public function getLastModifyingUser()
|
3159 |
+
{
|
3160 |
+
return $this->lastModifyingUser;
|
3161 |
+
}
|
3162 |
+
public function setMd5Checksum($md5Checksum)
|
3163 |
+
{
|
3164 |
+
$this->md5Checksum = $md5Checksum;
|
3165 |
+
}
|
3166 |
+
public function getMd5Checksum()
|
3167 |
+
{
|
3168 |
+
return $this->md5Checksum;
|
3169 |
+
}
|
3170 |
+
public function setMimeType($mimeType)
|
3171 |
+
{
|
3172 |
+
$this->mimeType = $mimeType;
|
3173 |
+
}
|
3174 |
+
public function getMimeType()
|
3175 |
+
{
|
3176 |
+
return $this->mimeType;
|
3177 |
+
}
|
3178 |
+
public function setModifiedTime($modifiedTime)
|
3179 |
+
{
|
3180 |
+
$this->modifiedTime = $modifiedTime;
|
3181 |
+
}
|
3182 |
+
public function getModifiedTime()
|
3183 |
+
{
|
3184 |
+
return $this->modifiedTime;
|
3185 |
+
}
|
3186 |
+
public function setOriginalFilename($originalFilename)
|
3187 |
+
{
|
3188 |
+
$this->originalFilename = $originalFilename;
|
3189 |
+
}
|
3190 |
+
public function getOriginalFilename()
|
3191 |
+
{
|
3192 |
+
return $this->originalFilename;
|
3193 |
+
}
|
3194 |
+
public function setPublishAuto($publishAuto)
|
3195 |
+
{
|
3196 |
+
$this->publishAuto = $publishAuto;
|
3197 |
+
}
|
3198 |
+
public function getPublishAuto()
|
3199 |
+
{
|
3200 |
+
return $this->publishAuto;
|
3201 |
+
}
|
3202 |
+
public function setPublished($published)
|
3203 |
+
{
|
3204 |
+
$this->published = $published;
|
3205 |
+
}
|
3206 |
+
public function getPublished()
|
3207 |
+
{
|
3208 |
+
return $this->published;
|
3209 |
+
}
|
3210 |
+
public function setPublishedOutsideDomain($publishedOutsideDomain)
|
3211 |
+
{
|
3212 |
+
$this->publishedOutsideDomain = $publishedOutsideDomain;
|
3213 |
+
}
|
3214 |
+
public function getPublishedOutsideDomain()
|
3215 |
+
{
|
3216 |
+
return $this->publishedOutsideDomain;
|
3217 |
+
}
|
3218 |
+
public function setSize($size)
|
3219 |
+
{
|
3220 |
+
$this->size = $size;
|
3221 |
+
}
|
3222 |
+
public function getSize()
|
3223 |
+
{
|
3224 |
+
return $this->size;
|
3225 |
+
}
|
3226 |
+
}
|
3227 |
+
|
3228 |
+
/*
|
3229 |
+
* Copyright 2016 Google Inc.
|
3230 |
+
*
|
3231 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3232 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3233 |
+
* the License at
|
3234 |
+
*
|
3235 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3236 |
+
*
|
3237 |
+
* Unless required by applicable law or agreed to in writing, software
|
3238 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3239 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3240 |
+
* License for the specific language governing permissions and limitations under
|
3241 |
+
* the License.
|
3242 |
+
*/
|
3243 |
+
|
3244 |
+
class GoogleGAL_Service_DriveT_RevisionList extends GoogleGAL_Collection
|
3245 |
+
{
|
3246 |
+
protected $collection_key = 'revisions';
|
3247 |
+
public $kind;
|
3248 |
+
public $nextPageToken;
|
3249 |
+
protected $revisionsType = 'GoogleGAL_Service_DriveT_Revision';
|
3250 |
+
protected $revisionsDataType = 'array';
|
3251 |
+
|
3252 |
+
public function setKind($kind)
|
3253 |
+
{
|
3254 |
+
$this->kind = $kind;
|
3255 |
+
}
|
3256 |
+
public function getKind()
|
3257 |
+
{
|
3258 |
+
return $this->kind;
|
3259 |
+
}
|
3260 |
+
public function setNextPageToken($nextPageToken)
|
3261 |
+
{
|
3262 |
+
$this->nextPageToken = $nextPageToken;
|
3263 |
+
}
|
3264 |
+
public function getNextPageToken()
|
3265 |
+
{
|
3266 |
+
return $this->nextPageToken;
|
3267 |
+
}
|
3268 |
+
public function setRevisions($revisions)
|
3269 |
+
{
|
3270 |
+
$this->revisions = $revisions;
|
3271 |
+
}
|
3272 |
+
public function getRevisions()
|
3273 |
+
{
|
3274 |
+
return $this->revisions;
|
3275 |
+
}
|
3276 |
+
}
|
3277 |
+
|
3278 |
+
/*
|
3279 |
+
* Copyright 2016 Google Inc.
|
3280 |
+
*
|
3281 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3282 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3283 |
+
* the License at
|
3284 |
+
*
|
3285 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3286 |
+
*
|
3287 |
+
* Unless required by applicable law or agreed to in writing, software
|
3288 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3289 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3290 |
+
* License for the specific language governing permissions and limitations under
|
3291 |
+
* the License.
|
3292 |
+
*/
|
3293 |
+
|
3294 |
+
class GoogleGAL_Service_DriveT_StartPageToken extends GoogleGAL_Model
|
3295 |
+
{
|
3296 |
+
public $kind;
|
3297 |
+
public $startPageToken;
|
3298 |
+
|
3299 |
+
public function setKind($kind)
|
3300 |
+
{
|
3301 |
+
$this->kind = $kind;
|
3302 |
+
}
|
3303 |
+
public function getKind()
|
3304 |
+
{
|
3305 |
+
return $this->kind;
|
3306 |
+
}
|
3307 |
+
public function setStartPageToken($startPageToken)
|
3308 |
+
{
|
3309 |
+
$this->startPageToken = $startPageToken;
|
3310 |
+
}
|
3311 |
+
public function getStartPageToken()
|
3312 |
+
{
|
3313 |
+
return $this->startPageToken;
|
3314 |
+
}
|
3315 |
+
}
|
3316 |
+
|
3317 |
+
/*
|
3318 |
+
* Copyright 2016 Google Inc.
|
3319 |
+
*
|
3320 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3321 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3322 |
+
* the License at
|
3323 |
+
*
|
3324 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3325 |
+
*
|
3326 |
+
* Unless required by applicable law or agreed to in writing, software
|
3327 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3328 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3329 |
+
* License for the specific language governing permissions and limitations under
|
3330 |
+
* the License.
|
3331 |
+
*/
|
3332 |
+
|
3333 |
+
class GoogleGAL_Service_DriveT_TeamDrive extends GoogleGAL_Model
|
3334 |
+
{
|
3335 |
+
protected $capabilitiesType = 'GoogleGAL_Service_DriveT_TeamDriveCapabilities';
|
3336 |
+
protected $capabilitiesDataType = '';
|
3337 |
+
public $id;
|
3338 |
+
public $kind;
|
3339 |
+
public $name;
|
3340 |
+
|
3341 |
+
public function setCapabilities(GoogleGAL_Service_DriveT_TeamDriveCapabilities $capabilities)
|
3342 |
+
{
|
3343 |
+
$this->capabilities = $capabilities;
|
3344 |
+
}
|
3345 |
+
public function getCapabilities()
|
3346 |
+
{
|
3347 |
+
return $this->capabilities;
|
3348 |
+
}
|
3349 |
+
public function setId($id)
|
3350 |
+
{
|
3351 |
+
$this->id = $id;
|
3352 |
+
}
|
3353 |
+
public function getId()
|
3354 |
+
{
|
3355 |
+
return $this->id;
|
3356 |
+
}
|
3357 |
+
public function setKind($kind)
|
3358 |
+
{
|
3359 |
+
$this->kind = $kind;
|
3360 |
+
}
|
3361 |
+
public function getKind()
|
3362 |
+
{
|
3363 |
+
return $this->kind;
|
3364 |
+
}
|
3365 |
+
public function setName($name)
|
3366 |
+
{
|
3367 |
+
$this->name = $name;
|
3368 |
+
}
|
3369 |
+
public function getName()
|
3370 |
+
{
|
3371 |
+
return $this->name;
|
3372 |
+
}
|
3373 |
+
}
|
3374 |
+
|
3375 |
+
/*
|
3376 |
+
* Copyright 2016 Google Inc.
|
3377 |
+
*
|
3378 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3379 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3380 |
+
* the License at
|
3381 |
+
*
|
3382 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3383 |
+
*
|
3384 |
+
* Unless required by applicable law or agreed to in writing, software
|
3385 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3386 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3387 |
+
* License for the specific language governing permissions and limitations under
|
3388 |
+
* the License.
|
3389 |
+
*/
|
3390 |
+
|
3391 |
+
class GoogleGAL_Service_DriveT_TeamDriveCapabilities extends GoogleGAL_Model
|
3392 |
+
{
|
3393 |
+
public $canAddChildren;
|
3394 |
+
public $canComment;
|
3395 |
+
public $canCopy;
|
3396 |
+
public $canDeleteTeamDrive;
|
3397 |
+
public $canDownload;
|
3398 |
+
public $canEdit;
|
3399 |
+
public $canListChildren;
|
3400 |
+
public $canManageMembers;
|
3401 |
+
public $canReadRevisions;
|
3402 |
+
public $canRemoveChildren;
|
3403 |
+
public $canRename;
|
3404 |
+
public $canRenameTeamDrive;
|
3405 |
+
public $canShare;
|
3406 |
+
|
3407 |
+
public function setCanAddChildren($canAddChildren)
|
3408 |
+
{
|
3409 |
+
$this->canAddChildren = $canAddChildren;
|
3410 |
+
}
|
3411 |
+
public function getCanAddChildren()
|
3412 |
+
{
|
3413 |
+
return $this->canAddChildren;
|
3414 |
+
}
|
3415 |
+
public function setCanComment($canComment)
|
3416 |
+
{
|
3417 |
+
$this->canComment = $canComment;
|
3418 |
+
}
|
3419 |
+
public function getCanComment()
|
3420 |
+
{
|
3421 |
+
return $this->canComment;
|
3422 |
+
}
|
3423 |
+
public function setCanCopy($canCopy)
|
3424 |
+
{
|
3425 |
+
$this->canCopy = $canCopy;
|
3426 |
+
}
|
3427 |
+
public function getCanCopy()
|
3428 |
+
{
|
3429 |
+
return $this->canCopy;
|
3430 |
+
}
|
3431 |
+
public function setCanDeleteTeamDrive($canDeleteTeamDrive)
|
3432 |
+
{
|
3433 |
+
$this->canDeleteTeamDrive = $canDeleteTeamDrive;
|
3434 |
+
}
|
3435 |
+
public function getCanDeleteTeamDrive()
|
3436 |
+
{
|
3437 |
+
return $this->canDeleteTeamDrive;
|
3438 |
+
}
|
3439 |
+
public function setCanDownload($canDownload)
|
3440 |
+
{
|
3441 |
+
$this->canDownload = $canDownload;
|
3442 |
+
}
|
3443 |
+
public function getCanDownload()
|
3444 |
+
{
|
3445 |
+
return $this->canDownload;
|
3446 |
+
}
|
3447 |
+
public function setCanEdit($canEdit)
|
3448 |
+
{
|
3449 |
+
$this->canEdit = $canEdit;
|
3450 |
+
}
|
3451 |
+
public function getCanEdit()
|
3452 |
+
{
|
3453 |
+
return $this->canEdit;
|
3454 |
+
}
|
3455 |
+
public function setCanListChildren($canListChildren)
|
3456 |
+
{
|
3457 |
+
$this->canListChildren = $canListChildren;
|
3458 |
+
}
|
3459 |
+
public function getCanListChildren()
|
3460 |
+
{
|
3461 |
+
return $this->canListChildren;
|
3462 |
+
}
|
3463 |
+
public function setCanManageMembers($canManageMembers)
|
3464 |
+
{
|
3465 |
+
$this->canManageMembers = $canManageMembers;
|
3466 |
+
}
|
3467 |
+
public function getCanManageMembers()
|
3468 |
+
{
|
3469 |
+
return $this->canManageMembers;
|
3470 |
+
}
|
3471 |
+
public function setCanReadRevisions($canReadRevisions)
|
3472 |
+
{
|
3473 |
+
$this->canReadRevisions = $canReadRevisions;
|
3474 |
+
}
|
3475 |
+
public function getCanReadRevisions()
|
3476 |
+
{
|
3477 |
+
return $this->canReadRevisions;
|
3478 |
+
}
|
3479 |
+
public function setCanRemoveChildren($canRemoveChildren)
|
3480 |
+
{
|
3481 |
+
$this->canRemoveChildren = $canRemoveChildren;
|
3482 |
+
}
|
3483 |
+
public function getCanRemoveChildren()
|
3484 |
+
{
|
3485 |
+
return $this->canRemoveChildren;
|
3486 |
+
}
|
3487 |
+
public function setCanRename($canRename)
|
3488 |
+
{
|
3489 |
+
$this->canRename = $canRename;
|
3490 |
+
}
|
3491 |
+
public function getCanRename()
|
3492 |
+
{
|
3493 |
+
return $this->canRename;
|
3494 |
+
}
|
3495 |
+
public function setCanRenameTeamDrive($canRenameTeamDrive)
|
3496 |
+
{
|
3497 |
+
$this->canRenameTeamDrive = $canRenameTeamDrive;
|
3498 |
+
}
|
3499 |
+
public function getCanRenameTeamDrive()
|
3500 |
+
{
|
3501 |
+
return $this->canRenameTeamDrive;
|
3502 |
+
}
|
3503 |
+
public function setCanShare($canShare)
|
3504 |
+
{
|
3505 |
+
$this->canShare = $canShare;
|
3506 |
+
}
|
3507 |
+
public function getCanShare()
|
3508 |
+
{
|
3509 |
+
return $this->canShare;
|
3510 |
+
}
|
3511 |
+
}
|
3512 |
+
|
3513 |
+
/*
|
3514 |
+
* Copyright 2016 Google Inc.
|
3515 |
+
*
|
3516 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3517 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3518 |
+
* the License at
|
3519 |
+
*
|
3520 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3521 |
+
*
|
3522 |
+
* Unless required by applicable law or agreed to in writing, software
|
3523 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3524 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3525 |
+
* License for the specific language governing permissions and limitations under
|
3526 |
+
* the License.
|
3527 |
+
*/
|
3528 |
+
|
3529 |
+
class GoogleGAL_Service_DriveT_TeamDriveList extends GoogleGAL_Collection
|
3530 |
+
{
|
3531 |
+
protected $collection_key = 'teamDrives';
|
3532 |
+
public $kind;
|
3533 |
+
public $nextPageToken;
|
3534 |
+
protected $teamDrivesType = 'GoogleGAL_Service_DriveT_TeamDrive';
|
3535 |
+
protected $teamDrivesDataType = 'array';
|
3536 |
+
|
3537 |
+
public function setKind($kind)
|
3538 |
+
{
|
3539 |
+
$this->kind = $kind;
|
3540 |
+
}
|
3541 |
+
public function getKind()
|
3542 |
+
{
|
3543 |
+
return $this->kind;
|
3544 |
+
}
|
3545 |
+
public function setNextPageToken($nextPageToken)
|
3546 |
+
{
|
3547 |
+
$this->nextPageToken = $nextPageToken;
|
3548 |
+
}
|
3549 |
+
public function getNextPageToken()
|
3550 |
+
{
|
3551 |
+
return $this->nextPageToken;
|
3552 |
+
}
|
3553 |
+
public function setTeamDrives($teamDrives)
|
3554 |
+
{
|
3555 |
+
$this->teamDrives = $teamDrives;
|
3556 |
+
}
|
3557 |
+
public function getTeamDrives()
|
3558 |
+
{
|
3559 |
+
return $this->teamDrives;
|
3560 |
+
}
|
3561 |
+
}
|
3562 |
+
|
3563 |
+
/*
|
3564 |
+
* Copyright 2016 Google Inc.
|
3565 |
+
*
|
3566 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3567 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3568 |
+
* the License at
|
3569 |
+
*
|
3570 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3571 |
+
*
|
3572 |
+
* Unless required by applicable law or agreed to in writing, software
|
3573 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3574 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3575 |
+
* License for the specific language governing permissions and limitations under
|
3576 |
+
* the License.
|
3577 |
+
*/
|
3578 |
+
|
3579 |
+
class GoogleGAL_Service_DriveT_User extends GoogleGAL_Model
|
3580 |
+
{
|
3581 |
+
public $displayName;
|
3582 |
+
public $emailAddress;
|
3583 |
+
public $kind;
|
3584 |
+
public $me;
|
3585 |
+
public $permissionId;
|
3586 |
+
public $photoLink;
|
3587 |
+
|
3588 |
+
public function setDisplayName($displayName)
|
3589 |
+
{
|
3590 |
+
$this->displayName = $displayName;
|
3591 |
+
}
|
3592 |
+
public function getDisplayName()
|
3593 |
+
{
|
3594 |
+
return $this->displayName;
|
3595 |
+
}
|
3596 |
+
public function setEmailAddress($emailAddress)
|
3597 |
+
{
|
3598 |
+
$this->emailAddress = $emailAddress;
|
3599 |
+
}
|
3600 |
+
public function getEmailAddress()
|
3601 |
+
{
|
3602 |
+
return $this->emailAddress;
|
3603 |
+
}
|
3604 |
+
public function setKind($kind)
|
3605 |
+
{
|
3606 |
+
$this->kind = $kind;
|
3607 |
+
}
|
3608 |
+
public function getKind()
|
3609 |
+
{
|
3610 |
+
return $this->kind;
|
3611 |
+
}
|
3612 |
+
public function setMe($me)
|
3613 |
+
{
|
3614 |
+
$this->me = $me;
|
3615 |
+
}
|
3616 |
+
public function getMe()
|
3617 |
+
{
|
3618 |
+
return $this->me;
|
3619 |
+
}
|
3620 |
+
public function setPermissionId($permissionId)
|
3621 |
+
{
|
3622 |
+
$this->permissionId = $permissionId;
|
3623 |
+
}
|
3624 |
+
public function getPermissionId()
|
3625 |
+
{
|
3626 |
+
return $this->permissionId;
|
3627 |
+
}
|
3628 |
+
public function setPhotoLink($photoLink)
|
3629 |
+
{
|
3630 |
+
$this->photoLink = $photoLink;
|
3631 |
+
}
|
3632 |
+
public function getPhotoLink()
|
3633 |
+
{
|
3634 |
+
return $this->photoLink;
|
3635 |
+
}
|
3636 |
+
}
|
3637 |
+
|
3638 |
+
|
3639 |
+
/*
|
3640 |
+
* Copyright 2016 Google Inc.
|
3641 |
+
*
|
3642 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3643 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3644 |
+
* the License at
|
3645 |
+
*
|
3646 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3647 |
+
*
|
3648 |
+
* Unless required by applicable law or agreed to in writing, software
|
3649 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3650 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3651 |
+
* License for the specific language governing permissions and limitations under
|
3652 |
+
* the License.
|
3653 |
+
*/
|
3654 |
+
|
3655 |
+
/**
|
3656 |
+
* The "about" collection of methods.
|
3657 |
+
* Typical usage is:
|
3658 |
+
* <code>
|
3659 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
3660 |
+
* $about = $driveService->about;
|
3661 |
+
* </code>
|
3662 |
+
*/
|
3663 |
+
class GoogleGAL_Service_DriveT_Resource_About extends GoogleGAL_Service_Resource
|
3664 |
+
{
|
3665 |
+
/**
|
3666 |
+
* Gets information about the user, the user's Drive, and system capabilities.
|
3667 |
+
* (about.get)
|
3668 |
+
*
|
3669 |
+
* @param array $optParams Optional parameters.
|
3670 |
+
* @return GoogleGAL_Service_DriveT_About
|
3671 |
+
*/
|
3672 |
+
public function get($optParams = array())
|
3673 |
+
{
|
3674 |
+
$params = array();
|
3675 |
+
$params = array_merge($params, $optParams);
|
3676 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_About");
|
3677 |
+
}
|
3678 |
+
}
|
3679 |
+
|
3680 |
+
/*
|
3681 |
+
* Copyright 2016 Google Inc.
|
3682 |
+
*
|
3683 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3684 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3685 |
+
* the License at
|
3686 |
+
*
|
3687 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3688 |
+
*
|
3689 |
+
* Unless required by applicable law or agreed to in writing, software
|
3690 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3691 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3692 |
+
* License for the specific language governing permissions and limitations under
|
3693 |
+
* the License.
|
3694 |
+
*/
|
3695 |
+
|
3696 |
+
/**
|
3697 |
+
* The "changes" collection of methods.
|
3698 |
+
* Typical usage is:
|
3699 |
+
* <code>
|
3700 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
3701 |
+
* $changes = $driveService->changes;
|
3702 |
+
* </code>
|
3703 |
+
*/
|
3704 |
+
class GoogleGAL_Service_DriveT_Resource_Changes extends GoogleGAL_Service_Resource
|
3705 |
+
{
|
3706 |
+
/**
|
3707 |
+
* Gets the starting pageToken for listing future changes.
|
3708 |
+
* (changes.getStartPageToken)
|
3709 |
+
*
|
3710 |
+
* @param array $optParams Optional parameters.
|
3711 |
+
*
|
3712 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
3713 |
+
* supports Team Drives.
|
3714 |
+
* @opt_param string teamDriveId The ID of the Team Drive for which the starting
|
3715 |
+
* pageToken for listing future changes from that Team Drive will be returned.
|
3716 |
+
* @return GoogleGAL_Service_DriveT_StartPageToken
|
3717 |
+
*/
|
3718 |
+
public function getStartPageToken($optParams = array())
|
3719 |
+
{
|
3720 |
+
$params = array();
|
3721 |
+
$params = array_merge($params, $optParams);
|
3722 |
+
return $this->call('getStartPageToken', array($params), "GoogleGAL_Service_DriveT_StartPageToken");
|
3723 |
+
}
|
3724 |
+
/**
|
3725 |
+
* Lists the changes for a user or Team Drive. (changes.listChanges)
|
3726 |
+
*
|
3727 |
+
* @param string $pageToken The token for continuing a previous list request on
|
3728 |
+
* the next page. This should be set to the value of 'nextPageToken' from the
|
3729 |
+
* previous response or to the response from the getStartPageToken method.
|
3730 |
+
* @param array $optParams Optional parameters.
|
3731 |
+
*
|
3732 |
+
* @opt_param bool includeCorpusRemovals Whether changes should include the file
|
3733 |
+
* resource if the file is still accessible by the user at the time of the
|
3734 |
+
* request, even when a file was removed from the list of changes and there will
|
3735 |
+
* be no further change entries for this file.
|
3736 |
+
* @opt_param bool includeRemoved Whether to include changes indicating that
|
3737 |
+
* items have been removed from the list of changes, for example by deletion or
|
3738 |
+
* loss of access.
|
3739 |
+
* @opt_param bool includeTeamDriveItems Whether Team Drive files or changes
|
3740 |
+
* should be included in results.
|
3741 |
+
* @opt_param int pageSize The maximum number of changes to return per page.
|
3742 |
+
* @opt_param bool restrictToMyDrive Whether to restrict the results to changes
|
3743 |
+
* inside the My Drive hierarchy. This omits changes to files such as those in
|
3744 |
+
* the Application Data folder or shared files which have not been added to My
|
3745 |
+
* Drive.
|
3746 |
+
* @opt_param string spaces A comma-separated list of spaces to query within the
|
3747 |
+
* user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
|
3748 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
3749 |
+
* supports Team Drives.
|
3750 |
+
* @opt_param string teamDriveId The Team Drive from which changes will be
|
3751 |
+
* returned. If specified the change IDs will be reflective of the Team Drive;
|
3752 |
+
* use the combined Team Drive ID and change ID as an identifier.
|
3753 |
+
* @return GoogleGAL_Service_DriveT_ChangeList
|
3754 |
+
*/
|
3755 |
+
public function listChanges($pageToken, $optParams = array())
|
3756 |
+
{
|
3757 |
+
$params = array('pageToken' => $pageToken);
|
3758 |
+
$params = array_merge($params, $optParams);
|
3759 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_ChangeList");
|
3760 |
+
}
|
3761 |
+
/**
|
3762 |
+
* Subscribes to changes for a user. (changes.watch)
|
3763 |
+
*
|
3764 |
+
* @param string $pageToken The token for continuing a previous list request on
|
3765 |
+
* the next page. This should be set to the value of 'nextPageToken' from the
|
3766 |
+
* previous response or to the response from the getStartPageToken method.
|
3767 |
+
* @param GoogleGAL_Service_DriveT_Channel $postBody
|
3768 |
+
* @param array $optParams Optional parameters.
|
3769 |
+
*
|
3770 |
+
* @opt_param bool includeCorpusRemovals Whether changes should include the file
|
3771 |
+
* resource if the file is still accessible by the user at the time of the
|
3772 |
+
* request, even when a file was removed from the list of changes and there will
|
3773 |
+
* be no further change entries for this file.
|
3774 |
+
* @opt_param bool includeRemoved Whether to include changes indicating that
|
3775 |
+
* items have been removed from the list of changes, for example by deletion or
|
3776 |
+
* loss of access.
|
3777 |
+
* @opt_param bool includeTeamDriveItems Whether Team Drive files or changes
|
3778 |
+
* should be included in results.
|
3779 |
+
* @opt_param int pageSize The maximum number of changes to return per page.
|
3780 |
+
* @opt_param bool restrictToMyDrive Whether to restrict the results to changes
|
3781 |
+
* inside the My Drive hierarchy. This omits changes to files such as those in
|
3782 |
+
* the Application Data folder or shared files which have not been added to My
|
3783 |
+
* Drive.
|
3784 |
+
* @opt_param string spaces A comma-separated list of spaces to query within the
|
3785 |
+
* user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
|
3786 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
3787 |
+
* supports Team Drives.
|
3788 |
+
* @opt_param string teamDriveId The Team Drive from which changes will be
|
3789 |
+
* returned. If specified the change IDs will be reflective of the Team Drive;
|
3790 |
+
* use the combined Team Drive ID and change ID as an identifier.
|
3791 |
+
* @return GoogleGAL_Service_DriveT_Channel
|
3792 |
+
*/
|
3793 |
+
public function watch($pageToken, GoogleGAL_Service_DriveT_Channel $postBody, $optParams = array())
|
3794 |
+
{
|
3795 |
+
$params = array('pageToken' => $pageToken, 'postBody' => $postBody);
|
3796 |
+
$params = array_merge($params, $optParams);
|
3797 |
+
return $this->call('watch', array($params), "GoogleGAL_Service_DriveT_Channel");
|
3798 |
+
}
|
3799 |
+
}
|
3800 |
+
|
3801 |
+
/*
|
3802 |
+
* Copyright 2016 Google Inc.
|
3803 |
+
*
|
3804 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3805 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3806 |
+
* the License at
|
3807 |
+
*
|
3808 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3809 |
+
*
|
3810 |
+
* Unless required by applicable law or agreed to in writing, software
|
3811 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3812 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3813 |
+
* License for the specific language governing permissions and limitations under
|
3814 |
+
* the License.
|
3815 |
+
*/
|
3816 |
+
|
3817 |
+
/**
|
3818 |
+
* The "channels" collection of methods.
|
3819 |
+
* Typical usage is:
|
3820 |
+
* <code>
|
3821 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
3822 |
+
* $channels = $driveService->channels;
|
3823 |
+
* </code>
|
3824 |
+
*/
|
3825 |
+
class GoogleGAL_Service_DriveT_Resource_Channels extends GoogleGAL_Service_Resource
|
3826 |
+
{
|
3827 |
+
/**
|
3828 |
+
* Stop watching resources through this channel (channels.stop)
|
3829 |
+
*
|
3830 |
+
* @param GoogleGAL_Service_DriveT_Channel $postBody
|
3831 |
+
* @param array $optParams Optional parameters.
|
3832 |
+
*/
|
3833 |
+
public function stop(GoogleGAL_Service_DriveT_Channel $postBody, $optParams = array())
|
3834 |
+
{
|
3835 |
+
$params = array('postBody' => $postBody);
|
3836 |
+
$params = array_merge($params, $optParams);
|
3837 |
+
return $this->call('stop', array($params));
|
3838 |
+
}
|
3839 |
+
}
|
3840 |
+
|
3841 |
+
/*
|
3842 |
+
* Copyright 2016 Google Inc.
|
3843 |
+
*
|
3844 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3845 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3846 |
+
* the License at
|
3847 |
+
*
|
3848 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3849 |
+
*
|
3850 |
+
* Unless required by applicable law or agreed to in writing, software
|
3851 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3852 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3853 |
+
* License for the specific language governing permissions and limitations under
|
3854 |
+
* the License.
|
3855 |
+
*/
|
3856 |
+
|
3857 |
+
/**
|
3858 |
+
* The "comments" collection of methods.
|
3859 |
+
* Typical usage is:
|
3860 |
+
* <code>
|
3861 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
3862 |
+
* $comments = $driveService->comments;
|
3863 |
+
* </code>
|
3864 |
+
*/
|
3865 |
+
class GoogleGAL_Service_DriveT_Resource_Comments extends GoogleGAL_Service_Resource
|
3866 |
+
{
|
3867 |
+
/**
|
3868 |
+
* Creates a new comment on a file. (comments.create)
|
3869 |
+
*
|
3870 |
+
* @param string $fileId The ID of the file.
|
3871 |
+
* @param GoogleGAL_Service_DriveT_Comment $postBody
|
3872 |
+
* @param array $optParams Optional parameters.
|
3873 |
+
* @return GoogleGAL_Service_DriveT_Comment
|
3874 |
+
*/
|
3875 |
+
public function create($fileId, GoogleGAL_Service_DriveT_Comment $postBody, $optParams = array())
|
3876 |
+
{
|
3877 |
+
$params = array('fileId' => $fileId, 'postBody' => $postBody);
|
3878 |
+
$params = array_merge($params, $optParams);
|
3879 |
+
return $this->call('create', array($params), "GoogleGAL_Service_DriveT_Comment");
|
3880 |
+
}
|
3881 |
+
/**
|
3882 |
+
* Deletes a comment. (comments.delete)
|
3883 |
+
*
|
3884 |
+
* @param string $fileId The ID of the file.
|
3885 |
+
* @param string $commentId The ID of the comment.
|
3886 |
+
* @param array $optParams Optional parameters.
|
3887 |
+
*/
|
3888 |
+
public function delete($fileId, $commentId, $optParams = array())
|
3889 |
+
{
|
3890 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId);
|
3891 |
+
$params = array_merge($params, $optParams);
|
3892 |
+
return $this->call('delete', array($params));
|
3893 |
+
}
|
3894 |
+
/**
|
3895 |
+
* Gets a comment by ID. (comments.get)
|
3896 |
+
*
|
3897 |
+
* @param string $fileId The ID of the file.
|
3898 |
+
* @param string $commentId The ID of the comment.
|
3899 |
+
* @param array $optParams Optional parameters.
|
3900 |
+
*
|
3901 |
+
* @opt_param bool includeDeleted Whether to return deleted comments. Deleted
|
3902 |
+
* comments will not include their original content.
|
3903 |
+
* @return GoogleGAL_Service_DriveT_Comment
|
3904 |
+
*/
|
3905 |
+
public function get($fileId, $commentId, $optParams = array())
|
3906 |
+
{
|
3907 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId);
|
3908 |
+
$params = array_merge($params, $optParams);
|
3909 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_Comment");
|
3910 |
+
}
|
3911 |
+
/**
|
3912 |
+
* Lists a file's comments. (comments.listComments)
|
3913 |
+
*
|
3914 |
+
* @param string $fileId The ID of the file.
|
3915 |
+
* @param array $optParams Optional parameters.
|
3916 |
+
*
|
3917 |
+
* @opt_param bool includeDeleted Whether to include deleted comments. Deleted
|
3918 |
+
* comments will not include their original content.
|
3919 |
+
* @opt_param int pageSize The maximum number of comments to return per page.
|
3920 |
+
* @opt_param string pageToken The token for continuing a previous list request
|
3921 |
+
* on the next page. This should be set to the value of 'nextPageToken' from the
|
3922 |
+
* previous response.
|
3923 |
+
* @opt_param string startModifiedTime The minimum value of 'modifiedTime' for
|
3924 |
+
* the result comments (RFC 3339 date-time).
|
3925 |
+
* @return GoogleGAL_Service_DriveT_CommentList
|
3926 |
+
*/
|
3927 |
+
public function listComments($fileId, $optParams = array())
|
3928 |
+
{
|
3929 |
+
$params = array('fileId' => $fileId);
|
3930 |
+
$params = array_merge($params, $optParams);
|
3931 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_CommentList");
|
3932 |
+
}
|
3933 |
+
/**
|
3934 |
+
* Updates a comment with patch semantics. (comments.update)
|
3935 |
+
*
|
3936 |
+
* @param string $fileId The ID of the file.
|
3937 |
+
* @param string $commentId The ID of the comment.
|
3938 |
+
* @param GoogleGAL_Service_DriveT_Comment $postBody
|
3939 |
+
* @param array $optParams Optional parameters.
|
3940 |
+
* @return GoogleGAL_Service_DriveT_Comment
|
3941 |
+
*/
|
3942 |
+
public function update($fileId, $commentId, GoogleGAL_Service_DriveT_Comment $postBody, $optParams = array())
|
3943 |
+
{
|
3944 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
|
3945 |
+
$params = array_merge($params, $optParams);
|
3946 |
+
return $this->call('update', array($params), "GoogleGAL_Service_DriveT_Comment");
|
3947 |
+
}
|
3948 |
+
}
|
3949 |
+
|
3950 |
+
/*
|
3951 |
+
* Copyright 2016 Google Inc.
|
3952 |
+
*
|
3953 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
3954 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
3955 |
+
* the License at
|
3956 |
+
*
|
3957 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
3958 |
+
*
|
3959 |
+
* Unless required by applicable law or agreed to in writing, software
|
3960 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
3961 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
3962 |
+
* License for the specific language governing permissions and limitations under
|
3963 |
+
* the License.
|
3964 |
+
*/
|
3965 |
+
|
3966 |
+
/**
|
3967 |
+
* The "files" collection of methods.
|
3968 |
+
* Typical usage is:
|
3969 |
+
* <code>
|
3970 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
3971 |
+
* $files = $driveService->files;
|
3972 |
+
* </code>
|
3973 |
+
*/
|
3974 |
+
class GoogleGAL_Service_DriveT_Resource_Files extends GoogleGAL_Service_Resource
|
3975 |
+
{
|
3976 |
+
/**
|
3977 |
+
* Creates a copy of a file and applies any requested updates with patch
|
3978 |
+
* semantics. (files.copy)
|
3979 |
+
*
|
3980 |
+
* @param string $fileId The ID of the file.
|
3981 |
+
* @param GoogleGAL_Service_DriveT_DriveFile $postBody
|
3982 |
+
* @param array $optParams Optional parameters.
|
3983 |
+
*
|
3984 |
+
* @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's
|
3985 |
+
* default visibility settings for the created file. Domain administrators can
|
3986 |
+
* choose to make all uploaded files visible to the domain by default; this
|
3987 |
+
* parameter bypasses that behavior for the request. Permissions are still
|
3988 |
+
* inherited from parent folders.
|
3989 |
+
* @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in
|
3990 |
+
* the new head revision. This is only applicable to files with binary content
|
3991 |
+
* in Drive.
|
3992 |
+
* @opt_param string ocrLanguage A language hint for OCR processing during image
|
3993 |
+
* import (ISO 639-1 code).
|
3994 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
3995 |
+
* supports Team Drives.
|
3996 |
+
* @return GoogleGAL_Service_DriveT_DriveFile
|
3997 |
+
*/
|
3998 |
+
public function copy($fileId, GoogleGAL_Service_DriveT_DriveFile $postBody, $optParams = array())
|
3999 |
+
{
|
4000 |
+
$params = array('fileId' => $fileId, 'postBody' => $postBody);
|
4001 |
+
$params = array_merge($params, $optParams);
|
4002 |
+
return $this->call('copy', array($params), "GoogleGAL_Service_DriveT_DriveFile");
|
4003 |
+
}
|
4004 |
+
/**
|
4005 |
+
* Creates a new file. (files.create)
|
4006 |
+
*
|
4007 |
+
* @param GoogleGAL_Service_DriveT_DriveFile $postBody
|
4008 |
+
* @param array $optParams Optional parameters.
|
4009 |
+
*
|
4010 |
+
* @opt_param bool ignoreDefaultVisibility Whether to ignore the domain's
|
4011 |
+
* default visibility settings for the created file. Domain administrators can
|
4012 |
+
* choose to make all uploaded files visible to the domain by default; this
|
4013 |
+
* parameter bypasses that behavior for the request. Permissions are still
|
4014 |
+
* inherited from parent folders.
|
4015 |
+
* @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in
|
4016 |
+
* the new head revision. This is only applicable to files with binary content
|
4017 |
+
* in Drive.
|
4018 |
+
* @opt_param string ocrLanguage A language hint for OCR processing during image
|
4019 |
+
* import (ISO 639-1 code).
|
4020 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4021 |
+
* supports Team Drives.
|
4022 |
+
* @opt_param bool useContentAsIndexableText Whether to use the uploaded content
|
4023 |
+
* as indexable text.
|
4024 |
+
* @return GoogleGAL_Service_DriveT_DriveFile
|
4025 |
+
*/
|
4026 |
+
public function create(GoogleGAL_Service_DriveT_DriveFile $postBody, $optParams = array())
|
4027 |
+
{
|
4028 |
+
$params = array('postBody' => $postBody);
|
4029 |
+
$params = array_merge($params, $optParams);
|
4030 |
+
return $this->call('create', array($params), "GoogleGAL_Service_DriveT_DriveFile");
|
4031 |
+
}
|
4032 |
+
/**
|
4033 |
+
* Permanently deletes a file owned by the user without moving it to the trash.
|
4034 |
+
* If the file belongs to a Team Drive the user must be an organizer on the
|
4035 |
+
* parent. If the target is a folder, all descendants owned by the user are also
|
4036 |
+
* deleted. (files.delete)
|
4037 |
+
*
|
4038 |
+
* @param string $fileId The ID of the file.
|
4039 |
+
* @param array $optParams Optional parameters.
|
4040 |
+
*
|
4041 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4042 |
+
* supports Team Drives.
|
4043 |
+
*/
|
4044 |
+
public function delete($fileId, $optParams = array())
|
4045 |
+
{
|
4046 |
+
$params = array('fileId' => $fileId);
|
4047 |
+
$params = array_merge($params, $optParams);
|
4048 |
+
return $this->call('delete', array($params));
|
4049 |
+
}
|
4050 |
+
/**
|
4051 |
+
* Permanently deletes all of the user's trashed files. (files.emptyTrash)
|
4052 |
+
*
|
4053 |
+
* @param array $optParams Optional parameters.
|
4054 |
+
*/
|
4055 |
+
public function emptyTrash($optParams = array())
|
4056 |
+
{
|
4057 |
+
$params = array();
|
4058 |
+
$params = array_merge($params, $optParams);
|
4059 |
+
return $this->call('emptyTrash', array($params));
|
4060 |
+
}
|
4061 |
+
/**
|
4062 |
+
* Exports a Google Doc to the requested MIME type and returns the exported
|
4063 |
+
* content. (files.export)
|
4064 |
+
*
|
4065 |
+
* @param string $fileId The ID of the file.
|
4066 |
+
* @param string $mimeType The MIME type of the format requested for this
|
4067 |
+
* export.
|
4068 |
+
* @param array $optParams Optional parameters.
|
4069 |
+
*/
|
4070 |
+
public function export($fileId, $mimeType, $optParams = array())
|
4071 |
+
{
|
4072 |
+
$params = array('fileId' => $fileId, 'mimeType' => $mimeType);
|
4073 |
+
$params = array_merge($params, $optParams);
|
4074 |
+
return $this->call('export', array($params));
|
4075 |
+
}
|
4076 |
+
/**
|
4077 |
+
* Generates a set of file IDs which can be provided in create requests.
|
4078 |
+
* (files.generateIds)
|
4079 |
+
*
|
4080 |
+
* @param array $optParams Optional parameters.
|
4081 |
+
*
|
4082 |
+
* @opt_param int count The number of IDs to return.
|
4083 |
+
* @opt_param string space The space in which the IDs can be used to create new
|
4084 |
+
* files. Supported values are 'drive' and 'appDataFolder'.
|
4085 |
+
* @return GoogleGAL_Service_DriveT_GeneratedIds
|
4086 |
+
*/
|
4087 |
+
public function generateIds($optParams = array())
|
4088 |
+
{
|
4089 |
+
$params = array();
|
4090 |
+
$params = array_merge($params, $optParams);
|
4091 |
+
return $this->call('generateIds', array($params), "GoogleGAL_Service_DriveT_GeneratedIds");
|
4092 |
+
}
|
4093 |
+
/**
|
4094 |
+
* Gets a file's metadata or content by ID. (files.get)
|
4095 |
+
*
|
4096 |
+
* @param string $fileId The ID of the file.
|
4097 |
+
* @param array $optParams Optional parameters.
|
4098 |
+
*
|
4099 |
+
* @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
|
4100 |
+
* of downloading known malware or other abusive files. This is only applicable
|
4101 |
+
* when alt=media.
|
4102 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4103 |
+
* supports Team Drives.
|
4104 |
+
* @return GoogleGAL_Service_DriveT_DriveFile
|
4105 |
+
*/
|
4106 |
+
public function get($fileId, $optParams = array())
|
4107 |
+
{
|
4108 |
+
$params = array('fileId' => $fileId);
|
4109 |
+
$params = array_merge($params, $optParams);
|
4110 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_DriveFile");
|
4111 |
+
}
|
4112 |
+
/**
|
4113 |
+
* Lists or searches files. (files.listFiles)
|
4114 |
+
*
|
4115 |
+
* @param array $optParams Optional parameters.
|
4116 |
+
*
|
4117 |
+
* @opt_param string corpora Comma-separated list of bodies of items
|
4118 |
+
* (files/documents) to which the query applies. Supported bodies are 'user',
|
4119 |
+
* 'domain', 'teamDrive' and 'allTeamDrives'. 'allTeamDrives' must be combined
|
4120 |
+
* with 'user'; all other values must be used in isolation. Prefer 'user' or
|
4121 |
+
* 'teamDrive' to 'allTeamDrives' for efficiency.
|
4122 |
+
* @opt_param string corpus The source of files to list. Deprecated: use
|
4123 |
+
* 'corpora' instead.
|
4124 |
+
* @opt_param bool includeTeamDriveItems Whether Team Drive items should be
|
4125 |
+
* included in results.
|
4126 |
+
* @opt_param string orderBy A comma-separated list of sort keys. Valid keys are
|
4127 |
+
* 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name',
|
4128 |
+
* 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and
|
4129 |
+
* 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed
|
4130 |
+
* with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime
|
4131 |
+
* desc,name. Please note that there is a current limitation for users with
|
4132 |
+
* approximately one million files in which the requested sort order is ignored.
|
4133 |
+
* @opt_param int pageSize The maximum number of files to return per page.
|
4134 |
+
* @opt_param string pageToken The token for continuing a previous list request
|
4135 |
+
* on the next page. This should be set to the value of 'nextPageToken' from the
|
4136 |
+
* previous response.
|
4137 |
+
* @opt_param string q A query for filtering the file results. See the "Search
|
4138 |
+
* for Files" guide for supported syntax.
|
4139 |
+
* @opt_param string spaces A comma-separated list of spaces to query within the
|
4140 |
+
* corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
|
4141 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4142 |
+
* supports Team Drives.
|
4143 |
+
* @opt_param string teamDriveId ID of Team Drive to search.
|
4144 |
+
* @return GoogleGAL_Service_DriveT_FileList
|
4145 |
+
*/
|
4146 |
+
public function listFiles($optParams = array())
|
4147 |
+
{
|
4148 |
+
$params = array();
|
4149 |
+
$params = array_merge($params, $optParams);
|
4150 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_FileList");
|
4151 |
+
}
|
4152 |
+
/**
|
4153 |
+
* Updates a file's metadata and/or content with patch semantics. (files.update)
|
4154 |
+
*
|
4155 |
+
* @param string $fileId The ID of the file.
|
4156 |
+
* @param GoogleGAL_Service_DriveT_DriveFile $postBody
|
4157 |
+
* @param array $optParams Optional parameters.
|
4158 |
+
*
|
4159 |
+
* @opt_param string addParents A comma-separated list of parent IDs to add.
|
4160 |
+
* @opt_param bool keepRevisionForever Whether to set the 'keepForever' field in
|
4161 |
+
* the new head revision. This is only applicable to files with binary content
|
4162 |
+
* in Drive.
|
4163 |
+
* @opt_param string ocrLanguage A language hint for OCR processing during image
|
4164 |
+
* import (ISO 639-1 code).
|
4165 |
+
* @opt_param string removeParents A comma-separated list of parent IDs to
|
4166 |
+
* remove.
|
4167 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4168 |
+
* supports Team Drives.
|
4169 |
+
* @opt_param bool useContentAsIndexableText Whether to use the uploaded content
|
4170 |
+
* as indexable text.
|
4171 |
+
* @return GoogleGAL_Service_DriveT_DriveFile
|
4172 |
+
*/
|
4173 |
+
public function update($fileId, GoogleGAL_Service_DriveT_DriveFile $postBody, $optParams = array())
|
4174 |
+
{
|
4175 |
+
$params = array('fileId' => $fileId, 'postBody' => $postBody);
|
4176 |
+
$params = array_merge($params, $optParams);
|
4177 |
+
return $this->call('update', array($params), "GoogleGAL_Service_DriveT_DriveFile");
|
4178 |
+
}
|
4179 |
+
/**
|
4180 |
+
* Subscribes to changes to a file (files.watch)
|
4181 |
+
*
|
4182 |
+
* @param string $fileId The ID of the file.
|
4183 |
+
* @param GoogleGAL_Service_DriveT_Channel $postBody
|
4184 |
+
* @param array $optParams Optional parameters.
|
4185 |
+
*
|
4186 |
+
* @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
|
4187 |
+
* of downloading known malware or other abusive files. This is only applicable
|
4188 |
+
* when alt=media.
|
4189 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4190 |
+
* supports Team Drives.
|
4191 |
+
* @return GoogleGAL_Service_DriveT_Channel
|
4192 |
+
*/
|
4193 |
+
public function watch($fileId, GoogleGAL_Service_DriveT_Channel $postBody, $optParams = array())
|
4194 |
+
{
|
4195 |
+
$params = array('fileId' => $fileId, 'postBody' => $postBody);
|
4196 |
+
$params = array_merge($params, $optParams);
|
4197 |
+
return $this->call('watch', array($params), "GoogleGAL_Service_DriveT_Channel");
|
4198 |
+
}
|
4199 |
+
}
|
4200 |
+
|
4201 |
+
/*
|
4202 |
+
* Copyright 2016 Google Inc.
|
4203 |
+
*
|
4204 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
4205 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
4206 |
+
* the License at
|
4207 |
+
*
|
4208 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4209 |
+
*
|
4210 |
+
* Unless required by applicable law or agreed to in writing, software
|
4211 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
4212 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
4213 |
+
* License for the specific language governing permissions and limitations under
|
4214 |
+
* the License.
|
4215 |
+
*/
|
4216 |
+
|
4217 |
+
/**
|
4218 |
+
* The "permissions" collection of methods.
|
4219 |
+
* Typical usage is:
|
4220 |
+
* <code>
|
4221 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
4222 |
+
* $permissions = $driveService->permissions;
|
4223 |
+
* </code>
|
4224 |
+
*/
|
4225 |
+
class GoogleGAL_Service_DriveT_Resource_Permissions extends GoogleGAL_Service_Resource
|
4226 |
+
{
|
4227 |
+
/**
|
4228 |
+
* Creates a permission for a file or Team Drive. (permissions.create)
|
4229 |
+
*
|
4230 |
+
* @param string $fileId The ID of the file or Team Drive.
|
4231 |
+
* @param GoogleGAL_Service_DriveT_Permission $postBody
|
4232 |
+
* @param array $optParams Optional parameters.
|
4233 |
+
*
|
4234 |
+
* @opt_param string emailMessage A custom message to include in the
|
4235 |
+
* notification email.
|
4236 |
+
* @opt_param bool sendNotificationEmail Whether to send a notification email
|
4237 |
+
* when sharing to users or groups. This defaults to true for users and groups,
|
4238 |
+
* and is not allowed for other requests. It must not be disabled for ownership
|
4239 |
+
* transfers.
|
4240 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4241 |
+
* supports Team Drives.
|
4242 |
+
* @opt_param bool transferOwnership Whether to transfer ownership to the
|
4243 |
+
* specified user and downgrade the current owner to a writer. This parameter is
|
4244 |
+
* required as an acknowledgement of the side effect.
|
4245 |
+
* @return GoogleGAL_Service_DriveT_Permission
|
4246 |
+
*/
|
4247 |
+
public function create($fileId, GoogleGAL_Service_DriveT_Permission $postBody, $optParams = array())
|
4248 |
+
{
|
4249 |
+
$params = array('fileId' => $fileId, 'postBody' => $postBody);
|
4250 |
+
$params = array_merge($params, $optParams);
|
4251 |
+
return $this->call('create', array($params), "GoogleGAL_Service_DriveT_Permission");
|
4252 |
+
}
|
4253 |
+
/**
|
4254 |
+
* Deletes a permission. (permissions.delete)
|
4255 |
+
*
|
4256 |
+
* @param string $fileId The ID of the file or Team Drive.
|
4257 |
+
* @param string $permissionId The ID of the permission.
|
4258 |
+
* @param array $optParams Optional parameters.
|
4259 |
+
*
|
4260 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4261 |
+
* supports Team Drives.
|
4262 |
+
*/
|
4263 |
+
public function delete($fileId, $permissionId, $optParams = array())
|
4264 |
+
{
|
4265 |
+
$params = array('fileId' => $fileId, 'permissionId' => $permissionId);
|
4266 |
+
$params = array_merge($params, $optParams);
|
4267 |
+
return $this->call('delete', array($params));
|
4268 |
+
}
|
4269 |
+
/**
|
4270 |
+
* Gets a permission by ID. (permissions.get)
|
4271 |
+
*
|
4272 |
+
* @param string $fileId The ID of the file.
|
4273 |
+
* @param string $permissionId The ID of the permission.
|
4274 |
+
* @param array $optParams Optional parameters.
|
4275 |
+
*
|
4276 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4277 |
+
* supports Team Drives.
|
4278 |
+
* @return GoogleGAL_Service_DriveT_Permission
|
4279 |
+
*/
|
4280 |
+
public function get($fileId, $permissionId, $optParams = array())
|
4281 |
+
{
|
4282 |
+
$params = array('fileId' => $fileId, 'permissionId' => $permissionId);
|
4283 |
+
$params = array_merge($params, $optParams);
|
4284 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_Permission");
|
4285 |
+
}
|
4286 |
+
/**
|
4287 |
+
* Lists a file's or Team Drive's permissions. (permissions.listPermissions)
|
4288 |
+
*
|
4289 |
+
* @param string $fileId The ID of the file or Team Drive.
|
4290 |
+
* @param array $optParams Optional parameters.
|
4291 |
+
*
|
4292 |
+
* @opt_param int pageSize The maximum number of permissions to return per page.
|
4293 |
+
* When not set for files in a Team Drive, at most 100 results will be returned.
|
4294 |
+
* When not set for files that are not in a Team Drive, the entire list will be
|
4295 |
+
* returned.
|
4296 |
+
* @opt_param string pageToken The token for continuing a previous list request
|
4297 |
+
* on the next page. This should be set to the value of 'nextPageToken' from the
|
4298 |
+
* previous response.
|
4299 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4300 |
+
* supports Team Drives.
|
4301 |
+
* @return GoogleGAL_Service_DriveT_PermissionList
|
4302 |
+
*/
|
4303 |
+
public function listPermissions($fileId, $optParams = array())
|
4304 |
+
{
|
4305 |
+
$params = array('fileId' => $fileId);
|
4306 |
+
$params = array_merge($params, $optParams);
|
4307 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_PermissionList");
|
4308 |
+
}
|
4309 |
+
/**
|
4310 |
+
* Updates a permission with patch semantics. (permissions.update)
|
4311 |
+
*
|
4312 |
+
* @param string $fileId The ID of the file or Team Drive.
|
4313 |
+
* @param string $permissionId The ID of the permission.
|
4314 |
+
* @param GoogleGAL_Service_DriveT_Permission $postBody
|
4315 |
+
* @param array $optParams Optional parameters.
|
4316 |
+
*
|
4317 |
+
* @opt_param bool removeExpiration Whether to remove the expiration date.
|
4318 |
+
* @opt_param bool supportsTeamDrives Whether the requesting application
|
4319 |
+
* supports Team Drives.
|
4320 |
+
* @opt_param bool transferOwnership Whether to transfer ownership to the
|
4321 |
+
* specified user and downgrade the current owner to a writer. This parameter is
|
4322 |
+
* required as an acknowledgement of the side effect.
|
4323 |
+
* @return GoogleGAL_Service_DriveT_Permission
|
4324 |
+
*/
|
4325 |
+
public function update($fileId, $permissionId, GoogleGAL_Service_DriveT_Permission $postBody, $optParams = array())
|
4326 |
+
{
|
4327 |
+
$params = array('fileId' => $fileId, 'permissionId' => $permissionId, 'postBody' => $postBody);
|
4328 |
+
$params = array_merge($params, $optParams);
|
4329 |
+
return $this->call('update', array($params), "GoogleGAL_Service_DriveT_Permission");
|
4330 |
+
}
|
4331 |
+
}
|
4332 |
+
|
4333 |
+
/*
|
4334 |
+
* Copyright 2016 Google Inc.
|
4335 |
+
*
|
4336 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
4337 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
4338 |
+
* the License at
|
4339 |
+
*
|
4340 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4341 |
+
*
|
4342 |
+
* Unless required by applicable law or agreed to in writing, software
|
4343 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
4344 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
4345 |
+
* License for the specific language governing permissions and limitations under
|
4346 |
+
* the License.
|
4347 |
+
*/
|
4348 |
+
|
4349 |
+
/**
|
4350 |
+
* The "replies" collection of methods.
|
4351 |
+
* Typical usage is:
|
4352 |
+
* <code>
|
4353 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
4354 |
+
* $replies = $driveService->replies;
|
4355 |
+
* </code>
|
4356 |
+
*/
|
4357 |
+
class GoogleGAL_Service_DriveT_Resource_Replies extends GoogleGAL_Service_Resource
|
4358 |
+
{
|
4359 |
+
/**
|
4360 |
+
* Creates a new reply to a comment. (replies.create)
|
4361 |
+
*
|
4362 |
+
* @param string $fileId The ID of the file.
|
4363 |
+
* @param string $commentId The ID of the comment.
|
4364 |
+
* @param GoogleGAL_Service_DriveT_Reply $postBody
|
4365 |
+
* @param array $optParams Optional parameters.
|
4366 |
+
* @return GoogleGAL_Service_DriveT_Reply
|
4367 |
+
*/
|
4368 |
+
public function create($fileId, $commentId, GoogleGAL_Service_DriveT_Reply $postBody, $optParams = array())
|
4369 |
+
{
|
4370 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
|
4371 |
+
$params = array_merge($params, $optParams);
|
4372 |
+
return $this->call('create', array($params), "GoogleGAL_Service_DriveT_Reply");
|
4373 |
+
}
|
4374 |
+
/**
|
4375 |
+
* Deletes a reply. (replies.delete)
|
4376 |
+
*
|
4377 |
+
* @param string $fileId The ID of the file.
|
4378 |
+
* @param string $commentId The ID of the comment.
|
4379 |
+
* @param string $replyId The ID of the reply.
|
4380 |
+
* @param array $optParams Optional parameters.
|
4381 |
+
*/
|
4382 |
+
public function delete($fileId, $commentId, $replyId, $optParams = array())
|
4383 |
+
{
|
4384 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId);
|
4385 |
+
$params = array_merge($params, $optParams);
|
4386 |
+
return $this->call('delete', array($params));
|
4387 |
+
}
|
4388 |
+
/**
|
4389 |
+
* Gets a reply by ID. (replies.get)
|
4390 |
+
*
|
4391 |
+
* @param string $fileId The ID of the file.
|
4392 |
+
* @param string $commentId The ID of the comment.
|
4393 |
+
* @param string $replyId The ID of the reply.
|
4394 |
+
* @param array $optParams Optional parameters.
|
4395 |
+
*
|
4396 |
+
* @opt_param bool includeDeleted Whether to return deleted replies. Deleted
|
4397 |
+
* replies will not include their original content.
|
4398 |
+
* @return GoogleGAL_Service_DriveT_Reply
|
4399 |
+
*/
|
4400 |
+
public function get($fileId, $commentId, $replyId, $optParams = array())
|
4401 |
+
{
|
4402 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId);
|
4403 |
+
$params = array_merge($params, $optParams);
|
4404 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_Reply");
|
4405 |
+
}
|
4406 |
+
/**
|
4407 |
+
* Lists a comment's replies. (replies.listReplies)
|
4408 |
+
*
|
4409 |
+
* @param string $fileId The ID of the file.
|
4410 |
+
* @param string $commentId The ID of the comment.
|
4411 |
+
* @param array $optParams Optional parameters.
|
4412 |
+
*
|
4413 |
+
* @opt_param bool includeDeleted Whether to include deleted replies. Deleted
|
4414 |
+
* replies will not include their original content.
|
4415 |
+
* @opt_param int pageSize The maximum number of replies to return per page.
|
4416 |
+
* @opt_param string pageToken The token for continuing a previous list request
|
4417 |
+
* on the next page. This should be set to the value of 'nextPageToken' from the
|
4418 |
+
* previous response.
|
4419 |
+
* @return GoogleGAL_Service_DriveT_ReplyList
|
4420 |
+
*/
|
4421 |
+
public function listReplies($fileId, $commentId, $optParams = array())
|
4422 |
+
{
|
4423 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId);
|
4424 |
+
$params = array_merge($params, $optParams);
|
4425 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_ReplyList");
|
4426 |
+
}
|
4427 |
+
/**
|
4428 |
+
* Updates a reply with patch semantics. (replies.update)
|
4429 |
+
*
|
4430 |
+
* @param string $fileId The ID of the file.
|
4431 |
+
* @param string $commentId The ID of the comment.
|
4432 |
+
* @param string $replyId The ID of the reply.
|
4433 |
+
* @param GoogleGAL_Service_DriveT_Reply $postBody
|
4434 |
+
* @param array $optParams Optional parameters.
|
4435 |
+
* @return GoogleGAL_Service_DriveT_Reply
|
4436 |
+
*/
|
4437 |
+
public function update($fileId, $commentId, $replyId, GoogleGAL_Service_DriveT_Reply $postBody, $optParams = array())
|
4438 |
+
{
|
4439 |
+
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
|
4440 |
+
$params = array_merge($params, $optParams);
|
4441 |
+
return $this->call('update', array($params), "GoogleGAL_Service_DriveT_Reply");
|
4442 |
+
}
|
4443 |
+
}
|
4444 |
+
|
4445 |
+
/*
|
4446 |
+
* Copyright 2016 Google Inc.
|
4447 |
+
*
|
4448 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
4449 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
4450 |
+
* the License at
|
4451 |
+
*
|
4452 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4453 |
+
*
|
4454 |
+
* Unless required by applicable law or agreed to in writing, software
|
4455 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
4456 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
4457 |
+
* License for the specific language governing permissions and limitations under
|
4458 |
+
* the License.
|
4459 |
+
*/
|
4460 |
+
|
4461 |
+
/**
|
4462 |
+
* The "revisions" collection of methods.
|
4463 |
+
* Typical usage is:
|
4464 |
+
* <code>
|
4465 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
4466 |
+
* $revisions = $driveService->revisions;
|
4467 |
+
* </code>
|
4468 |
+
*/
|
4469 |
+
class GoogleGAL_Service_DriveT_Resource_Revisions extends GoogleGAL_Service_Resource
|
4470 |
+
{
|
4471 |
+
/**
|
4472 |
+
* Permanently deletes a revision. This method is only applicable to files with
|
4473 |
+
* binary content in Drive. (revisions.delete)
|
4474 |
+
*
|
4475 |
+
* @param string $fileId The ID of the file.
|
4476 |
+
* @param string $revisionId The ID of the revision.
|
4477 |
+
* @param array $optParams Optional parameters.
|
4478 |
+
*/
|
4479 |
+
public function delete($fileId, $revisionId, $optParams = array())
|
4480 |
+
{
|
4481 |
+
$params = array('fileId' => $fileId, 'revisionId' => $revisionId);
|
4482 |
+
$params = array_merge($params, $optParams);
|
4483 |
+
return $this->call('delete', array($params));
|
4484 |
+
}
|
4485 |
+
/**
|
4486 |
+
* Gets a revision's metadata or content by ID. (revisions.get)
|
4487 |
+
*
|
4488 |
+
* @param string $fileId The ID of the file.
|
4489 |
+
* @param string $revisionId The ID of the revision.
|
4490 |
+
* @param array $optParams Optional parameters.
|
4491 |
+
*
|
4492 |
+
* @opt_param bool acknowledgeAbuse Whether the user is acknowledging the risk
|
4493 |
+
* of downloading known malware or other abusive files. This is only applicable
|
4494 |
+
* when alt=media.
|
4495 |
+
* @return GoogleGAL_Service_DriveT_Revision
|
4496 |
+
*/
|
4497 |
+
public function get($fileId, $revisionId, $optParams = array())
|
4498 |
+
{
|
4499 |
+
$params = array('fileId' => $fileId, 'revisionId' => $revisionId);
|
4500 |
+
$params = array_merge($params, $optParams);
|
4501 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_Revision");
|
4502 |
+
}
|
4503 |
+
/**
|
4504 |
+
* Lists a file's revisions. (revisions.listRevisions)
|
4505 |
+
*
|
4506 |
+
* @param string $fileId The ID of the file.
|
4507 |
+
* @param array $optParams Optional parameters.
|
4508 |
+
*
|
4509 |
+
* @opt_param int pageSize The maximum number of revisions to return per page.
|
4510 |
+
* @opt_param string pageToken The token for continuing a previous list request
|
4511 |
+
* on the next page. This should be set to the value of 'nextPageToken' from the
|
4512 |
+
* previous response.
|
4513 |
+
* @return GoogleGAL_Service_DriveT_RevisionList
|
4514 |
+
*/
|
4515 |
+
public function listRevisions($fileId, $optParams = array())
|
4516 |
+
{
|
4517 |
+
$params = array('fileId' => $fileId);
|
4518 |
+
$params = array_merge($params, $optParams);
|
4519 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_RevisionList");
|
4520 |
+
}
|
4521 |
+
/**
|
4522 |
+
* Updates a revision with patch semantics. (revisions.update)
|
4523 |
+
*
|
4524 |
+
* @param string $fileId The ID of the file.
|
4525 |
+
* @param string $revisionId The ID of the revision.
|
4526 |
+
* @param GoogleGAL_Service_DriveT_Revision $postBody
|
4527 |
+
* @param array $optParams Optional parameters.
|
4528 |
+
* @return GoogleGAL_Service_DriveT_Revision
|
4529 |
+
*/
|
4530 |
+
public function update($fileId, $revisionId, GoogleGAL_Service_DriveT_Revision $postBody, $optParams = array())
|
4531 |
+
{
|
4532 |
+
$params = array('fileId' => $fileId, 'revisionId' => $revisionId, 'postBody' => $postBody);
|
4533 |
+
$params = array_merge($params, $optParams);
|
4534 |
+
return $this->call('update', array($params), "GoogleGAL_Service_DriveT_Revision");
|
4535 |
+
}
|
4536 |
+
}
|
4537 |
+
|
4538 |
+
/*
|
4539 |
+
* Copyright 2016 Google Inc.
|
4540 |
+
*
|
4541 |
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
4542 |
+
* use this file except in compliance with the License. You may obtain a copy of
|
4543 |
+
* the License at
|
4544 |
+
*
|
4545 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
4546 |
+
*
|
4547 |
+
* Unless required by applicable law or agreed to in writing, software
|
4548 |
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
4549 |
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
4550 |
+
* License for the specific language governing permissions and limitations under
|
4551 |
+
* the License.
|
4552 |
+
*/
|
4553 |
+
|
4554 |
+
/**
|
4555 |
+
* The "teamdrives" collection of methods.
|
4556 |
+
* Typical usage is:
|
4557 |
+
* <code>
|
4558 |
+
* $driveService = new GoogleGAL_Service_DriveT(...);
|
4559 |
+
* $teamdrives = $driveService->teamdrives;
|
4560 |
+
* </code>
|
4561 |
+
*/
|
4562 |
+
class GoogleGAL_Service_DriveT_Resource_Teamdrives extends GoogleGAL_Service_Resource
|
4563 |
+
{
|
4564 |
+
/**
|
4565 |
+
* Creates a new Team Drive. (teamdrives.create)
|
4566 |
+
*
|
4567 |
+
* @param string $requestId An ID, such as a random UUID, which uniquely
|
4568 |
+
* identifies this user's request for idempotent creation of a Team Drive. A
|
4569 |
+
* repeated request by the same user and with the same request ID will avoid
|
4570 |
+
* creating duplicates by attempting to create the same Team Drive. If the Team
|
4571 |
+
* Drive already exists a 409 error will be returned.
|
4572 |
+
* @param GoogleGAL_Service_DriveT_TeamDrive $postBody
|
4573 |
+
* @param array $optParams Optional parameters.
|
4574 |
+
* @return GoogleGAL_Service_DriveT_TeamDrive
|
4575 |
+
*/
|
4576 |
+
public function create($requestId, GoogleGAL_Service_DriveT_TeamDrive $postBody, $optParams = array())
|
4577 |
+
{
|
4578 |
+
$params = array('requestId' => $requestId, 'postBody' => $postBody);
|
4579 |
+
$params = array_merge($params, $optParams);
|
4580 |
+
return $this->call('create', array($params), "GoogleGAL_Service_DriveT_TeamDrive");
|
4581 |
+
}
|
4582 |
+
/**
|
4583 |
+
* Permanently deletes a Team Drive for which the user is an organizer. The Team
|
4584 |
+
* Drive cannot contain any untrashed items. (teamdrives.delete)
|
4585 |
+
*
|
4586 |
+
* @param string $teamDriveId The ID of the Team Drive
|
4587 |
+
* @param array $optParams Optional parameters.
|
4588 |
+
*/
|
4589 |
+
public function delete($teamDriveId, $optParams = array())
|
4590 |
+
{
|
4591 |
+
$params = array('teamDriveId' => $teamDriveId);
|
4592 |
+
$params = array_merge($params, $optParams);
|
4593 |
+
return $this->call('delete', array($params));
|
4594 |
+
}
|
4595 |
+
/**
|
4596 |
+
* Gets a Team Drive's metadata by ID. (teamdrives.get)
|
4597 |
+
*
|
4598 |
+
* @param string $teamDriveId The ID of the Team Drive
|
4599 |
+
* @param array $optParams Optional parameters.
|
4600 |
+
* @return GoogleGAL_Service_DriveT_TeamDrive
|
4601 |
+
*/
|
4602 |
+
public function get($teamDriveId, $optParams = array())
|
4603 |
+
{
|
4604 |
+
$params = array('teamDriveId' => $teamDriveId);
|
4605 |
+
$params = array_merge($params, $optParams);
|
4606 |
+
return $this->call('get', array($params), "GoogleGAL_Service_DriveT_TeamDrive");
|
4607 |
+
}
|
4608 |
+
/**
|
4609 |
+
* Lists the user's Team Drives. (teamdrives.listTeamdrives)
|
4610 |
+
*
|
4611 |
+
* @param array $optParams Optional parameters.
|
4612 |
+
*
|
4613 |
+
* @opt_param int pageSize Maximum number of Team Drives to return.
|
4614 |
+
* @opt_param string pageToken Page token for Team Drives.
|
4615 |
+
* @return GoogleGAL_Service_DriveT_TeamDriveList
|
4616 |
+
*/
|
4617 |
+
public function listTeamdrives($optParams = array())
|
4618 |
+
{
|
4619 |
+
$params = array();
|
4620 |
+
$params = array_merge($params, $optParams);
|
4621 |
+
return $this->call('list', array($params), "GoogleGAL_Service_DriveT_TeamDriveList");
|
4622 |
+
}
|
4623 |
+
/**
|
4624 |
+
* Updates a Team Drive's metadata (teamdrives.update)
|
4625 |
+
*
|
4626 |
+
* @param string $teamDriveId The ID of the Team Drive
|
4627 |
+
* @param GoogleGAL_Service_DriveT_TeamDrive $postBody
|
4628 |
+
* @param array $optParams Optional parameters.
|
4629 |
+
* @return GoogleGAL_Service_DriveT_TeamDrive
|
4630 |
+
*/
|
4631 |
+
public function update($teamDriveId, GoogleGAL_Service_DriveT_TeamDrive $postBody, $optParams = array())
|
4632 |
+
{
|
4633 |
+
$params = array('teamDriveId' => $teamDriveId, 'postBody' => $postBody);
|
4634 |
+
$params = array_merge($params, $optParams);
|
4635 |
+
return $this->call('update', array($params), "GoogleGAL_Service_DriveT_TeamDrive");
|
4636 |
+
}
|
4637 |
+
}
|
core/core_google_apps_login.php
CHANGED
@@ -1219,7 +1219,13 @@ class core_google_apps_login {
|
|
1219 |
$client->setApplicationName("Wordpress Site");
|
1220 |
return $client;
|
1221 |
}
|
1222 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1223 |
// PLUGINS PAGE
|
1224 |
|
1225 |
public function ga_plugin_action_links( $links, $file ) {
|
1219 |
$client->setApplicationName("Wordpress Site");
|
1220 |
return $client;
|
1221 |
}
|
1222 |
+
|
1223 |
+
public function get_sa_admin_email() {
|
1224 |
+
$options = $this->get_option_galogin();
|
1225 |
+
return isset($options['ga_domainadmin']) ? $options['ga_domainadmin'] : '';
|
1226 |
+
}
|
1227 |
+
|
1228 |
+
|
1229 |
// PLUGINS PAGE
|
1230 |
|
1231 |
public function ga_plugin_action_links( $links, $file ) {
|
google_apps_login.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Google Apps Login
|
5 |
* Plugin URI: http://wp-glogin.com/
|
6 |
* Description: Simple secure login for Wordpress through users' Google Apps accounts (uses secure OAuth2, and MFA if enabled)
|
7 |
-
* Version:
|
8 |
* Author: Dan Lester
|
9 |
* Author URI: http://wp-glogin.com/
|
10 |
* License: GPL3
|
@@ -23,7 +23,7 @@ else {
|
|
23 |
|
24 |
class basic_google_apps_login extends core_google_apps_login {
|
25 |
|
26 |
-
protected $PLUGIN_VERSION = '
|
27 |
|
28 |
// Singleton
|
29 |
private static $instance = null;
|
@@ -171,7 +171,7 @@ class basic_google_apps_login extends core_google_apps_login {
|
|
171 |
<li>Save time and increase security</li>
|
172 |
<li>Completely forget about WordPress user management – it syncs users from G Suite (Google Apps) automatically</li>
|
173 |
<li>Ensures that employees who leave or change roles no longer have unauthorized access to sensitive sites</li>
|
174 |
-
<li>Specify Google Groups whose members should be mapped to different roles in WordPress (Enterprise only)</li>
|
175 |
</ul>
|
176 |
|
177 |
<p>Find out more about purchase options on our website:
|
4 |
* Plugin Name: Google Apps Login
|
5 |
* Plugin URI: http://wp-glogin.com/
|
6 |
* Description: Simple secure login for Wordpress through users' Google Apps accounts (uses secure OAuth2, and MFA if enabled)
|
7 |
+
* Version: 3.0
|
8 |
* Author: Dan Lester
|
9 |
* Author URI: http://wp-glogin.com/
|
10 |
* License: GPL3
|
23 |
|
24 |
class basic_google_apps_login extends core_google_apps_login {
|
25 |
|
26 |
+
protected $PLUGIN_VERSION = '3.0';
|
27 |
|
28 |
// Singleton
|
29 |
private static $instance = null;
|
171 |
<li>Save time and increase security</li>
|
172 |
<li>Completely forget about WordPress user management – it syncs users from G Suite (Google Apps) automatically</li>
|
173 |
<li>Ensures that employees who leave or change roles no longer have unauthorized access to sensitive sites</li>
|
174 |
+
<li>Specify Google Groups or Organizational Units whose members should be mapped to different roles in WordPress (Enterprise only)</li>
|
175 |
</ul>
|
176 |
|
177 |
<p>Find out more about purchase options on our website:
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Plugin Name ===
|
2 |
Contributors: danlester
|
3 |
Tags: login, google, authentication, oauth, google login, google apps, g suite, sso, single-sign-on, auth, intranet
|
4 |
-
Requires at least:
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag:
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -32,7 +32,7 @@ of mind that only authorized employees have access to your organizations's websi
|
|
32 |
|
33 |
The Premium version allows everyone in your G Suite (Google Apps) domain to login to WordPress - an account will be automatically created in WordPress if one doesn't already exist.
|
34 |
|
35 |
-
Our Enterprise version goes further, allowing you to specify granular access and role controls based on Google Group membership.
|
36 |
You can also see logs of accounts created and roles changed by the plugin.
|
37 |
|
38 |
|
@@ -197,6 +197,10 @@ the WordPress admin panel once you have activated the plugin. For a (non-persona
|
|
197 |
|
198 |
== Changelog ==
|
199 |
|
|
|
|
|
|
|
|
|
200 |
= 2.10.5 =
|
201 |
|
202 |
Multisite improvements: better handling of COOKIE_DOMAIN configuration and also allows login redirects straight to subsites even when login is handled by the root site's wp-login.php page.
|
1 |
=== Plugin Name ===
|
2 |
Contributors: danlester
|
3 |
Tags: login, google, authentication, oauth, google login, google apps, g suite, sso, single-sign-on, auth, intranet
|
4 |
+
Requires at least: 4.0
|
5 |
+
Tested up to: 4.8
|
6 |
+
Stable tag: 3.0
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
32 |
|
33 |
The Premium version allows everyone in your G Suite (Google Apps) domain to login to WordPress - an account will be automatically created in WordPress if one doesn't already exist.
|
34 |
|
35 |
+
Our Enterprise version goes further, allowing you to specify granular access and role controls based on Google Group or Organizational Unit membership.
|
36 |
You can also see logs of accounts created and roles changed by the plugin.
|
37 |
|
38 |
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 3.0 =
|
201 |
+
|
202 |
+
Internal changes to Google Client library. Essential for the latest versions of some extension plugins such as Google Drive Embedder.
|
203 |
+
|
204 |
= 2.10.5 =
|
205 |
|
206 |
Multisite improvements: better handling of COOKIE_DOMAIN configuration and also allows login redirects straight to subsites even when login is handled by the root site's wp-login.php page.
|