huaweicloudsdkobs 3.1.76__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.76.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.76.dist-info/RECORD +0 -71
  47. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/LICENSE +0 -0
  48. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/WHEEL +0 -0
  49. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/top_level.txt +0 -0
@@ -69,45 +69,45 @@ class GetObjectRequest:
69
69
 
70
70
  The model defined in huaweicloud sdk
71
71
 
72
- :param bucket_name: 桶名称
72
+ :param bucket_name: Name of the bucket.
73
73
  :type bucket_name: str
74
- :param object_key: 通过此请求下载的对象名称。
74
+ :param object_key: Object key for which this operation was initiated.
75
75
  :type object_key: str
76
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
76
+ :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.
77
77
  :type date: str
78
- :param response_content_type: 重写响应中的Content-Type头。
78
+ :param response_content_type: Overrides the **Content-Type** header in the response.
79
79
  :type response_content_type: str
80
- :param response_content_language: 重写响应中的Content-Language头。
80
+ :param response_content_language: Overrides the **Content-Language** header in the response.
81
81
  :type response_content_language: str
82
- :param response_expires: 重写响应中的Expires头。
82
+ :param response_expires: Overrides the **Expires** header in the response.
83
83
  :type response_expires: str
84
- :param response_cache_control: 重写响应中的Cache-Control头。
84
+ :param response_cache_control: Overrides the **Cache-Control** header in the response.
85
85
  :type response_cache_control: str
86
- :param response_content_disposition: 重写响应中的Content-Disposition头。 示例:response-content-disposition=attachment; filename*=utf-8''name1 下载对象重命名为“name1”,如果name1中存在中文,需要将中文进行URL编码。
86
+ :param response_content_disposition: Overrides the **Content-Disposition** header in the response. Example: response-content-disposition=attachment; filename*=utf-8''name1 In this example, the downloaded object is renamed **name1**. If **name1** contains Chinese characters, the Chinese characters must be URL-encoded.
87
87
  :type response_content_disposition: str
88
- :param response_content_encoding: 重写响应中的Content-Encoding头。
88
+ :param response_content_encoding: Overrides the **Content-Encoding** header in the response.
89
89
  :type response_content_encoding: str
90
- :param version_id: 指定获取对象的版本号。
90
+ :param version_id: Version ID of the object you want to download.
91
91
  :type version_id: str
92
- :param x_image_process: 图片处理服务。 示例: 命令方式:x-image-process=image/commands 样式方式:x-image-process=style/stylename 详见[《图片处理特性指南》](https://support.huaweicloud.com/fg-obs/obs_01_0001.html)
92
+ :param x_image_process: Image processing service.Examples:Command: x-image-process=image/commandsStyle: x-image-process=style/stylenameFor details, see the [Image Processing Feature Guide](https://support.huaweicloud.com/intl/en-us/fg-obs/obs_01_0001.html).
93
93
  :type x_image_process: str
94
- :param attname: 重写响应中的Content-Disposition头。 示例:attname=name1 下载对象重命名为“name1”。
94
+ :param attname: Overrides the **Content-Disposition** header in the response. Example: attname=name1 The downloaded object is renamed **name1**.
95
95
  :type attname: str
96
- :param range: 获取对象时,获取在Range范围内的对象内容。如果Range不合法则忽略此字段获取整个对象。 Range是一个范围,它的起始值最小为0,最大为对象长度减1Range范围的起始值为必填项,如果Range只包含起始值,表示获取起始值到对象长度减1这个区间的对象内容。 携带Range头域后,响应消息的ETag仍是对象的ETag,而不是Range范围内对象的ETag。 bytes=byte_range 示例1bytes=0-4 示例2bytes=1024 示例3bytes=10-20,30-40(表示多个区间)
96
+ :param range: Obtains the content within the scope defined by **Range**. If the **Range** header is invalid, the entire object is obtained.**Range** consists of a start value and an end value. Its start value is mandatory and ranges from 0 to the object length minus 1. If **Range** contains only a start value, the object content from the start value to the default maximum start value is obtained.With the **Range** header carried, the ETag in the response is still the ETag of the object, instead of that of the object content defined by the **Range** header.bytes=byte_rangeExample 1: bytes=0-4Example 2: bytes=1024Example 3: bytes=10-20,30-40 (multiple ranges)
97
97
  :type range: str
98
- :param if_modified_since: 如果对象在请求中指定的时间之后有修改,则返回对象内容;否则的话返回304(not modified)。 类型:符合http://www.ietf.org/rfc/rfc2616.txt规定格式的HTTP时间字符串。
98
+ :param if_modified_since: Returns the object only if it has been modified since the time specified in the request, or **304 Not Modified** is returned. Type: HTTP time string complying with the format specified at **http://www.ietf.org/rfc/rfc2616.txt**
99
99
  :type if_modified_since: str
100
- :param if_unmodified_since: 如果对象在请求中指定的时间之后没有修改,则返回对象内容;否则的话返回412(precondition failed)。 类型:符合http://www.ietf.org/rfc/rfc2616.txt规定格式的HTTP时间字符串。
100
+ :param if_unmodified_since: Returns the object only if it has not been modified since the time specified in the request, or **412 Precondition Failed** is returned. Type: HTTP time string complying with the format specified at **http://www.ietf.org/rfc/rfc2616.txt**
101
101
  :type if_unmodified_since: str
102
- :param if_match: 如果对象的ETag和请求中指定的ETag相同,则返回对象内容,否则的话返回412(precondition failed)。 ETag值,例:0f64741bf7cb1089e988e4585d0d3434。)
102
+ :param if_match: Returns the object only if its ETag is the same as the one specified in the request, or **412 Precondition Failed** is returned. (ETag example: 0f64741bf7cb1089e988e4585d0d3434)
103
103
  :type if_match: str
104
- :param if_none_match: 如果对象的ETag和请求中指定的ETag不相同,则返回对象内容,否则的话返回304(not modified)。 ETag值,例:0f64741bf7cb1089e988e4585d0d3434。)
104
+ :param if_none_match: Returns the object only if its ETag is different from the one specified in the request, or **304 Not Modified** is returned. (ETag example: 0f64741bf7cb1089e988e4585d0d3434)
105
105
  :type if_none_match: str
