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
@@ -54,7 +54,7 @@ class CopyObjectResponse(SdkResponse):
54
54
  }
55
55
 
56
56
  def __init__(self, last_modified=None, e_tag=None, x_obs_id_2=None, x_obs_request_id=None, x_obs_server_side_encryption=None, connection=None, x_obs_server_side_encryption_customer_key_md5=None, date=None, x_obs_server_side_encryption_customer_algorithm=None, x_obs_copy_source_version_id=None, x_obs_storage_class=None, x_obs_server_side_encryption_kms_key_id=None, content_length=None, x_obs_version_id=None):
57
- """CopyObjectResponse
57
+ r"""CopyObjectResponse
58
58
 
59
59
  The model defined in huaweicloud sdk
60
60
 
@@ -137,7 +137,7 @@ class CopyObjectResponse(SdkResponse):
137
137
 
138
138
  @property
139
139
  def last_modified(self):
140
- """Gets the last_modified of this CopyObjectResponse.
140
+ r"""Gets the last_modified of this CopyObjectResponse.
141
141
 
142
142
  Time when the object was last modified
143
143
 
@@ -148,7 +148,7 @@ class CopyObjectResponse(SdkResponse):
148
148
 
149
149
  @last_modified.setter
150
150
  def last_modified(self, last_modified):
151
- """Sets the last_modified of this CopyObjectResponse.
151
+ r"""Sets the last_modified of this CopyObjectResponse.
152
152
 
153
153
  Time when the object was last modified
154
154
 
@@ -159,7 +159,7 @@ class CopyObjectResponse(SdkResponse):
159
159
 
160
160
  @property
161
161
  def e_tag(self):
162
- """Gets the e_tag of this CopyObjectResponse.
162
+ r"""Gets the e_tag of this CopyObjectResponse.
163
163
 
164
164
  :return: The e_tag of this CopyObjectResponse.
165
165
  :rtype: str
@@ -168,7 +168,7 @@ class CopyObjectResponse(SdkResponse):
168
168
 
169
169
  @e_tag.setter
170
170
  def e_tag(self, e_tag):
171
- """Sets the e_tag of this CopyObjectResponse.
171
+ r"""Sets the e_tag of this CopyObjectResponse.
172
172
 
173
173
  :param e_tag: The e_tag of this CopyObjectResponse.
174
174
  :type e_tag: str
@@ -177,7 +177,7 @@ class CopyObjectResponse(SdkResponse):
177
177
 
178
178
  @property
179
179
  def x_obs_id_2(self):
180
- """Gets the x_obs_id_2 of this CopyObjectResponse.
180
+ r"""Gets the x_obs_id_2 of this CopyObjectResponse.
181
181
 
182
182
  :return: The x_obs_id_2 of this CopyObjectResponse.
183
183
  :rtype: str
@@ -186,7 +186,7 @@ class CopyObjectResponse(SdkResponse):
186
186
 
187
187
  @x_obs_id_2.setter
188
188
  def x_obs_id_2(self, x_obs_id_2):
189
- """Sets the x_obs_id_2 of this CopyObjectResponse.
189
+ r"""Sets the x_obs_id_2 of this CopyObjectResponse.
190
190
 
191
191
  :param x_obs_id_2: The x_obs_id_2 of this CopyObjectResponse.
192
192
  :type x_obs_id_2: str
@@ -195,7 +195,7 @@ class CopyObjectResponse(SdkResponse):
195
195
 
196
196
  @property
197
197
  def x_obs_request_id(self):
198
- """Gets the x_obs_request_id of this CopyObjectResponse.
198
+ r"""Gets the x_obs_request_id of this CopyObjectResponse.
199
199
 
200
200
  :return: The x_obs_request_id of this CopyObjectResponse.
201
201
  :rtype: str
@@ -204,7 +204,7 @@ class CopyObjectResponse(SdkResponse):
204
204
 
205
205
  @x_obs_request_id.setter
206
206
  def x_obs_request_id(self, x_obs_request_id):
207
- """Sets the x_obs_request_id of this CopyObjectResponse.
207
+ r"""Sets the x_obs_request_id of this CopyObjectResponse.
208
208
 
209
209
  :param x_obs_request_id: The x_obs_request_id of this CopyObjectResponse.
210
210
  :type x_obs_request_id: str
@@ -213,7 +213,7 @@ class CopyObjectResponse(SdkResponse):
213
213
 
214
214
  @property
215
215
  def x_obs_server_side_encryption(self):
216
- """Gets the x_obs_server_side_encryption of this CopyObjectResponse.
216
+ r"""Gets the x_obs_server_side_encryption of this CopyObjectResponse.
217
217
 
