Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Action extends Google_Model
{
protected $actorType = 'Google_Service_DriveActivity_Actor';
protected $actorDataType = '';
protected $detailType = 'Google_Service_DriveActivity_ActionDetail';
protected $detailDataType = '';
protected $targetType = 'Google_Service_DriveActivity_Target';
protected $targetDataType = '';
protected $timeRangeType = 'Google_Service_DriveActivity_TimeRange';
protected $timeRangeDataType = '';
public $timestamp;
/**
* @param Google_Service_DriveActivity_Actor
*/
public function setActor(Google_Service_DriveActivity_Actor $actor)
{
$this->actor = $actor;
}
/**
* @return Google_Service_DriveActivity_Actor
*/
public function getActor()
{
return $this->actor;
}
/**
* @param Google_Service_DriveActivity_ActionDetail
*/
public function setDetail(Google_Service_DriveActivity_ActionDetail $detail)
{
$this->detail = $detail;
}
/**
* @return Google_Service_DriveActivity_ActionDetail
*/
public function getDetail()
{
return $this->detail;
}
/**
* @param Google_Service_DriveActivity_Target
*/
public function setTarget(Google_Service_DriveActivity_Target $target)
{
$this->target = $target;
}
/**
* @return Google_Service_DriveActivity_Target
*/
public function getTarget()
{
return $this->target;
}
/**
* @param Google_Service_DriveActivity_TimeRange
*/
public function setTimeRange(Google_Service_DriveActivity_TimeRange $timeRange)
{
$this->timeRange = $timeRange;
}
/**
* @return Google_Service_DriveActivity_TimeRange
*/
public function getTimeRange()
{
return $this->timeRange;
}
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
public function getTimestamp()
{
return $this->timestamp;
}
}

View File

@@ -0,0 +1,197 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_ActionDetail extends Google_Model
{
protected $commentType = 'Google_Service_DriveActivity_Comment';
protected $commentDataType = '';
protected $createType = 'Google_Service_DriveActivity_Create';
protected $createDataType = '';
protected $deleteType = 'Google_Service_DriveActivity_Delete';
protected $deleteDataType = '';
protected $dlpChangeType = 'Google_Service_DriveActivity_DataLeakPreventionChange';
protected $dlpChangeDataType = '';
protected $editType = 'Google_Service_DriveActivity_Edit';
protected $editDataType = '';
protected $moveType = 'Google_Service_DriveActivity_Move';
protected $moveDataType = '';
protected $permissionChangeType = 'Google_Service_DriveActivity_PermissionChange';
protected $permissionChangeDataType = '';
protected $referenceType = 'Google_Service_DriveActivity_ApplicationReference';
protected $referenceDataType = '';
protected $renameType = 'Google_Service_DriveActivity_Rename';
protected $renameDataType = '';
protected $restoreType = 'Google_Service_DriveActivity_Restore';
protected $restoreDataType = '';
protected $settingsChangeType = 'Google_Service_DriveActivity_SettingsChange';
protected $settingsChangeDataType = '';
/**
* @param Google_Service_DriveActivity_Comment
*/
public function setComment(Google_Service_DriveActivity_Comment $comment)
{
$this->comment = $comment;
}
/**
* @return Google_Service_DriveActivity_Comment
*/
public function getComment()
{
return $this->comment;
}
/**
* @param Google_Service_DriveActivity_Create
*/
public function setCreate(Google_Service_DriveActivity_Create $create)
{
$this->create = $create;
}
/**
* @return Google_Service_DriveActivity_Create
*/
public function getCreate()
{
return $this->create;
}
/**
* @param Google_Service_DriveActivity_Delete
*/
public function setDelete(Google_Service_DriveActivity_Delete $delete)
{
$this->delete = $delete;
}
/**
* @return Google_Service_DriveActivity_Delete
*/
public function getDelete()
{
return $this->delete;
}
/**
* @param Google_Service_DriveActivity_DataLeakPreventionChange
*/
public function setDlpChange(Google_Service_DriveActivity_DataLeakPreventionChange $dlpChange)
{
$this->dlpChange = $dlpChange;
}
/**
* @return Google_Service_DriveActivity_DataLeakPreventionChange
*/
public function getDlpChange()
{
return $this->dlpChange;
}
/**
* @param Google_Service_DriveActivity_Edit
*/
public function setEdit(Google_Service_DriveActivity_Edit $edit)
{
$this->edit = $edit;
}
/**
* @return Google_Service_DriveActivity_Edit
*/
public function getEdit()
{
return $this->edit;
}
/**
* @param Google_Service_DriveActivity_Move
*/
public function setMove(Google_Service_DriveActivity_Move $move)
{
$this->move = $move;
}
/**
* @return Google_Service_DriveActivity_Move
*/
public function getMove()
{
return $this->move;
}
/**
* @param Google_Service_DriveActivity_PermissionChange
*/
public function setPermissionChange(Google_Service_DriveActivity_PermissionChange $permissionChange)
{
$this->permissionChange = $permissionChange;
}
/**
* @return Google_Service_DriveActivity_PermissionChange
*/
public function getPermissionChange()
{
return $this->permissionChange;
}
/**
* @param Google_Service_DriveActivity_ApplicationReference
*/
public function setReference(Google_Service_DriveActivity_ApplicationReference $reference)
{
$this->reference = $reference;
}
/**
* @return Google_Service_DriveActivity_ApplicationReference
*/
public function getReference()
{
return $this->reference;
}
/**
* @param Google_Service_DriveActivity_Rename
*/
public function setRename(Google_Service_DriveActivity_Rename $rename)
{
$this->rename = $rename;
}
/**
* @return Google_Service_DriveActivity_Rename
*/
public function getRename()
{
return $this->rename;
}
/**
* @param Google_Service_DriveActivity_Restore
*/
public function setRestore(Google_Service_DriveActivity_Restore $restore)
{
$this->restore = $restore;
}
/**
* @return Google_Service_DriveActivity_Restore
*/
public function getRestore()
{
return $this->restore;
}
/**
* @param Google_Service_DriveActivity_SettingsChange
*/
public function setSettingsChange(Google_Service_DriveActivity_SettingsChange $settingsChange)
{
$this->settingsChange = $settingsChange;
}
/**
* @return Google_Service_DriveActivity_SettingsChange
*/
public function getSettingsChange()
{
return $this->settingsChange;
}
}