106
- :param x_obs_server_side_encryption_customer_algorithm: SSE-C方式下使用该头域,该头域表示加密使用的算法。 示例:x-obs-server-side-encryption-customer-algorithm:AES256 约束:需要和x-obs-server-side-encryption-customer-key x-obs-server-side-encryption-customer-key-MD5一起使用。
106
+ :param x_obs_server_side_encryption_customer_algorithm: The encryption algorithm used for SSE-C.Example: x-obs-server-side-encryption-customer-algorithm:AES256Restriction: This header must be used together with **x-obs-server-side-encryption-customer-key** and **x-obs-server-side-encryption-customer-key-MD5**.
107
107
  :type x_obs_server_side_encryption_customer_algorithm: str
108
- :param x_obs_server_side_encryption_customer_key: SSE-C方式下使用该头域,该头域表示加密使用的密钥。该密钥用于解密对象。 示例:x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= 约束:该头域由256-bit的密钥经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key-MD5一起使用。
108
+ :param x_obs_server_side_encryption_customer_key: Encryption key used for SSE-C. This key is used to decrypt objects.Example: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw=Restriction: This header is a Base64-encoded 256-bit key and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key-MD5**.
109
109
  :type x_obs_server_side_encryption_customer_key: str
110
- :param x_obs_server_side_encryption_customer_key_md5: SSE-C方式下使用该头域,该头域表示加密使用的密钥的MD5值。MD5值用于验证密钥传输过程中没有出错。 示例:x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== 约束:该头域由密钥的128-bit MD5值经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key一起使用。
110
+ :param x_obs_server_side_encryption_customer_key_md5: MD5 value of the key used to encrypt objects in SSE-C mode. The MD5 value is used to check whether any error occurs during the transmission of the key. Example: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ==Restriction: This header is a Base64-encoded 128-bit MD5 value and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key**.
111
111
  :type x_obs_server_side_encryption_customer_key_md5: str
112
112
  """
113
113
 
@@ -178,7 +178,7 @@ class GetObjectRequest:
178
178
  def bucket_name(self):
179
179
  """Gets the bucket_name of this GetObjectRequest.
180
180
 
181
- 桶名称
181
+ Name of the bucket.
182
182
 
183
183
  :return: The bucket_name of this GetObjectRequest.
184
184
  :rtype: str
@@ -189,7 +189,7 @@ class GetObjectRequest:
189
189
  def bucket_name(self, bucket_name):
190
190
  """Sets the bucket_name of this GetObjectRequest.
191
191
 
192
- 桶名称
192
+ Name of the bucket.
193
193
 
194
194
  :param bucket_name: The bucket_name of this GetObjectRequest.
195
195
  :type bucket_name: str
@@ -200,7 +200,7 @@ class GetObjectRequest:
200
200
  def object_key(self):
201
201
  """Gets the object_key of this GetObjectRequest.
202
202
 
203
- 通过此请求下载的对象名称。
203
+ Object key for which this operation was initiated.
204
204
 
205
205
  :return: The object_key of this GetObjectRequest.
206
206
  :rtype: str
@@ -211,7 +211,7 @@ class GetObjectRequest:
211
211
  def object_key(self, object_key):
212
212
  """Sets the object_key of this GetObjectRequest.
213
213
 
214
- 通过此请求下载的对象名称。
214
+ Object key for which this operation was initiated.
215
215
 
216
216
  :param object_key: The object_key of this GetObjectRequest.
217
217
  :type object_key: str
@@ -222,7 +222,7 @@ class GetObjectRequest:
222
222
  def date(self):
223
223
  """Gets the date of this GetObjectRequest.
224
224
 
225
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
225
+ 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.
226
226
 
227
227
  :return: The date of this GetObjectRequest.
228
228
  :rtype: str
@@ -233,7 +233,7 @@ class GetObjectRequest:
233
233
  def date(self, date):
234
234
  """Sets the date of this GetObjectRequest.
235
235
 
236
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
236
+ 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.
237
237
 
238
238
  :param date: The date of this GetObjectRequest.
239
239
  :type date: str
@@ -244,7 +244,7 @@ class GetObjectRequest:
244
244
  def response_content_type(self):
245
245
  """Gets the response_content_type of this GetObjectRequest.
246
246
 
