GetBucketLifecycleRequest.cs 565 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. namespace COSXML.Model.Bucket
  6. {
  7. /// <summary>
  8. /// 查询 Bucket 的生命周期配置
  9. /// <see href="https://cloud.tencent.com/document/product/436/8278"/>
  10. /// </summary>
  11. public sealed class GetBucketLifecycleRequest : BucketRequest
  12. {
  13. public GetBucketLifecycleRequest(string bucket)
  14. : base(bucket)
  15. {
  16. this.method = CosRequestMethod.GET;
  17. this.queryParameters.Add("lifecycle", null);
  18. }
  19. }
  20. }