218
218
  :return: The x_obs_server_side_encryption of this CopyObjectResponse.
219
219
  :rtype: str
@@ -222,7 +222,7 @@ class CopyObjectResponse(SdkResponse):
222
222
 
223
223
  @x_obs_server_side_encryption.setter
224
224
  def x_obs_server_side_encryption(self, x_obs_server_side_encryption):
225
- """Sets the x_obs_server_side_encryption of this CopyObjectResponse.
225
+ r"""Sets the x_obs_server_side_encryption of this CopyObjectResponse.
226
226
 
227
227
  :param x_obs_server_side_encryption: The x_obs_server_side_encryption of this CopyObjectResponse.
228
228
  :type x_obs_server_side_encryption: str
@@ -231,7 +231,7 @@ class CopyObjectResponse(SdkResponse):
231
231
 
232
232
  @property
233
233
  def connection(self):
234
- """Gets the connection of this CopyObjectResponse.
234
+ r"""Gets the connection of this CopyObjectResponse.
235
235
 
236
236
  :return: The connection of this CopyObjectResponse.
237
237
  :rtype: str
@@ -240,7 +240,7 @@ class CopyObjectResponse(SdkResponse):
240
240
 
241
241
  @connection.setter
242
242
  def connection(self, connection):
243
- """Sets the connection of this CopyObjectResponse.
243
+ r"""Sets the connection of this CopyObjectResponse.
244
244
 
245
245
  :param connection: The connection of this CopyObjectResponse.
246
246
  :type connection: str