247
- 重写响应中的Content-Type头。
247
+ Overrides the **Content-Type** header in the response.
248
248
 
249
249
  :return: The response_content_type of this GetObjectRequest.
250
250
  :rtype: str
@@ -255,7 +255,7 @@ class GetObjectRequest:
255
255
  def response_content_type(self, response_content_type):
256
256
  """Sets the response_content_type of this GetObjectRequest.
257
257
 
258
- 重写响应中的Content-Type头。
258
+ Overrides the **Content-Type** header in the response.
259
259
 
260
260
  :param response_content_type: The response_content_type of this GetObjectRequest.
261
261
  :type response_content_type: str
@@ -266,7 +266,7 @@ class GetObjectRequest:
266
266
  def response_content_language(self):
267
267
  """Gets the response_content_language of this GetObjectRequest.
268
268
 
269
- 重写响应中的Content-Language头。
269
+ Overrides the **Content-Language** header in the response.
270
270
 
271
271
  :return: The response_content_language of this GetObjectRequest.
272
272
  :rtype: str
@@ -277,7 +277,7 @@ class GetObjectRequest:
277
277
  def response_content_language(self, response_content_language):
278
278
  """Sets the response_content_language of this GetObjectRequest.
279
279
 
280
- 重写响应中的Content-Language头。
280
+ Overrides the **Content-Language** header in the response.
281
281
 
282
282
  :param response_content_language: The response_content_language of this GetObjectRequest.
283
283
  :type response_content_language: str
@@ -288,7 +288,7 @@ class GetObjectRequest:
288
288
  def response_expires(self):
289
289
  """Gets the response_expires of this GetObjectRequest.
290
290
 
291
- 重写响应中的Expires头。
291
+ Overrides the **Expires** header in the response.
292
292
 
293
293
  :return: The response_expires of this GetObjectRequest.
294
294
  :rtype: str
@@ -299,7 +299,7 @@ class GetObjectRequest:
299
299
  def response_expires(self, response_expires):
300
300
  """Sets the response_expires of this GetObjectRequest.
301
301
 
302
- 重写响应中的Expires头。
302
+ Overrides the **Expires** header in the response.
303
303
 
304
304
  :param response_expires: The response_expires of this GetObjectRequest.
305
305
  :type response_expires: str
@@ -310,7 +310,7 @@ class GetObjectRequest:
310
310
  def response_cache_control(self):
311
311
  """Gets the response_cache_control of this GetObjectRequest.
312
312
 
313
- 重写响应中的Cache-Control头。
313
+ Overrides the **Cache-Control** header in the response.
314
314
 
315
315
  :return: The response_cache_control of this GetObjectRequest.
316
316
  :rtype: str
@@ -321,7 +321,7 @@ class GetObjectRequest:
321
321
  def response_cache_control(self, response_cache_control):
322
322
  """Sets the response_cache_control of this GetObjectRequest.
323
323
 
324
- 重写响应中的Cache-Control头。
324
+ Overrides the **Cache-Control** header in the response.
325
325
 
326
326
  :param response_cache_control: The response_cache_control of this GetObjectRequest.
327
327
  :type response_cache_control: str
@@ -332,7 +332,7 @@ class GetObjectRequest:
332
332
  def response_content_disposition(self):
333
333
  """Gets the response_content_disposition of this GetObjectRequest.
334
334
 
335
- 重写响应中的Content-Disposition头。 示例:response-content-disposition=attachment; filename*=utf-8''name1 下载对象重命名为“name1”,如果name1中存在中文,需要将中文进行URL编码。
335
+ Overrides the **Content-Disposition** header in the response. Example: response-content-disposition=attachment; filename*=utf-8''name1 In this example, the downloaded object is renamed **name1**. If **name1** contains Chinese characters, the Chinese characters must be URL-encoded.
336
336
 
337
337
  :return: The response_content_disposition of this GetObjectRequest.
338
338
  :rtype: str
@@ -343,7 +343,7 @@ class GetObjectRequest:
343
343
  def response_content_disposition(self, response_content_disposition):
344
344
  """Sets the response_content_disposition of this GetObjectRequest.
345
345
 
346
- 重写响应中的Content-Disposition头。 示例:response-content-disposition=attachment; filename*=utf-8''name1 下载对象重命名为“name1”,如果name1中存在中文,需要将中文进行URL编码。
346
+ Overrides the **Content-Disposition** header in the response. Example: response-content-disposition=attachment; filename*=utf-8''name1 In this example, the downloaded object is renamed **name1**. If **name1** contains Chinese characters, the Chinese characters must be URL-encoded.
347
347
 
348
348
  :param response_content_disposition: The response_content_disposition of this GetObjectRequest.
349
349
  :type response_content_disposition: str
@@ -354,7 +354,7 @@ class GetObjectRequest:
354
354
  def response_content_encoding(self):
355
355
  """Gets the response_content_encoding of this GetObjectRequest.
356
356
 
357
- 重写响应中的Content-Encoding头。
357
+ Overrides the **Content-Encoding** header in the response.
358
358
 
359
359
  :return: The response_content_encoding of this GetObjectRequest.
360
360
  :rtype: str
@@ -365,7 +365,7 @@ class GetObjectRequest:
365
365
  def response_content_encoding(self, response_content_encoding):
