MultipartUpload

class oci.object_storage.models.MultipartUpload(**kwargs)

Bases: object

Multipart uploads provide efficient and resilient uploads, especially for large objects. Multipart uploads also accommodate objects that are too large for a single upload operation. With multipart uploads, individual parts of an object can be uploaded in parallel to reduce the amount of time you spend uploading. Multipart uploads can also minimize the impact of network failures by letting you retry a failed part upload instead of requiring you to retry an entire object upload. See Using Multipart Uploads.

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.

__init__(**kwargs)

Initializes a new MultipartUpload object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • namespace (str) -- The value to assign to the namespace property of this MultipartUpload.
  • bucket (str) -- The value to assign to the bucket property of this MultipartUpload.
  • object (str) -- The value to assign to the object property of this MultipartUpload.
  • upload_id (str) -- The value to assign to the upload_id property of this MultipartUpload.
  • time_created (datetime) -- The value to assign to the time_created property of this MultipartUpload.
bucket

[Required] Gets the bucket of this MultipartUpload. The bucket in which the in-progress multipart upload is stored.

Returns:The bucket of this MultipartUpload.
Return type:str
namespace

[Required] Gets the namespace of this MultipartUpload. The Object Storage namespace in which the in-progress multipart upload is stored.

Returns:The namespace of this MultipartUpload.
Return type:str
object

[Required] Gets the object of this MultipartUpload. The object name of the in-progress multipart upload.

Returns:The object of this MultipartUpload.
Return type:str
time_created

[Required] Gets the time_created of this MultipartUpload. The date and time the upload was created, as described in RFC 2616, section 14.29.

Returns:The time_created of this MultipartUpload.
Return type:datetime
upload_id

[Required] Gets the upload_id of this MultipartUpload. The unique identifier for the in-progress multipart upload.

Returns:The upload_id of this MultipartUpload.
Return type:str