检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
Such objects are no different from other objects (you can perform normal operations on them such as download and delete), except that they are displayed as folders in OBS console.
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.
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.
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.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
e.printStackTrace(); } } } Deleting an Object The example below shows how to delete the object objectname from the bucket examplebucket.
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.
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.
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.
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.
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.
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.
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
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.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
The returned result of ObsClient.ListVersions includes the versioning objects and delete markers. Listing Versioning Objects in Simple Mode The following sample code shows how to list versioning objects in simple mode.