366
366
  """Sets the response_content_encoding of this GetObjectRequest.
367
367
 
368
- 重写响应中的Content-Encoding头。
368
+ Overrides the **Content-Encoding** header in the response.
369
369
 
370
370
  :param response_content_encoding: The response_content_encoding of this GetObjectRequest.
371
371
  :type response_content_encoding: str
@@ -376,7 +376,7 @@ class GetObjectRequest:
376
376
  def version_id(self):
377
377
  """Gets the version_id of this GetObjectRequest.
378
378
 
379
- 指定获取对象的版本号。
379
+ Version ID of the object you want to download.
380
380
 
381
381
  :return: The version_id of this GetObjectRequest.
382
382
  :rtype: str
@@ -387,7 +387,7 @@ class GetObjectRequest:
387
387
  def version_id(self, version_id):
388
388
  """Sets the version_id of this GetObjectRequest.
389
389
 
390
- 指定获取对象的版本号。
390
+ Version ID of the object you want to download.
391
391
 
392
392
  :param version_id: The version_id of this GetObjectRequest.
393
393
  :type version_id: str
@@ -398,7 +398,7 @@ class GetObjectRequest:
398
398
  def x_image_process(self):
399
399
  """Gets the x_image_process of this GetObjectRequest.
400
400
 
