huaweicloudsdkobs 3.1.141__py2.py3-none-any.whl → 3.1.143__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. huaweicloudsdkobs/v1/model/access_control_list.py +3 -3
  2. huaweicloudsdkobs/v1/model/bucket.py +11 -11
  3. huaweicloudsdkobs/v1/model/buckets.py +3 -3
  4. huaweicloudsdkobs/v1/model/common_prefixes.py +3 -3
  5. huaweicloudsdkobs/v1/model/contents.py +15 -15
  6. huaweicloudsdkobs/v1/model/copy_object_request.py +53 -53
  7. huaweicloudsdkobs/v1/model/copy_object_response.py +29 -29
  8. huaweicloudsdkobs/v1/model/create_bucket_request.py +37 -37
  9. huaweicloudsdkobs/v1/model/create_bucket_request_body.py +3 -3
  10. huaweicloudsdkobs/v1/model/create_bucket_response.py +13 -13
  11. huaweicloudsdkobs/v1/model/delete_bucket_customdomain_request.py +7 -7
  12. huaweicloudsdkobs/v1/model/delete_bucket_customdomain_response.py +13 -13
  13. huaweicloudsdkobs/v1/model/delete_bucket_request.py +5 -5
  14. huaweicloudsdkobs/v1/model/delete_bucket_response.py +13 -13
  15. huaweicloudsdkobs/v1/model/delete_object.py +5 -5
  16. huaweicloudsdkobs/v1/model/delete_object_request.py +9 -9
  17. huaweicloudsdkobs/v1/model/delete_object_response.py +17 -17
  18. huaweicloudsdkobs/v1/model/delete_objects_request.py +11 -11
  19. huaweicloudsdkobs/v1/model/delete_objects_request_body.py +7 -7
  20. huaweicloudsdkobs/v1/model/delete_objects_response.py +19 -19
  21. huaweicloudsdkobs/v1/model/delete_result_deleted.py +9 -9
  22. huaweicloudsdkobs/v1/model/delete_result_error.py +7 -7
  23. huaweicloudsdkobs/v1/model/domains.py +7 -7
  24. huaweicloudsdkobs/v1/model/filter_object.py +3 -3
  25. huaweicloudsdkobs/v1/model/filter_rule.py +5 -5
  26. huaweicloudsdkobs/v1/model/function_stage_configuration.py +11 -11
  27. huaweicloudsdkobs/v1/model/get_bucket_acl_request.py +7 -7
  28. huaweicloudsdkobs/v1/model/get_bucket_acl_response.py +17 -17
  29. huaweicloudsdkobs/v1/model/get_bucket_customdomain_request.py +7 -7
  30. huaweicloudsdkobs/v1/model/get_bucket_customdomain_response.py +15 -15
  31. huaweicloudsdkobs/v1/model/get_bucket_metadata_request.py +9 -9
  32. huaweicloudsdkobs/v1/model/get_bucket_metadata_response.py +37 -37
  33. huaweicloudsdkobs/v1/model/get_bucket_notification_request.py +7 -7
  34. huaweicloudsdkobs/v1/model/get_bucket_notification_response.py +15 -15
  35. huaweicloudsdkobs/v1/model/get_object_metadata_request.py +23 -23
  36. huaweicloudsdkobs/v1/model/get_object_metadata_response.py +49 -49
  37. huaweicloudsdkobs/v1/model/get_object_request.py +41 -41
  38. huaweicloudsdkobs/v1/model/get_object_response.py +33 -33
  39. huaweicloudsdkobs/v1/model/grant.py +7 -7
  40. huaweicloudsdkobs/v1/model/grantee.py +5 -5
  41. huaweicloudsdkobs/v1/model/list_buckets_request.py +5 -5
  42. huaweicloudsdkobs/v1/model/list_buckets_response.py +19 -19
  43. huaweicloudsdkobs/v1/model/list_objects_request.py +19 -19
  44. huaweicloudsdkobs/v1/model/list_objects_response.py +35 -35
  45. huaweicloudsdkobs/v1/model/owner.py +3 -3
  46. huaweicloudsdkobs/v1/model/put_object_request.py +41 -41
  47. huaweicloudsdkobs/v1/model/put_object_response.py +25 -25
  48. huaweicloudsdkobs/v1/model/set_bucket_acl_request.py +11 -11
  49. huaweicloudsdkobs/v1/model/set_bucket_acl_request_body.py +5 -5
  50. huaweicloudsdkobs/v1/model/set_bucket_acl_response.py +13 -13
  51. huaweicloudsdkobs/v1/model/set_bucket_custom_domain_body.py +11 -11
  52. huaweicloudsdkobs/v1/model/set_bucket_customedomain_request.py +9 -9
  53. huaweicloudsdkobs/v1/model/set_bucket_customedomain_response.py +13 -13
  54. huaweicloudsdkobs/v1/model/set_bucket_notification_request.py +9 -9
  55. huaweicloudsdkobs/v1/model/set_bucket_notification_request_body.py +5 -5
  56. huaweicloudsdkobs/v1/model/set_bucket_notification_response.py +13 -13
  57. huaweicloudsdkobs/v1/model/topic_configuration.py +9 -9
  58. huaweicloudsdkobs/v1/model/topic_configuration_filter.py +3 -3
  59. huaweicloudsdkobs/v1/obs_async_client.py +18 -18
  60. huaweicloudsdkobs/v1/obs_client.py +18 -18
  61. {huaweicloudsdkobs-3.1.141.dist-info → huaweicloudsdkobs-3.1.143.dist-info}/METADATA +2 -2
  62. huaweicloudsdkobs-3.1.143.dist-info/RECORD +72 -0
  63. huaweicloudsdkobs-3.1.141.dist-info/RECORD +0 -72
  64. {huaweicloudsdkobs-3.1.141.dist-info → huaweicloudsdkobs-3.1.143.dist-info}/LICENSE +0 -0
  65. {huaweicloudsdkobs-3.1.141.dist-info → huaweicloudsdkobs-3.1.143.dist-info}/WHEEL +0 -0
  66. {huaweicloudsdkobs-3.1.141.dist-info → huaweicloudsdkobs-3.1.143.dist-info}/top_level.txt +0 -0
