github.com/qiniu/go-sdk/v7@v7.27.0/storagev2/apis/set_bucket_quota/api.go (about) 1 // THIS FILE IS GENERATED BY api-generator, DO NOT EDIT DIRECTLY! 2 3 // 设置用户存储空间配额限制 4 package set_bucket_quota 5 6 import credentials "github.com/qiniu/go-sdk/v7/storagev2/credentials" 7 8 // 调用 API 所用的请求 9 type Request struct { 10 Bucket string // 指定存储空间 11 Size int64 // 空间存储量配额,参数传入 0 或不传表示不更改当前配置,传入 -1 表示取消限额 12 Count int64 // 空间文件数配额,参数传入 0 或不传表示不更改当前配置,传入 -1 表示取消限额 13 Credentials credentials.CredentialsProvider // 鉴权参数,用于生成鉴权凭证,如果为空,则使用 HTTPClientOptions 中的 CredentialsProvider 14 } 15 16 // 获取 API 所用的响应 17 type Response struct{}