401
- 图片处理服务。 示例: 命令方式:x-image-process=image/commands 样式方式:x-image-process=style/stylename 详见[《图片处理特性指南》](https://support.huaweicloud.com/fg-obs/obs_01_0001.html)
401
+ Image processing service.Examples:Command: x-image-process=image/commandsStyle: x-image-process=style/stylenameFor details, see the [Image Processing Feature Guide](https://support.huaweicloud.com/intl/en-us/fg-obs/obs_01_0001.html).
402
402
 
403
403
  :return: The x_image_process of this GetObjectRequest.
404
404
  :rtype: str
@@ -409,7 +409,7 @@ class GetObjectRequest:
409
409
  def x_image_process(self, x_image_process):
410
410
  """Sets the x_image_process of this GetObjectRequest.
411
411
 
412
- 图片处理服务。 示例: 命令方式:x-image-process=image/commands 样式方式:x-image-process=style/stylename 详见[《图片处理特性指南》](https://support.huaweicloud.com/fg-obs/obs_01_0001.html)
412
+ Image processing service.Examples:Command: x-image-process=image/commandsStyle: x-image-process=style/stylenameFor details, see the [Image Processing Feature Guide](https://support.huaweicloud.com/intl/en-us/fg-obs/obs_01_0001.html).
413
413
 
414
414
  :param x_image_process: The x_image_process of this GetObjectRequest.
415
415
  :type x_image_process: str
@@ -420,7 +420,7 @@ class GetObjectRequest:
420
420
  def attname(self):
421
421
  """Gets the attname of this GetObjectRequest.
422
422
 
423
- 重写响应中的Content-Disposition头。 示例:attname=name1 下载对象重命名为“name1”。
423
+ Overrides the **Content-Disposition** header in the response. Example: attname=name1 The downloaded object is renamed **name1**.
424
424
 
425
425
  :return: The attname of this GetObjectRequest.
426
426
  :rtype: str
@@ -431,7 +431,7 @@ class GetObjectRequest:
431
431
  def attname(self, attname):
432
432
  """Sets the attname of this GetObjectRequest.
433
433
 
434
- 重写响应中的Content-Disposition头。 示例:attname=name1 下载对象重命名为“name1”。
434
+ Overrides the **Content-Disposition** header in the response. Example: attname=name1 The downloaded object is renamed **name1**.
435
435
 
436
436
  :param attname: The attname of this GetObjectRequest.
437
437
  :type attname: str
@@ -442,7 +442,7 @@ class GetObjectRequest:
442
442
  def range(self):
443
443
  """Gets the range of this GetObjectRequest.
444
444
 
445
- 获取对象时,获取在Range范围内的对象内容。如果Range不合法则忽略此字段获取整个对象。 Range是一个范围,它的起始值最小为0,最大为对象长度减1Range范围的起始值为必填项,如果Range只包含起始值,表示获取起始值到对象长度减1这个区间的对象内容。 携带Range头域后,响应消息的ETag仍是对象的ETag,而不是Range范围内对象的ETag。 bytes=byte_range 示例1bytes=0-4 示例2bytes=1024 示例3bytes=10-20,30-40(表示多个区间)
445
+ Obtains the content within the scope defined by **Range**. If the **Range** header is invalid, the entire object is obtained.**Range** consists of a start value and an end value. Its start value is mandatory and ranges from 0 to the object length minus 1. If **Range** contains only a start value, the object content from the start value to the default maximum start value is obtained.With the **Range** header carried, the ETag in the response is still the ETag of the object, instead of that of the object content defined by the **Range** header.bytes=byte_rangeExample 1: bytes=0-4Example 2: bytes=1024Example 3: bytes=10-20,30-40 (multiple ranges)
446
446
 
447
447
  :return: The range of this GetObjectRequest.
448
448
  :rtype: str
@@ -453,7 +453,7 @@ class GetObjectRequest:
453
453
  def range(self, range):
454
454
  """Sets the range of this GetObjectRequest.
455
455
 
456
- 获取对象时,获取在Range范围内的对象内容。如果Range不合法则忽略此字段获取整个对象。 Range是一个范围,它的起始值最小为0,最大为对象长度减1Range范围的起始值为必填项,如果Range只包含起始值,表示获取起始值到对象长度减1这个区间的对象内容。 携带Range头域后,响应消息的ETag仍是对象的ETag,而不是Range范围内对象的ETag。 bytes=byte_range 示例1bytes=0-4 示例2bytes=1024 示例3bytes=10-20,30-40(表示多个区间)
456
+ Obtains the content within the scope defined by **Range**. If the **Range** header is invalid, the entire object is obtained.**Range** consists of a start value and an end value. Its start value is mandatory and ranges from 0 to the object length minus 1. If **Range** contains only a start value, the object content from the start value to the default maximum start value is obtained.With the **Range** header carried, the ETag in the response is still the ETag of the object, instead of that of the object content defined by the **Range** header.bytes=byte_rangeExample 1: bytes=0-4Example 2: bytes=1024Example 3: bytes=10-20,30-40 (multiple ranges)
457
457
 
458
458
  :param range: The range of this GetObjectRequest.
459
459
  :type range: str
@@ -464,7 +464,7 @@ class GetObjectRequest:
464
464
  def if_modified_since(self):
465
465
  """Gets the if_modified_since of this GetObjectRequest.
466
466
 
467
- 如果对象在请求中指定的时间之后有修改,则返回对象内容;否则的话返回304(not modified)。 类型:符合http://www.ietf.org/rfc/rfc2616.txt规定格式的HTTP时间字符串。
467
+ Returns the object only if it has been modified since the time specified in the request, or **304 Not Modified** is returned. Type: HTTP time string complying with the format specified at **http://www.ietf.org/rfc/rfc2616.txt**
468
468
 
469
469
  :return: The if_modified_since of this GetObjectRequest.
470
470
  :rtype: str
@@ -475,7 +475,7 @@ class GetObjectRequest:
475
475
  def if_modified_since(self, if_modified_since):
476
476
  """Sets the if_modified_since of this GetObjectRequest.
477
477
 
478
- 如果对象在请求中指定的时间之后有修改,则返回对象内容;否则的话返回304(not modified)。 类型:符合http://www.ietf.org/rfc/rfc2616.txt规定格式的HTTP时间字符串。
478
+ Returns the object only if it has been modified since the time specified in the request, or **304 Not Modified** is returned. Type: HTTP time string complying with the format specified at **http://www.ietf.org/rfc/rfc2616.txt**
479
479
 
480
480
  :param if_modified_since: The if_modified_since of this GetObjectRequest.
481
481
  :type if_modified_since: str
@@ -486,7 +486,7 @@ class GetObjectRequest:
486
486
  def if_unmodified_since(self):
487
487
  """Gets the if_unmodified_since of this GetObjectRequest.
488
488
 
489
- 如果对象在请求中指定的时间之后没有修改,则返回对象内容;否则的话返回412(precondition failed)。 类型:符合http://www.ietf.org/rfc/rfc2616.txt规定格式的HTTP时间字符串。
489
+ Returns the object only if it has not been modified since the time specified in the request, or **412 Precondition Failed** is returned. Type: HTTP time string complying with the format specified at **http://www.ietf.org/rfc/rfc2616.txt**
490
490
 
491
491
  :return: The if_unmodified_since of this GetObjectRequest.
492
492
  :rtype: str
@@ -497,7 +497,7 @@ class GetObjectRequest:
497
497
  def if_unmodified_since(self, if_unmodified_since):
498
498
  """Sets the if_unmodified_since of this GetObjectRequest.
499
499
 
500
- 如果对象在请求中指定的时间之后没有修改,则返回对象内容;否则的话返回412(precondition failed)。 类型:符合http://www.ietf.org/rfc/rfc2616.txt规定格式的HTTP时间字符串。
500
+ Returns the object only if it has not been modified since the time specified in the request, or **412 Precondition Failed** is returned. Type: HTTP time string complying with the format specified at **http://www.ietf.org/rfc/rfc2616.txt**
501
501
 
502
502
  :param if_unmodified_since: The if_unmodified_since of this GetObjectRequest.
503
503
  :type if_unmodified_since: str
@@ -508,7 +508,7 @@ class GetObjectRequest:
508
508
  def if_match(self):
509
509
  """Gets the if_match of this GetObjectRequest.
510
510
 
511
- 如果对象的ETag和请求中指定的ETag相同,则返回对象内容,否则的话返回412(precondition failed)。 ETag值,例:0f64741bf7cb1089e988e4585d0d3434。)
511
+ Returns the object only if its ETag is the same as the one specified in the request, or **412 Precondition Failed** is returned. (ETag example: 0f64741bf7cb1089e988e4585d0d3434)
512
512
 
513
513
  :return: The if_match of this GetObjectRequest.
514
514
  :rtype: str
@@ -519,7 +519,7 @@ class GetObjectRequest:
519
519
  def if_match(self, if_match):
520
520
  """Sets the if_match of this GetObjectRequest.
521
521
 
522
- 如果对象的ETag和请求中指定的ETag相同,则返回对象内容,否则的话返回412(precondition failed)。 ETag值,例:0f64741bf7cb1089e988e4585d0d3434。)
522
+ Returns the object only if its ETag is the same as the one specified in the request, or **412 Precondition Failed** is returned. (ETag example: 0f64741bf7cb1089e988e4585d0d3434)
523
523
 
524
524
  :param if_match: The if_match of this GetObjectRequest.
525
525
  :type if_match: str
@@ -530,7 +530,7 @@ class GetObjectRequest:
530
530
  def if_none_match(self):
531
531
  """Gets the if_none_match of this GetObjectRequest.
532
532
 
533
- 如果对象的ETag和请求中指定的ETag不相同,则返回对象内容,否则的话返回304(not modified)。 ETag值,例:0f64741bf7cb1089e988e4585d0d3434。)
533
+ Returns the object only if its ETag is different from the one specified in the request, or **304 Not Modified** is returned. (ETag example: 0f64741bf7cb1089e988e4585d0d3434)
534
534
 