@@ -66,7 +66,7 @@ class PutObjectRequest(SdkStreamRequest):
66
66
  }
67
67
 
68
68
  def __init__(self, stream=None, bucket_name=None, object_key=None, date=None, content_md5=None, x_obs_acl=None, x_obs_grant_read=None, x_obs_grant_read_acp=None, x_obs_grant_write_acp=None, x_obs_grant_full_control=None, x_obs_storage_class=None, x_obs_meta_xxx=None, x_obs_persistent_headers=None, x_obs_website_redirect_location=None, x_obs_server_side_encryption=None, x_obs_server_side_encryption_kms_key_id=None, x_obs_server_side_encryption_customer_algorithm=None, x_obs_server_side_encryption_customer_key=None, x_obs_server_side_encryption_customer_key_md5=None, success_action_redirect=None, x_obs_expires=None):
69
- """PutObjectRequest
69
+ r"""PutObjectRequest
70
70
 
71
71
  The model defined in huaweicloud sdk
72
72
 
@@ -177,7 +177,7 @@ class PutObjectRequest(SdkStreamRequest):
177
177
 
178
178
  @property
179
179
  def bucket_name(self):
180
- """Gets the bucket_name of this PutObjectRequest.
180
+ r"""Gets the bucket_name of this PutObjectRequest.
181
181
 
182
182
  Name of the bucket.
183
183
 
@@ -188,7 +188,7 @@ class PutObjectRequest(SdkStreamRequest):
188
188
 
189
189
  @bucket_name.setter
190
190
  def bucket_name(self, bucket_name):
191
- """Sets the bucket_name of this PutObjectRequest.
191
+ r"""Sets the bucket_name of this PutObjectRequest.
192
192
 
193
193
  Name of the bucket.
194
194
 
@@ -199,7 +199,7 @@ class PutObjectRequest(SdkStreamRequest):
199
199
 
200
200
  @property
201
201
  def object_key(self):
202
- """Gets the object_key of this PutObjectRequest.
202
+ r"""Gets the object_key of this PutObjectRequest.
203
203
 
204
204
  Object key for which this operation was initiated.
205
205
 
@@ -210,7 +210,7 @@ class PutObjectRequest(SdkStreamRequest):
210
210
 
211
211
  @object_key.setter
212
212
  def object_key(self, object_key):
213
- """Sets the object_key of this PutObjectRequest.
213
+ r"""Sets the object_key of this PutObjectRequest.
214
214
 
215
215
  Object key for which this operation was initiated.
216
216
 
@@ -221,7 +221,7 @@ class PutObjectRequest(SdkStreamRequest):
221
221
 
222
222
  @property
223
223
  def date(self):
224
- """Gets the date of this PutObjectRequest.
224
+ r"""Gets the date of this PutObjectRequest.
225
225
 
226
226
  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.
227
227
 
@@ -232,7 +232,7 @@ class PutObjectRequest(SdkStreamRequest):
232
232
 
233
233
  @date.setter
234
234
  def date(self, date):
235
- """Sets the date of this PutObjectRequest.
235
+ r"""Sets the date of this PutObjectRequest.
236
236
 
237
237
  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.
238
238
 
@@ -243,7 +243,7 @@ class PutObjectRequest(SdkStreamRequest):
243
243
 
244
244
  @property
245
245
  def content_md5(self):
246
- """Gets the content_md5 of this PutObjectRequest.
246
+ r"""Gets the content_md5 of this PutObjectRequest.
247
247
 
248
248
  Base64-encoded 128-bit MD5 digest of the message according to RFC 1864. Example: n58IG6hfM7vqI4K0vnWpog==
249
249
 
@@ -254,7 +254,7 @@ class PutObjectRequest(SdkStreamRequest):
254
254
 
255
255
  @content_md5.setter
256
256
  def content_md5(self, content_md5):
257
- """Sets the content_md5 of this PutObjectRequest.
257
+ r"""Sets the content_md5 of this PutObjectRequest.
258
258
 
259
259
  Base64-encoded 128-bit MD5 digest of the message according to RFC 1864. Example: n58IG6hfM7vqI4K0vnWpog==
260
260
 
@@ -265,7 +265,7 @@ class PutObjectRequest(SdkStreamRequest):
265
265
 
266
266
  @property
267
267
  def x_obs_acl(self):
268
- """Gets the x_obs_acl of this PutObjectRequest.
268
+ r"""Gets the x_obs_acl of this PutObjectRequest.
269
269
 
270
270
  When creating a bucket, you can add this header to configure access control policies (predefined policies) for the bucket. Example: x-obs-acl: public-read
271
271
 
@@ -276,7 +276,7 @@ class PutObjectRequest(SdkStreamRequest):
276
276
 
277
277
  @x_obs_acl.setter
278
278
  def x_obs_acl(self, x_obs_acl):
279
- """Sets the x_obs_acl of this PutObjectRequest.
279
+ r"""Sets the x_obs_acl of this PutObjectRequest.
280
280
 
281
281
  When creating a bucket, you can add this header to configure access control policies (predefined policies) for the bucket. Example: x-obs-acl: public-read
282
282
 
@@ -287,7 +287,7 @@ class PutObjectRequest(SdkStreamRequest):
287
287
 
