Module GapiDriveV2Service.ParentsResource
val delete : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> parentId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t
Removes a parent from a file.
- 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.
- parameter parentId
The ID of the parent.
val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> parentId:string -> GapiConversation.Session.t -> GapiDriveV2Model.ParentReference.t * GapiConversation.Session.t
Gets a specific parent reference.
- 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 fileId
The ID of the file.
- parameter parentId
The ID of the parent.
val insert : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> GapiDriveV2Model.ParentReference.t -> GapiConversation.Session.t -> GapiDriveV2Model.ParentReference.t * GapiConversation.Session.t
Adds a parent folder for a file.
- 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 list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> GapiConversation.Session.t -> GapiDriveV2Model.ParentList.t * GapiConversation.Session.t
Lists a file's parents.
- 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.