Liking cljdoc? Tell your friends :D

happygapi.drive.drives

Drive API: drives. Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. See: https://developers.google.com/drive/api/reference/rest/v3/drives

Drive API: drives.
Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
See: https://developers.google.com/drive/api/reference/rest/v3/drives
raw docstring

create$clj

(create$ auth parameters body)

https://developers.google.com/drive/api/reference/rest/v3/drives/create

Required parameters: requestId

Optional parameters: none

Body:

{:capabilities {:canChangeDomainUsersOnlyRestriction boolean, :canRenameDrive boolean, :canCopy boolean, :canManageMembers boolean, :canTrashChildren boolean, :canDownload boolean, :canChangeDriveMembersOnlyRestriction boolean, :canDeleteChildren boolean, :canListChildren boolean, :canRename boolean, :canReadRevisions boolean, :canDeleteDrive boolean, :canChangeCopyRequiresWriterPermissionRestriction boolean, :canEdit boolean, :canComment boolean, :canAddChildren boolean, :canChangeDriveBackground boolean, :canShare boolean}, :restrictions {:adminManagedRestrictions boolean, :copyRequiresWriterPermission boolean, :domainUsersOnly boolean, :driveMembersOnly boolean}, :themeId string, :backgroundImageFile {:id string, :width number, :xCoordinate number, :yCoordinate number}, :name string, :createdTime string, :hidden boolean, :id string, :kind string, :colorRgb string, :backgroundImageLink string}

Creates a new shared drive.

https://developers.google.com/drive/api/reference/rest/v3/drives/create

Required parameters: requestId

Optional parameters: none

Body: 

{:capabilities {:canChangeDomainUsersOnlyRestriction boolean,
                :canRenameDrive boolean,
                :canCopy boolean,
                :canManageMembers boolean,
                :canTrashChildren boolean,
                :canDownload boolean,
                :canChangeDriveMembersOnlyRestriction boolean,
                :canDeleteChildren boolean,
                :canListChildren boolean,
                :canRename boolean,
                :canReadRevisions boolean,
                :canDeleteDrive boolean,
                :canChangeCopyRequiresWriterPermissionRestriction boolean,
                :canEdit boolean,
                :canComment boolean,
                :canAddChildren boolean,
                :canChangeDriveBackground boolean,
                :canShare boolean},
 :restrictions {:adminManagedRestrictions boolean,
                :copyRequiresWriterPermission boolean,
                :domainUsersOnly boolean,
                :driveMembersOnly boolean},
 :themeId string,
 :backgroundImageFile {:id string,
                       :width number,
                       :xCoordinate number,
                       :yCoordinate number},
 :name string,
 :createdTime string,
 :hidden boolean,
 :id string,
 :kind string,
 :colorRgb string,
 :backgroundImageLink string}

Creates a new shared drive.
sourceraw docstring

delete$clj

(delete$ auth parameters)

https://developers.google.com/drive/api/reference/rest/v3/drives/delete

Required parameters: driveId

Optional parameters: none

Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.

https://developers.google.com/drive/api/reference/rest/v3/drives/delete

Required parameters: driveId

Optional parameters: none

Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/drive/api/reference/rest/v3/drives/get

Required parameters: driveId

Optional parameters: useDomainAdminAccess

Gets a shared drive's metadata by ID.

https://developers.google.com/drive/api/reference/rest/v3/drives/get

Required parameters: driveId

Optional parameters: useDomainAdminAccess

Gets a shared drive's metadata by ID.
sourceraw docstring

hide$clj

(hide$ auth parameters)

https://developers.google.com/drive/api/reference/rest/v3/drives/hide

Required parameters: driveId

Optional parameters: none

Hides a shared drive from the default view.

https://developers.google.com/drive/api/reference/rest/v3/drives/hide

Required parameters: driveId

Optional parameters: none

Hides a shared drive from the default view.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/drive/api/reference/rest/v3/drives/list

Required parameters: none

Optional parameters: pageSize, pageToken, q, useDomainAdminAccess

Lists the user's shared drives.

https://developers.google.com/drive/api/reference/rest/v3/drives/list

Required parameters: none

Optional parameters: pageSize, pageToken, q, useDomainAdminAccess

Lists the user's shared drives.
sourceraw docstring

unhide$clj

(unhide$ auth parameters)

https://developers.google.com/drive/api/reference/rest/v3/drives/unhide

Required parameters: driveId

Optional parameters: none

Restores a shared drive to the default view.

https://developers.google.com/drive/api/reference/rest/v3/drives/unhide

Required parameters: driveId

Optional parameters: none

Restores a shared drive to the default view.
sourceraw docstring

update$clj

(update$ auth parameters body)

https://developers.google.com/drive/api/reference/rest/v3/drives/update

Required parameters: driveId

Optional parameters: useDomainAdminAccess

Body:

{:capabilities {:canChangeDomainUsersOnlyRestriction boolean, :canRenameDrive boolean, :canCopy boolean, :canManageMembers boolean, :canTrashChildren boolean, :canDownload boolean, :canChangeDriveMembersOnlyRestriction boolean, :canDeleteChildren boolean, :canListChildren boolean, :canRename boolean, :canReadRevisions boolean, :canDeleteDrive boolean, :canChangeCopyRequiresWriterPermissionRestriction boolean, :canEdit boolean, :canComment boolean, :canAddChildren boolean, :canChangeDriveBackground boolean, :canShare boolean}, :restrictions {:adminManagedRestrictions boolean, :copyRequiresWriterPermission boolean, :domainUsersOnly boolean, :driveMembersOnly boolean}, :themeId string, :backgroundImageFile {:id string, :width number, :xCoordinate number, :yCoordinate number}, :name string, :createdTime string, :hidden boolean, :id string, :kind string, :colorRgb string, :backgroundImageLink string}

Updates the metadate for a shared drive.

https://developers.google.com/drive/api/reference/rest/v3/drives/update

Required parameters: driveId

Optional parameters: useDomainAdminAccess

Body: 

{:capabilities {:canChangeDomainUsersOnlyRestriction boolean,
                :canRenameDrive boolean,
                :canCopy boolean,
                :canManageMembers boolean,
                :canTrashChildren boolean,
                :canDownload boolean,
                :canChangeDriveMembersOnlyRestriction boolean,
                :canDeleteChildren boolean,
                :canListChildren boolean,
                :canRename boolean,
                :canReadRevisions boolean,
                :canDeleteDrive boolean,
                :canChangeCopyRequiresWriterPermissionRestriction boolean,
                :canEdit boolean,
                :canComment boolean,
                :canAddChildren boolean,
                :canChangeDriveBackground boolean,
                :canShare boolean},
 :restrictions {:adminManagedRestrictions boolean,
                :copyRequiresWriterPermission boolean,
                :domainUsersOnly boolean,
                :driveMembersOnly boolean},
 :themeId string,
 :backgroundImageFile {:id string,
                       :width number,
                       :xCoordinate number,
                       :yCoordinate number},
 :name string,
 :createdTime string,
 :hidden boolean,
 :id string,
 :kind string,
 :colorRgb string,
 :backgroundImageLink string}

Updates the metadate for a shared drive.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close