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

Bases: object

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.


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

  • parts_to_commit (list[CommitMultipartUploadPartDetails]) -- The value to assign to the parts_to_commit property of this CommitMultipartUploadDetails.
  • parts_to_exclude (list[int]) -- The value to assign to the parts_to_exclude property of this CommitMultipartUploadDetails.

[Required] Gets the parts_to_commit of this CommitMultipartUploadDetails. The part numbers and entity tags (ETags) for the parts to be committed.

Returns:The parts_to_commit of this CommitMultipartUploadDetails.
Return type:list[CommitMultipartUploadPartDetails]

Gets the parts_to_exclude of this CommitMultipartUploadDetails. The part numbers for the parts to be excluded from the completed object. Each part created for this upload must be in either partsToExclude or partsToCommit, but cannot be in both.

Returns:The parts_to_exclude of this CommitMultipartUploadDetails.
Return type:list[int]