Class CommitMultipartUploadRequest
Implements
Inherited Members
Namespace: Oci.ObjectstorageService.Requests
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class CommitMultipartUploadRequest : IOciRequest
Examples
Click here to see an example of how to use CommitMultipartUpload request.
Properties
BucketName
Declaration
[Required(ErrorMessage = "BucketName is required.")]
[HttpConverter(TargetEnum.Path, "bucketName")]
public string BucketName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1 |
Remarks
Required
CommitMultipartUploadDetails
Declaration
[Required(ErrorMessage = "CommitMultipartUploadDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public CommitMultipartUploadDetails CommitMultipartUploadDetails { get; set; }
Property Value
Type | Description |
---|---|
CommitMultipartUploadDetails | The part numbers and entity tags (ETags) for the parts you want to commit. |
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
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. |
IfNoneMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-none-match")]
public string IfNoneMatch { get; set; }
Property Value
Type | Description |
---|---|
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
Declaration
[Required(ErrorMessage = "NamespaceName is required.")]
[HttpConverter(TargetEnum.Path, "namespaceName")]
public string NamespaceName { get; set; }
Property Value
Type | Description |
---|---|
string | The Object Storage namespace used for the request. |
Remarks
Required
ObjectName
Declaration
[Required(ErrorMessage = "ObjectName is required.")]
[HttpConverter(TargetEnum.Path, "objectName")]
public string ObjectName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the object. Avoid entering confidential information. Example: test/object1.log |
Remarks
Required
OpcClientRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-client-request-id")]
public string OpcClientRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request ID for tracing. |
UploadId
Declaration
[Required(ErrorMessage = "UploadId is required.")]
[HttpConverter(TargetEnum.Query, "uploadId")]
public string UploadId { get; set; }
Property Value
Type | Description |
---|---|
string | The upload ID for a multipart upload. |
Remarks
Required