DocumentsService
Object Hierarchy:
Description:
[
CCode ( type_id =
"gdata_documents_service_get_type ()" ) ]
[
Version ( since =
"0.4.0" ) ]
public class DocumentsService :
Service,
Batchable
All the fields in the DocumentsService structure are private and should never be accessed directly.
Content:
Static methods:
Creation methods:
Methods:
- public DocumentsEntry add_entry_to_folder (DocumentsEntry entry, DocumentsFolder folder, Cancellable? cancellable = null) throws Error
Add the given entry
to the specified folder
,
and return an updated DocumentsEntry for entry
.
- public async DocumentsEntry add_entry_to_folder_async (DocumentsEntry entry, DocumentsFolder folder, Cancellable? cancellable) throws Error
Add the given entry
to the specified folder
.
- public DocumentsDocument copy_document (DocumentsDocument document, Cancellable? cancellable = null) throws Error
Copy the given document
, producing a duplicate document
in the same folder and returning its DocumentsDocument.
- public async DocumentsDocument copy_document_async (DocumentsDocument document, Cancellable? cancellable) throws Error
Copy the given document
, producing a duplicate document
in the same folder and returning its DocumentsDocument.
- public DocumentsDocument finish_upload (UploadStream upload_stream) throws Error
- public DocumentsMetadata get_metadata (Cancellable? cancellable = null) throws Error
Gets a
DocumentsMetadata object containing metadata about the documents service itself, like how large the user quota is.
- public async DocumentsMetadata get_metadata_async (Cancellable? cancellable) throws Error
Gets a
DocumentsMetadata object containing metadata about the documents service itself, like how large the user quota is.
- public DocumentsFeed query_documents (DocumentsQuery? query, Cancellable? cancellable, QueryProgressCallback? progress_callback) throws Error
Queries the service to return a list of documents matching the given
query
.
- public async void query_documents_async (DocumentsQuery? query, Cancellable? cancellable, owned QueryProgressCallback? progress_callback)
Queries the service to return a list of documents matching the given
query
.
- public DocumentsFeed query_drives (DocumentsDriveQuery? query, Cancellable? cancellable, QueryProgressCallback? progress_callback) throws Error
Queries the service to return a list of shared drives matching the
given query
.
- public async void query_drives_async (DocumentsDriveQuery? query, Cancellable? cancellable, owned QueryProgressCallback? progress_callback)
Queries the service to return a list of shared drives matching the
given query
.
- public DocumentsEntry remove_entry_from_folder (DocumentsEntry entry, DocumentsFolder folder, Cancellable? cancellable = null) throws Error
Remove the given entry
from folder
, and
return an updated DocumentsEntry for entry
.
- public async DocumentsEntry remove_entry_from_folder_async (DocumentsEntry entry, DocumentsFolder folder, Cancellable? cancellable) throws Error
Remove the given entry
from the specified folder
.
- public UploadStream update_document (DocumentsDocument document, string slug, string content_type, Cancellable? cancellable = null) throws Error
Update the document using the properties from document
and the document data written to the resulting UploadStream.
- public UploadStream update_document_resumable (DocumentsDocument document, string slug, string content_type, int64 content_length, Cancellable? cancellable = null) throws Error
Update the document using the properties from document
and the document data written to the resulting UploadStream.
- public UploadStream upload_document (DocumentsDocument? document, string slug, string content_type, DocumentsFolder? folder, Cancellable? cancellable = null) throws Error
Uploads a document to Google Documents, using the properties from
document
and the document data written to the resulting UploadStream.
- public UploadStream upload_document_resumable (DocumentsDocument? document, string slug, string content_type, int64 content_length, DocumentsUploadQuery? query, Cancellable? cancellable = null) throws Error
Uploads a document to Google Documents, using the properties from
document
and the document data written to the resulting UploadStream.
Inherited Members:
All known members inherited from class GData.Service
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GData.Batchable