Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UploadPartRequest

example

Click here to see how to use UploadPartRequest.

Hierarchy

Properties

bucketName

bucketName: string

The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1

Optional contentLength

contentLength: undefined | number

The content length of the body.

Optional contentMD5

contentMD5: undefined | string

The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error is returned with the message:

\"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)\"

Optional expect

expect: undefined | string

100-continue

Optional ifMatch

ifMatch: undefined | string

The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload the resource.

Optional ifNoneMatch

ifNoneMatch: undefined | string

The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should fail if the resource already exists.

namespaceName

namespaceName: string

The Object Storage namespace used for the request.

objectName

objectName: string

The name of the object. Avoid entering confidential information. Example: test/object1.log

Optional opcClientRequestId

opcClientRequestId: undefined | string

The client request ID for tracing.

Optional opcSseCustomerAlgorithm

opcSseCustomerAlgorithm: undefined | string

The optional header that specifies "AES256" as the encryption algorithm. For more information, see Using Your Own Keys for Server-Side Encryption.

Optional opcSseCustomerKey

opcSseCustomerKey: undefined | string

The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the data. For more information, see Using Your Own Keys for Server-Side Encryption.

Optional opcSseCustomerKeySha256

opcSseCustomerKeySha256: undefined | string

The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key. For more information, see Using Your Own Keys for Server-Side Encryption.

Optional retryConfiguration

retryConfiguration: RetryConfiguration

RetryConfiguration to be used for the request NOTE : Retries are not supported for requests that have binary or stream bodies this also affects UploadManager operations For all requests with binary/stream bodies, retry attempts are not made

uploadId

uploadId: string

The upload ID for a multipart upload.

uploadPartBody

uploadPartBody: Blob | stream.Readable | ReadableStream | string

The part being uploaded to the Object Storage service.

uploadPartNum

uploadPartNum: number

The part number that identifies the object part currently being uploaded.