检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
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 exposeHeaders List<String> Explanation: The CORS-allowed additional headers in the response. These headers provide additional information to clients.
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.
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.
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.
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.
DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified. ContentLength string Explanation: Object size. CacheControl string Explanation: Cache-Control header in the response.
Table 5 GetObjectOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.
Table 5 GetObjectOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.
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.
Table 5 GetObjectOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.
Table 5 GetObjectOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.
Table 5 GetObjectOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.