@@ -249,7 +249,7 @@ class CopyObjectResponse(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 CopyObjectResponse.
252
+ r"""Gets the x_obs_server_side_encryption_customer_key_md5 of this CopyObjectResponse.
253
253
 
254
254
  :return: The x_obs_server_side_encryption_customer_key_md5 of this CopyObjectResponse.
255
255
  :rtype: str
@@ -258,7 +258,7 @@ class CopyObjectResponse(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 CopyObjectResponse.
261
+ r"""Sets the x_obs_server_side_encryption_customer_key_md5 of this CopyObjectResponse.
262
262
 
263
263
  :param x_obs_server_side_encryption_customer_key_md5: The x_obs_server_side_encryption_customer_key_md5 of this CopyObjectResponse.
264
264
  :type x_obs_server_side_encryption_customer_key_md5: str
@@ -267,7 +267,7 @@ class CopyObjectResponse(SdkResponse):
267
267
 
268
268
  @property
269
269
  def date(self):
270
- """Gets the date of this CopyObjectResponse.
270
+ r"""Gets the date of this CopyObjectResponse.
271
271
 
272
272
  :return: The date of this CopyObjectResponse.
273
273
  :rtype: str
@@ -276,7 +276,7 @@ class CopyObjectResponse(SdkResponse):
276
276
 
277
277
  @date.setter
278
278
  def date(self, date):
279
- """Sets the date of this CopyObjectResponse.
279
+ r"""Sets the date of this CopyObjectResponse.
280
280
 
281
281
  :param date: The date of this CopyObjectResponse.
282
282
  :type date: str
@@ -285,7 +285,7 @@ class CopyObjectResponse(SdkResponse):
285
285
 
286
286
  @property
287
287
  def x_obs_server_side_encryption_customer_algorithm(self):
288
- """Gets the x_obs_server_side_encryption_customer_algorithm of this CopyObjectResponse.
288
+ r"""Gets the x_obs_server_side_encryption_customer_algorithm of this CopyObjectResponse.
289
289
 
290
290
  :return: The x_obs_server_side_encryption_customer_algorithm of this CopyObjectResponse.
291
291
  :rtype: str
@@ -294,7 +294,7 @@ class CopyObjectResponse(SdkResponse):
294
294
 
295
295
  @x_obs_server_side_encryption_customer_algorithm.setter
296
296
  def x_obs_server_side_encryption_customer_algorithm(self, x_obs_server_side_encryption_customer_algorithm):
297
- """Sets the x_obs_server_side_encryption_customer_algorithm of this CopyObjectResponse.
297
+ r"""Sets the x_obs_server_side_encryption_customer_algorithm of this CopyObjectResponse.
298
298
 
299
299
  :param x_obs_server_side_encryption_customer_algorithm: The x_obs_server_side_encryption_customer_algorithm of this CopyObjectResponse.
300
300
  :type x_obs_server_side_encryption_customer_algorithm: str
@@ -303,7 +303,7 @@ class CopyObjectResponse(SdkResponse):
303
303
 
304
304
  @property
305
305
  def x_obs_copy_source_version_id(self):
306
- """Gets the x_obs_copy_source_version_id of this CopyObjectResponse.
306
+ r"""Gets the x_obs_copy_source_version_id of this CopyObjectResponse.
307
307
 
308
308
  :return: The x_obs_copy_source_version_id of this CopyObjectResponse.
309
309
  :rtype: str
@@ -312,7 +312,7 @@ class CopyObjectResponse(SdkResponse):
312
312
 
313
313
  @x_obs_copy_source_version_id.setter
314
314
  def x_obs_copy_source_version_id(self, x_obs_copy_source_version_id):
315
- """Sets the x_obs_copy_source_version_id of this CopyObjectResponse.
315
+ r"""Sets the x_obs_copy_source_version_id of this CopyObjectResponse.
316
316
 
317
317
  :param x_obs_copy_source_version_id: The x_obs_copy_source_version_id of this CopyObjectResponse.
318
318
  :type x_obs_copy_source_version_id: str
@@ -321,7 +321,7 @@ class CopyObjectResponse(SdkResponse):
321
321
 
322
322
  @property
323
323
  def x_obs_storage_class(self):
324
- """Gets the x_obs_storage_class of this CopyObjectResponse.
324
+ r"""Gets the x_obs_storage_class of this CopyObjectResponse.
325
325
 
326
326
  :return: The x_obs_storage_class of this CopyObjectResponse.
327
327
  :rtype: str
@@ -330,7 +330,7 @@ class CopyObjectResponse(SdkResponse):
330
330
 
331
331
  @x_obs_storage_class.setter
332
332
  def x_obs_storage_class(self, x_obs_storage_class):
333
- """Sets the x_obs_storage_class of this CopyObjectResponse.
333
+ r"""Sets the x_obs_storage_class of this CopyObjectResponse.
334
334
 
335
335
  :param x_obs_storage_class: The x_obs_storage_class of this CopyObjectResponse.
336
336
  :type x_obs_storage_class: str
@@ -339,7 +339,7 @@ class CopyObjectResponse(SdkResponse):
339
339
 
340
340
  @property
341
341
  def x_obs_server_side_encryption_kms_key_id(self):
342
- """Gets the x_obs_server_side_encryption_kms_key_id of this CopyObjectResponse.
342
+ r"""Gets the x_obs_server_side_encryption_kms_key_id of this CopyObjectResponse.
343
343
 
344
344
  :return: The x_obs_server_side_encryption_kms_key_id of this CopyObjectResponse.
345
345
  :rtype: str
@@ -348,7 +348,7 @@ class CopyObjectResponse(SdkResponse):
348
348
 
349
349
  @x_obs_server_side_encryption_kms_key_id.setter
350
350
  def x_obs_server_side_encryption_kms_key_id(self, x_obs_server_side_encryption_kms_key_id):
351
- """Sets the x_obs_server_side_encryption_kms_key_id of this CopyObjectResponse.
351
+ r"""Sets the x_obs_server_side_encryption_kms_key_id of this CopyObjectResponse.
352
352
 
353
353
  :param x_obs_server_side_encryption_kms_key_id: The x_obs_server_side_encryption_kms_key_id of this CopyObjectResponse.
354
354
  :type x_obs_server_side_encryption_kms_key_id: str
@@ -357,7 +357,7 @@ class CopyObjectResponse(SdkResponse):
357
357
 
358
358
  @property
359
359
  def content_length(self):
360
- """Gets the content_length of this CopyObjectResponse.
360
+ r"""Gets the content_length of this CopyObjectResponse.
361
361
 
362
362
  :return: The content_length of this CopyObjectResponse.
363
363
  :rtype: str
@@ -366,7 +366,7 @@ class CopyObjectResponse(SdkResponse):
366
366
 
367
367
  @content_length.setter
368
368
  def content_length(self, content_length):
369
- """Sets the content_length of this CopyObjectResponse.
369
+ r"""Sets the content_length of this CopyObjectResponse.
370
370
 
371
371
  :param content_length: The content_length of this CopyObjectResponse.
372
372
  :type content_length: str
@@ -375,7 +375,7 @@ class CopyObjectResponse(SdkResponse):
375
375
 
376
376
  @property
377
377
  def x_obs_version_id(self):
378
- """Gets the x_obs_version_id of this CopyObjectResponse.
378
+ r"""Gets the x_obs_version_id of this CopyObjectResponse.
379
379
 
380
380
  :return: The x_obs_version_id of this CopyObjectResponse.
381
381
  :rtype: str
@@ -384,7 +384,7 @@ class CopyObjectResponse(SdkResponse):
384
384
 
385
385
  @x_obs_version_id.setter
386
386
  def x_obs_version_id(self, x_obs_version_id):
387
- """Sets the x_obs_version_id of this CopyObjectResponse.
387
+ r"""Sets the x_obs_version_id of this CopyObjectResponse.
388
388
 
389
389
  :param x_obs_version_id: The x_obs_version_id of this CopyObjectResponse.
390
390
  :type x_obs_version_id: str
@@ -61,7 +61,7 @@ class CreateBucketRequest:
61
61
  }