288
288
  @property
289
289
  def x_obs_grant_read(self):
290
- """Gets the x_obs_grant_read of this PutObjectRequest.
290
+ r"""Gets the x_obs_grant_read of this PutObjectRequest.
291
291
 
292
292
  When creating an object, you can use this header to grant all users under a tenant the permissions to read the object and obtain the object metadata. Example: x-obs-grant-read: id=domainID. If multiple tenants are authorized, separate them with commas (,).
293
293
 
@@ -298,7 +298,7 @@ class PutObjectRequest(SdkStreamRequest):
298
298
 
299
299
  @x_obs_grant_read.setter
300
300
  def x_obs_grant_read(self, x_obs_grant_read):
301
- """Sets the x_obs_grant_read of this PutObjectRequest.
301
+ r"""Sets the x_obs_grant_read of this PutObjectRequest.
302
302
 
303
303
  When creating an object, you can use this header to grant all users under a tenant the permissions to read the object and obtain the object metadata. Example: x-obs-grant-read: id=domainID. If multiple tenants are authorized, separate them with commas (,).
304
304
 
@@ -309,7 +309,7 @@ class PutObjectRequest(SdkStreamRequest):
309
309
 
310
310
  @property
311
311
  def x_obs_grant_read_acp(self):
312
- """Gets the x_obs_grant_read_acp of this PutObjectRequest.
312
+ r"""Gets the x_obs_grant_read_acp of this PutObjectRequest.
313
313
 
314
314
  When creating an object, you can use this header to grant all users under a tenant the permissions to obtain the object ACL. Example: x-obs-grant-read-acp: id=domainID. If multiple tenants are authorized, separate them with commas (,).
315
315
 
@@ -320,7 +320,7 @@ class PutObjectRequest(SdkStreamRequest):
320
320
 
321
321
  @x_obs_grant_read_acp.setter
322
322
  def x_obs_grant_read_acp(self, x_obs_grant_read_acp):
323
- """Sets the x_obs_grant_read_acp of this PutObjectRequest.
323
+ r"""Sets the x_obs_grant_read_acp of this PutObjectRequest.
324
324
 
325
325
  When creating an object, you can use this header to grant all users under a tenant the permissions to obtain the object ACL. Example: x-obs-grant-read-acp: id=domainID. If multiple tenants are authorized, separate them with commas (,).
326
326
 
@@ -331,7 +331,7 @@ class PutObjectRequest(SdkStreamRequest):
331
331
 
332
332
  @property
333
333
  def x_obs_grant_write_acp(self):
334
- """Gets the x_obs_grant_write_acp of this PutObjectRequest.
334
+ r"""Gets the x_obs_grant_write_acp of this PutObjectRequest.
335
335
 
336
336
  When creating an object, you can use this header to grant all users under a tenant the permissions to write the object ACL. Example: x-obs-grant-write-acp: id=domainID. If multiple tenants are authorized, separate them with commas (,).
337
337
 
@@ -342,7 +342,7 @@ class PutObjectRequest(SdkStreamRequest):
342
342
 
343
343
  @x_obs_grant_write_acp.setter
344
344
  def x_obs_grant_write_acp(self, x_obs_grant_write_acp):
345
- """Sets the x_obs_grant_write_acp of this PutObjectRequest.
345
+ r"""Sets the x_obs_grant_write_acp of this PutObjectRequest.
346
346
 
347
347
  When creating an object, you can use this header to grant all users under a tenant the permissions to write the object ACL. Example: x-obs-grant-write-acp: id=domainID. If multiple tenants are authorized, separate them with commas (,).
348
348
 
@@ -353,7 +353,7 @@ class PutObjectRequest(SdkStreamRequest):
353
353
 
354
354
  @property
355
355
  def x_obs_grant_full_control(self):
356
- """Gets the x_obs_grant_full_control of this PutObjectRequest.
356
+ r"""Gets the x_obs_grant_full_control of this PutObjectRequest.
357
357
 
358
358
  When creating an object, you can use this header to grant all users in a domain the permissions to read the object, to obtain the object metadata and ACL, and to write the object ACL. Example: x-obs-grant-full-control: id=domainID. If multiple tenants are authorized, separate them with commas (,).
359
359
 
@@ -364,7 +364,7 @@ class PutObjectRequest(SdkStreamRequest):
364
364
 
365
365
  @x_obs_grant_full_control.setter
366
366
  def x_obs_grant_full_control(self, x_obs_grant_full_control):
367
- """Sets the x_obs_grant_full_control of this PutObjectRequest.
367
+ r"""Sets the x_obs_grant_full_control of this PutObjectRequest.
368
368
 
369
369
  When creating an object, you can use this header to grant all users in a domain the permissions to read the object, to obtain the object metadata and ACL, and to write the object ACL. Example: x-obs-grant-full-control: id=domainID. If multiple tenants are authorized, separate them with commas (,).
370
370
 
@@ -375,7 +375,7 @@ class PutObjectRequest(SdkStreamRequest):
375
375
 
376
376
  @property
377
377
  def x_obs_storage_class(self):
378
- """Gets the x_obs_storage_class of this PutObjectRequest.
378
+ r"""Gets the x_obs_storage_class of this PutObjectRequest.
379
379
 
380
380
  When creating an object, you can use this header to specify a storage class for the object. If you do not have this header configured, the object inherits the default storage class of the bucket.Note: There are three storage classes: Standard (STANDARD), Infrequent Access (WARM), and Archive (COLD), so the value can be **STANDARD**, **WARM**, or **COLD**. The value is case sensitive.Example: x-obs-storage-class: STANDARD
381
381
 
