GetObjectACLRequest.cs 583 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. namespace COSXML.Model.Object
  6. {
  7. /// <summary>
  8. /// 获取某个存储桶下的某个对象的访问权限
  9. /// <see href="https://cloud.tencent.com/document/product/436/7744"/>
  10. /// </summary>
  11. public sealed class GetObjectACLRequest : ObjectRequest
  12. {
  13. public GetObjectACLRequest(string bucket, string key)
  14. : base(bucket, key)
  15. {
  16. this.method = CosRequestMethod.GET;
  17. this.queryParameters.Add("acl", null);
  18. }
  19. }
  20. }