@@ -1258,9 +1258,9 @@ declare namespace COS {
1258
1258
ResponseContentEncoding ?: string ;
1259
1259
/** 设置响应中的 Content-Language 头部的值 */
1260
1260
ResponseContentLanguage ?: string ;
1261
- /** 设置响应中的 Content-Type 头部的值 */
1262
- ResponseExpires ?: string ;
1263
1261
/** 设置响应中的 Expires 头部的值 */
1262
+ ResponseExpires ?: string ;
1263
+ /** 设置响应中的 Content-Type 头部的值 */
1264
1264
ResponseContentType ?: string ;
1265
1265
/** RFC 2616 中定义的字节范围,范围值必须使用 bytes=first-last 格式,first 和 last 都是基于0开始的偏移量。例如 bytes=0-9 表示下载对象的开头10个字节的数据 ,如果不指定,则表示下载整个对象 */
1266
1266
Range ?: string ;
@@ -2171,7 +2171,7 @@ declare class COS {
2171
2171
) : void ;
2172
2172
getBucketLocation ( params : COS . GetBucketLocationParams ) : Promise < COS . GetBucketLocationResult > ;
2173
2173
2174
- /** 获取 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8282 */
2174
+ /** 设置 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8282 */
2175
2175
putBucketPolicy (
2176
2176
params : COS . PutBucketPolicyParams ,
2177
2177
callback : ( err : COS . CosError , data : COS . PutBucketPolicyResult ) => void
@@ -2185,7 +2185,7 @@ declare class COS {
2185
2185
) : void ;
2186
2186
getBucketPolicy ( params : COS . GetBucketPolicyParams ) : Promise < COS . GetBucketPolicyResult > ;
2187
2187
2188
- /** 删除 Bucket 的 跨域设置 @see https://cloud.tencent.com/document/product/436/8285 */
2188
+ /** 删除 Bucket 的读取权限策略 @see https://cloud.tencent.com/document/product/436/8285 */
2189
2189
deleteBucketPolicy (
2190
2190
params : COS . DeleteBucketPolicyParams ,
2191
2191
callback : ( err : COS . CosError , data : COS . DeleteBucketPolicyResult ) => void
0 commit comments