QCloudGetBucketInventoryRequest Class Reference
Inherits from | QCloudBizHTTPRequest |
---|---|
Declared in | QCloudGetBucketInventoryRequest.h QCloudGetBucketInventoryRequest.m |
Overview
查询存储桶中用户的清单任务信息。
功能说明
用户在发起该请求时,需要用户提供清单任务的名称,发起该请求时需获得请求签名,表明该请求已获得许可。
关于查询存储桶中用户的清单任务信息接口的具体描述,请参考: https://cloud.tencent.com/document/product/436/33705。
示例
@code
QCloudGetBucketInventoryRequest *getReq = [QCloudGetBucketInventoryRequest new];
// 存储桶名称,格式为 BucketName-APPID
getReq.bucket = @"examplebucket-1250000000";
// 清单任务的名称
getReq.inventoryID = @"list1";
[getReq setFinishBlock:^(QCloudInventoryConfiguration * _Nonnull result,
NSError * _Nonnull error) {
}];
[[QCloudCOSXMLService defaultCOSXML] GetBucketInventory:getReq];
bucket
存储桶名
@property (strong, nonatomic) NSString *bucket
Declared In
QCloudGetBucketInventoryRequest.h
inventoryID
清单任务的名称。缺省值:None 合法字符:a-z,A-Z,0-9,-,_,.
@property (strong, nonatomic) NSString *inventoryID
Declared In
QCloudGetBucketInventoryRequest.h