检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Request methods include Get, Post, Put, Delete, and Head. Select all of them. Allowed Header Optional. It specifies the allowed headers for cross-origin requests. Only CORS requests matching the allowed headers are valid.
However, a lifecycle rule can delete an empty directory upon expiration. File deletion upon expiration and transition to the Archive storage class can be configured using either the API or console, while transition to Infrequent Access can only be configured using the API.
ObsClient.enums.PermissionWrite WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not applicable to objects.
ObsClient.enums.PermissionWrite WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not applicable to objects.
Restrictions: None Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None AllowedOrigin string[] Yes if used as a request parameter Explanation: The origin that is allowed to access the bucket. Restrictions: Domain name of the origin.
AclPublicReadWrite public-read-write Public read/write If this permission is granted on a bucket, anyone can read the object list, multipart tasks, metadata, and object versions in the bucket, and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble
AclPublicReadWrite public-read-write Public read/write If this permission is granted on a bucket, anyone can read the object list, multipart tasks, metadata, and object versions in the bucket, and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble
If this permission is granted on a bucket, anyone can read the object list, multipart uploads, metadata, and object versions in the bucket and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble parts, copy parts, and abort multipart uploads.
Type: boolean Value range: false or true NOTE: If the value is true but the query contains signature information, delete the signature information and pass the remaining parameters.
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.
ObsClient.enums.PermissionWrite WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not applicable to objects.
A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not available for objects. PERMISSION_READ_ACP READ_ACP Permission to read an ACL.
e.printStackTrace(); } } } Deleting an Object The example below shows how to delete the object objectname from the bucket examplebucket.
Default value: None isDeleteMarker boolean Explanation: Whether the object version is a delete marker. Value range: true: The object version is a delete marker. false: The object version is not a delete marker.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None exposeHeaders List<String> Explanation: The CORS-allowed additional headers in the response. These headers provide additional information to clients.
Date: WED, 01 Jul 2015 04:19:21 GMT Content-Length: 0 x-obs-metadata-directive:REPLACE_NEW x-obs-meta-test:newmeta x-obs-storage-class:COLD Sample Request: Deleting Metadata of an Object Metadata x-obs-meta-test:newmeta and Content-Type:application/zip exist in the object, and delete
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None accessContorlExposeHeaders str Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.