update_bucket_rules

package
v7.25.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 1 Imported by: 0

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 所用的请求

type Response

type Response struct{}

获取 API 所用的响应

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL