package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val delete : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?visibility:string -> fileId:string -> propertyKey:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Deletes a property.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter visibility

    The visibility of the property.

  • parameter fileId

    The ID of the file.

  • parameter propertyKey

    The key of the property.

val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> ?visibility:string -> fileId:string -> propertyKey:string -> GapiConversation.Session.t -> GapiDriveV2Model.Property.t * GapiConversation.Session.t

Gets a property by its key.

  • parameter base_url

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

  • parameter etag

    Optional ETag.

  • parameter std_params

    Optional standard parameters.

  • parameter visibility

    The visibility of the property.

  • parameter fileId

    The ID of the file.

  • parameter propertyKey

    The key of the property.

Adds a property to a file, or updates it if it already exists.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter fileId

    The ID of the file.

Lists a file's properties.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter fileId

    The ID of the file.

val patch : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?visibility:string -> fileId:string -> propertyKey:string -> GapiDriveV2Model.Property.t -> GapiConversation.Session.t -> GapiDriveV2Model.Property.t * GapiConversation.Session.t

Updates a property, or adds it if it doesn't exist. This method supports patch semantics.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter visibility

    The visibility of the property.

  • parameter fileId

    The ID of the file.

  • parameter propertyKey

    The key of the property.

val update : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?visibility:string -> fileId:string -> propertyKey:string -> GapiDriveV2Model.Property.t -> GapiConversation.Session.t -> GapiDriveV2Model.Property.t * GapiConversation.Session.t

Updates a property, or adds it if it doesn't exist.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter visibility

    The visibility of the property.

  • parameter fileId

    The ID of the file.

  • parameter propertyKey

    The key of the property.

OCaml

Innovation. Community. Security.