PutBucketPolicyRequest.cs 401 B

1234567891011121314151617
  1. using COSXML.Common;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace COSXML.Model.Bucket
  6. {
  7. public sealed class PutBucketPolicyRequest : BucketRequest
  8. {
  9. public PutBucketPolicyRequest(string bucket)
  10. : base(bucket)
  11. {
  12. this.method = CosRequestMethod.PUT;
  13. this.queryParameters.Add("policy ", null);
  14. }
  15. }
  16. }