Skip to content

Commit a221a08

Browse files
committed
fix: 优化d.ts
1 parent 53378d0 commit a221a08

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,16 @@ declare namespace COS {
409409
}
410410
/** getBucket 接口返回值 */
411411
interface GetBucketResult extends GeneralResult {
412+
/** 存储桶的名称,格式为<BucketName-APPID>,例如examplebucket-1250000000 */
413+
Name: string;
414+
/** 对象键匹配前缀,对应请求中的 prefix 参数 */
415+
Prefix: string;
416+
/** 起始对象键标记,从该标记之后(不含)按照 UTF-8 字典序返回对象键条目,对应请求中的 marker 参数 */
417+
Marker: string;
418+
/** 单次响应返回结果的最大条目数量,对应请求中的 max-keys 参数 */
419+
MaxKeys: string;
420+
/** 编码格式,对应请求中的 encoding-type 参数,且仅当请求中指定了 encoding-type 参数才会返回该节点 */
421+
EncodingType?: string;
412422
/** 对象条目 */
413423
Contents: CosObject[];
414424
/** 从 prefix 或从头(如未指定 prefix)到首个 delimiter 之间相同的部分,定义为 Common Prefix。仅当请求中指定了 delimiter 参数才有可能返回该节点 */

0 commit comments

Comments
 (0)