62
62
 
63
63
  def __init__(self, bucket_name=None, date=None, x_obs_acl=None, x_obs_storage_class=None, x_obs_grant_read=None, x_obs_grant_write=None, x_obs_grant_read_acp=None, x_obs_grant_write_acp=None, x_obs_grant_full_control=None, x_obs_grant_read_delivered=None, x_obs_grant_full_control_delivered=None, x_obs_az_redundancy=None, x_obs_fs_file_interface=None, x_obs_epid=None, x_obs_cluster_type=None, x_obs_location_clustergroup_id=None, x_obs_ies_location=None, body=None):
64
- """CreateBucketRequest
64
+ r"""CreateBucketRequest
65
65
 
66
66
  The model defined in huaweicloud sdk
67
67
 
@@ -163,7 +163,7 @@ class CreateBucketRequest:
163
163
 
164
164
  @property
165
165
  def bucket_name(self):
166
- """Gets the bucket_name of this CreateBucketRequest.
166
+ r"""Gets the bucket_name of this CreateBucketRequest.
167
167
 
168
168
  A bucket name is part of the access domain name and needs to be resolved. The bucket name must conform to the DNS domain naming rules. When receiving a bucket creation request, OBS strictly checks the bucket name based on the following rules: + A bucket name must be unique across all accounts and regions. + The name of a deleted bucket can be reused for another bucket or a parallel file system at least 30 minutes later after the deletion. + A bucket name must be 3 to 63 characters long. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed. + A bucket name cannot start or end with a period (.) or hyphen (-), and cannot contain two consecutive periods (..) or contain a period (.) and a hyphen (-) adjacent to each other. + A bucket name cannot be formatted as an IP address. Note: The SSL wildcard certificate matches only buckets without periods (.) in their names when HTTPS is used for OBS access. If you use a bucket with periods (.) in its name to access OBS, the client will display a message indicating that the bucket is risky, for example, a red alarm may be displayed in the browser security prompt. We recommend that you avoid using periods (.) in bucket names.
169
169
 
@@ -174,7 +174,7 @@ class CreateBucketRequest:
174
174
 
175
175
  @bucket_name.setter
176
176
  def bucket_name(self, bucket_name):
177
- """Sets the bucket_name of this CreateBucketRequest.
177
+ r"""Sets the bucket_name of this CreateBucketRequest.
178
178
 
179
179
  A bucket name is part of the access domain name and needs to be resolved. The bucket name must conform to the DNS domain naming rules. When receiving a bucket creation request, OBS strictly checks the bucket name based on the following rules: + A bucket name must be unique across all accounts and regions. + The name of a deleted bucket can be reused for another bucket or a parallel file system at least 30 minutes later after the deletion. + A bucket name must be 3 to 63 characters long. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed. + A bucket name cannot start or end with a period (.) or hyphen (-), and cannot contain two consecutive periods (..) or contain a period (.) and a hyphen (-) adjacent to each other. + A bucket name cannot be formatted as an IP address. Note: The SSL wildcard certificate matches only buckets without periods (.) in their names when HTTPS is used for OBS access. If you use a bucket with periods (.) in its name to access OBS, the client will display a message indicating that the bucket is risky, for example, a red alarm may be displayed in the browser security prompt. We recommend that you avoid using periods (.) in bucket names.
180
180
 
@@ -185,7 +185,7 @@ class CreateBucketRequest:
185
185
 
186
186
  @property
187
187
  def date(self):
188
- """Gets the date of this CreateBucketRequest.
188
+ r"""Gets the date of this CreateBucketRequest.
189
189
 
190
190
  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.
191
191
 
@@ -196,7 +196,7 @@ class CreateBucketRequest:
196
196
 
197
197
  @date.setter
198
198
  def date(self, date):
199
- """Sets the date of this CreateBucketRequest.
199
+ r"""Sets the date of this CreateBucketRequest.
200
200
 
201
201
  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.
202
202
 
@@ -207,7 +207,7 @@ class CreateBucketRequest:
207
207
 
208
208
  @property
209
209
  def x_obs_acl(self):
210
- """Gets the x_obs_acl of this CreateBucketRequest.
210
+ r"""Gets the x_obs_acl of this CreateBucketRequest.
211
211
 
212
212
  When creating a bucket, you can add this header to configure access control policies (predefined common policies) for a bucket. Such policies include **private**, **public-read**, **public-read-write**, **public-read-delivered**, **public-read-write-delivered**, and **bucket-owner-full-control**. For details about each policy, see the ACL configuration using headers in section ACLs.
213
213
 
@@ -218,7 +218,7 @@ class CreateBucketRequest:
218
218
 
219
219
  @x_obs_acl.setter
220
220
  def x_obs_acl(self, x_obs_acl):
221
- """Sets the x_obs_acl of this CreateBucketRequest.
221
+ r"""Sets the x_obs_acl of this CreateBucketRequest.
222
222
 
223
223
  When creating a bucket, you can add this header to configure access control policies (predefined common policies) for a bucket. Such policies include **private**, **public-read**, **public-read-write**, **public-read-delivered**, **public-read-write-delivered**, and **bucket-owner-full-control**. For details about each policy, see the ACL configuration using headers in section ACLs.
224
224
 
@@ -229,7 +229,7 @@ class CreateBucketRequest:
229
229
 
230
230
  @property
231
231
  def x_obs_storage_class(self):
232
- """Gets the x_obs_storage_class of this CreateBucketRequest.
232
+ r"""Gets the x_obs_storage_class of this CreateBucketRequest.
233
233
 
234
234
  When creating a bucket, you can add this header to configure a default storage class for a bucket. The storage classes include Standard (STANDARD), Infrequent Access (WARM), Archive (COLD), and High-Performance (HIGH_PERFORMANCE). The high-performance storage is only for parallel file systems. If this header is not included, the bucket is created in the Standard storage class.
235
235
 
@@ -240,7 +240,7 @@ class CreateBucketRequest:
240
240
 
241
241
  @x_obs_storage_class.setter
242
242
  def x_obs_storage_class(self, x_obs_storage_class):
243
- """Sets the x_obs_storage_class of this CreateBucketRequest.
243
+ r"""Sets the x_obs_storage_class of this CreateBucketRequest.
244
244
 
245
245
  When creating a bucket, you can add this header to configure a default storage class for a bucket. The storage classes include Standard (STANDARD), Infrequent Access (WARM), Archive (COLD), and High-Performance (HIGH_PERFORMANCE). The high-performance storage is only for parallel file systems. If this header is not included, the bucket is created in the Standard storage class.
246
246
 
@@ -251,7 +251,7 @@ class CreateBucketRequest:
251
251
 
252
252
  @property
253
253
  def x_obs_grant_read(self):
254
- """Gets the x_obs_grant_read of this CreateBucketRequest.
254
+ r"""Gets the x_obs_grant_read of this CreateBucketRequest.
255
255
 
256
256
  Grants the read permission to all users under an account. The read permission allows you to list objects, multipart uploads, and object versions in a bucket, as well as to obtain bucket metadata.
257
257
 
@@ -262,7 +262,7 @@ class CreateBucketRequest:
262
262
 
263
263
  @x_obs_grant_read.setter
264
264
  def x_obs_grant_read(self, x_obs_grant_read):
265
- """Sets the x_obs_grant_read of this CreateBucketRequest.
265
+ r"""Sets the x_obs_grant_read of this CreateBucketRequest.
266
266
 
267
267
  Grants the read permission to all users under an account. The read permission allows you to list objects, multipart uploads, and object versions in a bucket, as well as to obtain bucket metadata.
268
268
 
@@ -273,7 +273,7 @@ class CreateBucketRequest:
273
273
 
274
274
  @property
275
275
  def x_obs_grant_write(self):
276
- """Gets the x_obs_grant_write of this CreateBucketRequest.
276
+ r"""Gets the x_obs_grant_write of this CreateBucketRequest.
277
277
 
278
278
  Grants the write permission to all users under an account. The write permission allows you to create, delete, or overwrite all objects in a bucket, and to initialize, upload, copy, and merge parts, as well as to cancel multipart uploads.
279
279
 
@@ -284,7 +284,7 @@ class CreateBucketRequest:
284
284
 
285
285
  @x_obs_grant_write.setter
286
286
  def x_obs_grant_write(self, x_obs_grant_write):
287
- """Sets the x_obs_grant_write of this CreateBucketRequest.
287
+ r"""Sets the x_obs_grant_write of this CreateBucketRequest.
288
288
 
289
289
  Grants the write permission to all users under an account. The write permission allows you to create, delete, or overwrite all objects in a bucket, and to initialize, upload, copy, and merge parts, as well as to cancel multipart uploads.
290
290
 
@@ -295,7 +295,7 @@ class CreateBucketRequest:
295
295
 
296
296
  @property
297
297
  def x_obs_grant_read_acp(self):
298
- """Gets the x_obs_grant_read_acp of this CreateBucketRequest.
298
+ r"""Gets the x_obs_grant_read_acp of this CreateBucketRequest.
299
299
 
