Module GapiDriveV2Service.ChangesResource

val get : ?⁠base_url:string -> ?⁠etag:string -> ?⁠std_params:GapiService.StandardParameters.t -> changeId:string -> GapiConversation.Session.t -> GapiDriveV2Model.Change.t * GapiConversation.Session.t

Gets a specific change.

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 changeId

The ID of the change.

val list : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> ?⁠includeDeleted:bool -> ?⁠includeSubscribed:bool -> ?⁠maxResults:int -> ?⁠pageToken:string -> ?⁠spaces:string -> ?⁠startChangeId:int64 -> GapiConversation.Session.t -> GapiDriveV2Model.ChangeList.t * GapiConversation.Session.t

Lists the changes for a user.

parameter base_url

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

parameter std_params

Optional standard parameters.

parameter includeDeleted

Whether to include deleted items.

parameter includeSubscribed

Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.

parameter maxResults

Maximum number of changes to return.

parameter pageToken

Page token for changes.

parameter spaces

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

parameter startChangeId

Change ID to start listing changes from.

val watch : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> ?⁠includeDeleted:bool -> ?⁠includeSubscribed:bool -> ?⁠maxResults:int -> ?⁠pageToken:string -> ?⁠spaces:string -> ?⁠startChangeId:int64 -> GapiDriveV2Model.Channel.t -> GapiConversation.Session.t -> GapiDriveV2Model.Channel.t * GapiConversation.Session.t

Subscribe to changes for a user.

parameter base_url

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

parameter std_params

Optional standard parameters.

parameter includeDeleted

Whether to include deleted items.

parameter includeSubscribed

Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.

parameter maxResults

Maximum number of changes to return.

parameter pageToken

Page token for changes.

parameter spaces

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

parameter startChangeId

Change ID to start listing changes from.