@ -119,7 +119,20 @@ class Google_Service_Drive extends Google_Service
),'list' => array(
'path' => 'apps',
'httpMethod' => 'GET',
'parameters' => array(),
'parameters' => array(
'languageCode' => array(
'location' => 'query',
'type' => 'string',
),
'appFilterExtensions' => array(
'location' => 'query',
'type' => 'string',
),
'appFilterMimeTypes' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
@ -444,6 +457,10 @@ class Google_Service_Drive extends Google_Service
'required' => true,
),
),
),'emptyTrash' => array(
'path' => 'files/trash',
'httpMethod' => 'DELETE',
'parameters' => array(),
),'get' => array(
'path' => 'files/{fileId}',
'httpMethod' => 'GET',
@ -511,6 +528,10 @@ class Google_Service_Drive extends Google_Service
'location' => 'query',
'type' => 'string',
),
'corpus' => array(
'location' => 'query',
'type' => 'string',
),
'projection' => array(
'location' => 'query',
'type' => 'string',
@ -529,18 +550,26 @@ class Google_Service_Drive extends Google_Service
'type' => 'string',
'required' => true,
),
'convert ' => array(
'addParents ' => array(
'location' => 'query',
'type' => 'boolean ',
'type' => 'string ',
),
'updateViewedDate' => array(
'location' => 'query',
'type' => 'boolean',
),
'removeParents' => array(
'location' => 'query',
'type' => 'string',
),
'setModifiedDate' => array(
'location' => 'query',
'type' => 'boolean',
),
'convert' => array(
'location' => 'query',
'type' => 'boolean',
),
'useContentAsIndexableText' => array(
'location' => 'query',
'type' => 'boolean',
@ -609,18 +638,26 @@ class Google_Service_Drive extends Google_Service
'type' => 'string',
'required' => true,
),
'convert ' => array(
'addParents ' => array(
'location' => 'query',
'type' => 'boolean ',
'type' => 'string ',
),
'updateViewedDate' => array(
'location' => 'query',
'type' => 'boolean',
),
'removeParents' => array(
'location' => 'query',
'type' => 'string',
),
'setModifiedDate' => array(
'location' => 'query',
'type' => 'boolean',
),
'convert' => array(
'location' => 'query',
'type' => 'boolean',
),
'useContentAsIndexableText' => array(
'location' => 'query',
'type' => 'boolean',
@ -969,6 +1006,10 @@ class Google_Service_Drive extends Google_Service
'type' => 'string',
'required' => true,
),
'revision' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'update' => array(
'path' => 'files/{fileId}/realtime',
@ -1226,9 +1267,9 @@ class Google_Service_Drive_About_Resource extends Google_Service_Resource
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSubscribed
* When calculating the number of remaining change IDs, whether to include shared files and public
* files the user has opened. When set to false, this counts only change IDs for owned files and
* any shared or public files that the user has explictly added to a folder in Drive .
* When calculating the number of remaining change IDs, whether to include public files the user
* has opened and shared files . When set to false, this counts only change IDs for owned files and
* any shared or public files that the user has explicitly added to a folder they own .
* @opt_param string maxChangeIdCount
* Maximum number of remaining change IDs to count
* @opt_param string startChangeId
@ -1272,6 +1313,18 @@ class Google_Service_Drive_Apps_Resource extends Google_Service_Resource
* Lists a user's installed apps. (apps.listApps)
*
* @param array $optParams Optional parameters.
*
* @opt_param string languageCode
* A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format
* (http://www.unicode.org/reports/tr35/).
* @opt_param string appFilterExtensions
* A comma-separated list of file extensions for open with filtering. All apps within the given app
* query scope which can open any of the given file extensions will be included in the response. If
* appFilterMimeTypes are provided as well, the result is a union of the two resulting app lists.
* @opt_param string appFilterMimeTypes
* A comma-separated list of MIME types for open with filtering. All apps within the given app
* query scope which can open any of the given MIME types will be included in the response. If
* appFilterExtensions are provided as well, the result is a union of the two resulting app lists.
* @return Google_Service_Drive_AppList
*/
public function listApps($optParams = array())
@ -1313,9 +1366,9 @@ class Google_Service_Drive_Changes_Resource extends Google_Service_Resource
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSubscribed
* Whether to include shared files and public files the user has opened. When set to false, the
* list will include owned files plus any shared or public files the user has explictly added to a
* folder in Drive .
* Whether to include public files the user has opened and shared files . When set to false, the
* list only includes owned files plus any shared or public files the user has explici tly added to
* a folder they own .
* @opt_param string startChangeId
* Change ID to start listing changes from.
* @opt_param bool includeDeleted
@ -1339,9 +1392,9 @@ class Google_Service_Drive_Changes_Resource extends Google_Service_Resource
* @param array $optParams Optional parameters.
*
* @opt_param bool includeSubscribed
* Whether to include shared files and public files the user has opened. When set to false, the
* list will include owned files plus any shared or public files the user has explictly added to a
* folder in Drive .
* Whether to include public files the user has opened and shared files . When set to false, the
* list only includes owned files plus any shared or public files the user has explici tly added to
* a folder they own .
* @opt_param string startChangeId
* Change ID to start listing changes from.
* @opt_param bool includeDeleted
@ -1616,7 +1669,8 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
* The visibility of the new file. This parameter is only relevant when the source is not a native
* Google Doc and convert=false.
* @opt_param bool pinned
* Whether to pin the head revision of the new copy.
* Whether to pin the head revision of the new copy. A file can have a maximum of 200 pinned
* revisions.
* @opt_param bool ocr
* Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
* @opt_param string timedTextTrackName
@ -1644,6 +1698,17 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Permanently deletes all of the user's trashed files. (files.emptyTrash)
*
* @param array $optParams Optional parameters.
*/
public function emptyTrash($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('emptyTrash', array($params));
}
/**
* Gets a file's metadata by ID. (files.get)
*
@ -1678,7 +1743,8 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
* @opt_param string visibility
* The visibility of the new file. This parameter is only relevant when convert=false.
* @opt_param bool pinned
* Whether to pin the head revision of the uploaded file.
* Whether to pin the head revision of the uploaded file. A file can have a maximum of 200 pinned
* revisions.
* @opt_param bool ocr
* Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
* @opt_param string timedTextTrackName
@ -1702,6 +1768,8 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
* Query string for searching files.
* @opt_param string pageToken
* Page token for files.
* @opt_param string corpus
* The body of items (files/documents) to which the query applies.
* @opt_param string projection
* This parameter is deprecated and has no function.
* @opt_param int maxResults
@ -1723,21 +1791,25 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
* @param Google_DriveFile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool convert
* Whether to convert this file to the corresponding Google Docs format .
* @opt_param string addParents
* Comma-separated list of parent IDs to add .
* @opt_param bool updateViewedDate
* Whether to update the view date after successfully updating the file.
* @opt_param string removeParents
* Comma-separated list of parent IDs to remove.
* @opt_param bool setModifiedDate
* Whether to set the modified date with the supplied modified date.
* @opt_param bool convert
* Whether to convert this file to the corresponding Google Docs format.
* @opt_param bool useContentAsIndexableText
* Whether to use the content as indexable text.
* @opt_param string ocrLanguage
* If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
* @opt_param bool pinned
* Whether to pin the new revision.
* Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.
* @opt_param bool newRevision
* Whether a blob upload should create a new revision. If false, the blob data in the current head
* revision is replaced. If not set or true , a new blob is created as head revision, and previous
* revision is replaced. If true or not set , a new blob is created as head revision, and previous
* revisions are preserved (causing increased use of the user's data storage quota).
* @opt_param bool ocr
* Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
@ -1803,21 +1875,25 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
* @param Google_DriveFile $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool convert
* Whether to convert this file to the corresponding Google Docs format .
* @opt_param string addParents
* Comma-separated list of parent IDs to add .
* @opt_param bool updateViewedDate
* Whether to update the view date after successfully updating the file.
* @opt_param string removeParents
* Comma-separated list of parent IDs to remove.
* @opt_param bool setModifiedDate
* Whether to set the modified date with the supplied modified date.
* @opt_param bool convert
* Whether to convert this file to the corresponding Google Docs format.
* @opt_param bool useContentAsIndexableText
* Whether to use the content as indexable text.
* @opt_param string ocrLanguage
* If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
* @opt_param bool pinned
* Whether to pin the new revision.
* Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.
* @opt_param bool newRevision
* Whether a blob upload should create a new revision. If false, the blob data in the current head
* revision is replaced. If not set or true , a new blob is created as head revision, and previous
* revision is replaced. If true or not set , a new blob is created as head revision, and previous
* revisions are preserved (causing increased use of the user's data storage quota).
* @opt_param bool ocr
* Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
@ -1995,7 +2071,8 @@ class Google_Service_Drive_Permissions_Resource extends Google_Service_Resource
* @opt_param string emailMessage
* A custom message to include in notification emails.
* @opt_param bool sendNotificationEmails
* Whether to send notification emails when sharing to users or groups.
* Whether to send notification emails when sharing to users or groups. This parameter is ignored
* and an email is sent if the role is owner.
* @return Google_Service_Drive_Permission
*/
public function insert($fileId, Google_Service_Drive_Permission $postBody, $optParams = array())
@ -2198,6 +2275,11 @@ class Google_Service_Drive_Realtime_Resource extends Google_Service_Resource
* @param string $fileId
* The ID of the file that the Realtime API data model is associated with.
* @param array $optParams Optional parameters.
*
* @opt_param int revision
* The revision of the Realtime API data model to export. Revisions start at 1 (the initial empty
* data model) and are incremented with each change. If this parameter is excluded, the most recent
* data model will be returned.
*/
public function get($fileId, $optParams = array())
{
@ -2455,6 +2537,9 @@ class Google_Service_Drive_Revisions_Resource extends Google_Service_Resource
class Google_Service_Drive_About extends Google_Collection
{
protected $collection_key = 'quotaBytesByService';
protected $internal_gapi_mappings = array(
);
protected $additionalRoleInfoType = 'Google_Service_Drive_AboutAdditionalRoleInfo';
protected $additionalRoleInfoDataType = 'array';
public $domainSharingPolicy;
@ -2467,15 +2552,19 @@ class Google_Service_Drive_About extends Google_Collection
protected $importFormatsDataType = 'array';
public $isCurrentAppInstalled;
public $kind;
public $languageCode;
public $largestChangeId;
protected $maxUploadSizesType = 'Google_Service_Drive_AboutMaxUploadSizes';
protected $maxUploadSizesDataType = 'array';
public $name;
public $permissionId;
protected $quotaBytesByServiceType = 'Google_Service_Drive_AboutQuotaBytesByService';
protected $quotaBytesByServiceDataType = 'array';
public $quotaBytesTotal;
public $quotaBytesUsed;
public $quotaBytesUsedAggregate;
public $quotaBytesUsedInTrash;
public $quotaType;
public $remainingChangeIds;
public $rootFolderId;
public $selfLink;
@ -2562,6 +2651,16 @@ class Google_Service_Drive_About extends Google_Collection
return $this->kind;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
public function setLargestChangeId($largestChangeId)
{
$this->largestChangeId = $largestChangeId;
@ -2602,6 +2701,16 @@ class Google_Service_Drive_About extends Google_Collection
return $this->permissionId;
}
public function setQuotaBytesByService($quotaBytesByService)
{
$this->quotaBytesByService = $quotaBytesByService;
}
public function getQuotaBytesByService()
{
return $this->quotaBytesByService;
}
public function setQuotaBytesTotal($quotaBytesTotal)
{
$this->quotaBytesTotal = $quotaBytesTotal;
@ -2642,6 +2751,16 @@ class Google_Service_Drive_About extends Google_Collection
return $this->quotaBytesUsedInTrash;
}
public function setQuotaType($quotaType)
{
$this->quotaType = $quotaType;
}
public function getQuotaType()
{
return $this->quotaType;
}
public function setRemainingChangeIds($remainingChangeIds)
{
$this->remainingChangeIds = $remainingChangeIds;
@ -2685,6 +2804,9 @@ class Google_Service_Drive_About extends Google_Collection
class Google_Service_Drive_AboutAdditionalRoleInfo extends Google_Collection
{
protected $collection_key = 'roleSets';
protected $internal_gapi_mappings = array(
);
protected $roleSetsType = 'Google_Service_Drive_AboutAdditionalRoleInfoRoleSets';
protected $roleSetsDataType = 'array';
public $type;
@ -2712,6 +2834,9 @@ class Google_Service_Drive_AboutAdditionalRoleInfo extends Google_Collection
class Google_Service_Drive_AboutAdditionalRoleInfoRoleSets extends Google_Collection
{
protected $collection_key = 'additionalRoles';
protected $internal_gapi_mappings = array(
);
public $additionalRoles;
public $primaryRole;
@ -2738,6 +2863,9 @@ class Google_Service_Drive_AboutAdditionalRoleInfoRoleSets extends Google_Collec
class Google_Service_Drive_AboutExportFormats extends Google_Collection
{
protected $collection_key = 'targets';
protected $internal_gapi_mappings = array(
);
public $source;
public $targets;
@ -2764,6 +2892,8 @@ class Google_Service_Drive_AboutExportFormats extends Google_Collection
class Google_Service_Drive_AboutFeatures extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $featureName;
public $featureRate;
@ -2790,6 +2920,9 @@ class Google_Service_Drive_AboutFeatures extends Google_Model
class Google_Service_Drive_AboutImportFormats extends Google_Collection
{
protected $collection_key = 'targets';
protected $internal_gapi_mappings = array(
);
public $source;
public $targets;
@ -2816,6 +2949,8 @@ class Google_Service_Drive_AboutImportFormats extends Google_Collection
class Google_Service_Drive_AboutMaxUploadSizes extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $size;
public $type;
@ -2840,11 +2975,43 @@ class Google_Service_Drive_AboutMaxUploadSizes extends Google_Model
}
}
class Google_Service_Drive_AboutQuotaBytesByService extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $bytesUsed;
public $serviceName;
public function setBytesUsed($bytesUsed)
{
$this->bytesUsed = $bytesUsed;
}
public function getBytesUsed()
{
return $this->bytesUsed;
}
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
public function getServiceName()
{
return $this->serviceName;
}
}
class Google_Service_Drive_App extends Google_Collection
{
protected $collection_key = 'secondaryMimeTypes';
protected $internal_gapi_mappings = array(
);
public $authorized;
public $createInFolderTemplate;
public $createUrl;
public $hasDriveWideScope;
protected $iconsType = 'Google_Service_Drive_AppIcons';
protected $iconsDataType = 'array';
public $id;
@ -2864,6 +3031,7 @@ class Google_Service_Drive_App extends Google_Collection
public $supportsCreate;
public $supportsImport;
public $supportsMultiOpen;
public $supportsOfflineCreate;
public $useByDefault;
public function setAuthorized($authorized)
@ -2896,6 +3064,16 @@ class Google_Service_Drive_App extends Google_Collection
return $this->createUrl;
}
public function setHasDriveWideScope($hasDriveWideScope)
{
$this->hasDriveWideScope = $hasDriveWideScope;
}
public function getHasDriveWideScope()
{
return $this->hasDriveWideScope;
}
public function setIcons($icons)
{
$this->icons = $icons;
@ -3076,6 +3254,16 @@ class Google_Service_Drive_App extends Google_Collection
return $this->supportsMultiOpen;
}
public function setSupportsOfflineCreate($supportsOfflineCreate)
{
$this->supportsOfflineCreate = $supportsOfflineCreate;
}
public function getSupportsOfflineCreate()
{
return $this->supportsOfflineCreate;
}
public function setUseByDefault($useByDefault)
{
$this->useByDefault = $useByDefault;
@ -3089,6 +3277,8 @@ class Google_Service_Drive_App extends Google_Collection
class Google_Service_Drive_AppIcons extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $category;
public $iconUrl;
public $size;
@ -3126,12 +3316,26 @@ class Google_Service_Drive_AppIcons extends Google_Model
class Google_Service_Drive_AppList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $defaultAppIds;
public $etag;
protected $itemsType = 'Google_Service_Drive_App';
protected $itemsDataType = 'array';
public $kind;
public $selfLink;
public function setDefaultAppIds($defaultAppIds)
{
$this->defaultAppIds = $defaultAppIds;
}
public function getDefaultAppIds()
{
return $this->defaultAppIds;
}
public function setEtag($etag)
{
$this->etag = $etag;
@ -3175,6 +3379,8 @@ class Google_Service_Drive_AppList extends Google_Collection
class Google_Service_Drive_Change extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $deleted;
protected $fileType = 'Google_Service_Drive_DriveFile';
protected $fileDataType = '';
@ -3257,6 +3463,9 @@ class Google_Service_Drive_Change extends Google_Model
class Google_Service_Drive_ChangeList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_Change';
protected $itemsDataType = 'array';
@ -3339,6 +3548,8 @@ class Google_Service_Drive_ChangeList extends Google_Collection
class Google_Service_Drive_Channel extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $address;
public $expiration;
public $id;
@ -3451,8 +3662,17 @@ class Google_Service_Drive_Channel extends Google_Model
}
}
class Google_Service_Drive_ChannelParams extends Google_Model
{
protected $internal_gapi_mappings = array(
);
}
class Google_Service_Drive_ChildList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_ChildReference';
protected $itemsDataType = 'array';
@ -3524,6 +3744,8 @@ class Google_Service_Drive_ChildList extends Google_Collection
class Google_Service_Drive_ChildReference extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $childLink;
public $id;
public $kind;
@ -3572,6 +3794,9 @@ class Google_Service_Drive_ChildReference extends Google_Model
class Google_Service_Drive_Comment extends Google_Collection
{
protected $collection_key = 'replies';
protected $internal_gapi_mappings = array(
);
public $anchor;
protected $authorType = 'Google_Service_Drive_User';
protected $authorDataType = '';
@ -3744,6 +3969,8 @@ class Google_Service_Drive_Comment extends Google_Collection
class Google_Service_Drive_CommentContext extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $type;
public $value;
@ -3770,6 +3997,9 @@ class Google_Service_Drive_CommentContext extends Google_Model
class Google_Service_Drive_CommentList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
protected $itemsType = 'Google_Service_Drive_Comment';
protected $itemsDataType = 'array';
public $kind;
@ -3830,6 +4060,8 @@ class Google_Service_Drive_CommentList extends Google_Collection
class Google_Service_Drive_CommentReply extends Google_Model
{
protected $internal_gapi_mappings = array(
);
protected $authorType = 'Google_Service_Drive_User';
protected $authorDataType = '';
public $content;
@ -3934,6 +4166,9 @@ class Google_Service_Drive_CommentReply extends Google_Model
class Google_Service_Drive_CommentReplyList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
protected $itemsType = 'Google_Service_Drive_CommentReply';
protected $itemsDataType = 'array';
public $kind;
@ -3994,6 +4229,9 @@ class Google_Service_Drive_CommentReplyList extends Google_Collection
class Google_Service_Drive_DriveFile extends Google_Collection
{
protected $collection_key = 'properties';
protected $internal_gapi_mappings = array(
);
public $alternateLink;
public $appDataContents;
public $copyable;
@ -4022,6 +4260,7 @@ class Google_Service_Drive_DriveFile extends Google_Collection
protected $lastModifyingUserDataType = '';
public $lastModifyingUserName;
public $lastViewedByMeDate;
public $markedViewedByMeDate;
public $md5Checksum;
public $mimeType;
public $modifiedByMeDate;
@ -4033,18 +4272,25 @@ class Google_Service_Drive_DriveFile extends Google_Collection
protected $ownersDataType = 'array';
protected $parentsType = 'Google_Service_Drive_ParentReference';
protected $parentsDataType = 'array';
protected $permissionsType = 'Google_Service_Drive_Permission';
protected $permissionsDataType = 'array';
protected $propertiesType = 'Google_Service_Drive_Property';
protected $propertiesDataType = 'array';
public $quotaBytesUsed;
public $selfLink;
public $shared;
public $sharedWithMeDate;
protected $sharingUserType = 'Google_Service_Drive_User';
protected $sharingUserDataType = '';
protected $thumbnailType = 'Google_Service_Drive_DriveFileThumbnail';
protected $thumbnailDataType = '';
public $thumbnailLink;
public $title;
protected $userPermissionType = 'Google_Service_Drive_Permission';
protected $userPermissionDataType = '';
public $version;
protected $videoMediaMetadataType = 'Google_Service_Drive_DriveFileVideoMediaMetadata';
protected $videoMediaMetadataDataType = '';
public $webContentLink;
public $webViewLink;
public $writersCanShare;
@ -4289,6 +4535,16 @@ class Google_Service_Drive_DriveFile extends Google_Collection
return $this->lastViewedByMeDate;
}
public function setMarkedViewedByMeDate($markedViewedByMeDate)
{
$this->markedViewedByMeDate = $markedViewedByMeDate;
}
public function getMarkedViewedByMeDate()
{
return $this->markedViewedByMeDate;
}
public function setMd5Checksum($md5Checksum)
{
$this->md5Checksum = $md5Checksum;
@ -4379,6 +4635,16 @@ class Google_Service_Drive_DriveFile extends Google_Collection
return $this->parents;
}
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
public function getPermissions()
{
return $this->permissions;
}
public function setProperties($properties)
{
$this->properties = $properties;
@ -4429,6 +4695,16 @@ class Google_Service_Drive_DriveFile extends Google_Collection
return $this->sharedWithMeDate;
}
public function setSharingUser(Google_Service_Drive_User $sharingUser)
{
$this->sharingUser = $sharingUser;
}
public function getSharingUser()
{
return $this->sharingUser;
}
public function setThumbnail(Google_Service_Drive_DriveFileThumbnail $thumbnail)
{
$this->thumbnail = $thumbnail;
@ -4469,6 +4745,26 @@ class Google_Service_Drive_DriveFile extends Google_Collection
return $this->userPermission;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVideoMediaMetadata(Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata)
{
$this->videoMediaMetadata = $videoMediaMetadata;
}
public function getVideoMediaMetadata()
{
return $this->videoMediaMetadata;
}
public function setWebContentLink($webContentLink)
{
$this->webContentLink = $webContentLink;
@ -4500,8 +4796,16 @@ class Google_Service_Drive_DriveFile extends Google_Collection
}
}
class Google_Service_Drive_DriveFileExportLinks extends Google_Model
{
protected $internal_gapi_mappings = array(
);
}
class Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $aperture;
public $cameraMake;
public $cameraModel;
@ -4738,6 +5042,8 @@ class Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model
class Google_Service_Drive_DriveFileImageMediaMetadataLocation extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $altitude;
public $latitude;
public $longitude;
@ -4775,6 +5081,8 @@ class Google_Service_Drive_DriveFileImageMediaMetadataLocation extends Google_Mo
class Google_Service_Drive_DriveFileIndexableText extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $text;
public function setText($text)
@ -4790,6 +5098,8 @@ class Google_Service_Drive_DriveFileIndexableText extends Google_Model
class Google_Service_Drive_DriveFileLabels extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $hidden;
public $restricted;
public $starred;
@ -4847,8 +5157,16 @@ class Google_Service_Drive_DriveFileLabels extends Google_Model
}
}
class Google_Service_Drive_DriveFileOpenWithLinks extends Google_Model
{
protected $internal_gapi_mappings = array(
);
}
class Google_Service_Drive_DriveFileThumbnail extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $image;
public $mimeType;
@ -4873,8 +5191,50 @@ class Google_Service_Drive_DriveFileThumbnail extends Google_Model
}
}
class Google_Service_Drive_DriveFileVideoMediaMetadata extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $durationMillis;
public $height;
public $width;
public function setDurationMillis($durationMillis)
{
$this->durationMillis = $durationMillis;
}
public function getDurationMillis()
{
return $this->durationMillis;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}
class Google_Service_Drive_FileList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_DriveFile';
protected $itemsDataType = 'array';
@ -4946,6 +5306,9 @@ class Google_Service_Drive_FileList extends Google_Collection
class Google_Service_Drive_ParentList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_ParentReference';
protected $itemsDataType = 'array';
@ -4995,6 +5358,8 @@ class Google_Service_Drive_ParentList extends Google_Collection
class Google_Service_Drive_ParentReference extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $id;
public $isRoot;
public $kind;
@ -5054,6 +5419,9 @@ class Google_Service_Drive_ParentReference extends Google_Model
class Google_Service_Drive_Permission extends Google_Collection
{
protected $collection_key = 'additionalRoles';
protected $internal_gapi_mappings = array(
);
public $additionalRoles;
public $authKey;
public $domain;
@ -5212,6 +5580,8 @@ class Google_Service_Drive_Permission extends Google_Collection
class Google_Service_Drive_PermissionId extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $id;
public $kind;
@ -5238,6 +5608,9 @@ class Google_Service_Drive_PermissionId extends Google_Model
class Google_Service_Drive_PermissionList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_Permission';
protected $itemsDataType = 'array';
@ -5287,6 +5660,8 @@ class Google_Service_Drive_PermissionList extends Google_Collection
class Google_Service_Drive_Property extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $etag;
public $key;
public $kind;
@ -5357,6 +5732,9 @@ class Google_Service_Drive_Property extends Google_Model
class Google_Service_Drive_PropertyList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_Property';
protected $itemsDataType = 'array';
@ -5406,6 +5784,8 @@ class Google_Service_Drive_PropertyList extends Google_Collection
class Google_Service_Drive_Revision extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $downloadUrl;
public $etag;
public $exportLinks;
@ -5607,8 +5987,17 @@ class Google_Service_Drive_Revision extends Google_Model
}
}
class Google_Service_Drive_RevisionExportLinks extends Google_Model
{
protected $internal_gapi_mappings = array(
);
}
class Google_Service_Drive_RevisionList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $etag;
protected $itemsType = 'Google_Service_Drive_Revision';
protected $itemsDataType = 'array';
@ -5658,7 +6047,10 @@ class Google_Service_Drive_RevisionList extends Google_Collection
class Google_Service_Drive_User extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $displayName;
public $emailAddress;
public $isAuthenticatedUser;
public $kind;
public $permissionId;
@ -5675,6 +6067,16 @@ class Google_Service_Drive_User extends Google_Model
return $this->displayName;
}
public function setEmailAddress($emailAddress)
{
$this->emailAddress = $emailAddress;
}
public function getEmailAddress()
{
return $this->emailAddress;
}
public function setIsAuthenticatedUser($isAuthenticatedUser)
{
$this->isAuthenticatedUser = $isAuthenticatedUser;
@ -5718,6 +6120,8 @@ class Google_Service_Drive_User extends Google_Model
class Google_Service_Drive_UserPicture extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $url;
public function setUrl($url)