300
300
  Grants the ACL read permission to all users under an account. The ACL read permission allows you to read the bucket ACL.
301
301
 
@@ -306,7 +306,7 @@ class CreateBucketRequest:
306
306
 
307
307
  @x_obs_grant_read_acp.setter
308
308
  def x_obs_grant_read_acp(self, x_obs_grant_read_acp):
309
- """Sets the x_obs_grant_read_acp of this CreateBucketRequest.
309
+ r"""Sets the x_obs_grant_read_acp of this CreateBucketRequest.
310
310
 
311
311
  Grants the ACL read permission to all users under an account. The ACL read permission allows you to read the bucket ACL.
312
312
 
@@ -317,7 +317,7 @@ class CreateBucketRequest:
317
317
 
318
318
  @property
319
319
  def x_obs_grant_write_acp(self):
320
- """Gets the x_obs_grant_write_acp of this CreateBucketRequest.
320
+ r"""Gets the x_obs_grant_write_acp of this CreateBucketRequest.
321
321
 
322
322
  Grants the ACL write permission to all users under an account. The ACL write permission allows you to modify the bucket ACL.
323
323
 
@@ -328,7 +328,7 @@ class CreateBucketRequest:
328
328
 
329
329
  @x_obs_grant_write_acp.setter
330
330
  def x_obs_grant_write_acp(self, x_obs_grant_write_acp):
331
- """Sets the x_obs_grant_write_acp of this CreateBucketRequest.
331
+ r"""Sets the x_obs_grant_write_acp of this CreateBucketRequest.
332
332
 
333
333
  Grants the ACL write permission to all users under an account. The ACL write permission allows you to modify the bucket ACL.
334
334
 
@@ -339,7 +339,7 @@ class CreateBucketRequest:
339
339
 
340
340
  @property
341
341
  def x_obs_grant_full_control(self):
342
- """Gets the x_obs_grant_full_control of this CreateBucketRequest.
342
+ r"""Gets the x_obs_grant_full_control of this CreateBucketRequest.
343
343
 
344
344
  Grants the full control access to all users under an account.
345
345
 
@@ -350,7 +350,7 @@ class CreateBucketRequest:
350
350
 
351
351
  @x_obs_grant_full_control.setter
352
352
  def x_obs_grant_full_control(self, x_obs_grant_full_control):
353
- """Sets the x_obs_grant_full_control of this CreateBucketRequest.
353
+ r"""Sets the x_obs_grant_full_control of this CreateBucketRequest.
354
354
 
355
355
  Grants the full control access to all users under an account.
356
356
 
@@ -361,7 +361,7 @@ class CreateBucketRequest:
361
361
 
362
362
  @property
363
363
  def x_obs_grant_read_delivered(self):
364
- """Gets the x_obs_grant_read_delivered of this CreateBucketRequest.
364
+ r"""Gets the x_obs_grant_read_delivered of this CreateBucketRequest.
365
365
 
366
366
  Grants the read permission to all users under an account. By default, the read permission is applied to all objects in the bucket.
367
367
 
@@ -372,7 +372,7 @@ class CreateBucketRequest:
372
372
 
373
373
  @x_obs_grant_read_delivered.setter
374
374
  def x_obs_grant_read_delivered(self, x_obs_grant_read_delivered):
375
- """Sets the x_obs_grant_read_delivered of this CreateBucketRequest.
375
+ r"""Sets the x_obs_grant_read_delivered of this CreateBucketRequest.
376
376
 
377
377
  Grants the read permission to all users under an account. By default, the read permission is applied to all objects in the bucket.
378
378
 
@@ -383,7 +383,7 @@ class CreateBucketRequest:
383
383
 
384
384
  @property
385
385
  def x_obs_grant_full_control_delivered(self):
386
- """Gets the x_obs_grant_full_control_delivered of this CreateBucketRequest.
386
+ r"""Gets the x_obs_grant_full_control_delivered of this CreateBucketRequest.
387
387
 
388
388
  Grants the full control access to all users under an account. By default, the full control access is applied to all objects in the bucket.
389
389
 
@@ -394,7 +394,7 @@ class CreateBucketRequest:
394
394
 
395
395
  @x_obs_grant_full_control_delivered.setter
396
396
  def x_obs_grant_full_control_delivered(self, x_obs_grant_full_control_delivered):
397
- """Sets the x_obs_grant_full_control_delivered of this CreateBucketRequest.
397
+ r"""Sets the x_obs_grant_full_control_delivered of this CreateBucketRequest.
398
398
 
399
399
  Grants the full control access to all users under an account. By default, the full control access is applied to all objects in the bucket.
