File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ public class PutPolicy
1414 [ JsonProperty ( "scope" ) ]
1515 public string Scope { get ; set ; }
1616
17+ /// <summary>
18+ /// [可选]若为 1,表示允许用户上传以 scope 的 keyPrefix 为前缀的文件。
19+ /// </summary>
20+ [ JsonProperty ( "isPrefixalScope" ) ]
21+ public int ? isPrefixalScope { get ; set ; }
22+
1723 /// <summary>
1824 /// [必需]上传策略失效时刻,请使用SetExpire来设置它
1925 /// </summary>
@@ -128,6 +134,12 @@ public class PutPolicy
128134 [ JsonProperty ( "deleteAfterDays" ) ]
129135 public int ? DeleteAfterDays { get ; set ; }
130136
137+ /// <summary>
138+ /// [可选]文件的存储类型,默认为普通存储,设置为1为低频存储
139+ /// </summary>
140+ [ JsonProperty ( "fileType" ) ]
141+ public int ? FileType { get ; set ; }
142+
131143 /// <summary>
132144 /// 设置上传凭证有效期(配置Deadline属性)
133145 /// </summary>
You can’t perform that action at this time.
0 commit comments