535
535
  :return: The if_none_match of this GetObjectRequest.
536
536
  :rtype: str
@@ -541,7 +541,7 @@ class GetObjectRequest:
541
541
  def if_none_match(self, if_none_match):
542
542
  """Sets the if_none_match of this GetObjectRequest.
543
543
 
544
- 如果对象的ETag和请求中指定的ETag不相同,则返回对象内容,否则的话返回304(not modified)。 ETag值,例:0f64741bf7cb1089e988e4585d0d3434。)
544
+ Returns the object only if its ETag is different from the one specified in the request, or **304 Not Modified** is returned. (ETag example: 0f64741bf7cb1089e988e4585d0d3434)
545
545
 
546
546
  :param if_none_match: The if_none_match of this GetObjectRequest.
547
547
  :type if_none_match: str
@@ -552,7 +552,7 @@ class GetObjectRequest:
552
552
  def x_obs_server_side_encryption_customer_algorithm(self):
553
553
  """Gets the x_obs_server_side_encryption_customer_algorithm of this GetObjectRequest.
554
554
 
555
- SSE-C方式下使用该头域,该头域表示加密使用的算法。 示例:x-obs-server-side-encryption-customer-algorithm:AES256 约束:需要和x-obs-server-side-encryption-customer-key x-obs-server-side-encryption-customer-key-MD5一起使用。
555
+ The encryption algorithm used for SSE-C.Example: x-obs-server-side-encryption-customer-algorithm:AES256Restriction: This header must be used together with **x-obs-server-side-encryption-customer-key** and **x-obs-server-side-encryption-customer-key-MD5**.
556
556
 
557
557
  :return: The x_obs_server_side_encryption_customer_algorithm of this GetObjectRequest.
558
558
  :rtype: str
@@ -563,7 +563,7 @@ class GetObjectRequest:
563
563
  def x_obs_server_side_encryption_customer_algorithm(self, x_obs_server_side_encryption_customer_algorithm):
564
564
  """Sets the x_obs_server_side_encryption_customer_algorithm of this GetObjectRequest.
565
565
 
566
- SSE-C方式下使用该头域,该头域表示加密使用的算法。 示例:x-obs-server-side-encryption-customer-algorithm:AES256 约束:需要和x-obs-server-side-encryption-customer-key x-obs-server-side-encryption-customer-key-MD5一起使用。
566
+ The encryption algorithm used for SSE-C.Example: x-obs-server-side-encryption-customer-algorithm:AES256Restriction: This header must be used together with **x-obs-server-side-encryption-customer-key** and **x-obs-server-side-encryption-customer-key-MD5**.
567
567
 
568
568
  :param x_obs_server_side_encryption_customer_algorithm: The x_obs_server_side_encryption_customer_algorithm of this GetObjectRequest.
569
569
  :type x_obs_server_side_encryption_customer_algorithm: str
@@ -574,7 +574,7 @@ class GetObjectRequest:
574
574
  def x_obs_server_side_encryption_customer_key(self):
575
575
  """Gets the x_obs_server_side_encryption_customer_key of this GetObjectRequest.
576
576
 
577
- SSE-C方式下使用该头域,该头域表示加密使用的密钥。该密钥用于解密对象。 示例:x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= 约束:该头域由256-bit的密钥经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key-MD5一起使用。
577
+ Encryption key used for SSE-C. This key is used to decrypt objects.Example: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw=Restriction: This header is a Base64-encoded 256-bit key and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key-MD5**.
578
578
 
579
579
  :return: The x_obs_server_side_encryption_customer_key of this GetObjectRequest.
580
580
  :rtype: str
@@ -585,7 +585,7 @@ class GetObjectRequest:
585
585
  def x_obs_server_side_encryption_customer_key(self, x_obs_server_side_encryption_customer_key):
586
586
  """Sets the x_obs_server_side_encryption_customer_key of this GetObjectRequest.
587
587
 
588
- SSE-C方式下使用该头域,该头域表示加密使用的密钥。该密钥用于解密对象。 示例:x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= 约束:该头域由256-bit的密钥经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key-MD5一起使用。
588
+ Encryption key used for SSE-C. This key is used to decrypt objects.Example: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw=Restriction: This header is a Base64-encoded 256-bit key and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key-MD5**.
589
589
 
590
590
  :param x_obs_server_side_encryption_customer_key: The x_obs_server_side_encryption_customer_key of this GetObjectRequest.
591
591
  :type x_obs_server_side_encryption_customer_key: str
@@ -596,7 +596,7 @@ class GetObjectRequest:
596
596
  def x_obs_server_side_encryption_customer_key_md5(self):
597
597
  """Gets the x_obs_server_side_encryption_customer_key_md5 of this GetObjectRequest.
