QCloudDeleteBucketInventoryRequest Class Reference

Inherits from QCloudBizHTTPRequest
Declared in QCloudDeleteBucketInventoryRequest.h
QCloudDeleteBucketInventoryRequest.m

Overview

删除存储桶中指定的清单任务的方法.

功能说明

用户需提供待删除的清单任务的名称.

删除存储桶中指定的清单任务接口的具体描述,请查看https://cloud.tencent.com/document/product/436/33704.

示例

@code

 QCloudDeleteBucketInventoryRequest *delReq = [QCloudDeleteBucketInventoryRequest new];

 // 存储桶名称,格式为 BucketName-APPID
 delReq.bucket = @"examplebucket-1250000000";

 // 清单任务的名称
 delReq.inventoryID = @"list1";

 [delReq setFinishBlock:^(id outputObject, NSError *error) {
     // 可以从 outputObject 中获取 response 中 etag 或者自定义头部等信息
     NSDictionary * result = (NSDictionary *)outputObject;

 }];
 [[QCloudCOSXMLService defaultCOSXML] DeleteBucketInventory:delReq];

  bucket

存储桶名

@property (strong, nonatomic) NSString *bucket

Declared In

QCloudDeleteBucketInventoryRequest.h