UploadBlobRequest | @here/olp-sdk-ts
Class UploadBlobRequest
Hierarchy
- UploadBlobRequest
Index
Constructors
constructor
Returns UploadBlobRequest
Methods
get Billing Tag
Gets the billing tag (if it was set).
Returns undefined | string
The billing tag or
undefinedif it was not set.
get Content Encoding
Gets the content encoding of the data to upload.
Returns undefined | string
The content encoding of the data to upload.
get Content Type
Gets the content type of the data to upload.
Returns undefined | string
The content type of the data to upload.
get Data
Gets the data (if it was set).
Returns undefined | ArrayBuffer | Buffer
The data previously set or undefined.
get Data Handle
Gets the data handle of the data to upload.
Returns undefined | string
The data handle of the data to upload.
get Layer Id
Gets the ID of the layer.
Returns undefined | string
The ID of the layer.
with Billing Tag
Sets the billing tag.
Parameters
tag: string
The free-form tag that is used for grouping billing records together. If supplied, it must be 4–16 characters long and contain only alphanumeric ASCII characters [A–Za–z0–9].
Returns UploadBlobRequest
A reference to this object.
with Content Encoding
Sets the content encoding of the data to upload.
Can be
gzipor identity.Parameters
contentEncoding: string
The content encoding of the data to upload.
Returns UploadBlobRequest
A reference to this object
with Content Type
Sets the content type of the data to upload.
Parameters
contentType: string
the content type of the data to upload.
Returns UploadBlobRequest
A reference to this object
with Data
Sets the data to upload.
Parameters
data: ArrayBuffer | Buffer
The buffer of the data to upload.
Returns UploadBlobRequest
A reference to this object
with Data Handle
Sets the data handle of the data to upload.
Parameters
dataHandle: string
Returns UploadBlobRequest
A reference to this object
with Layer Id
Sets the ID of the layer.
Parameters
id: string
the ID of the layer.
Returns UploadBlobRequest
A reference to this object
Generated using TypeDoc
Uupload data to the DS.