598
598
 
599
- SSE-C方式下使用该头域,该头域表示加密使用的密钥的MD5值。MD5值用于验证密钥传输过程中没有出错。 示例:x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== 约束:该头域由密钥的128-bit MD5值经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key一起使用。
599
+ MD5 value of the key used to encrypt objects in SSE-C mode. The MD5 value is used to check whether any error occurs during the transmission of the key. Example: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ==Restriction: This header is a Base64-encoded 128-bit MD5 value and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key**.
600
600
 
601
601
  :return: The x_obs_server_side_encryption_customer_key_md5 of this GetObjectRequest.
602
602
  :rtype: str
@@ -607,7 +607,7 @@ class GetObjectRequest:
607
607
  def x_obs_server_side_encryption_customer_key_md5(self, x_obs_server_side_encryption_customer_key_md5):
608
608
  """Sets the x_obs_server_side_encryption_customer_key_md5 of this GetObjectRequest.
609
609
 
610
- SSE-C方式下使用该头域,该头域表示加密使用的密钥的MD5值。MD5值用于验证密钥传输过程中没有出错。 示例:x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== 约束:该头域由密钥的128-bit MD5值经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key一起使用。
610
+ MD5 value of the key used to encrypt objects in SSE-C mode. The MD5 value is used to check whether any error occurs during the transmission of the key. Example: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ==Restriction: This header is a Base64-encoded 128-bit MD5 value and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key**.
611
611
 
612
612
  :param x_obs_server_side_encryption_customer_key_md5: The x_obs_server_side_encryption_customer_key_md5 of this GetObjectRequest.
613
613
  :type x_obs_server_side_encryption_customer_key_md5: str
@@ -37,9 +37,9 @@ class Grant:
37
37
 
38
38
  :param grantee:
39
39
  :type grantee: :class:`huaweicloudsdkobs.v1.Grantee`
40
- :param permission: 授予的权限
40
+ :param permission: Permissions granted
41
41
  :type permission: str
42
- :param delivered: 桶的ACL是否向桶内对象传递
42
+ :param delivered: Indicates whether the bucket ACL is applied to objects in the bucket.
43
43
  :type delivered: bool
44
44
  """
45
45
 
@@ -79,7 +79,7 @@ class Grant:
79
79
  def permission(self):
80
80
  """Gets the permission of this Grant.
81
81
 
82
- 授予的权限
82
+ Permissions granted
83
83
 
84
84
  :return: The permission of this Grant.
85
85
  :rtype: str
@@ -90,7 +90,7 @@ class Grant:
90
90
  def permission(self, permission):
91
91
  """Sets the permission of this Grant.
92
92
 
93
- 授予的权限
93
+ Permissions granted
94
94
 
95
95
  :param permission: The permission of this Grant.
96
96
  :type permission: str
@@ -101,7 +101,7 @@ class Grant:
101
101
  def delivered(self):
102
102
  """Gets the delivered of this Grant.
103
103
 
104
- 桶的ACL是否向桶内对象传递
104
+ Indicates whether the bucket ACL is applied to objects in the bucket.
105
105
 
106
106
  :return: The delivered of this Grant.
107
107
  :rtype: bool
@@ -112,7 +112,7 @@ class Grant:
112
112
  def delivered(self, delivered):
113
113
  """Sets the delivered of this Grant.
114
114
 
115
- 桶的ACL是否向桶内对象传递
115
+ Indicates whether the bucket ACL is applied to objects in the bucket.
116
116
 
117
117
  :param delivered: The delivered of this Grant.
118
118
  :type delivered: bool
@@ -33,9 +33,9 @@ class Grantee:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param id: 被授权用户的租户Id
36
+ :param id: Account ID of the grantee
37
37
  :type id: str
38
- :param canned: 向所有人授予权限。
38
+ :param canned: Grant permissions to everyone.
39
39
  :type canned: str
40
40
  """
41
41
 
@@ -54,7 +54,7 @@ class Grantee:
54
54
  def id(self):
55
55
  """Gets the id of this Grantee.
56
56
 
57
- 被授权用户的租户Id
57
+ Account ID of the grantee
58
58
 
59
59
  :return: The id of this Grantee.
60
60
  :rtype: str
@@ -65,7 +65,7 @@ class Grantee:
65
65
  def id(self, id):
66
66
  """Sets the id of this Grantee.
67
67
 
68
- 被授权用户的租户Id
68
+ Account ID of the grantee
69
69
 
70
70
  :param id: The id of this Grantee.
71
71
  :type id: str
@@ -76,7 +76,7 @@ class Grantee:
76
76
  def canned(self):
77
77
  """Gets the canned of this Grantee.
78
78
 
79
- 向所有人授予权限。
79
+ Grant permissions to everyone.
80
80
 
81
81
  :return: The canned of this Grantee.
