检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
If versioning is enabled or suspended for a bucket, you can set this parameter to delete historical versions of objects that match the lifecycle rule. Range: For details, see Table 6.
You can delete unnecessary log files to reduce storage costs. Configuring lifecycle rules for scheduled deletion is recommended.
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.