huaweicloudsdkobs 3.1.75__py2.py3-none-any.whl → 3.1.77__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.
- huaweicloudsdkobs/v1/__init__.py +0 -1
- huaweicloudsdkobs/v1/model/__init__.py +0 -1
- huaweicloudsdkobs/v1/model/bucket.py +15 -15
- huaweicloudsdkobs/v1/model/contents.py +18 -18
- huaweicloudsdkobs/v1/model/copy_object_request.py +78 -78
- huaweicloudsdkobs/v1/model/copy_object_response.py +3 -3
- huaweicloudsdkobs/v1/model/create_bucket_request.py +51 -51
- huaweicloudsdkobs/v1/model/create_bucket_request_body.py +3 -3
- huaweicloudsdkobs/v1/model/delete_bucket_customdomain_request.py +9 -9
- huaweicloudsdkobs/v1/model/delete_bucket_request.py +6 -6
- huaweicloudsdkobs/v1/model/delete_object.py +6 -6
- huaweicloudsdkobs/v1/model/delete_object_request.py +12 -12
- huaweicloudsdkobs/v1/model/delete_objects_request.py +12 -12
- huaweicloudsdkobs/v1/model/delete_objects_request_body.py +6 -6
- huaweicloudsdkobs/v1/model/delete_objects_response.py +3 -3
- huaweicloudsdkobs/v1/model/delete_result_deleted.py +12 -12
- huaweicloudsdkobs/v1/model/delete_result_error.py +9 -9
- huaweicloudsdkobs/v1/model/domains.py +9 -9
- huaweicloudsdkobs/v1/model/filter_rule.py +6 -6
- huaweicloudsdkobs/v1/model/function_stage_configuration.py +12 -12
- huaweicloudsdkobs/v1/model/get_bucket_acl_request.py +9 -9
- huaweicloudsdkobs/v1/model/get_bucket_customdomain_request.py +9 -9
- huaweicloudsdkobs/v1/model/get_bucket_customdomain_response.py +5 -9
- huaweicloudsdkobs/v1/model/get_bucket_metadata_request.py +12 -12
- huaweicloudsdkobs/v1/model/get_bucket_notification_request.py +9 -9
- huaweicloudsdkobs/v1/model/get_object_metadata_request.py +33 -33
- huaweicloudsdkobs/v1/model/get_object_request.py +60 -60
- huaweicloudsdkobs/v1/model/grant.py +6 -6
- huaweicloudsdkobs/v1/model/grantee.py +6 -6
- huaweicloudsdkobs/v1/model/list_buckets_request.py +6 -6
- huaweicloudsdkobs/v1/model/list_buckets_response.py +4 -4
- huaweicloudsdkobs/v1/model/list_objects_request.py +27 -27
- huaweicloudsdkobs/v1/model/list_objects_response.py +27 -27
- huaweicloudsdkobs/v1/model/owner.py +3 -3
- huaweicloudsdkobs/v1/model/put_object_request.py +60 -60
- huaweicloudsdkobs/v1/model/set_bucket_acl_request.py +12 -12
- huaweicloudsdkobs/v1/model/set_bucket_custom_domain_body.py +15 -15
- huaweicloudsdkobs/v1/model/set_bucket_customedomain_request.py +9 -9
- huaweicloudsdkobs/v1/model/set_bucket_notification_request.py +9 -9
- huaweicloudsdkobs/v1/model/topic_configuration.py +9 -9
- huaweicloudsdkobs/v1/obs_async_client.py +543 -557
- huaweicloudsdkobs/v1/obs_client.py +543 -557
- {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/METADATA +2 -2
- huaweicloudsdkobs-3.1.77.dist-info/RECORD +70 -0
- huaweicloudsdkobs/v1/model/buckets.py +0 -117
- huaweicloudsdkobs-3.1.75.dist-info/RECORD +0 -71
- {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/LICENSE +0 -0
- {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/WHEEL +0 -0
- {huaweicloudsdkobs-3.1.75.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/top_level.txt +0 -0
@@ -58,7 +58,7 @@ class CopyObjectResponse(SdkResponse):
|
|
58
58
|
|
59
59
|
The model defined in huaweicloud sdk
|
60
60
|
|
61
|
-
:param last_modified:
|
61
|
+
:param last_modified: Time when the object was last modified
|
62
62
|
:type last_modified: str
|
63
63
|
:param e_tag:
|
64
64
|
:type e_tag: str
|
@@ -139,7 +139,7 @@ class CopyObjectResponse(SdkResponse):
|
|
139
139
|
def last_modified(self):
|
140
140
|
"""Gets the last_modified of this CopyObjectResponse.
|
141
141
|
|
142
|
-
|
142
|
+
Time when the object was last modified
|
143
143
|
|
144
144
|
:return: The last_modified of this CopyObjectResponse.
|
145
145
|
:rtype: str
|
@@ -150,7 +150,7 @@ class CopyObjectResponse(SdkResponse):
|
|
150
150
|
def last_modified(self, last_modified):
|
151
151
|
"""Sets the last_modified of this CopyObjectResponse.
|
152
152
|
|
153
|
-
|
153
|
+
Time when the object was last modified
|
154
154
|
|
155
155
|
:param last_modified: The last_modified of this CopyObjectResponse.
|
156
156
|
:type last_modified: str
|
@@ -65,39 +65,39 @@ class CreateBucketRequest:
|
|
65
65
|
|
66
66
|
The model defined in huaweicloud sdk
|
67
67
|
|
68
|
-
:param bucket_name:
|
68
|
+
:param bucket_name: 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.
|
69
69
|
:type bucket_name: str
|
70
|
-
:param date:
|
70
|
+
: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.
|
71
71
|
:type date: str
|
72
|
-
:param x_obs_acl:
|
72
|
+
:param x_obs_acl: 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.
|
73
73
|
:type x_obs_acl: str
|
74
|
-
:param x_obs_storage_class:
|
74
|
+
:param x_obs_storage_class: 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.
|
75
75
|
:type x_obs_storage_class: str
|
76
|
-
:param x_obs_grant_read:
|
76
|
+
:param x_obs_grant_read: 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.
|
77
77
|
:type x_obs_grant_read: str
|
78
|
-
:param x_obs_grant_write:
|
78
|
+
:param x_obs_grant_write: 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.
|
79
79
|
:type x_obs_grant_write: str
|
80
|
-
:param x_obs_grant_read_acp:
|
80
|
+
:param x_obs_grant_read_acp: Grants the ACL read permission to all users under an account. The ACL read permission allows you to read the bucket ACL.
|
81
81
|
:type x_obs_grant_read_acp: str
|
82
|
-
:param x_obs_grant_write_acp:
|
82
|
+
:param x_obs_grant_write_acp: Grants the ACL write permission to all users under an account. The ACL write permission allows you to modify the bucket ACL.
|
83
83
|
:type x_obs_grant_write_acp: str
|
84
|
-
:param x_obs_grant_full_control:
|
84
|
+
:param x_obs_grant_full_control: Grants the full control access to all users under an account.
|
85
85
|
:type x_obs_grant_full_control: str
|
86
|
-
:param x_obs_grant_read_delivered:
|
86
|
+
:param x_obs_grant_read_delivered: Grants the read permission to all users under an account. By default, the read permission is applied to all objects in the bucket.
|
87
87
|
:type x_obs_grant_read_delivered: str
|
88
|
-
:param x_obs_grant_full_control_delivered:
|
88
|
+
:param x_obs_grant_full_control_delivered: 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.
|
89
89
|
:type x_obs_grant_full_control_delivered: str
|
90
|
-
:param x_obs_az_redundancy:
|
90
|
+
:param x_obs_az_redundancy: 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.
|
91
91
|
:type x_obs_az_redundancy: str
|
92
|
-
:param x_obs_fs_file_interface:
|
92
|
+
:param x_obs_fs_file_interface: Specifies a parallel file system during bucket creation.
|
93
93
|
:type x_obs_fs_file_interface: str
|
94
|
-
:param x_obs_epid:
|
94
|
+
:param x_obs_epid: 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.
|
95
95
|
:type x_obs_epid: str
|
96
|
-
:param x_obs_cluster_type:
|
96
|
+
:param x_obs_cluster_type: Specifies the type (public or dedicated) of the cluster where a bucket is created.
|
97
97
|
:type x_obs_cluster_type: str
|
98
|
-
:param x_obs_location_clustergroup_id:
|
98
|
+
:param x_obs_location_clustergroup_id: Cluster group ID when a bucket is explicitly created in a cluster.
|
99
99
|
:type x_obs_location_clustergroup_id: str
|
100
|
-
:param x_obs_ies_location:
|
100
|
+
:param x_obs_ies_location: ID of the AZ of the IES site where a bucket is created. This parameter cannot coexist with **x-obs-cluster-type**.
|
101
101
|
:type x_obs_ies_location: str
|
102
102
|
:param body: Body of the CreateBucketRequest
|
103
103
|
:type body: :class:`huaweicloudsdkobs.v1.CreateBucketRequestBody`
|
@@ -165,7 +165,7 @@ class CreateBucketRequest:
|
|
165
165
|
def bucket_name(self):
|
166
166
|
"""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
|
|
170
170
|
:return: The bucket_name of this CreateBucketRequest.
|
171
171
|
:rtype: str
|
@@ -176,7 +176,7 @@ class CreateBucketRequest:
|
|
176
176
|
def bucket_name(self, bucket_name):
|
177
177
|
"""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
|
|
181
181
|
:param bucket_name: The bucket_name of this CreateBucketRequest.
|
182
182
|
:type bucket_name: str
|
@@ -187,7 +187,7 @@ class CreateBucketRequest:
|
|
187
187
|
def date(self):
|
188
188
|
"""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
|
|
192
192
|
:return: The date of this CreateBucketRequest.
|
193
193
|
:rtype: str
|
@@ -198,7 +198,7 @@ class CreateBucketRequest:
|
|
198
198
|
def date(self, date):
|
199
199
|
"""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
|
|
203
203
|
:param date: The date of this CreateBucketRequest.
|
204
204
|
:type date: str
|
@@ -209,7 +209,7 @@ class CreateBucketRequest:
|
|
209
209
|
def x_obs_acl(self):
|
210
210
|
"""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
|
|
214
214
|
:return: The x_obs_acl of this CreateBucketRequest.
|
215
215
|
:rtype: str
|
@@ -220,7 +220,7 @@ class CreateBucketRequest:
|
|
220
220
|
def x_obs_acl(self, x_obs_acl):
|
221
221
|
"""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
|
|
225
225
|
:param x_obs_acl: The x_obs_acl of this CreateBucketRequest.
|
226
226
|
:type x_obs_acl: str
|
@@ -231,7 +231,7 @@ class CreateBucketRequest:
|
|
231
231
|
def x_obs_storage_class(self):
|
232
232
|
"""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
|
|
236
236
|
:return: The x_obs_storage_class of this CreateBucketRequest.
|
237
237
|
:rtype: str
|
@@ -242,7 +242,7 @@ class CreateBucketRequest:
|
|
242
242
|
def x_obs_storage_class(self, x_obs_storage_class):
|
243
243
|
"""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
|
|
247
247
|
:param x_obs_storage_class: The x_obs_storage_class of this CreateBucketRequest.
|
248
248
|
:type x_obs_storage_class: str
|
@@ -253,7 +253,7 @@ class CreateBucketRequest:
|
|
253
253
|
def x_obs_grant_read(self):
|
254
254
|
"""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
|
|
258
258
|
:return: The x_obs_grant_read of this CreateBucketRequest.
|
259
259
|
:rtype: str
|
@@ -264,7 +264,7 @@ class CreateBucketRequest:
|
|
264
264
|
def x_obs_grant_read(self, x_obs_grant_read):
|
265
265
|
"""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
|
|
269
269
|
:param x_obs_grant_read: The x_obs_grant_read of this CreateBucketRequest.
|
270
270
|
:type x_obs_grant_read: str
|
@@ -275,7 +275,7 @@ class CreateBucketRequest:
|
|
275
275
|
def x_obs_grant_write(self):
|
276
276
|
"""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
|
|
280
280
|
:return: The x_obs_grant_write of this CreateBucketRequest.
|
281
281
|
:rtype: str
|
@@ -286,7 +286,7 @@ class CreateBucketRequest:
|
|
286
286
|
def x_obs_grant_write(self, x_obs_grant_write):
|
287
287
|
"""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
|
|
291
291
|
:param x_obs_grant_write: The x_obs_grant_write of this CreateBucketRequest.
|
292
292
|
:type x_obs_grant_write: str
|
@@ -297,7 +297,7 @@ class CreateBucketRequest:
|
|
297
297
|
def x_obs_grant_read_acp(self):
|
298
298
|
"""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
|
|
302
302
|
:return: The x_obs_grant_read_acp of this CreateBucketRequest.
|
303
303
|
:rtype: str
|
@@ -308,7 +308,7 @@ class CreateBucketRequest:
|
|
308
308
|
def x_obs_grant_read_acp(self, x_obs_grant_read_acp):
|
309
309
|
"""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
|
|
313
313
|
:param x_obs_grant_read_acp: The x_obs_grant_read_acp of this CreateBucketRequest.
|
314
314
|
:type x_obs_grant_read_acp: str
|
@@ -319,7 +319,7 @@ class CreateBucketRequest:
|
|
319
319
|
def x_obs_grant_write_acp(self):
|
320
320
|
"""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
|
|
324
324
|
:return: The x_obs_grant_write_acp of this CreateBucketRequest.
|
325
325
|
:rtype: str
|
@@ -330,7 +330,7 @@ class CreateBucketRequest:
|
|
330
330
|
def x_obs_grant_write_acp(self, x_obs_grant_write_acp):
|
331
331
|
"""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
|
|
335
335
|
:param x_obs_grant_write_acp: The x_obs_grant_write_acp of this CreateBucketRequest.
|
336
336
|
:type x_obs_grant_write_acp: str
|
@@ -341,7 +341,7 @@ class CreateBucketRequest:
|
|
341
341
|
def x_obs_grant_full_control(self):
|
342
342
|
"""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
|
|
346
346
|
:return: The x_obs_grant_full_control of this CreateBucketRequest.
|
347
347
|
:rtype: str
|
@@ -352,7 +352,7 @@ class CreateBucketRequest:
|
|
352
352
|
def x_obs_grant_full_control(self, x_obs_grant_full_control):
|
353
353
|
"""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
|
|
357
357
|
:param x_obs_grant_full_control: The x_obs_grant_full_control of this CreateBucketRequest.
|
358
358
|
:type x_obs_grant_full_control: str
|
@@ -363,7 +363,7 @@ class CreateBucketRequest:
|
|
363
363
|
def x_obs_grant_read_delivered(self):
|
364
364
|
"""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
|
|
368
368
|
:return: The x_obs_grant_read_delivered of this CreateBucketRequest.
|
369
369
|
:rtype: str
|
@@ -374,7 +374,7 @@ class CreateBucketRequest:
|
|
374
374
|
def x_obs_grant_read_delivered(self, x_obs_grant_read_delivered):
|
375
375
|
"""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
|
|
379
379
|
:param x_obs_grant_read_delivered: The x_obs_grant_read_delivered of this CreateBucketRequest.
|
380
380
|
:type x_obs_grant_read_delivered: str
|
@@ -385,7 +385,7 @@ class CreateBucketRequest:
|
|
385
385
|
def x_obs_grant_full_control_delivered(self):
|
386
386
|
"""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
|
|
390
390
|
:return: The x_obs_grant_full_control_delivered of this CreateBucketRequest.
|
391
391
|
:rtype: str
|
@@ -396,7 +396,7 @@ class CreateBucketRequest:
|
|
396
396
|
def x_obs_grant_full_control_delivered(self, x_obs_grant_full_control_delivered):
|
397
397
|
"""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
|
|
401
401
|
:param x_obs_grant_full_control_delivered: The x_obs_grant_full_control_delivered of this CreateBucketRequest.
|
402
402
|
:type x_obs_grant_full_control_delivered: str
|
@@ -407,7 +407,7 @@ class CreateBucketRequest:
|
|
407
407
|
def x_obs_az_redundancy(self):
|
408
408
|
"""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
|
|
412
412
|
:return: The x_obs_az_redundancy of this CreateBucketRequest.
|
413
413
|
:rtype: str
|
@@ -418,7 +418,7 @@ class CreateBucketRequest:
|
|
418
418
|
def x_obs_az_redundancy(self, x_obs_az_redundancy):
|
419
419
|
"""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
|
|
423
423
|
:param x_obs_az_redundancy: The x_obs_az_redundancy of this CreateBucketRequest.
|
424
424
|
:type x_obs_az_redundancy: str
|
@@ -429,7 +429,7 @@ class CreateBucketRequest:
|
|
429
429
|
def x_obs_fs_file_interface(self):
|
430
430
|
"""Gets the x_obs_fs_file_interface of this CreateBucketRequest.
|
431
431
|
|
432
|
-
|
432
|
+
Specifies a parallel file system during bucket creation.
|
433
433
|
|
434
434
|
:return: The x_obs_fs_file_interface of this CreateBucketRequest.
|
435
435
|
:rtype: str
|
@@ -440,7 +440,7 @@ class CreateBucketRequest:
|
|
440
440
|
def x_obs_fs_file_interface(self, x_obs_fs_file_interface):
|
441
441
|
"""Sets the x_obs_fs_file_interface of this CreateBucketRequest.
|
442
442
|
|
443
|
-
|
443
|
+
Specifies a parallel file system during bucket creation.
|
444
444
|
|
445
445
|
:param x_obs_fs_file_interface: The x_obs_fs_file_interface of this CreateBucketRequest.
|
446
446
|
:type x_obs_fs_file_interface: str
|
@@ -451,7 +451,7 @@ class CreateBucketRequest:
|
|
451
451
|
def x_obs_epid(self):
|
452
452
|
"""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
|
|
456
456
|
:return: The x_obs_epid of this CreateBucketRequest.
|
457
457
|
:rtype: str
|
@@ -462,7 +462,7 @@ class CreateBucketRequest:
|
|
462
462
|
def x_obs_epid(self, x_obs_epid):
|
463
463
|
"""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
|
|
467
467
|
:param x_obs_epid: The x_obs_epid of this CreateBucketRequest.
|
468
468
|
:type x_obs_epid: str
|
@@ -473,7 +473,7 @@ class CreateBucketRequest:
|
|
473
473
|
def x_obs_cluster_type(self):
|
474
474
|
"""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
|
|
478
478
|
:return: The x_obs_cluster_type of this CreateBucketRequest.
|
479
479
|
:rtype: str
|
@@ -484,7 +484,7 @@ class CreateBucketRequest:
|
|
484
484
|
def x_obs_cluster_type(self, x_obs_cluster_type):
|
485
485
|
"""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
|
|
489
489
|
:param x_obs_cluster_type: The x_obs_cluster_type of this CreateBucketRequest.
|
490
490
|
:type x_obs_cluster_type: str
|
@@ -495,7 +495,7 @@ class CreateBucketRequest:
|
|
495
495
|
def x_obs_location_clustergroup_id(self):
|
496
496
|
"""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
|
|
500
500
|
:return: The x_obs_location_clustergroup_id of this CreateBucketRequest.
|
501
501
|
:rtype: str
|
@@ -506,7 +506,7 @@ class CreateBucketRequest:
|
|
506
506
|
def x_obs_location_clustergroup_id(self, x_obs_location_clustergroup_id):
|
507
507
|
"""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
|
|
511
511
|
:param x_obs_location_clustergroup_id: The x_obs_location_clustergroup_id of this CreateBucketRequest.
|
512
512
|
:type x_obs_location_clustergroup_id: str
|
@@ -517,7 +517,7 @@ class CreateBucketRequest:
|
|
517
517
|
def x_obs_ies_location(self):
|
518
518
|
"""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
|
|
522
522
|
:return: The x_obs_ies_location of this CreateBucketRequest.
|
523
523
|
:rtype: str
|
@@ -528,7 +528,7 @@ class CreateBucketRequest:
|
|
528
528
|
def x_obs_ies_location(self, x_obs_ies_location):
|
529
529
|
"""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
|
|
533
533
|
:param x_obs_ies_location: The x_obs_ies_location of this CreateBucketRequest.
|
534
534
|
:type x_obs_ies_location: str
|
@@ -31,7 +31,7 @@ class CreateBucketRequestBody:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param location:
|
34
|
+
:param location: 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).
|
35
35
|
:type location: str
|
36
36
|
"""
|
37
37
|
|
@@ -47,7 +47,7 @@ class CreateBucketRequestBody:
|
|
47
47
|
def location(self):
|
48
48
|
"""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
|
|
52
52
|
:return: The location of this CreateBucketRequestBody.
|
53
53
|
:rtype: str
|
@@ -58,7 +58,7 @@ class CreateBucketRequestBody:
|
|
58
58
|
def location(self, location):
|
59
59
|
"""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
|
|
63
63
|
:param location: The location of this CreateBucketRequestBody.
|
64
64
|
:type location: str
|
@@ -35,11 +35,11 @@ class DeleteBucketCustomdomainRequest:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param date:
|
38
|
+
: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.
|
39
39
|
:type date: str
|
40
|
-
:param bucket_name:
|
40
|
+
:param bucket_name: Name of the requested bucket
|
41
41
|
:type bucket_name: str
|
42
|
-
:param customdomain:
|
42
|
+
:param customdomain: The custom domain name you want to delete. Type: string, which must meet the naming conventions of domain names.
|
43
43
|
:type customdomain: str
|
44
44
|
"""
|
45
45
|
|
@@ -59,7 +59,7 @@ class DeleteBucketCustomdomainRequest:
|
|
59
59
|
def date(self):
|
60
60
|
"""Gets the date of this DeleteBucketCustomdomainRequest.
|
61
61
|
|
62
|
-
|
62
|
+
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.
|
63
63
|
|
64
64
|
:return: The date of this DeleteBucketCustomdomainRequest.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class DeleteBucketCustomdomainRequest:
|
|
70
70
|
def date(self, date):
|
71
71
|
"""Sets the date of this DeleteBucketCustomdomainRequest.
|
72
72
|
|
73
|
-
|
73
|
+
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.
|
74
74
|
|
75
75
|
:param date: The date of this DeleteBucketCustomdomainRequest.
|
76
76
|
:type date: str
|
@@ -81,7 +81,7 @@ class DeleteBucketCustomdomainRequest:
|
|
81
81
|
def bucket_name(self):
|
82
82
|
"""Gets the bucket_name of this DeleteBucketCustomdomainRequest.
|
83
83
|
|
84
|
-
|
84
|
+
Name of the requested bucket
|
85
85
|
|
86
86
|
:return: The bucket_name of this DeleteBucketCustomdomainRequest.
|
87
87
|
:rtype: str
|
@@ -92,7 +92,7 @@ class DeleteBucketCustomdomainRequest:
|
|
92
92
|
def bucket_name(self, bucket_name):
|
93
93
|
"""Sets the bucket_name of this DeleteBucketCustomdomainRequest.
|
94
94
|
|
95
|
-
|
95
|
+
Name of the requested bucket
|
96
96
|
|
97
97
|
:param bucket_name: The bucket_name of this DeleteBucketCustomdomainRequest.
|
98
98
|
:type bucket_name: str
|
@@ -103,7 +103,7 @@ class DeleteBucketCustomdomainRequest:
|
|
103
103
|
def customdomain(self):
|
104
104
|
"""Gets the customdomain of this DeleteBucketCustomdomainRequest.
|
105
105
|
|
106
|
-
|
106
|
+
The custom domain name you want to delete. Type: string, which must meet the naming conventions of domain names.
|
107
107
|
|
108
108
|
:return: The customdomain of this DeleteBucketCustomdomainRequest.
|
109
109
|
:rtype: str
|
@@ -114,7 +114,7 @@ class DeleteBucketCustomdomainRequest:
|
|
114
114
|
def customdomain(self, customdomain):
|
115
115
|
"""Sets the customdomain of this DeleteBucketCustomdomainRequest.
|
116
116
|
|
117
|
-
|
117
|
+
The custom domain name you want to delete. Type: string, which must meet the naming conventions of domain names.
|
118
118
|
|
119
119
|
:param customdomain: The customdomain of this DeleteBucketCustomdomainRequest.
|
120
120
|
:type customdomain: str
|
@@ -33,9 +33,9 @@ class DeleteBucketRequest:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param bucket_name:
|
36
|
+
:param bucket_name: Name of the bucket.
|
37
37
|
:type bucket_name: str
|
38
|
-
:param date:
|
38
|
+
: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.
|
39
39
|
:type date: str
|
40
40
|
"""
|
41
41
|
|
@@ -53,7 +53,7 @@ class DeleteBucketRequest:
|
|
53
53
|
def bucket_name(self):
|
54
54
|
"""Gets the bucket_name of this DeleteBucketRequest.
|
55
55
|
|
56
|
-
|
56
|
+
Name of the bucket.
|
57
57
|
|
58
58
|
:return: The bucket_name of this DeleteBucketRequest.
|
59
59
|
:rtype: str
|
@@ -64,7 +64,7 @@ class DeleteBucketRequest:
|
|
64
64
|
def bucket_name(self, bucket_name):
|
65
65
|
"""Sets the bucket_name of this DeleteBucketRequest.
|
66
66
|
|
67
|
-
|
67
|
+
Name of the bucket.
|
68
68
|
|
69
69
|
:param bucket_name: The bucket_name of this DeleteBucketRequest.
|
70
70
|
:type bucket_name: str
|
@@ -75,7 +75,7 @@ class DeleteBucketRequest:
|
|
75
75
|
def date(self):
|
76
76
|
"""Gets the date of this DeleteBucketRequest.
|
77
77
|
|
78
|
-
|
78
|
+
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.
|
79
79
|
|
80
80
|
:return: The date of this DeleteBucketRequest.
|
81
81
|
:rtype: str
|
@@ -86,7 +86,7 @@ class DeleteBucketRequest:
|
|
86
86
|
def date(self, date):
|
87
87
|
"""Sets the date of this DeleteBucketRequest.
|
88
88
|
|
89
|
-
|
89
|
+
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.
|
90
90
|
|
91
91
|
:param date: The date of this DeleteBucketRequest.
|
92
92
|
:type date: str
|
@@ -33,9 +33,9 @@ class DeleteObject:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param key:
|
36
|
+
:param key: Key of the object to be deleted. If **EncodingType** is specified, the object key must be encoded as configured.
|
37
37
|
:type key: str
|
38
|
-
:param version_id:
|
38
|
+
:param version_id: Version ID of the object to be deleted
|
39
39
|
:type version_id: str
|
40
40
|
"""
|
41
41
|
|
@@ -54,7 +54,7 @@ class DeleteObject:
|
|
54
54
|
def key(self):
|
55
55
|
"""Gets the key of this DeleteObject.
|
56
56
|
|
57
|
-
|
57
|
+
Key of the object to be deleted. If **EncodingType** is specified, the object key must be encoded as configured.
|
58
58
|
|
59
59
|
:return: The key of this DeleteObject.
|
60
60
|
:rtype: str
|
@@ -65,7 +65,7 @@ class DeleteObject:
|
|
65
65
|
def key(self, key):
|
66
66
|
"""Sets the key of this DeleteObject.
|
67
67
|
|
68
|
-
|
68
|
+
Key of the object to be deleted. If **EncodingType** is specified, the object key must be encoded as configured.
|
69
69
|
|
70
70
|
:param key: The key of this DeleteObject.
|
71
71
|
:type key: str
|
@@ -76,7 +76,7 @@ class DeleteObject:
|
|
76
76
|
def version_id(self):
|
77
77
|
"""Gets the version_id of this DeleteObject.
|
78
78
|
|
79
|
-
|
79
|
+
Version ID of the object to be deleted
|
80
80
|
|
81
81
|
:return: The version_id of this DeleteObject.
|
82
82
|
:rtype: str
|
@@ -87,7 +87,7 @@ class DeleteObject:
|
|
87
87
|
def version_id(self, version_id):
|
88
88
|
"""Sets the version_id of this DeleteObject.
|
89
89
|
|
90
|
-
|
90
|
+
Version ID of the object to be deleted
|
91
91
|
|
92
92
|
:param version_id: The version_id of this DeleteObject.
|
93
93
|
:type version_id: str
|