400
400
 
@@ -405,7 +405,7 @@ class CreateBucketRequest:
405
405
 
406
406
  @property
407
407
  def x_obs_az_redundancy(self):
408
- """Gets the x_obs_az_redundancy of this CreateBucketRequest.
408
+ r"""Gets the x_obs_az_redundancy of this CreateBucketRequest.
409
409
 
410
410
  Add this header in a bucket creation request to enable the multi-AZ storage for the bucket. If this header is not carried, single-AZ storage is used for the bucket by default. If the region where you are creating the bucket does not support multi-AZ storage, even if you add this header in the request, the bucket still uses the single-AZ storage.
411
411
 
@@ -416,7 +416,7 @@ class CreateBucketRequest:
416
416
 
417
417
  @x_obs_az_redundancy.setter
418
418
  def x_obs_az_redundancy(self, x_obs_az_redundancy):
419
- """Sets the x_obs_az_redundancy of this CreateBucketRequest.
419
+ r"""Sets the x_obs_az_redundancy of this CreateBucketRequest.
420
420
 
421
421
  Add this header in a bucket creation request to enable the multi-AZ storage for the bucket. If this header is not carried, single-AZ storage is used for the bucket by default. If the region where you are creating the bucket does not support multi-AZ storage, even if you add this header in the request, the bucket still uses the single-AZ storage.
422
422
 
@@ -427,7 +427,7 @@ class CreateBucketRequest:
427
427
 
428
428
  @property
429
429
  def x_obs_fs_file_interface(self):
430
- """Gets the x_obs_fs_file_interface of this CreateBucketRequest.
430
+ r"""Gets the x_obs_fs_file_interface of this CreateBucketRequest.
431
431
 
432
432
  Specifies a parallel file system during bucket creation.
433
433
 
@@ -438,7 +438,7 @@ class CreateBucketRequest:
438
438
 
439
439
  @x_obs_fs_file_interface.setter
440
440
  def x_obs_fs_file_interface(self, x_obs_fs_file_interface):
441
- """Sets the x_obs_fs_file_interface of this CreateBucketRequest.
441
+ r"""Sets the x_obs_fs_file_interface of this CreateBucketRequest.
442
442
 
443
443
  Specifies a parallel file system during bucket creation.
444
444
 
@@ -449,7 +449,7 @@ class CreateBucketRequest:
449
449
 
450
450
  @property
451
451
  def x_obs_epid(self):
452
- """Gets the x_obs_epid of this CreateBucketRequest.
452
+ r"""Gets the x_obs_epid of this CreateBucketRequest.
453
453
 
454
454
  Enterprise project ID in **UUID** format. If you have enabled the enterprise project function, you can obtain this ID from the enterprise project service. To use the default project, set this header to **0** or do not contain this header in the request. This header is not needed if you do not enable the enterprise project function.
455
455
 
@@ -460,7 +460,7 @@ class CreateBucketRequest:
460
460
 
461
461
  @x_obs_epid.setter
462
462
  def x_obs_epid(self, x_obs_epid):
463
- """Sets the x_obs_epid of this CreateBucketRequest.
463
+ r"""Sets the x_obs_epid of this CreateBucketRequest.
464
464
 
465
465
  Enterprise project ID in **UUID** format. If you have enabled the enterprise project function, you can obtain this ID from the enterprise project service. To use the default project, set this header to **0** or do not contain this header in the request. This header is not needed if you do not enable the enterprise project function.
466
466
 
@@ -471,7 +471,7 @@ class CreateBucketRequest:
471
471
 
472
472
  @property
473
473
  def x_obs_cluster_type(self):
474
- """Gets the x_obs_cluster_type of this CreateBucketRequest.
474
+ r"""Gets the x_obs_cluster_type of this CreateBucketRequest.
475
475
 
476
476
  Specifies the type (public or dedicated) of the cluster where a bucket is created.
477
477
 
@@ -482,7 +482,7 @@ class CreateBucketRequest:
482
482
 
483
483
  @x_obs_cluster_type.setter
484
484
  def x_obs_cluster_type(self, x_obs_cluster_type):
485
- """Sets the x_obs_cluster_type of this CreateBucketRequest.
485
+ r"""Sets the x_obs_cluster_type of this CreateBucketRequest.
486
486
 
487
487
  Specifies the type (public or dedicated) of the cluster where a bucket is created.
488
488
 
@@ -493,7 +493,7 @@ class CreateBucketRequest:
493
493
 
494
494
  @property
495
495
  def x_obs_location_clustergroup_id(self):
496
- """Gets the x_obs_location_clustergroup_id of this CreateBucketRequest.
496
+ r"""Gets the x_obs_location_clustergroup_id of this CreateBucketRequest.
497
497
 
