Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

authorizationDomain?: GData.AuthorizationDomain

The authorization domain for the upload, against which the #GDataService:authorizer for the #GDataDownloadStream:service should be authorized. This may be %NULL if authorization is not needed for the upload.

cancellable?: Gio.Cancellable

An optional cancellable used to cancel the entire upload operation. If a #GCancellable instance isn't provided for this property at construction time (i.e. to gdata_upload_stream_new()), one will be created internally and can be retrieved using gdata_upload_stream_get_cancellable() and used to cancel the upload operation with g_cancellable_cancel() just as if it was passed to gdata_upload_stream_new().

If the upload operation is cancelled using this #GCancellable, any ongoing network activity will be stopped, and any pending or future calls to #GOutputStream API on the #GDataUploadStream will return %G_IO_ERROR_CANCELLED. Note that the #GCancellable objects which can be passed to individual #GOutputStream operations will not cancel the upload operation proper if cancelled — they will merely cancel that API call. The only way to cancel the upload operation completely is using #GDataUploadStream:cancellable.

contentLength?: number

The content length (in bytes) of the file being uploaded (i.e. as returned by g_file_info_get_size()). Note that this does not include the length of the XML serialisation of #GDataUploadStream:entry, if set.

If this is -1 the upload will be non-resumable; if it is non-negative, the upload will be resumable.

contentType?: string

The content type of the file being uploaded (i.e. as returned by g_file_info_get_content_type()).

entry?: GData.Entry

The entry used for metadata to upload.

method?: string

The HTTP request method to use when uploading the file.

service?: GData.Service

The service which is used to authorize the upload, and to which the upload relates.

slug?: string

The slug of the file being uploaded. This is usually the display name of the file (i.e. as returned by g_file_info_get_display_name()).

uploadUri?: string

The URI to upload the data and metadata to. This must be HTTPS.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method