CosGrantPermission.cs 540 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. using COSXML.Utils;
  6. namespace COSXML.Common
  7. {
  8. public enum CosGrantPermission
  9. {
  10. /// <summary>
  11. /// 只读权限
  12. /// </summary>
  13. [CosValue("READ")]
  14. Read = 0,
  15. /// <summary>
  16. /// 只写权限
  17. /// </summary>
  18. [CosValue("WRITE")]
  19. Write,
  20. /// <summary>
  21. /// 读写权限
  22. /// </summary>
  23. [CosValue("FULL_CONTROL")]
  24. FullControl
  25. }
  26. }