GetBucketPolicyRequest.cs 546 B

123456789101112131415161718192021
  1. using COSXML.Common;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace COSXML.Model.Bucket
  6. {
  7. /// <summary>
  8. /// 获取 Bucket 权限策略
  9. /// <see href="https://cloud.tencent.com/document/product/436/8276"/>
  10. /// </summary>
  11. public sealed class GetBucketPolicyRequest : BucketRequest
  12. {
  13. public GetBucketPolicyRequest(string bucket)
  14. : base(bucket)
  15. {
  16. this.method = CosRequestMethod.GET;
  17. this.queryParameters.Add("policy", null);
  18. }
  19. }
  20. }