package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val getStartPageToken : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?supportsTeamDrives:bool -> ?teamDriveId:string -> GapiConversation.Session.t -> GapiDriveV3Model.StartPageToken.t * GapiConversation.Session.t

Gets the starting pageToken for listing future changes.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter supportsTeamDrives

    Whether the requesting application supports Team Drives.

  • parameter teamDriveId

    The ID of the Team Drive for which the starting pageToken for listing future changes from that Team Drive will be returned.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?includeCorpusRemovals:bool -> ?includeRemoved:bool -> ?includeTeamDriveItems:bool -> ?pageSize:int -> ?restrictToMyDrive:bool -> ?spaces:string -> ?supportsTeamDrives:bool -> ?teamDriveId:string -> pageToken:string -> GapiConversation.Session.t -> GapiDriveV3Model.ChangeList.t * GapiConversation.Session.t

Lists the changes for a user or Team Drive.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter includeCorpusRemovals

    Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

  • parameter includeRemoved

    Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

  • parameter includeTeamDriveItems

    Whether Team Drive files or changes should be included in results.

  • parameter pageSize

    The maximum number of changes to return per page.

  • parameter restrictToMyDrive

    Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.

  • parameter spaces

    A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.

  • parameter supportsTeamDrives

    Whether the requesting application supports Team Drives.

  • parameter teamDriveId

    The Team Drive from which changes will be returned. If specified the change IDs will be reflective of the Team Drive; use the combined Team Drive ID and change ID as an identifier.

  • parameter pageToken

    The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

val watch : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?includeCorpusRemovals:bool -> ?includeRemoved:bool -> ?includeTeamDriveItems:bool -> ?pageSize:int -> ?restrictToMyDrive:bool -> ?spaces:string -> ?supportsTeamDrives:bool -> ?teamDriveId:string -> pageToken:string -> GapiDriveV3Model.Channel.t -> GapiConversation.Session.t -> GapiDriveV3Model.Channel.t * GapiConversation.Session.t

Subscribes to changes for a user.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter includeCorpusRemovals

    Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

  • parameter includeRemoved

    Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

  • parameter includeTeamDriveItems

    Whether Team Drive files or changes should be included in results.

  • parameter pageSize

    The maximum number of changes to return per page.

  • parameter restrictToMyDrive

    Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.

  • parameter spaces

    A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.

  • parameter supportsTeamDrives

    Whether the requesting application supports Team Drives.

  • parameter teamDriveId

    The Team Drive from which changes will be returned. If specified the change IDs will be reflective of the Team Drive; use the combined Team Drive ID and change ID as an identifier.

  • parameter pageToken

    The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.

OCaml

Innovation. Community. Security.