@@ -386,7 +386,7 @@ class PutObjectRequest(SdkStreamRequest):
386
386
 
387
387
  @x_obs_storage_class.setter
388
388
  def x_obs_storage_class(self, x_obs_storage_class):
389
- """Sets the x_obs_storage_class of this PutObjectRequest.
389
+ r"""Sets the x_obs_storage_class of this PutObjectRequest.
390
390
 
391
391
  When creating an object, you can use this header to specify a storage class for the object. If you do not have this header configured, the object inherits the default storage class of the bucket.Note: There are three storage classes: Standard (STANDARD), Infrequent Access (WARM), and Archive (COLD), so the value can be **STANDARD**, **WARM**, or **COLD**. The value is case sensitive.Example: x-obs-storage-class: STANDARD
392
392
 
@@ -397,7 +397,7 @@ class PutObjectRequest(SdkStreamRequest):
397
397
 
398
398
  @property
399
399
  def x_obs_meta_xxx(self):
400
- """Gets the x_obs_meta_xxx of this PutObjectRequest.
400
+ r"""Gets the x_obs_meta_xxx of this PutObjectRequest.
401
401
 
402
402
  User-defined metadata. Example: x-obs-meta-test: test metadata
403
403
 
@@ -408,7 +408,7 @@ class PutObjectRequest(SdkStreamRequest):
408
408
 
409
409
  @x_obs_meta_xxx.setter
410
410
  def x_obs_meta_xxx(self, x_obs_meta_xxx):
411
- """Sets the x_obs_meta_xxx of this PutObjectRequest.
411
+ r"""Sets the x_obs_meta_xxx of this PutObjectRequest.
412
412
 
413
413
  User-defined metadata. Example: x-obs-meta-test: test metadata
414
414
 
@@ -419,7 +419,7 @@ class PutObjectRequest(SdkStreamRequest):
419
419
 
420
420
  @property
421
421
  def x_obs_persistent_headers(self):
422
- """Gets the x_obs_persistent_headers of this PutObjectRequest.
422
+ r"""Gets the x_obs_persistent_headers of this PutObjectRequest.
423
423
 
424
424
  When creating an object, you can add the **x-obs-persistent-headers** header in an HTTP request to customize one or more response headers. When you retrieve the object or query the object metadata, the custom headers will be returned in the response message.Format: **x-obs-persistent-headers: ****key1:base64_encode(***value1***),****key2:base64_encode(***value2***)...**Note: Items, such as **key1** and **key2**, are user-defined headers. If they contain non-ASCII or unrecognizable characters, they can be encoded using URL or Base64. The server processes these headers as strings, but does not decode them. Items, such as *value1* and *value2* are the values of the corresponding headers. **base64_encode** indicates that the value is encoded using Base64. A user-defined header and its Base64-encoded value are connected using a colon (:) to form a key-value pair. All key-value pairs are separated with a comma (,) and are placed in the **x-obs-persistent-headers** header. The server then decodes the uploaded value.Example: x-obs-persistent-headers: key1:dmFsdWUx,key2:dmFsdWUyWhen you download the object or obtain the object metadata, headers **key1:***value1* and **key2:***value2* will be returned.Restrictions:+ Response headers customized in this way cannot be prefixed with **x-obs-**. For example, you should use **key1**, instead of **x-obs-key1**.+ Standard HTTP headers, such as **host**, **content-md5**, **origin**, **range**, and **Content-Disposition**, cannot be specified as custom headers.+ The total length of this header and the custom metadata cannot exceed 8 KB.+ If the same keys are transferred, values are separated with commas (,) and then returned in one key.
425
425
 
@@ -430,7 +430,7 @@ class PutObjectRequest(SdkStreamRequest):
430
430
 
431
431
  @x_obs_persistent_headers.setter
432
432
  def x_obs_persistent_headers(self, x_obs_persistent_headers):
433
- """Sets the x_obs_persistent_headers of this PutObjectRequest.
433
+ r"""Sets the x_obs_persistent_headers of this PutObjectRequest.
434
434
 
435
435
  When creating an object, you can add the **x-obs-persistent-headers** header in an HTTP request to customize one or more response headers. When you retrieve the object or query the object metadata, the custom headers will be returned in the response message.Format: **x-obs-persistent-headers: ****key1:base64_encode(***value1***),****key2:base64_encode(***value2***)...**Note: Items, such as **key1** and **key2**, are user-defined headers. If they contain non-ASCII or unrecognizable characters, they can be encoded using URL or Base64. The server processes these headers as strings, but does not decode them. Items, such as *value1* and *value2* are the values of the corresponding headers. **base64_encode** indicates that the value is encoded using Base64. A user-defined header and its Base64-encoded value are connected using a colon (:) to form a key-value pair. All key-value pairs are separated with a comma (,) and are placed in the **x-obs-persistent-headers** header. The server then decodes the uploaded value.Example: x-obs-persistent-headers: key1:dmFsdWUx,key2:dmFsdWUyWhen you download the object or obtain the object metadata, headers **key1:***value1* and **key2:***value2* will be returned.Restrictions:+ Response headers customized in this way cannot be prefixed with **x-obs-**. For example, you should use **key1**, instead of **x-obs-key1**.+ Standard HTTP headers, such as **host**, **content-md5**, **origin**, **range**, and **Content-Disposition**, cannot be specified as custom headers.+ The total length of this header and the custom metadata cannot exceed 8 KB.+ If the same keys are transferred, values are separated with commas (,) and then returned in one key.
436
436
 
@@ -441,7 +441,7 @@ class PutObjectRequest(SdkStreamRequest):
441
441
 
442
442
  @property
443
443
  def x_obs_website_redirect_location(self):
