huaweicloudsdkobs 3.1.75__py2.py3-none-any.whl → 3.1.77__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. huaweicloudsdkobs/v1/__init__.py +0 -1
  2. huaweicloudsdkobs/v1/model/__init__.py +0 -1
  3. huaweicloudsdkobs/v1/model/bucket.py +15 -15
  4. huaweicloudsdkobs/v1/model/contents.py +18 -18
  5. huaweicloudsdkobs/v1/model/copy_object_request.py +78 -78
  6. huaweicloudsdkobs/v1/model/copy_object_response.py +3 -3
  7. huaweicloudsdkobs/v1/model/create_bucket_request.py +51 -51
  8. huaweicloudsdkobs/v1/model/create_bucket_request_body.py +3 -3
  9. huaweicloudsdkobs/v1/model/delete_bucket_customdomain_request.py +9 -9
  10. huaweicloudsdkobs/v1/model/delete_bucket_request.py +6 -6
  11. huaweicloudsdkobs/v1/model/delete_object.py +6 -6
  12. huaweicloudsdkobs/v1/model/delete_object_request.py +12 -12
  13. huaweicloudsdkobs/v1/model/delete_objects_request.py +12 -12
  14. huaweicloudsdkobs/v1/model/delete_objects_request_body.py +6 -6
  15. huaweicloudsdkobs/v1/model/delete_objects_response.py +3 -3
  16. huaweicloudsdkobs/v1/model/delete_result_deleted.py +12 -12
  17. huaweicloudsdkobs/v1/model/delete_result_error.py +9 -9
  18. huaweicloudsdkobs/v1/model/domains.py +9 -9
  19. huaweicloudsdkobs/v1/model/filter_rule.py +6 -6
  20. huaweicloudsdkobs/v1/model/function_stage_configuration.py +12 -12
  21. huaweicloudsdkobs/v1/model/get_bucket_acl_request.py +9 -9
  22. huaweicloudsdkobs/v1/model/get_bucket_customdomain_request.py +9 -9
  23. huaweicloudsdkobs/v1/model/get_bucket_customdomain_response.py +5 -9
  24. huaweicloudsdkobs/v1/model/get_bucket_metadata_request.py +12 -12
  25. huaweicloudsdkobs/v1/model/get_bucket_notification_request.py +9 -9
  26. huaweicloudsdkobs/v1/model/get_object_metadata_request.py +33 -33
  27. huaweicloudsdkobs/v1/model/get_object_request.py +60 -60
  28. huaweicloudsdkobs/v1/model/grant.py +6 -6
  29. huaweicloudsdkobs/v1/model/grantee.py +6 -6
  30. huaweicloudsdkobs/v1/model/list_buckets_request.py +6 -6
  31. huaweicloudsdkobs/v1/model/list_buckets_response.py +4 -4
  32. huaweicloudsdkobs/v1/model/list_objects_request.py +27 -27
  33. huaweicloudsdkobs/v1/model/list_objects_response.py +27 -27
  34. huaweicloudsdkobs/v1/model/owner.py +3 -3
  35. huaweicloudsdkobs/v1/model/put_object_request.py +60 -60
  36. huaweicloudsdkobs/v1/model/set_bucket_acl_request.py +12 -12
  37. huaweicloudsdkobs/v1/model/set_bucket_custom_domain_body.py +15 -15
  38. huaweicloudsdkobs/v1/model/set_bucket_customedomain_request.py +9 -9
  39. huaweicloudsdkobs/v1/model/set_bucket_notification_request.py +9 -9
  40. huaweicloudsdkobs/v1/model/topic_configuration.py +9 -9
  41. huaweicloudsdkobs/v1/obs_async_client.py +543 -557
  42. huaweicloudsdkobs/v1/obs_client.py +543 -557
  43. {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/METADATA +2 -2
  44. huaweicloudsdkobs-3.1.77.dist-info/RECORD +70 -0
  45. huaweicloudsdkobs/v1/model/buckets.py +0 -117
  46. huaweicloudsdkobs-3.1.75.dist-info/RECORD +0 -71
  47. {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/LICENSE +0 -0
  48. {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/WHEEL +0 -0
  49. {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/top_level.txt +0 -0
@@ -39,15 +39,15 @@ class SetBucketCustomDomainBody:
39
39
 
40
40
  The model defined in huaweicloud sdk
41
41
 
42
- :param name: 证书名称。字符长度为3~63位。
42
+ :param name: Certificate name, a string of 3 to 63 characters.
43
43
  :type name: str
44
- :param certificate_id: 自定义域名证书ID。
44
+ :param certificate_id: Certificate id.
45
45
  :type certificate_id: str
46
- :param certificate: 证书内容,可包含中间证书及根证书。若certificate_chain字段传入证书链,则该字段只取证书本身。回车换行需要使用转义字符\\n或者\\r\\n替换。
46
+ :param certificate: Indicates the certificate content, including the intermediate certificate and root certificate. If the certificate_chain field is set to a certificate chain, this field uses only the certificate itself. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
47
47
  :type certificate: str
48
- :param certificate_chain: 证书内容,可包含中间证书及根证书。若certificate_chain字段传入证书链,则该字段只取证书本身。回车换行需要使用转义字符\\n或者\\r\\n替换。
48
+ :param certificate_chain: Indicates the certificate content, including the intermediate certificate and root certificate. If the certificate_chain field is set to a certificate chain, this field uses only the certificate itself. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
49
49
  :type certificate_chain: str
50
- :param private_key: 证书私钥。 不能上传带有口令保护的私钥,回车换行需要使用转义字符\\n或者\\r\\n替换。
50
+ :param private_key: Private key of the certificate. The private key with password protection cannot be uploaded. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
51
51
  :type private_key: str
52
52
  """
53
53
 
@@ -72,7 +72,7 @@ class SetBucketCustomDomainBody:
72
72
  def name(self):
73
73
  """Gets the name of this SetBucketCustomDomainBody.
74
74
 
75
- 证书名称。字符长度为3~63位。
75
+ Certificate name, a string of 3 to 63 characters.
76
76
 
77
77
  :return: The name of this SetBucketCustomDomainBody.
78
78
  :rtype: str
@@ -83,7 +83,7 @@ class SetBucketCustomDomainBody:
83
83
  def name(self, name):
84
84
  """Sets the name of this SetBucketCustomDomainBody.
85
85
 
86
- 证书名称。字符长度为3~63位。
86
+ Certificate name, a string of 3 to 63 characters.
87
87
 
88
88
  :param name: The name of this SetBucketCustomDomainBody.
89
89
  :type name: str
@@ -94,7 +94,7 @@ class SetBucketCustomDomainBody:
94
94
  def certificate_id(self):
95
95
  """Gets the certificate_id of this SetBucketCustomDomainBody.
96
96
 
97
- 自定义域名证书ID。
97
+ Certificate id.
98
98
 
99
99
  :return: The certificate_id of this SetBucketCustomDomainBody.
100
100
  :rtype: str
@@ -105,7 +105,7 @@ class SetBucketCustomDomainBody:
105
105
  def certificate_id(self, certificate_id):
106
106
  """Sets the certificate_id of this SetBucketCustomDomainBody.
107
107
 
108
- 自定义域名证书ID。
108
+ Certificate id.
109
109
 
110
110
  :param certificate_id: The certificate_id of this SetBucketCustomDomainBody.
111
111
  :type certificate_id: str
@@ -116,7 +116,7 @@ class SetBucketCustomDomainBody:
116
116
  def certificate(self):
117
117
  """Gets the certificate of this SetBucketCustomDomainBody.
118
118
 
119
- 证书内容,可包含中间证书及根证书。若certificate_chain字段传入证书链,则该字段只取证书本身。回车换行需要使用转义字符\\n或者\\r\\n替换。
119
+ Indicates the certificate content, including the intermediate certificate and root certificate. If the certificate_chain field is set to a certificate chain, this field uses only the certificate itself. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
120
120
 
121
121
  :return: The certificate of this SetBucketCustomDomainBody.
122
122
  :rtype: str
@@ -127,7 +127,7 @@ class SetBucketCustomDomainBody:
127
127
  def certificate(self, certificate):
128
128
  """Sets the certificate of this SetBucketCustomDomainBody.
129
129
 
130
- 证书内容,可包含中间证书及根证书。若certificate_chain字段传入证书链,则该字段只取证书本身。回车换行需要使用转义字符\\n或者\\r\\n替换。
130
+ Indicates the certificate content, including the intermediate certificate and root certificate. If the certificate_chain field is set to a certificate chain, this field uses only the certificate itself. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
131
131
 
132
132
  :param certificate: The certificate of this SetBucketCustomDomainBody.
133
133
  :type certificate: str
@@ -138,7 +138,7 @@ class SetBucketCustomDomainBody:
138
138
  def certificate_chain(self):
139
139
  """Gets the certificate_chain of this SetBucketCustomDomainBody.
140
140
 
141
- 证书内容,可包含中间证书及根证书。若certificate_chain字段传入证书链,则该字段只取证书本身。回车换行需要使用转义字符\\n或者\\r\\n替换。
141
+ Indicates the certificate content, including the intermediate certificate and root certificate. If the certificate_chain field is set to a certificate chain, this field uses only the certificate itself. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
142
142
 
143
143
  :return: The certificate_chain of this SetBucketCustomDomainBody.
144
144
  :rtype: str
@@ -149,7 +149,7 @@ class SetBucketCustomDomainBody:
149
149
  def certificate_chain(self, certificate_chain):
150
150
  """Sets the certificate_chain of this SetBucketCustomDomainBody.
151
151
 
152
- 证书内容,可包含中间证书及根证书。若certificate_chain字段传入证书链,则该字段只取证书本身。回车换行需要使用转义字符\\n或者\\r\\n替换。
152
+ Indicates the certificate content, including the intermediate certificate and root certificate. If the certificate_chain field is set to a certificate chain, this field uses only the certificate itself. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
153
153
 
154
154
  :param certificate_chain: The certificate_chain of this SetBucketCustomDomainBody.
155
155
  :type certificate_chain: str
@@ -160,7 +160,7 @@ class SetBucketCustomDomainBody:
160
160
  def private_key(self):
161
161
  """Gets the private_key of this SetBucketCustomDomainBody.
162
162
 
163
- 证书私钥。 不能上传带有口令保护的私钥,回车换行需要使用转义字符\\n或者\\r\\n替换。
163
+ Private key of the certificate. The private key with password protection cannot be uploaded. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
164
164
 
165
165
  :return: The private_key of this SetBucketCustomDomainBody.
166
166
  :rtype: str
@@ -171,7 +171,7 @@ class SetBucketCustomDomainBody:
171
171
  def private_key(self, private_key):
172
172
  """Sets the private_key of this SetBucketCustomDomainBody.
173
173
 
174
- 证书私钥。 不能上传带有口令保护的私钥,回车换行需要使用转义字符\\n或者\\r\\n替换。
174
+ Private key of the certificate. The private key with password protection cannot be uploaded. The carriage return line feed must be replaced with the escape character \\n or \\r\\n.
175
175
 
176
176
  :param private_key: The private_key of this SetBucketCustomDomainBody.
177
177
  :type private_key: str
@@ -37,11 +37,11 @@ class SetBucketCustomedomainRequest:
37
37
 
38
38
  The model defined in huaweicloud sdk
39
39
 
40
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
40
+ :param date: Time when a request was initiated, for example, **Wed, 27 Jun 2018 13:39:15 +0000**. Default value: none Restriction: This header is optional if the **x-obs-date** header is contained in the request, but mandatory in other circumstances.
41
41
  :type date: str
42
- :param bucket_name: 请求的桶名称。
42
+ :param bucket_name: Name of the requested bucket
43
43
  :type bucket_name: str
44
- :param customdomain: 桶的自定义域名。 类型:字符串,必须满足域名规则。 规格:最长256字节。 默认值:无。 约束:一个桶最多可以设置30个自定义域名,一个自定义域名只能被一个桶使用。
44
+ :param customdomain: Custom domain name of the bucket. Type: string, which must meet the naming conventions of domain names. Specifications: The value contains a maximum of 256 bytes. Default value: none Restriction: A bucket can have a maximum of 30 domain names. A custom domain name can be used for only one bucket.
45
45
  :type customdomain: str
46
46
  :param body: Body of the SetBucketCustomedomainRequest
47
47
  :type body: :class:`huaweicloudsdkobs.v1.SetBucketCustomDomainBody`
@@ -66,7 +66,7 @@ class SetBucketCustomedomainRequest:
66
66
  def date(self):
67
67
  """Gets the date of this SetBucketCustomedomainRequest.
68
68
 
69
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
69
+ Time when a request was initiated, for example, **Wed, 27 Jun 2018 13:39:15 +0000**. Default value: none Restriction: This header is optional if the **x-obs-date** header is contained in the request, but mandatory in other circumstances.
70
70
 
71
71
  :return: The date of this SetBucketCustomedomainRequest.
72
72
  :rtype: str
@@ -77,7 +77,7 @@ class SetBucketCustomedomainRequest:
77
77
  def date(self, date):
78
78
  """Sets the date of this SetBucketCustomedomainRequest.
79
79
 
80
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
80
+ Time when a request was initiated, for example, **Wed, 27 Jun 2018 13:39:15 +0000**. Default value: none Restriction: This header is optional if the **x-obs-date** header is contained in the request, but mandatory in other circumstances.
81
81
 
82
82
  :param date: The date of this SetBucketCustomedomainRequest.
83
83
  :type date: str
@@ -88,7 +88,7 @@ class SetBucketCustomedomainRequest:
88
88
  def bucket_name(self):
89
89
  """Gets the bucket_name of this SetBucketCustomedomainRequest.
90
90
 
91
- 请求的桶名称。
91
+ Name of the requested bucket
92
92
 
93
93
  :return: The bucket_name of this SetBucketCustomedomainRequest.
94
94
  :rtype: str
@@ -99,7 +99,7 @@ class SetBucketCustomedomainRequest:
99
99
  def bucket_name(self, bucket_name):
100
100
  """Sets the bucket_name of this SetBucketCustomedomainRequest.
101
101
 
102
- 请求的桶名称。
102
+ Name of the requested bucket
103
103
 
104
104
  :param bucket_name: The bucket_name of this SetBucketCustomedomainRequest.
105
105
  :type bucket_name: str
@@ -110,7 +110,7 @@ class SetBucketCustomedomainRequest:
110
110
  def customdomain(self):
111
111
  """Gets the customdomain of this SetBucketCustomedomainRequest.
112
112
 
113
- 桶的自定义域名。 类型:字符串,必须满足域名规则。 规格:最长256字节。 默认值:无。 约束:一个桶最多可以设置30个自定义域名,一个自定义域名只能被一个桶使用。
113
+ Custom domain name of the bucket. Type: string, which must meet the naming conventions of domain names. Specifications: The value contains a maximum of 256 bytes. Default value: none Restriction: A bucket can have a maximum of 30 domain names. A custom domain name can be used for only one bucket.
114
114
 
115
115
  :return: The customdomain of this SetBucketCustomedomainRequest.
116
116
  :rtype: str
@@ -121,7 +121,7 @@ class SetBucketCustomedomainRequest:
121
121
  def customdomain(self, customdomain):
122
122
  """Sets the customdomain of this SetBucketCustomedomainRequest.
123
123
 
124
- 桶的自定义域名。 类型:字符串,必须满足域名规则。 规格:最长256字节。 默认值:无。 约束:一个桶最多可以设置30个自定义域名,一个自定义域名只能被一个桶使用。
124
+ Custom domain name of the bucket. Type: string, which must meet the naming conventions of domain names. Specifications: The value contains a maximum of 256 bytes. Default value: none Restriction: A bucket can have a maximum of 30 domain names. A custom domain name can be used for only one bucket.
125
125
 
126
126
  :param customdomain: The customdomain of this SetBucketCustomedomainRequest.
127
127
  :type customdomain: str
@@ -37,11 +37,11 @@ class SetBucketNotificationRequest:
37
37
 
38
38
  The model defined in huaweicloud sdk
39
39
 
40
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
40
+ :param date: Time when a request was initiated, for example, **Wed, 27 Jun 2018 13:39:15 +0000**. Default value: none Restriction: This header is optional if the **x-obs-date** header is contained in the request, but mandatory in other circumstances.
41
41
  :type date: str
42
- :param bucket_name: 请求的桶名称。
42
+ :param bucket_name: Name of the requested bucket
43
43
  :type bucket_name: str
44
- :param notification: notification表示请求桶的消息通知配置API
44
+ :param notification: Indicates the notification configuration API of the bucket.
45
45
  :type notification: str
46
46
  :param body: Body of the SetBucketNotificationRequest
47
47
  :type body: :class:`huaweicloudsdkobs.v1.SetBucketNotificationRequestBody`
@@ -66,7 +66,7 @@ class SetBucketNotificationRequest:
66
66
  def date(self):
67
67
  """Gets the date of this SetBucketNotificationRequest.
68
68
 
69
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
69
+ Time when a request was initiated, for example, **Wed, 27 Jun 2018 13:39:15 +0000**. Default value: none Restriction: This header is optional if the **x-obs-date** header is contained in the request, but mandatory in other circumstances.
70
70
 
71
71
  :return: The date of this SetBucketNotificationRequest.
72
72
  :rtype: str
@@ -77,7 +77,7 @@ class SetBucketNotificationRequest:
77
77
  def date(self, date):
78
78
  """Sets the date of this SetBucketNotificationRequest.
79
79
 
80
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
80
+ Time when a request was initiated, for example, **Wed, 27 Jun 2018 13:39:15 +0000**. Default value: none Restriction: This header is optional if the **x-obs-date** header is contained in the request, but mandatory in other circumstances.
81
81
 
82
82
  :param date: The date of this SetBucketNotificationRequest.
83
83
  :type date: str
@@ -88,7 +88,7 @@ class SetBucketNotificationRequest:
88
88
  def bucket_name(self):
89
89
  """Gets the bucket_name of this SetBucketNotificationRequest.
90
90
 
91
- 请求的桶名称。
91
+ Name of the requested bucket
92
92
 
93
93
  :return: The bucket_name of this SetBucketNotificationRequest.
94
94
  :rtype: str
@@ -99,7 +99,7 @@ class SetBucketNotificationRequest:
99
99
  def bucket_name(self, bucket_name):
100
100
  """Sets the bucket_name of this SetBucketNotificationRequest.
101
101
 
102
- 请求的桶名称。
102
+ Name of the requested bucket
103
103
 
104
104
  :param bucket_name: The bucket_name of this SetBucketNotificationRequest.
105
105
  :type bucket_name: str
@@ -110,7 +110,7 @@ class SetBucketNotificationRequest:
110
110
  def notification(self):
111
111
  """Gets the notification of this SetBucketNotificationRequest.
112
112
 
113
- notification表示请求桶的消息通知配置API
113
+ Indicates the notification configuration API of the bucket.
114
114
 
115
115
  :return: The notification of this SetBucketNotificationRequest.
116
116
  :rtype: str
@@ -121,7 +121,7 @@ class SetBucketNotificationRequest:
121
121
  def notification(self, notification):
122
122
  """Sets the notification of this SetBucketNotificationRequest.
123
123
 
124
- notification表示请求桶的消息通知配置API
124
+ Indicates the notification configuration API of the bucket.
125
125
 
126
126
  :param notification: The notification of this SetBucketNotificationRequest.
127
127
  :type notification: str
@@ -37,13 +37,13 @@ class TopicConfiguration:
37
37
 
38
38
  The model defined in huaweicloud sdk
39
39
 
40
- :param id: 每项事件通知配置的唯一标识,若是用户未指定ID,系统将自动分配一个ID
40
+ :param id: Unique ID of each event notification. If you do not specify an ID, the system assigns one.
41
41
  :type id: str
42
42
  :param filter:
43
43
  :type filter: :class:`huaweicloudsdkobs.v1.TopicConfigurationFilter`
44
- :param topic: 事件通知主题的URN,当OBS检测到桶中发生特定的事件后,将会发布通知消息至该主题,可以在[消息通知服务主题](https://console.huaweicloud.com/smn/?region=cn-north-4#/topics/list)部分找到具体值。 模板:<Topic>urn:smn:region:project_id:smn_topic</Topic>
44
+ :param topic: URN of the event notification topic. When OBS detects a specific event in a bucket, it publishes a notification message to this topic. You can find the topic's URN on the [Topics](https://console-intl.huaweicloud.com/smn/?agencyId=7b00025342f14bcabb245478269c6593&region=cn-east-3&locale=en-us#/topics/list) page of the SMN console. Template: <Topic>urn:smn:region:project_id:smn_topic</Topic>
45
45
  :type topic: str
46
- :param event: 需要发布通知消息的事件类型。 说明:在一个TopicConfiguration、FunctionStageConfiguration配置项中可以添加多个事件类型。 合法值: 上传对象操作可以取以下值: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload 或者使用通配符支持所有上传操作 ObjectCreated:* 删除对象操作可以取以下值: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated 或者使用通配符支持所有删除操作 ObjectRemoved:*
46
+ :param event: Event types for which OBS sends notifications. Multiple event types can be added in one **TopicConfiguration** or **FunctionGraphConfiguration** item. Value options: Choose from the following for object upload operations: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload Or use a wildcard character to support all upload operations: ObjectCreated:* Choose from the following for object delete operations: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated Or use a wildcard character to support all delete operations: ObjectRemoved:*
47
47
  :type event: str
48
48
  """
49
49
 
@@ -68,7 +68,7 @@ class TopicConfiguration:
68
68
  def id(self):
69
69
  """Gets the id of this TopicConfiguration.
70
70
 
71
- 每项事件通知配置的唯一标识,若是用户未指定ID,系统将自动分配一个ID
71
+ Unique ID of each event notification. If you do not specify an ID, the system assigns one.
72
72
 
73
73
  :return: The id of this TopicConfiguration.
74
74
  :rtype: str
@@ -79,7 +79,7 @@ class TopicConfiguration:
79
79
  def id(self, id):
80
80
  """Sets the id of this TopicConfiguration.
81
81
 
82
- 每项事件通知配置的唯一标识,若是用户未指定ID,系统将自动分配一个ID
82
+ Unique ID of each event notification. If you do not specify an ID, the system assigns one.
83
83
 
84
84
  :param id: The id of this TopicConfiguration.
85
85
  :type id: str
@@ -108,7 +108,7 @@ class TopicConfiguration:
108
108
  def topic(self):
109
109
  """Gets the topic of this TopicConfiguration.
110
110
 
111
- 事件通知主题的URN,当OBS检测到桶中发生特定的事件后,将会发布通知消息至该主题,可以在[消息通知服务主题](https://console.huaweicloud.com/smn/?region=cn-north-4#/topics/list)部分找到具体值。 模板:<Topic>urn:smn:region:project_id:smn_topic</Topic>
111
+ URN of the event notification topic. When OBS detects a specific event in a bucket, it publishes a notification message to this topic. You can find the topic's URN on the [Topics](https://console-intl.huaweicloud.com/smn/?agencyId=7b00025342f14bcabb245478269c6593&region=cn-east-3&locale=en-us#/topics/list) page of the SMN console. Template: <Topic>urn:smn:region:project_id:smn_topic</Topic>
112
112
 
113
113
  :return: The topic of this TopicConfiguration.
114
114
  :rtype: str
@@ -119,7 +119,7 @@ class TopicConfiguration:
119
119
  def topic(self, topic):
120
120
  """Sets the topic of this TopicConfiguration.
121
121
 
122
- 事件通知主题的URN,当OBS检测到桶中发生特定的事件后,将会发布通知消息至该主题,可以在[消息通知服务主题](https://console.huaweicloud.com/smn/?region=cn-north-4#/topics/list)部分找到具体值。 模板:<Topic>urn:smn:region:project_id:smn_topic</Topic>
122
+ URN of the event notification topic. When OBS detects a specific event in a bucket, it publishes a notification message to this topic. You can find the topic's URN on the [Topics](https://console-intl.huaweicloud.com/smn/?agencyId=7b00025342f14bcabb245478269c6593&region=cn-east-3&locale=en-us#/topics/list) page of the SMN console. Template: <Topic>urn:smn:region:project_id:smn_topic</Topic>
123
123
 
124
124
  :param topic: The topic of this TopicConfiguration.
125
125
  :type topic: str
@@ -130,7 +130,7 @@ class TopicConfiguration:
130
130
  def event(self):
131
131
  """Gets the event of this TopicConfiguration.
132
132
 
133
- 需要发布通知消息的事件类型。 说明:在一个TopicConfiguration、FunctionStageConfiguration配置项中可以添加多个事件类型。 合法值: 上传对象操作可以取以下值: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload 或者使用通配符支持所有上传操作 ObjectCreated:* 删除对象操作可以取以下值: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated 或者使用通配符支持所有删除操作 ObjectRemoved:*
133
+ Event types for which OBS sends notifications. Multiple event types can be added in one **TopicConfiguration** or **FunctionGraphConfiguration** item. Value options: Choose from the following for object upload operations: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload Or use a wildcard character to support all upload operations: ObjectCreated:* Choose from the following for object delete operations: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated Or use a wildcard character to support all delete operations: ObjectRemoved:*
134
134
 
135
135
  :return: The event of this TopicConfiguration.
136
136
  :rtype: str
@@ -141,7 +141,7 @@ class TopicConfiguration:
141
141
  def event(self, event):
142
142
  """Sets the event of this TopicConfiguration.
143
143
 
144
- 需要发布通知消息的事件类型。 说明:在一个TopicConfiguration、FunctionStageConfiguration配置项中可以添加多个事件类型。 合法值: 上传对象操作可以取以下值: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload 或者使用通配符支持所有上传操作 ObjectCreated:* 删除对象操作可以取以下值: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated 或者使用通配符支持所有删除操作 ObjectRemoved:*
144
+ Event types for which OBS sends notifications. Multiple event types can be added in one **TopicConfiguration** or **FunctionGraphConfiguration** item. Value options: Choose from the following for object upload operations: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload Or use a wildcard character to support all upload operations: ObjectCreated:* Choose from the following for object delete operations: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated Or use a wildcard character to support all delete operations: ObjectRemoved:*
145
145
 
146
146
  :param event: The event of this TopicConfiguration.
147
147
  :type event: str