82
82
  :rtype: str
@@ -87,7 +87,7 @@ class Grantee:
87
87
  def canned(self, canned):
88
88
  """Sets the canned of this Grantee.
89
89
 
90
- 向所有人授予权限。
90
+ Grant permissions to everyone.
91
91
 
92
92
  :param canned: The canned of this Grantee.
93
93
  :type canned: str
@@ -33,9 +33,9 @@ class ListBucketsRequest:
33
33
 
34
34
  The model defined in huaweicloud sdk
35
35
 
36
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
36
+ :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.
37
37
  :type date: str
38
- :param x_obs_bucket_type: 通过此消息头明确获取的列表内容。 取值: OBJECT:获取所有桶列表。 POSIX:获取所有并行文件系统列表。 不带此消息头则获取所有桶和并行文件系统列表。
38
+ :param x_obs_bucket_type: Specifies the content to obtain. Possible values: **OBJECT**: A list of all buckets is returned. **POSIX**: A list of all parallel file systems is returned. If this header is not carried, a list of all buckets and parallel file systems is returned.
39
39
  :type x_obs_bucket_type: str
40
40
  """
41
41
 
@@ -54,7 +54,7 @@ class ListBucketsRequest:
54
54
  def date(self):
55
55
  """Gets the date of this ListBucketsRequest.
56
56
 
57
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
57
+ 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.
58
58
 
59
59
  :return: The date of this ListBucketsRequest.
60
60
  :rtype: str
@@ -65,7 +65,7 @@ class ListBucketsRequest:
65
65
  def date(self, date):
66
66
  """Sets the date of this ListBucketsRequest.
67
67
 
68
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
68
+ 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.
69
69
 
70
70
  :param date: The date of this ListBucketsRequest.
71
71
  :type date: str
@@ -76,7 +76,7 @@ class ListBucketsRequest:
76
76
  def x_obs_bucket_type(self):
77
77
  """Gets the x_obs_bucket_type of this ListBucketsRequest.
78
78
 
79
- 通过此消息头明确获取的列表内容。 取值: OBJECT:获取所有桶列表。 POSIX:获取所有并行文件系统列表。 不带此消息头则获取所有桶和并行文件系统列表。
79
+ Specifies the content to obtain. Possible values: **OBJECT**: A list of all buckets is returned. **POSIX**: A list of all parallel file systems is returned. If this header is not carried, a list of all buckets and parallel file systems is returned.
80
80
 
81
81
  :return: The x_obs_bucket_type of this ListBucketsRequest.
82
82
  :rtype: str
@@ -87,7 +87,7 @@ class ListBucketsRequest:
87
87
  def x_obs_bucket_type(self, x_obs_bucket_type):
88
88
  """Sets the x_obs_bucket_type of this ListBucketsRequest.
89
89
 
90
- 通过此消息头明确获取的列表内容。 取值: OBJECT:获取所有桶列表。 POSIX:获取所有并行文件系统列表。 不带此消息头则获取所有桶和并行文件系统列表。
90
+ Specifies the content to obtain. Possible values: **OBJECT**: A list of all buckets is returned. **POSIX**: A list of all parallel file systems is returned. If this header is not carried, a list of all buckets and parallel file systems is returned.
91
91
 
92
92
  :param x_obs_bucket_type: The x_obs_bucket_type of this ListBucketsRequest.
93
93
  :type x_obs_bucket_type: str
@@ -21,7 +21,7 @@ class ListBucketsResponse(SdkResponse):
21
21
 
22
22
  openapi_types = {
23
23
  'owner': 'Owner',
24
- 'buckets': 'Buckets',
24
+ 'buckets': 'Bucket',
25
25
  'x_obs_id_2': 'str',
26
26
  'x_obs_request_id': 'str',
27
27
  'e_tag': 'str',
@@ -51,7 +51,7 @@ class ListBucketsResponse(SdkResponse):
51
51
  :param owner:
52
52
  :type owner: :class:`huaweicloudsdkobs.v1.Owner`
53
53
  :param buckets:
54
- :type buckets: :class:`huaweicloudsdkobs.v1.Buckets`
54
+ :type buckets: :class:`huaweicloudsdkobs.v1.Bucket`
55
55
  :param x_obs_id_2:
56
56
  :type x_obs_id_2: str
57
57
  :param x_obs_request_id:
@@ -123,7 +123,7 @@ class ListBucketsResponse(SdkResponse):
123
123
  """Gets the buckets of this ListBucketsResponse.
124
124
 
125
125
  :return: The buckets of this ListBucketsResponse.
126
- :rtype: :class:`huaweicloudsdkobs.v1.Buckets`
126
+ :rtype: :class:`huaweicloudsdkobs.v1.Bucket`
127
127
  """
128
128
  return self._buckets
129
129
 
@@ -132,7 +132,7 @@ class ListBucketsResponse(SdkResponse):
132
132
  """Sets the buckets of this ListBucketsResponse.
133
133
 
134
134
  :param buckets: The buckets of this ListBucketsResponse.
135
- :type buckets: :class:`huaweicloudsdkobs.v1.Buckets`
135
+ :type buckets: :class:`huaweicloudsdkobs.v1.Bucket`
136
136
  """
137
137
  self._buckets = buckets
138
138