Skip to content

Commit 9b29d2f

Browse files
author
jojoliang
committed
getservice增加地域过滤,增加BucketType
1 parent c32d6a4 commit 9b29d2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bucket.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ type Bucket struct {
150150
Name string
151151
Region string `xml:"Location,omitempty"`
152152
CreationDate string `xml:",omitempty"`
153+
BucketType string `xml:",omitempty"`
153154
}
154155

155156
type BucketGetObjectVersionsOptions struct {

service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type ServiceGetOptions struct {
2626
Marker string `url:"marker,omitempty"`
2727
Range string `url:"range,omitempty"`
2828
CreateTime int64 `url:"create-time,omitempty"`
29+
Region string `url:"region,omitempty"`
2930
}
3031

3132
// Get Service 接口实现获取该用户下所有Bucket列表。

0 commit comments

Comments
 (0)