444
- """Gets the x_obs_website_redirect_location of this PutObjectRequest.
444
+ r"""Gets the x_obs_website_redirect_location of this PutObjectRequest.
445
445
 
446
446
  If static website hosting has been configured for a bucket, you can configure this parameter to redirect requests for an object in this bucket to another object in the same bucket or to an external URL. OBS stores the value of this header in the object metadata.Example of redirecting requests to another object in the bucket:x-obs-website-redirect-location:/anotherPage.htmlExample of redirecting requests to an external URL:x-obs-website-redirect-location:http://www.example.com/Default value: noneRestriction: The value must start with a slash (/), **http://**, or **https://**, with a length of no more than 2 KB.
447
447
 
@@ -452,7 +452,7 @@ class PutObjectRequest(SdkStreamRequest):
452
452
 
453
453
  @x_obs_website_redirect_location.setter
454
454
  def x_obs_website_redirect_location(self, x_obs_website_redirect_location):
455
- """Sets the x_obs_website_redirect_location of this PutObjectRequest.
455
+ r"""Sets the x_obs_website_redirect_location of this PutObjectRequest.
456
456
 
457
457
  If static website hosting has been configured for a bucket, you can configure this parameter to redirect requests for an object in this bucket to another object in the same bucket or to an external URL. OBS stores the value of this header in the object metadata.Example of redirecting requests to another object in the bucket:x-obs-website-redirect-location:/anotherPage.htmlExample of redirecting requests to an external URL:x-obs-website-redirect-location:http://www.example.com/Default value: noneRestriction: The value must start with a slash (/), **http://**, or **https://**, with a length of no more than 2 KB.
458
458
 
@@ -463,7 +463,7 @@ class PutObjectRequest(SdkStreamRequest):
463
463
 
464
464
  @property
465
465
  def x_obs_server_side_encryption(self):
466
- """Gets the x_obs_server_side_encryption of this PutObjectRequest.
466
+ r"""Gets the x_obs_server_side_encryption of this PutObjectRequest.
467
467
 
468
468
  Indicates that SSE-KMS is used. Example: x-obs-server-side-encryption: kms
469
469
 
@@ -474,7 +474,7 @@ class PutObjectRequest(SdkStreamRequest):
474
474
 
475
475
  @x_obs_server_side_encryption.setter
476
476
  def x_obs_server_side_encryption(self, x_obs_server_side_encryption):
477
- """Sets the x_obs_server_side_encryption of this PutObjectRequest.
477
+ r"""Sets the x_obs_server_side_encryption of this PutObjectRequest.
478
478
 
479
479
  Indicates that SSE-KMS is used. Example: x-obs-server-side-encryption: kms
480
480
 
@@ -485,7 +485,7 @@ class PutObjectRequest(SdkStreamRequest):
485
485
 
486
486
  @property
487
487
  def x_obs_server_side_encryption_kms_key_id(self):
488
- """Gets the x_obs_server_side_encryption_kms_key_id of this PutObjectRequest.
488
+ r"""Gets the x_obs_server_side_encryption_kms_key_id of this PutObjectRequest.
489
489
 