498
498
  Cluster group ID when a bucket is explicitly created in a cluster.
499
499
 
@@ -504,7 +504,7 @@ class CreateBucketRequest:
504
504
 
505
505
  @x_obs_location_clustergroup_id.setter
506
506
  def x_obs_location_clustergroup_id(self, x_obs_location_clustergroup_id):
507
- """Sets the x_obs_location_clustergroup_id of this CreateBucketRequest.
507
+ r"""Sets the x_obs_location_clustergroup_id of this CreateBucketRequest.
508
508
 
509
509
  Cluster group ID when a bucket is explicitly created in a cluster.
510
510
 
@@ -515,7 +515,7 @@ class CreateBucketRequest:
515
515
 
516
516
  @property
517
517
  def x_obs_ies_location(self):
518
- """Gets the x_obs_ies_location of this CreateBucketRequest.
518
+ r"""Gets the x_obs_ies_location of this CreateBucketRequest.
519
519
 
520
520
  ID of the AZ of the IES site where a bucket is created. This parameter cannot coexist with **x-obs-cluster-type**.
521
521
 
@@ -526,7 +526,7 @@ class CreateBucketRequest:
526
526
 
527
527
  @x_obs_ies_location.setter
528
528
  def x_obs_ies_location(self, x_obs_ies_location):
529
- """Sets the x_obs_ies_location of this CreateBucketRequest.
529
+ r"""Sets the x_obs_ies_location of this CreateBucketRequest.
530
530
 
531
531
  ID of the AZ of the IES site where a bucket is created. This parameter cannot coexist with **x-obs-cluster-type**.
532
532
 
@@ -537,7 +537,7 @@ class CreateBucketRequest:
537
537
 
538
538
  @property
539
539
  def body(self):
540
- """Gets the body of this CreateBucketRequest.
540
+ r"""Gets the body of this CreateBucketRequest.
541
541
 
542
542
  :return: The body of this CreateBucketRequest.
543
543
  :rtype: :class:`huaweicloudsdkobs.v1.CreateBucketRequestBody`
@@ -546,7 +546,7 @@ class CreateBucketRequest:
546
546
 
547
547
  @body.setter
548
548
  def body(self, body):
549
- """Sets the body of this CreateBucketRequest.
549
+ r"""Sets the body of this CreateBucketRequest.
550
550
 
551
551
  :param body: The body of this CreateBucketRequest.
552
552
  :type body: :class:`huaweicloudsdkobs.v1.CreateBucketRequestBody`
@@ -27,7 +27,7 @@ class CreateBucketRequestBody:
27
27
  }
28
28
 
29
29
  def __init__(self, location=None):
30
- """CreateBucketRequestBody
30
+ r"""CreateBucketRequestBody
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
@@ -45,7 +45,7 @@ class CreateBucketRequestBody:
45
45
 
46
46
  @property
47
47
  def location(self):
48
- """Gets the location of this CreateBucketRequestBody.
48
+ r"""Gets the location of this CreateBucketRequestBody.
49
49
 
50
50
  Region where the bucket will be created. When the endpoint of the CN North-Beijing1 region is used for bucket creation: If **location** is not specified, the bucket will be created in CN North-Beijing1 (cn-north-1) by default. If another region, for example, CN North-Beijing4 (cn-north-4), is specified for **location**, the bucket will be created in the CN North-Beijing4 region. When the endpoint of a region other than CN North-Beijing1 is used for bucket creation, **location** must be set to the region that the used endpoint corresponds to. For example, if **obs.cn-north-4.myhuaweicloud.com is used**, you must set **location** to **cn-north-4**. For more information, see [Regions and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?all).
51
51
 
@@ -56,7 +56,7 @@ class CreateBucketRequestBody:
56
56
 
57
57
  @location.setter
58
58
  def location(self, location):
59
- """Sets the location of this CreateBucketRequestBody.
59
+ r"""Sets the location of this CreateBucketRequestBody.
60
60
 
61
61
  Region where the bucket will be created. When the endpoint of the CN North-Beijing1 region is used for bucket creation: If **location** is not specified, the bucket will be created in CN North-Beijing1 (cn-north-1) by default. If another region, for example, CN North-Beijing4 (cn-north-4), is specified for **location**, the bucket will be created in the CN North-Beijing4 region. When the endpoint of a region other than CN North-Beijing1 is used for bucket creation, **location** must be set to the region that the used endpoint corresponds to. For example, if **obs.cn-north-4.myhuaweicloud.com is used**, you must set **location** to **cn-north-4**. For more information, see [Regions and Endpoints](https://developer.huaweicloud.com/intl/en-us/endpoint?all).
62
62