Documentation
¶
Overview ¶
更新空间规则
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
Bucket string // 空间名称
Name string // 要修改的规则名称
Prefix string // 指定匹配的对象名称前缀
DeleteAfterDays int64 // 指定上传文件多少天后删除,指定为 0 表示不删除,大于 0 表示多少天后删除
ToIaAfterDays int64 // 指定文件上传多少天后转低频存储。指定为 0 表示不转低频存储
ToArchiveAfterDays int64 // 指定文件上传多少天后转归档存储。指定为 0 表示不转归档存储
ToDeepArchiveAfterDays int64 // 指定文件上传多少天后转深度归档存储。指定为 0 表示不转深度归档存储
ToArchiveIrAfterDays int64 // 指定文件上传多少天后转归档直读存储。指定为 0 表示不转归档直读存储
}
调用 API 所用的请求
Click to show internal directories.
Click to hide internal directories.