490
490
  Master key ID. This header is used for encryption with SSE-KMS. If the customer does not provide the master key ID, the default master key ID will be used.Supported formats:+ *regionID***:***domainID***:key/***key_id* + *key_id**regionID* is the ID of the region to which the key belongs. *domainID* is the account ID of the tenant to which the key belongs. *key_id* is the key ID created in DEW.Examples:+ x-obs-server-side-encryption-kms-key-id:cn-north-4:domainiddomainiddomainiddoma0001:key/4f1cd4de-ab64-4807-920a-47fc42e7f0d0 + x-obs-server-side-encryption-kms-key-id:4f1cd4de-ab64-4807-920a-47fc42e7f0d0
491
491
 
@@ -496,7 +496,7 @@ class PutObjectRequest(SdkStreamRequest):
496
496
 
497
497
  @x_obs_server_side_encryption_kms_key_id.setter
498
498
  def x_obs_server_side_encryption_kms_key_id(self, x_obs_server_side_encryption_kms_key_id):
499
- """Sets the x_obs_server_side_encryption_kms_key_id of this PutObjectRequest.
499
+ r"""Sets the x_obs_server_side_encryption_kms_key_id of this PutObjectRequest.
500
500
 
501
501
  Master key ID. This header is used for encryption with SSE-KMS. If the customer does not provide the master key ID, the default master key ID will be used.Supported formats:+ *regionID***:***domainID***:key/***key_id* + *key_id**regionID* is the ID of the region to which the key belongs. *domainID* is the account ID of the tenant to which the key belongs. *key_id* is the key ID created in DEW.Examples:+ x-obs-server-side-encryption-kms-key-id:cn-north-4:domainiddomainiddomainiddoma0001:key/4f1cd4de-ab64-4807-920a-47fc42e7f0d0 + x-obs-server-side-encryption-kms-key-id:4f1cd4de-ab64-4807-920a-47fc42e7f0d0
502
502
 
@@ -507,7 +507,7 @@ class PutObjectRequest(SdkStreamRequest):
507
507
 
508
508
  @property
509
509
  def x_obs_server_side_encryption_customer_algorithm(self):
510
- """Gets the x_obs_server_side_encryption_customer_algorithm of this PutObjectRequest.
510
+ r"""Gets the x_obs_server_side_encryption_customer_algorithm of this PutObjectRequest.
511
511
 
512
512
  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**.
513
513
 
@@ -518,7 +518,7 @@ class PutObjectRequest(SdkStreamRequest):
518
518
 
519
519
  @x_obs_server_side_encryption_customer_algorithm.setter
520
520
  def x_obs_server_side_encryption_customer_algorithm(self, x_obs_server_side_encryption_customer_algorithm):
521
- """Sets the x_obs_server_side_encryption_customer_algorithm of this PutObjectRequest.
521
+ r"""Sets the x_obs_server_side_encryption_customer_algorithm of this PutObjectRequest.
522
522
 
523
523
  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**.
524
524
 
@@ -529,7 +529,7 @@ class PutObjectRequest(SdkStreamRequest):
529
529
 
530
530
  @property
531
531
  def x_obs_server_side_encryption_customer_key(self):
532
- """Gets the x_obs_server_side_encryption_customer_key of this PutObjectRequest.
532
+ r"""Gets the x_obs_server_side_encryption_customer_key of this PutObjectRequest.
533
533
 
534
534
  Encryption key used for SSE-C. This key is used to encrypt 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**.
535
535
 
@@ -540,7 +540,7 @@ class PutObjectRequest(SdkStreamRequest):
540
540
 
541
541
  @x_obs_server_side_encryption_customer_key.setter
542
542
  def x_obs_server_side_encryption_customer_key(self, x_obs_server_side_encryption_customer_key):
543
- """Sets the x_obs_server_side_encryption_customer_key of this PutObjectRequest.
543
+ r"""Sets the x_obs_server_side_encryption_customer_key of this PutObjectRequest.
544
544
 
545
545
  Encryption key used for SSE-C. This key is used to encrypt 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**.
546
546
 
@@ -551,7 +551,7 @@ class PutObjectRequest(SdkStreamRequest):
551
551
 
552
552
  @property
553
553
  def x_obs_server_side_encryption_customer_key_md5(self):
554
- """Gets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectRequest.
554
+ r"""Gets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectRequest.
555
555
 
556
556
  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**.
557
557
 
@@ -562,7 +562,7 @@ class PutObjectRequest(SdkStreamRequest):
562
562
 
563
563
  @x_obs_server_side_encryption_customer_key_md5.setter
564
564
  def x_obs_server_side_encryption_customer_key_md5(self, x_obs_server_side_encryption_customer_key_md5):
565
- """Sets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectRequest.
565
+ r"""Sets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectRequest.
566
566
 
567
567
  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**.
568
568
 
@@ -573,7 +573,7 @@ class PutObjectRequest(SdkStreamRequest):
573
573
 
574
574
  @property
575
575
  def success_action_redirect(self):
576
- """Gets the success_action_redirect of this PutObjectRequest.
576
+ r"""Gets the success_action_redirect of this PutObjectRequest.
577
577
 
578
578
  The address (a URL) which a successfully responded request is redirected to. If this parameter value is valid and the request succeeds, OBS returns status code 303. The **Location** header consists of **success_action_redirect** as well as the bucket name, object name, and object ETag. If this parameter is invalid, OBS ignores this parameter and returns status code 204. In such case, the **Location** header is the object address.
579
579
 
@@ -584,7 +584,7 @@ class PutObjectRequest(SdkStreamRequest):
584
584
 
585
585
  @success_action_redirect.setter
586
586
  def success_action_redirect(self, success_action_redirect):
587
- """Sets the success_action_redirect of this PutObjectRequest.
587
+ r"""Sets the success_action_redirect of this PutObjectRequest.
588
588
 
589
589
  The address (a URL) which a successfully responded request is redirected to. If this parameter value is valid and the request succeeds, OBS returns status code 303. The **Location** header consists of **success_action_redirect** as well as the bucket name, object name, and object ETag. If this parameter is invalid, OBS ignores this parameter and returns status code 204. In such case, the **Location** header is the object address.
590
590
 
@@ -595,7 +595,7 @@ class PutObjectRequest(SdkStreamRequest):
595
595
 
596
596
  @property
597
597
  def x_obs_expires(self):
598
- """Gets the x_obs_expires of this PutObjectRequest.
598
+ r"""Gets the x_obs_expires of this PutObjectRequest.
599
599
 
600
600
  When an object expires. It is measured in days. An object will be automatically deleted once it expires. The expiration is calculated from when the object was last modified. This header can be only configured during the object upload, and cannot be modified later by using the metadata API. Example: x-obs-expires:3
601
601
 
@@ -606,7 +606,7 @@ class PutObjectRequest(SdkStreamRequest):
606
606
 
607
607
  @x_obs_expires.setter
608
608
  def x_obs_expires(self, x_obs_expires):
609
- """Sets the x_obs_expires of this PutObjectRequest.
609
+ r"""Sets the x_obs_expires of this PutObjectRequest.
610
610
 
611
611
  When an object expires. It is measured in days. An object will be automatically deleted once it expires. The expiration is calculated from when the object was last modified. This header can be only configured during the object upload, and cannot be modified later by using the metadata API. Example: x-obs-expires:3
612
612
 
@@ -50,7 +50,7 @@ class PutObjectResponse(SdkResponse):
50
50
  }
51
51
 
52
52
  def __init__(self, x_obs_id_2=None, x_obs_request_id=None, e_tag=None, x_obs_server_side_encryption=None, x_obs_server_side_encryption_customer_algorithm=None, x_obs_storage_class=None, connection=None, x_obs_server_side_encryption_customer_key_md5=None, x_obs_server_side_encryption_kms_key_id=None, content_length=None, date=None, x_obs_version_id=None):
53
- """PutObjectResponse
53
+ r"""PutObjectResponse
54
54
 
55
55
  The model defined in huaweicloud sdk
56
56
 
@@ -123,7 +123,7 @@ class PutObjectResponse(SdkResponse):
123
123
 
124
124
  @property
125
125
  def x_obs_id_2(self):
126
- """Gets the x_obs_id_2 of this PutObjectResponse.
126
+ r"""Gets the x_obs_id_2 of this PutObjectResponse.
127
127
 
128
128
  :return: The x_obs_id_2 of this PutObjectResponse.
129
129
  :rtype: str
@@ -132,7 +132,7 @@ class PutObjectResponse(SdkResponse):
132
132
 
133
133
  @x_obs_id_2.setter
134
134
  def x_obs_id_2(self, x_obs_id_2):
135
- """Sets the x_obs_id_2 of this PutObjectResponse.
135
+ r"""Sets the x_obs_id_2 of this PutObjectResponse.
136
136
 
137
137
  :param x_obs_id_2: The x_obs_id_2 of this PutObjectResponse.
138
138
  :type x_obs_id_2: str
@@ -141,7 +141,7 @@ class PutObjectResponse(SdkResponse):
141
141
 
142
142
  @property
143
143
  def x_obs_request_id(self):
144
- """Gets the x_obs_request_id of this PutObjectResponse.
144
+ r"""Gets the x_obs_request_id of this PutObjectResponse.
145
145
 
146
146
  :return: The x_obs_request_id of this PutObjectResponse.
147
147
  :rtype: str
@@ -150,7 +150,7 @@ class PutObjectResponse(SdkResponse):
150
150
 
151
151
  @x_obs_request_id.setter
152
152
  def x_obs_request_id(self, x_obs_request_id):
153
- """Sets the x_obs_request_id of this PutObjectResponse.
153
+ r"""Sets the x_obs_request_id of this PutObjectResponse.
154
154
 
155
155
  :param x_obs_request_id: The x_obs_request_id of this PutObjectResponse.
156
156
  :type x_obs_request_id: str
@@ -159,7 +159,7 @@ class PutObjectResponse(SdkResponse):
159
159
 
160
160
  @property
161
161
  def e_tag(self):
162
- """Gets the e_tag of this PutObjectResponse.
162
+ r"""Gets the e_tag of this PutObjectResponse.
163
163
 
164
164
  :return: The e_tag of this PutObjectResponse.
165
165
  :rtype: str
@@ -168,7 +168,7 @@ class PutObjectResponse(SdkResponse):
168
168
 
169
169
  @e_tag.setter
170
170
  def e_tag(self, e_tag):
171
- """Sets the e_tag of this PutObjectResponse.
171
+ r"""Sets the e_tag of this PutObjectResponse.
172
172
 
173
173
  :param e_tag: The e_tag of this PutObjectResponse.
174
174
  :type e_tag: str
@@ -177,7 +177,7 @@ class PutObjectResponse(SdkResponse):
177
177
 
178
178
  @property
179
179
  def x_obs_server_side_encryption(self):
180
- """Gets the x_obs_server_side_encryption of this PutObjectResponse.
180
+ r"""Gets the x_obs_server_side_encryption of this PutObjectResponse.
181
181
 
182
182
  :return: The x_obs_server_side_encryption of this PutObjectResponse.
183
183
  :rtype: str
@@ -186,7 +186,7 @@ class PutObjectResponse(SdkResponse):
186
186
 
187
187
  @x_obs_server_side_encryption.setter
188
188
  def x_obs_server_side_encryption(self, x_obs_server_side_encryption):
189
- """Sets the x_obs_server_side_encryption of this PutObjectResponse.
189
+ r"""Sets the x_obs_server_side_encryption of this PutObjectResponse.
190
190
 
191
191
  :param x_obs_server_side_encryption: The x_obs_server_side_encryption of this PutObjectResponse.
192
192
  :type x_obs_server_side_encryption: str
@@ -195,7 +195,7 @@ class PutObjectResponse(SdkResponse):
195
195
 
196
196
  @property
197
197
  def x_obs_server_side_encryption_customer_algorithm(self):
198
- """Gets the x_obs_server_side_encryption_customer_algorithm of this PutObjectResponse.
198
+ r"""Gets the x_obs_server_side_encryption_customer_algorithm of this PutObjectResponse.
199
199
 
200
200
  :return: The x_obs_server_side_encryption_customer_algorithm of this PutObjectResponse.
201
201
  :rtype: str
@@ -204,7 +204,7 @@ class PutObjectResponse(SdkResponse):
204
204
 
205
205
  @x_obs_server_side_encryption_customer_algorithm.setter
206
206
  def x_obs_server_side_encryption_customer_algorithm(self, x_obs_server_side_encryption_customer_algorithm):
207
- """Sets the x_obs_server_side_encryption_customer_algorithm of this PutObjectResponse.
207
+ r"""Sets the x_obs_server_side_encryption_customer_algorithm of this PutObjectResponse.
208
208
 
209
209
  :param x_obs_server_side_encryption_customer_algorithm: The x_obs_server_side_encryption_customer_algorithm of this PutObjectResponse.
210
210
  :type x_obs_server_side_encryption_customer_algorithm: str
@@ -213,7 +213,7 @@ class PutObjectResponse(SdkResponse):
213
213
 
214
214
  @property
215
215
  def x_obs_storage_class(self):
216
- """Gets the x_obs_storage_class of this PutObjectResponse.
216
+ r"""Gets the x_obs_storage_class of this PutObjectResponse.
217
217
 
218
218
  :return: The x_obs_storage_class of this PutObjectResponse.
219
219
  :rtype: str
@@ -222,7 +222,7 @@ class PutObjectResponse(SdkResponse):
222
222
 
223
223
  @x_obs_storage_class.setter
224
224
  def x_obs_storage_class(self, x_obs_storage_class):
225
- """Sets the x_obs_storage_class of this PutObjectResponse.
225
+ r"""Sets the x_obs_storage_class of this PutObjectResponse.
226
226
 
227
227
  :param x_obs_storage_class: The x_obs_storage_class of this PutObjectResponse.
228
228
  :type x_obs_storage_class: str
@@ -231,7 +231,7 @@ class PutObjectResponse(SdkResponse):
231
231
 
232
232
  @property
233
233
  def connection(self):
234
- """Gets the connection of this PutObjectResponse.
234
+ r"""Gets the connection of this PutObjectResponse.
235
235
 
236
236
  :return: The connection of this PutObjectResponse.
237
237
  :rtype: str
@@ -240,7 +240,7 @@ class PutObjectResponse(SdkResponse):
240
240
 
241
241
  @connection.setter
242
242
  def connection(self, connection):
243
- """Sets the connection of this PutObjectResponse.
243
+ r"""Sets the connection of this PutObjectResponse.
244
244
 
245
245
  :param connection: The connection of this PutObjectResponse.
246
246
  :type connection: str
@@ -249,7 +249,7 @@ class PutObjectResponse(SdkResponse):
249
249
 
250
250
  @property
251
251
  def x_obs_server_side_encryption_customer_key_md5(self):
252
- """Gets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectResponse.
252
+ r"""Gets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectResponse.
253
253
 
254
254
  :return: The x_obs_server_side_encryption_customer_key_md5 of this PutObjectResponse.
255
255
  :rtype: str
@@ -258,7 +258,7 @@ class PutObjectResponse(SdkResponse):
258
258
 
259
259
  @x_obs_server_side_encryption_customer_key_md5.setter
260
260
  def x_obs_server_side_encryption_customer_key_md5(self, x_obs_server_side_encryption_customer_key_md5):
261
- """Sets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectResponse.
261
+ r"""Sets the x_obs_server_side_encryption_customer_key_md5 of this PutObjectResponse.
262
262
 
263
263
  :param x_obs_server_side_encryption_customer_key_md5: The x_obs_server_side_encryption_customer_key_md5 of this PutObjectResponse.
264
264
  :type x_obs_server_side_encryption_customer_key_md5: str
@@ -267,7 +267,7 @@ class PutObjectResponse(SdkResponse):
267
267
 
268
268
  @property
269
269
  def x_obs_server_side_encryption_kms_key_id(self):
270
- """Gets the x_obs_server_side_encryption_kms_key_id of this PutObjectResponse.
270
+ r"""Gets the x_obs_server_side_encryption_kms_key_id of this PutObjectResponse.
271
271
 
272
272
  :return: The x_obs_server_side_encryption_kms_key_id of this PutObjectResponse.
273
273
  :rtype: str
@@ -276,7 +276,7 @@ class PutObjectResponse(SdkResponse):
276
276
 
277
277
  @x_obs_server_side_encryption_kms_key_id.setter
278
278
  def x_obs_server_side_encryption_kms_key_id(self, x_obs_server_side_encryption_kms_key_id):
279
- """Sets the x_obs_server_side_encryption_kms_key_id of this PutObjectResponse.
279
+ r"""Sets the x_obs_server_side_encryption_kms_key_id of this PutObjectResponse.
280
280
 
281
281
  :param x_obs_server_side_encryption_kms_key_id: The x_obs_server_side_encryption_kms_key_id of this PutObjectResponse.
282
282
  :type x_obs_server_side_encryption_kms_key_id: str
@@ -285,7 +285,7 @@ class PutObjectResponse(SdkResponse):
285
285
 
286
286
  @property
287
287
  def content_length(self):
288
- """Gets the content_length of this PutObjectResponse.
288
+ r"""Gets the content_length of this PutObjectResponse.
289
289
 
290
290
  :return: The content_length of this PutObjectResponse.
291
291
  :rtype: str
@@ -294,7 +294,7 @@ class PutObjectResponse(SdkResponse):
294
294
 
295
295
  @content_length.setter
296
296
  def content_length(self, content_length):
297
- """Sets the content_length of this PutObjectResponse.
297
+ r"""Sets the content_length of this PutObjectResponse.
298
298
 
299
299
  :param content_length: The content_length of this PutObjectResponse.
300
300
  :type content_length: str
@@ -303,7 +303,7 @@ class PutObjectResponse(SdkResponse):
303
303
 
304
304
  @property
305
305
  def date(self):
306
- """Gets the date of this PutObjectResponse.
306
+ r"""Gets the date of this PutObjectResponse.
307
307
 
308
308
  :return: The date of this PutObjectResponse.
309
309
  :rtype: str
@@ -312,7 +312,7 @@ class PutObjectResponse(SdkResponse):
312
312
 
313
313
  @date.setter
314
314
  def date(self, date):
315
- """Sets the date of this PutObjectResponse.
315
+ r"""Sets the date of this PutObjectResponse.
316
316
 
317
317
  :param date: The date of this PutObjectResponse.
318
318
  :type date: str
@@ -321,7 +321,7 @@ class PutObjectResponse(SdkResponse):
321
321
 
322
322
  @property
323
323
  def x_obs_version_id(self):
324
- """Gets the x_obs_version_id of this PutObjectResponse.
324
+ r"""Gets the x_obs_version_id of this PutObjectResponse.
325
325
 
326
326
  :return: The x_obs_version_id of this PutObjectResponse.
327
327
  :rtype: str
@@ -330,7 +330,7 @@ class PutObjectResponse(SdkResponse):
330
330
 
331
331
  @x_obs_version_id.setter
332
332
  def x_obs_version_id(self, x_obs_version_id):
333
- """Sets the x_obs_version_id of this PutObjectResponse.
333
+ r"""Sets the x_obs_version_id of this PutObjectResponse.
334
334
 
335
335
  :param x_obs_version_id: The x_obs_version_id of this PutObjectResponse.
336
336
  :type x_obs_version_id: str