File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ type BucketDomainCertificateInfo struct {
8181 CustomCert * BucketDomainCustomCert `xml:"CustomCert,omitempty"`
8282}
8383type BucketDomainCustomCert struct {
84+ CertId string `xml:"CertId,omitempty"`
8485 Cert string `xml:"Cert,omitempty"`
8586 PrivateKey string `xml:"PrivateKey,omitempty"`
8687}
Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ type BucketOriginHostInfo struct {
6262}
6363
6464type BucketOriginFileInfo struct {
65+ // 兼容旧版本
66+ PrefixDirective bool `xml:"PrefixDirective,omitempty"`
67+ Prefix string `xml:"Prefix,omitempty"`
68+ Suffix string `xml:"Suffix,omitempty"`
69+ // 新版本
6570 PrefixConfiguration * OriginPrefixConfiguration `xml:"PrefixConfiguration,omitempty"`
6671 SuffixConfiguration * OriginSuffixConfiguration `xml:"SuffixConfiguration,omitempty"`
6772 FixedFileConfiguration * OriginFixedFileConfiguration `xml:"FixedFileConfiguration,omitempty"`
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626
2727const (
2828 // Version current go sdk version
29- Version = "0.7.63 "
29+ Version = "0.7.64 "
3030 UserAgent = "cos-go-sdk-v5/" + Version
3131 contentTypeXML = "application/xml"
3232 defaultServiceBaseURL = "http://service.cos.myqcloud.com"
You can’t perform that action at this time.
0 commit comments