package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Creates a new Team Drive.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").

  • parameter std_params

    Optional standard parameters.

  • parameter requestId

    An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.

val delete : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> teamDriveId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

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

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").

  • parameter std_params

    Optional standard parameters.

  • parameter teamDriveId

    The ID of the Team Drive

val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> ?useDomainAdminAccess:bool -> teamDriveId:string -> GapiConversation.Session.t -> GapiDriveV3Model.TeamDrive.t * GapiConversation.Session.t

Gets a Team Drive's metadata by ID.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").

  • parameter etag

    Optional ETag.

  • parameter std_params

    Optional standard parameters.

  • parameter useDomainAdminAccess

    Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.

  • parameter teamDriveId

    The ID of the Team Drive

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?pageSize:int -> ?useDomainAdminAccess:bool -> ?pageToken:string -> ?q:string -> GapiConversation.Session.t -> GapiDriveV3Model.TeamDriveList.t * GapiConversation.Session.t

Lists the user's Team Drives.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").

  • parameter std_params

    Optional standard parameters.

  • parameter pageSize

    Maximum number of Team Drives to return.

  • parameter useDomainAdminAccess

    Issue the request as a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.

  • parameter pageToken

    Page token for Team Drives.

  • parameter q

    Query string for searching Team Drives.

val update : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?useDomainAdminAccess:bool -> teamDriveId:string -> GapiDriveV3Model.TeamDrive.t -> GapiConversation.Session.t -> GapiDriveV3Model.TeamDrive.t * GapiConversation.Session.t

Updates a Team Drive's metadata

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").

  • parameter std_params

    Optional standard parameters.

  • parameter useDomainAdminAccess

    Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.

  • parameter teamDriveId

    The ID of the Team Drive

OCaml

Innovation. Community. Security.