Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions alibabacloud-gateway-oss/Teafile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scope": "alibabacloud",
"name": "GatewayOSS",
"version": "0.0.30",
"version": "0.0.31",
"main": "./main.tea",
"maintainers": [
{
Expand All @@ -26,9 +26,9 @@
},
"releases": {
"ts": "@alicloud/gateway-oss:^0.0.9",
"go": "github.com/alibabacloud-go/alibabacloud-gateway-oss/client:v0.0.20",
"java": "com.aliyun:alibabacloud-gateway-oss:0.0.19",
"python": "alibabacloud_gateway_oss:0.0.17",
"go": "github.com/alibabacloud-go/alibabacloud-gateway-oss/client:v0.0.21",
"java": "com.aliyun:alibabacloud-gateway-oss:0.0.20",
"python": "alibabacloud_gateway_oss:0.0.18",
"python2": "alibabacloud_gateway_oss_py2:0.0.9",
"csharp": "AlibabaCloud.GatewayOss:0.0.10",
"php": "alibabacloud/gateway-oss:^0.0.9"
Expand Down
2 changes: 1 addition & 1 deletion alibabacloud-gateway-oss/golang/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/alibabacloud-go/alibabacloud-gateway-oss
go 1.14

require (
github.com/alibabacloud-go/alibabacloud-gateway-oss-util v0.0.8
github.com/alibabacloud-go/alibabacloud-gateway-oss-util v0.0.9
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4
github.com/alibabacloud-go/darabonba-array v0.1.0
github.com/alibabacloud-go/darabonba-encode-util v0.0.2
Expand Down
2 changes: 1 addition & 1 deletion alibabacloud-gateway-oss/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>alibabacloud-gateway-oss-util</artifactId>
<version>0.0.7</version>
<version>0.0.8</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion alibabacloud-gateway-oss/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"alibabacloud_darabonba_encode_util>=0.0.2, <1.0.0",
"alibabacloud_darabonba_signature_util>=0.0.4, <1.0.0",
"alibabacloud_darabonba_time>=0.0.1, <1.0.0",
"alibabacloud_gateway_oss_util>=0.0.3, <1.0.0",
"alibabacloud_gateway_oss_util>=0.0.4, <1.0.0",
]

LONG_DESCRIPTION = ''
Expand Down
8 changes: 4 additions & 4 deletions alibabacloud-gateway-oss/util/Teafile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scope": "alibabacloud",
"name": "GatewayOSS_Util",
"version": "0.0.11",
"version": "0.0.12",
"main": "./main.tea",
"maintainers": [
{
Expand All @@ -12,9 +12,9 @@
"libraries": {
},
"releases": {
"go": "github.com/alibabacloud-go/alibabacloud-gateway-oss-util/client:v0.0.8",
"java": "com.aliyun:alibabacloud-gateway-oss-util:0.0.7",
"python": "alibabacloud_gateway_oss_util:0.0.3"
"go": "github.com/alibabacloud-go/alibabacloud-gateway-oss-util/client:v0.0.9",
"java": "com.aliyun:alibabacloud-gateway-oss-util:0.0.8",
"python": "alibabacloud_gateway_oss_util:0.0.4"
},
"csharp": {
"namespace": "AlibabaCloud.GatewayOss_Util",
Expand Down
10 changes: 10 additions & 0 deletions alibabacloud-gateway-oss/util/golang/client/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9648,6 +9648,7 @@ type LoggingEnabled struct {
// This parameter is required.
TargetBucket *string `json:"TargetBucket,omitempty" xml:"TargetBucket,omitempty"`
TargetPrefix *string `json:"TargetPrefix,omitempty" xml:"TargetPrefix,omitempty"`
LoggingRole *string `json:"LoggingRole,omitempty" xml:"LoggingRole,omitempty"`
}

func (s LoggingEnabled) String() string {
Expand All @@ -9666,6 +9667,10 @@ func (s *LoggingEnabled) GetTargetPrefix() *string {
return s.TargetPrefix
}

func (s *LoggingEnabled) GetLoggingRole() *string {
return s.LoggingRole
}

func (s *LoggingEnabled) SetTargetBucket(v string) *LoggingEnabled {
s.TargetBucket = &v
return s
Expand All @@ -9676,6 +9681,11 @@ func (s *LoggingEnabled) SetTargetPrefix(v string) *LoggingEnabled {
return s
}

func (s *LoggingEnabled) SetLoggingRole(v string) *LoggingEnabled {
s.LoggingRole = &v
return s
}

func (s *LoggingEnabled) Validate() error {
return dara.Validate(s)
}
Expand Down
2 changes: 1 addition & 1 deletion alibabacloud-gateway-oss/util/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.aliyun</groupId>
<artifactId>alibabacloud-gateway-oss-util</artifactId>
<version>0.0.7</version>
<version>0.0.8</version>
<packaging>jar</packaging>
<name>alibabacloud-gateway-oss-util</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ public class LoggingEnabled extends TeaModel {
@NameInMap("TargetPrefix")
public String targetPrefix;

@NameInMap("LoggingRole")
public String loggingRole;

public static LoggingEnabled build(java.util.Map<String, ?> map) throws Exception {
LoggingEnabled self = new LoggingEnabled();
return TeaModel.build(map, self);
Expand All @@ -34,4 +37,12 @@ public String getTargetPrefix() {
return this.targetPrefix;
}

public LoggingEnabled setLoggingRole(String loggingRole) {
this.loggingRole = loggingRole;
return this;
}
public String getLoggingRole() {
return this.loggingRole;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -1262,10 +1262,12 @@ def __init__(
self,
target_bucket: str = None,
target_prefix: str = None,
logging_role: str = None,
):
# This parameter is required.
self.target_bucket = target_bucket
self.target_prefix = target_prefix
self.logging_role = logging_role

def validate(self):
pass
Expand All @@ -1280,6 +1282,8 @@ def to_map(self):
result['TargetBucket'] = self.target_bucket
if self.target_prefix is not None:
result['TargetPrefix'] = self.target_prefix
if self.logging_role is not None:
result['LoggingRole'] = self.logging_role
return result

def from_map(self, m: dict = None):
Expand All @@ -1288,6 +1292,8 @@ def from_map(self, m: dict = None):
self.target_bucket = m.get('TargetBucket')
if m.get('TargetPrefix') is not None:
self.target_prefix = m.get('TargetPrefix')
if m.get('LoggingRole') is not None:
self.logging_role = m.get('LoggingRole')
return self


Expand Down
Loading