modify_object_life_cycle

package
v7.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 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 {
	Entry                  string                          // 指定目标对象空间与目标对象名称,格式为 <目标对象空间>:<目标对象名称>
	ToIaAfterDays          int64                           // 指定文件上传后在设置的 ToIAAfterDays 转换到低频存储类型,设置为 -1 表示取消已设置的转低频存储的生命周期规则
	ToArchiveAfterDays     int64                           // 指定文件上传后在设置的 toArchiveAfterDays 转换到归档存储类型, 设置为 -1 表示取消已设置的转归档存储的生命周期规则
	ToDeepArchiveAfterDays int64                           // 指定文件上传后在设置的 toDeepArchiveAfterDays 转换到深度归档存储类型, 设置为 -1 表示取消已设置的转深度归档存储的生命周期规则
	ToArchiveIrAfterDays   int64                           // 指定文件上传后在设置的 toArchiveIRAfterDays 转换到归档直读存储类型, 设置为 -1 表示取消已设置的转归档直读存储的生命周期规则
	DeleteAfterDays        int64                           // 指定文件上传后在设置的 DeleteAfterDays 过期删除,删除后不可恢复,设置为 -1 表示取消已设置的过期删除的生命周期规则
	Credentials            credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider
}

调用 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