View File

@@ -0,0 +1,101 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Actor extends Google_Model
{
protected $administratorType = 'Google_Service_DriveActivity_Administrator';
protected $administratorDataType = '';
protected $anonymousType = 'Google_Service_DriveActivity_AnonymousUser';
protected $anonymousDataType = '';
protected $impersonationType = 'Google_Service_DriveActivity_Impersonation';
protected $impersonationDataType = '';
protected $systemType = 'Google_Service_DriveActivity_SystemEvent';
protected $systemDataType = '';
protected $userType = 'Google_Service_DriveActivity_User';
protected $userDataType = '';
/**
* @param Google_Service_DriveActivity_Administrator
*/
public function setAdministrator(Google_Service_DriveActivity_Administrator $administrator)
{
$this->administrator = $administrator;
}
/**
* @return Google_Service_DriveActivity_Administrator
*/
public function getAdministrator()
{
return $this->administrator;
}
/**
* @param Google_Service_DriveActivity_AnonymousUser
*/
public function setAnonymous(Google_Service_DriveActivity_AnonymousUser $anonymous)
{
$this->anonymous = $anonymous;
}
/**
* @return Google_Service_DriveActivity_AnonymousUser
*/
public function getAnonymous()
{
return $this->anonymous;
}
/**
* @param Google_Service_DriveActivity_Impersonation
*/
public function setImpersonation(Google_Service_DriveActivity_Impersonation $impersonation)
{
$this->impersonation = $impersonation;
}
/**
* @return Google_Service_DriveActivity_Impersonation
*/
public function getImpersonation()
{
return $this->impersonation;
}
/**
* @param Google_Service_DriveActivity_SystemEvent
*/
public function setSystem(Google_Service_DriveActivity_SystemEvent $system)
{
$this->system = $system;
}
/**
* @return Google_Service_DriveActivity_SystemEvent
*/
public function getSystem()
{
return $this->system;
}
/**
* @param Google_Service_DriveActivity_User
*/
public function setUser(Google_Service_DriveActivity_User $user)
{
$this->user = $user;
}
/**
* @return Google_Service_DriveActivity_User
*/
public function getUser()
{
return $this->user;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Administrator extends Google_Model
{
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_AnonymousUser extends Google_Model
{
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Anyone extends Google_Model
{
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_ApplicationReference extends Google_Model
{
public $type;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Assignment extends Google_Model
{
public $subtype;
public function setSubtype($subtype)
{
$this->subtype = $subtype;
}
public function getSubtype()
{
return $this->subtype;
}
}

View File

@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Comment extends Google_Collection
{
protected $collection_key = 'mentionedUsers';
protected $assignmentType = 'Google_Service_DriveActivity_Assignment';
protected $assignmentDataType = '';
protected $mentionedUsersType = 'Google_Service_DriveActivity_User';
protected $mentionedUsersDataType = 'array';
protected $postType = 'Google_Service_DriveActivity_Post';
protected $postDataType = '';
protected $suggestionType = 'Google_Service_DriveActivity_Suggestion';
protected $suggestionDataType = '';
/**
* @param Google_Service_DriveActivity_Assignment
*/
public function setAssignment(Google_Service_DriveActivity_Assignment $assignment)
{
$this->assignment = $assignment;
}
/**
* @return Google_Service_DriveActivity_Assignment
*/
public function getAssignment()
{
return $this->assignment;
}
/**
* @param Google_Service_DriveActivity_User
*/
public function setMentionedUsers($mentionedUsers)
{
$this->mentionedUsers = $mentionedUsers;
}
/**
* @return Google_Service_DriveActivity_User
*/
public function getMentionedUsers()
{
return $this->mentionedUsers;
}
/**
* @param Google_Service_DriveActivity_Post
*/
public function setPost(Google_Service_DriveActivity_Post $post)
{
$this->post = $post;
}
/**
* @return Google_Service_DriveActivity_Post
*/
public function getPost()
{
return $this->post;
}
/**
* @param Google_Service_DriveActivity_Suggestion
*/
public function setSuggestion(Google_Service_DriveActivity_Suggestion $suggestion)
{
$this->suggestion = $suggestion;
}
/**
* @return Google_Service_DriveActivity_Suggestion
*/
public function getSuggestion()
{
return $this->suggestion;
}
}

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_ConsolidationStrategy extends Google_Model
{
protected $legacyType = 'Google_Service_DriveActivity_Legacy';
protected $legacyDataType = '';
protected $noneType = 'Google_Service_DriveActivity_NoConsolidation';
protected $noneDataType = '';
/**
* @param Google_Service_DriveActivity_Legacy
*/
public function setLegacy(Google_Service_DriveActivity_Legacy $legacy)
{
$this->legacy = $legacy;
}
/**
* @return Google_Service_DriveActivity_Legacy
*/
public function getLegacy()
{
return $this->legacy;
}
/**
* @param Google_Service_DriveActivity_NoConsolidation
*/
public function setNone(Google_Service_DriveActivity_NoConsolidation $none)
{
$this->none = $none;
}
/**
* @return Google_Service_DriveActivity_NoConsolidation
*/
public function getNone()
{
return $this->none;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Copy extends Google_Model
{
protected $originalObjectType = 'Google_Service_DriveActivity_TargetReference';
protected $originalObjectDataType = '';
/**
* @param Google_Service_DriveActivity_TargetReference
*/
public function setOriginalObject(Google_Service_DriveActivity_TargetReference $originalObject)
{
$this->originalObject = $originalObject;
}
/**
* @return Google_Service_DriveActivity_TargetReference
*/
public function getOriginalObject()
{
return $this->originalObject;
}
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Create extends Google_Model
{
protected $copyType = 'Google_Service_DriveActivity_Copy';
protected $copyDataType = '';
protected $newType = 'Google_Service_DriveActivity_DriveactivityNew';
protected $newDataType = '';
protected $uploadType = 'Google_Service_DriveActivity_Upload';
protected $uploadDataType = '';
/**
* @param Google_Service_DriveActivity_Copy
*/
public function setCopy(Google_Service_DriveActivity_Copy $copy)
{
$this->copy = $copy;
}
/**
* @return Google_Service_DriveActivity_Copy
*/
public function getCopy()
{
return $this->copy;
}
/**
* @param Google_Service_DriveActivity_DriveactivityNew
*/
public function setNew(Google_Service_DriveActivity_DriveactivityNew $new)
{
$this->new = $new;
}
/**
* @return Google_Service_DriveActivity_DriveactivityNew
*/
public function getNew()
{
return $this->new;
}
/**
* @param Google_Service_DriveActivity_Upload
*/
public function setUpload(Google_Service_DriveActivity_Upload $upload)
{
$this->upload = $upload;
}
/**
* @return Google_Service_DriveActivity_Upload
*/
public function getUpload()
{
return $this->upload;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DataLeakPreventionChange extends Google_Model
{
public $type;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Delete extends Google_Model
{
public $type;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DeletedUser extends Google_Model
{
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Domain extends Google_Model
{
public $legacyId;
public $name;
public function setLegacyId($legacyId)
{
$this->legacyId = $legacyId;
}
public function getLegacyId()
{
return $this->legacyId;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DriveActivity extends Google_Collection
{
protected $collection_key = 'targets';
protected $actionsType = 'Google_Service_DriveActivity_Action';
protected $actionsDataType = 'array';
protected $actorsType = 'Google_Service_DriveActivity_Actor';
protected $actorsDataType = 'array';
protected $primaryActionDetailType = 'Google_Service_DriveActivity_ActionDetail';
protected $primaryActionDetailDataType = '';
protected $targetsType = 'Google_Service_DriveActivity_Target';
protected $targetsDataType = 'array';
protected $timeRangeType = 'Google_Service_DriveActivity_TimeRange';
protected $timeRangeDataType = '';
public $timestamp;
/**
* @param Google_Service_DriveActivity_Action
*/
public function setActions($actions)
{
$this->actions = $actions;
}
/**
* @return Google_Service_DriveActivity_Action
*/
public function getActions()
{
return $this->actions;
}
/**
* @param Google_Service_DriveActivity_Actor
*/
public function setActors($actors)
{
$this->actors = $actors;
}
/**
* @return Google_Service_DriveActivity_Actor
*/
public function getActors()
{
return $this->actors;
}
/**
* @param Google_Service_DriveActivity_ActionDetail
*/
public function setPrimaryActionDetail(Google_Service_DriveActivity_ActionDetail $primaryActionDetail)
{
$this->primaryActionDetail = $primaryActionDetail;
}
/**
* @return Google_Service_DriveActivity_ActionDetail
*/
public function getPrimaryActionDetail()
{
return $this->primaryActionDetail;
}
/**
* @param Google_Service_DriveActivity_Target
*/
public function setTargets($targets)
{
$this->targets = $targets;
}
/**
* @return Google_Service_DriveActivity_Target
*/
public function getTargets()
{
return $this->targets;
}
/**
* @param Google_Service_DriveActivity_TimeRange
*/
public function setTimeRange(Google_Service_DriveActivity_TimeRange $timeRange)
{
$this->timeRange = $timeRange;
}
/**
* @return Google_Service_DriveActivity_TimeRange
*/
public function getTimeRange()
{
return $this->timeRange;
}
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
public function getTimestamp()
{
return $this->timestamp;
}
}

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DriveItem extends Google_Model
{
protected $fileType = 'Google_Service_DriveActivity_DriveactivityFile';
protected $fileDataType = '';
protected $folderType = 'Google_Service_DriveActivity_Folder';
protected $folderDataType = '';
public $mimeType;
public $name;
protected $ownerType = 'Google_Service_DriveActivity_Owner';
protected $ownerDataType = '';
public $title;
/**
* @param Google_Service_DriveActivity_DriveactivityFile
*/
public function setFile(Google_Service_DriveActivity_DriveactivityFile $file)
{
$this->file = $file;
}
/**
* @return Google_Service_DriveActivity_DriveactivityFile
*/
public function getFile()
{
return $this->file;
}
/**
* @param Google_Service_DriveActivity_Folder
*/
public function setFolder(Google_Service_DriveActivity_Folder $folder)
{
$this->folder = $folder;
}
/**
* @return Google_Service_DriveActivity_Folder
*/
public function getFolder()
{
return $this->folder;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_DriveActivity_Owner
*/
public function setOwner(Google_Service_DriveActivity_Owner $owner)
{
$this->owner = $owner;
}
/**
* @return Google_Service_DriveActivity_Owner
*/
public function getOwner()
{
return $this->owner;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DriveItemReference extends Google_Model
{
protected $fileType = 'Google_Service_DriveActivity_DriveactivityFile';
protected $fileDataType = '';
protected $folderType = 'Google_Service_DriveActivity_Folder';
protected $folderDataType = '';
public $name;
public $title;
/**
* @param Google_Service_DriveActivity_DriveactivityFile
*/
public function setFile(Google_Service_DriveActivity_DriveactivityFile $file)
{
$this->file = $file;
}
/**
* @return Google_Service_DriveActivity_DriveactivityFile
*/
public function getFile()
{
return $this->file;
}
/**
* @param Google_Service_DriveActivity_Folder
*/
public function setFolder(Google_Service_DriveActivity_Folder $folder)
{
$this->folder = $folder;
}
/**
* @return Google_Service_DriveActivity_Folder
*/
public function getFolder()
{
return $this->folder;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DriveactivityFile extends Google_Model
{
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_DriveactivityNew extends Google_Model
{
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Edit extends Google_Model
{
}

View File

@@ -0,0 +1,64 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_FileComment extends Google_Model
{
public $legacyCommentId;
public $legacyDiscussionId;
public $linkToDiscussion;
protected $parentType = 'Google_Service_DriveActivity_DriveItem';
protected $parentDataType = '';
public function setLegacyCommentId($legacyCommentId)
{
$this->legacyCommentId = $legacyCommentId;
}
public function getLegacyCommentId()
{
return $this->legacyCommentId;
}
public function setLegacyDiscussionId($legacyDiscussionId)
{
$this->legacyDiscussionId = $legacyDiscussionId;
}
public function getLegacyDiscussionId()
{
return $this->legacyDiscussionId;
}
public function setLinkToDiscussion($linkToDiscussion)
{
$this->linkToDiscussion = $linkToDiscussion;
}
public function getLinkToDiscussion()
{
return $this->linkToDiscussion;
}
/**
* @param Google_Service_DriveActivity_DriveItem
*/
public function setParent(Google_Service_DriveActivity_DriveItem $parent)
{
$this->parent = $parent;
}
/**
* @return Google_Service_DriveActivity_DriveItem
*/
public function getParent()
{
return $this->parent;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Folder extends Google_Model
{
public $type;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Group extends Google_Model
{
public $email;
public $title;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Impersonation extends Google_Model
{
protected $impersonatedUserType = 'Google_Service_DriveActivity_User';
protected $impersonatedUserDataType = '';
/**
* @param Google_Service_DriveActivity_User
*/
public function setImpersonatedUser(Google_Service_DriveActivity_User $impersonatedUser)
{
$this->impersonatedUser = $impersonatedUser;
}
/**
* @return Google_Service_DriveActivity_User
*/
public function getImpersonatedUser()
{
return $this->impersonatedUser;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_KnownUser extends Google_Model
{
public $isCurrentUser;
public $personName;
public function setIsCurrentUser($isCurrentUser)
{
$this->isCurrentUser = $isCurrentUser;
}
public function getIsCurrentUser()
{
return $this->isCurrentUser;
}
public function setPersonName($personName)
{
$this->personName = $personName;
}
public function getPersonName()
{
return $this->personName;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Legacy extends Google_Model
{
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Move extends Google_Collection
{
protected $collection_key = 'removedParents';
protected $addedParentsType = 'Google_Service_DriveActivity_TargetReference';
protected $addedParentsDataType = 'array';
protected $removedParentsType = 'Google_Service_DriveActivity_TargetReference';
protected $removedParentsDataType = 'array';
/**
* @param Google_Service_DriveActivity_TargetReference
*/
public function setAddedParents($addedParents)
{
$this->addedParents = $addedParents;
}
/**
* @return Google_Service_DriveActivity_TargetReference
*/
public function getAddedParents()
{
return $this->addedParents;
}
/**
* @param Google_Service_DriveActivity_TargetReference
*/
public function setRemovedParents($removedParents)
{
$this->removedParents = $removedParents;
}
/**
* @return Google_Service_DriveActivity_TargetReference
*/
public function getRemovedParents()
{
return $this->removedParents;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_NoConsolidation extends Google_Model
{
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Owner extends Google_Model
{
protected $domainType = 'Google_Service_DriveActivity_Domain';
protected $domainDataType = '';
protected $teamDriveType = 'Google_Service_DriveActivity_TeamDriveReference';
protected $teamDriveDataType = '';
protected $userType = 'Google_Service_DriveActivity_User';
protected $userDataType = '';
/**
* @param Google_Service_DriveActivity_Domain
*/
public function setDomain(Google_Service_DriveActivity_Domain $domain)
{
$this->domain = $domain;
}
/**
* @return Google_Service_DriveActivity_Domain
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param Google_Service_DriveActivity_TeamDriveReference
*/
public function setTeamDrive(Google_Service_DriveActivity_TeamDriveReference $teamDrive)
{
$this->teamDrive = $teamDrive;
}
/**
* @return Google_Service_DriveActivity_TeamDriveReference
*/
public function getTeamDrive()
{
return $this->teamDrive;
}
/**
* @param Google_Service_DriveActivity_User
*/
public function setUser(Google_Service_DriveActivity_User $user)
{
$this->user = $user;
}
/**
* @return Google_Service_DriveActivity_User
*/
public function getUser()
{
return $this->user;
}
}

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Permission extends Google_Model
{
public $allowDiscovery;
protected $anyoneType = 'Google_Service_DriveActivity_Anyone';
protected $anyoneDataType = '';
protected $domainType = 'Google_Service_DriveActivity_Domain';
protected $domainDataType = '';
protected $groupType = 'Google_Service_DriveActivity_Group';
protected $groupDataType = '';
public $role;
protected $userType = 'Google_Service_DriveActivity_User';
protected $userDataType = '';
public function setAllowDiscovery($allowDiscovery)
{
$this->allowDiscovery = $allowDiscovery;
}
public function getAllowDiscovery()
{
return $this->allowDiscovery;
}
/**
* @param Google_Service_DriveActivity_Anyone
*/
public function setAnyone(Google_Service_DriveActivity_Anyone $anyone)
{
$this->anyone = $anyone;
}
/**
* @return Google_Service_DriveActivity_Anyone
*/
public function getAnyone()
{
return $this->anyone;
}
/**
* @param Google_Service_DriveActivity_Domain
*/
public function setDomain(Google_Service_DriveActivity_Domain $domain)
{
$this->domain = $domain;
}
/**
* @return Google_Service_DriveActivity_Domain
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param Google_Service_DriveActivity_Group
*/
public function setGroup(Google_Service_DriveActivity_Group $group)
{
$this->group = $group;
}
/**
* @return Google_Service_DriveActivity_Group
*/
public function getGroup()
{
return $this->group;
}
public function setRole($role)
{
$this->role = $role;
}
public function getRole()
{
return $this->role;
}
/**
* @param Google_Service_DriveActivity_User
*/
public function setUser(Google_Service_DriveActivity_User $user)
{
$this->user = $user;
}
/**
* @return Google_Service_DriveActivity_User
*/
public function getUser()
{
return $this->user;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_PermissionChange extends Google_Collection
{
protected $collection_key = 'removedPermissions';
protected $addedPermissionsType = 'Google_Service_DriveActivity_Permission';
protected $addedPermissionsDataType = 'array';
protected $removedPermissionsType = 'Google_Service_DriveActivity_Permission';
protected $removedPermissionsDataType = 'array';
/**
* @param Google_Service_DriveActivity_Permission
*/
public function setAddedPermissions($addedPermissions)
{
$this->addedPermissions = $addedPermissions;
}
/**
* @return Google_Service_DriveActivity_Permission
*/
public function getAddedPermissions()
{
return $this->addedPermissions;
}
/**
* @param Google_Service_DriveActivity_Permission
*/
public function setRemovedPermissions($removedPermissions)
{
$this->removedPermissions = $removedPermissions;
}
/**
* @return Google_Service_DriveActivity_Permission
*/
public function getRemovedPermissions()
{
return $this->removedPermissions;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Post extends Google_Model
{
public $subtype;
public function setSubtype($subtype)
{
$this->subtype = $subtype;
}
public function getSubtype()
{
return $this->subtype;
}
}

View File

@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_QueryDriveActivityRequest extends Google_Model
{
public $ancestorName;
protected $consolidationStrategyType = 'Google_Service_DriveActivity_ConsolidationStrategy';
protected $consolidationStrategyDataType = '';
public $filter;
public $itemName;
public $pageSize;
public $pageToken;
public function setAncestorName($ancestorName)
{
$this->ancestorName = $ancestorName;
}
public function getAncestorName()
{
return $this->ancestorName;
}
/**
* @param Google_Service_DriveActivity_ConsolidationStrategy
*/
public function setConsolidationStrategy(Google_Service_DriveActivity_ConsolidationStrategy $consolidationStrategy)
{
$this->consolidationStrategy = $consolidationStrategy;
}
/**
* @return Google_Service_DriveActivity_ConsolidationStrategy
*/
public function getConsolidationStrategy()
{
return $this->consolidationStrategy;
}
public function setFilter($filter)
{
$this->filter = $filter;
}
public function getFilter()
{
return $this->filter;
}
public function setItemName($itemName)
{
$this->itemName = $itemName;
}
public function getItemName()
{
return $this->itemName;
}
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
public function getPageSize()
{
return $this->pageSize;
}
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
public function getPageToken()
{
return $this->pageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_QueryDriveActivityResponse extends Google_Collection
{
protected $collection_key = 'activities';
protected $activitiesType = 'Google_Service_DriveActivity_DriveActivity';
protected $activitiesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_DriveActivity_DriveActivity
*/
public function setActivities($activities)
{
$this->activities = $activities;
}
/**
* @return Google_Service_DriveActivity_DriveActivity
*/
public function getActivities()
{
return $this->activities;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Rename extends Google_Model
{
public $newTitle;
public $oldTitle;
public function setNewTitle($newTitle)
{
$this->newTitle = $newTitle;
}
public function getNewTitle()
{
return $this->newTitle;
}
public function setOldTitle($oldTitle)
{
$this->oldTitle = $oldTitle;
}
public function getOldTitle()
{
return $this->oldTitle;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "activity" collection of methods.
* Typical usage is:
* <code>
* $driveactivityService = new Google_Service_DriveActivity(...);
* $activity = $driveactivityService->activity;
* </code>
*/
class Google_Service_DriveActivity_Resource_Activity extends Google_Service_Resource
{
/**
* Query past activity in Google Drive. (activity.query)
*
* @param Google_Service_DriveActivity_QueryDriveActivityRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_DriveActivity_QueryDriveActivityResponse
*/
public function query(Google_Service_DriveActivity_QueryDriveActivityRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('query', array($params), "Google_Service_DriveActivity_QueryDriveActivityResponse");
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Restore extends Google_Model
{
public $type;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_RestrictionChange extends Google_Model
{
public $feature;
public $newRestriction;
public function setFeature($feature)
{
$this->feature = $feature;
}
public function getFeature()
{
return $this->feature;
}
public function setNewRestriction($newRestriction)
{
$this->newRestriction = $newRestriction;
}
public function getNewRestriction()
{
return $this->newRestriction;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_SettingsChange extends Google_Collection
{
protected $collection_key = 'restrictionChanges';
protected $restrictionChangesType = 'Google_Service_DriveActivity_RestrictionChange';
protected $restrictionChangesDataType = 'array';
/**
* @param Google_Service_DriveActivity_RestrictionChange
*/
public function setRestrictionChanges($restrictionChanges)
{
$this->restrictionChanges = $restrictionChanges;
}
/**
* @return Google_Service_DriveActivity_RestrictionChange
*/
public function getRestrictionChanges()
{
return $this->restrictionChanges;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Suggestion extends Google_Model
{
public $subtype;
public function setSubtype($subtype)
{
$this->subtype = $subtype;
}
public function getSubtype()
{
return $this->subtype;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_SystemEvent extends Google_Model
{
public $type;
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Target extends Google_Model
{
protected $driveItemType = 'Google_Service_DriveActivity_DriveItem';
protected $driveItemDataType = '';
protected $fileCommentType = 'Google_Service_DriveActivity_FileComment';
protected $fileCommentDataType = '';
protected $teamDriveType = 'Google_Service_DriveActivity_TeamDrive';
protected $teamDriveDataType = '';
/**
* @param Google_Service_DriveActivity_DriveItem
*/
public function setDriveItem(Google_Service_DriveActivity_DriveItem $driveItem)
{
$this->driveItem = $driveItem;
}
/**
* @return Google_Service_DriveActivity_DriveItem
*/
public function getDriveItem()
{
return $this->driveItem;
}
/**
* @param Google_Service_DriveActivity_FileComment
*/
public function setFileComment(Google_Service_DriveActivity_FileComment $fileComment)
{
$this->fileComment = $fileComment;
}
/**
* @return Google_Service_DriveActivity_FileComment
*/
public function getFileComment()
{
return $this->fileComment;
}
/**
* @param Google_Service_DriveActivity_TeamDrive
*/
public function setTeamDrive(Google_Service_DriveActivity_TeamDrive $teamDrive)
{
$this->teamDrive = $teamDrive;
}
/**
* @return Google_Service_DriveActivity_TeamDrive
*/
public function getTeamDrive()
{
return $this->teamDrive;
}
}

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_TargetReference extends Google_Model
{
protected $driveItemType = 'Google_Service_DriveActivity_DriveItemReference';
protected $driveItemDataType = '';
protected $teamDriveType = 'Google_Service_DriveActivity_TeamDriveReference';
protected $teamDriveDataType = '';
/**
* @param Google_Service_DriveActivity_DriveItemReference
*/
public function setDriveItem(Google_Service_DriveActivity_DriveItemReference $driveItem)
{
$this->driveItem = $driveItem;
}
/**
* @return Google_Service_DriveActivity_DriveItemReference
*/
public function getDriveItem()
{
return $this->driveItem;
}
/**
* @param Google_Service_DriveActivity_TeamDriveReference
*/
public function setTeamDrive(Google_Service_DriveActivity_TeamDriveReference $teamDrive)
{
$this->teamDrive = $teamDrive;
}
/**
* @return Google_Service_DriveActivity_TeamDriveReference
*/
public function getTeamDrive()
{
return $this->teamDrive;
}
}

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_TeamDrive extends Google_Model
{
public $name;
protected $rootType = 'Google_Service_DriveActivity_DriveItem';
protected $rootDataType = '';
public $title;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
/**
* @param Google_Service_DriveActivity_DriveItem
*/
public function setRoot(Google_Service_DriveActivity_DriveItem $root)
{
$this->root = $root;
}
/**
* @return Google_Service_DriveActivity_DriveItem
*/
public function getRoot()
{
return $this->root;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_TeamDriveReference extends Google_Model
{
public $name;
public $title;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_TimeRange extends Google_Model
{
public $endTime;
public $startTime;
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
public function getStartTime()
{
return $this->startTime;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_UnknownUser extends Google_Model
{
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_Upload extends Google_Model
{
}

View File

@@ -0,0 +1,69 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_DriveActivity_User extends Google_Model
{
protected $deletedUserType = 'Google_Service_DriveActivity_DeletedUser';
protected $deletedUserDataType = '';
protected $knownUserType = 'Google_Service_DriveActivity_KnownUser';
protected $knownUserDataType = '';
protected $unknownUserType = 'Google_Service_DriveActivity_UnknownUser';
protected $unknownUserDataType = '';
/**
* @param Google_Service_DriveActivity_DeletedUser
*/
public function setDeletedUser(Google_Service_DriveActivity_DeletedUser $deletedUser)
{
$this->deletedUser = $deletedUser;
}
/**
* @return Google_Service_DriveActivity_DeletedUser
*/
public function getDeletedUser()
{
return $this->deletedUser;
}
/**
* @param Google_Service_DriveActivity_KnownUser
*/
public function setKnownUser(Google_Service_DriveActivity_KnownUser $knownUser)
{
$this->knownUser = $knownUser;
}
/**
* @return Google_Service_DriveActivity_KnownUser
*/
public function getKnownUser()
{
return $this->knownUser;
}
/**
* @param Google_Service_DriveActivity_UnknownUser
*/
public function setUnknownUser(Google_Service_DriveActivity_UnknownUser $unknownUser)
{
$this->unknownUser = $unknownUser;
}
/**
* @return Google_Service_DriveActivity_UnknownUser
*/
public function getUnknownUser()
{
return $this->unknownUser;
}
}