UploadOptions | @here/olp-sdk-ts
Interface UploadOptions
Hierarchy
- UploadOptions
Index
Properties
Optional billing Tag
An optional free-form tag used for grouping billing records together.
blob Version
The version of the blob storage.
Supports Blob API v1 and v2.
catalog Hrn
The HRN string of the catalog to upload.
Optional chunk SizeMB
The size of each chunk.
The minimum size is 5 MB, maximum – 5 GB. The default value is 5 MB. When an out-of-range value is provided, it is trimmed to the default value of 5 MB.
Optional content Encoding
The content encoding of the object being uploaded.
Must be equal to the layer content encoding.
content Type
The content type of the object being uploaded.
Must be equal to the layer content type.
handle
The data key to use for uploading.
If you use Blob API v1, the key is the data handle.
layer Id
The ID of the layer to upload.
Optional parallel Requests
Specifies how many parallel requests should be used for uploading chunks.
Default value: 6.
Methods
Optional on Start
Callback, triggered on multipart upload process starts.
Parameters
status: StartUploadStatus
Returns void
Optional on Status
Callback, triggered on each successfully uploaded chunk of data.
Parameters
status: UploadStatus
Returns void
Generated using TypeDoc
The options for uploading.