huaweicloudsdkobs 3.1.75__py2.py3-none-any.whl → 3.1.77__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- 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
huaweicloudsdkobs/v1/__init__.py
CHANGED
@@ -7,7 +7,6 @@ from huaweicloudsdkobs.v1.obs_async_client import ObsAsyncClient
|
|
7
7
|
|
8
8
|
from huaweicloudsdkobs.v1.model.access_control_list import AccessControlList
|
9
9
|
from huaweicloudsdkobs.v1.model.bucket import Bucket
|
10
|
-
from huaweicloudsdkobs.v1.model.buckets import Buckets
|
11
10
|
from huaweicloudsdkobs.v1.model.contents import Contents
|
12
11
|
from huaweicloudsdkobs.v1.model.copy_object_request import CopyObjectRequest
|
13
12
|
from huaweicloudsdkobs.v1.model.copy_object_response import CopyObjectResponse
|
@@ -5,7 +5,6 @@ from __future__ import absolute_import
|
|
5
5
|
# import models into model package
|
6
6
|
from huaweicloudsdkobs.v1.model.access_control_list import AccessControlList
|
7
7
|
from huaweicloudsdkobs.v1.model.bucket import Bucket
|
8
|
-
from huaweicloudsdkobs.v1.model.buckets import Buckets
|
9
8
|
from huaweicloudsdkobs.v1.model.contents import Contents
|
10
9
|
from huaweicloudsdkobs.v1.model.copy_object_request import CopyObjectRequest
|
11
10
|
from huaweicloudsdkobs.v1.model.copy_object_response import CopyObjectResponse
|
@@ -39,15 +39,15 @@ class Bucket:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param name:
|
42
|
+
:param name: Name of the bucket
|
43
43
|
:type name: str
|
44
|
-
:param creation_date:
|
44
|
+
:param creation_date: Time when the bucket was created
|
45
45
|
:type creation_date: str
|
46
|
-
:param location:
|
46
|
+
:param location: Location of the bucket
|
47
47
|
:type location: str
|
48
|
-
:param cluster_type:
|
48
|
+
:param cluster_type: Type of the cluster where the bucket is created. This field is returned when the bucket is created in a dedicated cluster. This field is not returned in other cases.
|
49
49
|
:type cluster_type: str
|
50
|
-
:param ies_location:
|
50
|
+
:param ies_location: If a bucket is created in a cluster at the IES site, the ID of the IES site is returned. This header is not returned in other cases.
|
51
51
|
:type ies_location: str
|
52
52
|
"""
|
53
53
|
|
@@ -75,7 +75,7 @@ class Bucket:
|
|
75
75
|
def name(self):
|
76
76
|
"""Gets the name of this Bucket.
|
77
77
|
|
78
|
-
|
78
|
+
Name of the bucket
|
79
79
|
|
80
80
|
:return: The name of this Bucket.
|
81
81
|
:rtype: str
|
@@ -86,7 +86,7 @@ class Bucket:
|
|
86
86
|
def name(self, name):
|
87
87
|
"""Sets the name of this Bucket.
|
88
88
|
|
89
|
-
|
89
|
+
Name of the bucket
|
90
90
|
|
91
91
|
:param name: The name of this Bucket.
|
92
92
|
:type name: str
|
@@ -97,7 +97,7 @@ class Bucket:
|
|
97
97
|
def creation_date(self):
|
98
98
|
"""Gets the creation_date of this Bucket.
|
99
99
|
|
100
|
-
|
100
|
+
Time when the bucket was created
|
101
101
|
|
102
102
|
:return: The creation_date of this Bucket.
|
103
103
|
:rtype: str
|
@@ -108,7 +108,7 @@ class Bucket:
|
|
108
108
|
def creation_date(self, creation_date):
|
109
109
|
"""Sets the creation_date of this Bucket.
|
110
110
|
|
111
|
-
|
111
|
+
Time when the bucket was created
|
112
112
|
|
113
113
|
:param creation_date: The creation_date of this Bucket.
|
114
114
|
:type creation_date: str
|
@@ -119,7 +119,7 @@ class Bucket:
|
|
119
119
|
def location(self):
|
120
120
|
"""Gets the location of this Bucket.
|
121
121
|
|
122
|
-
|
122
|
+
Location of the bucket
|
123
123
|
|
124
124
|
:return: The location of this Bucket.
|
125
125
|
:rtype: str
|
@@ -130,7 +130,7 @@ class Bucket:
|
|
130
130
|
def location(self, location):
|
131
131
|
"""Sets the location of this Bucket.
|
132
132
|
|
133
|
-
|
133
|
+
Location of the bucket
|
134
134
|
|
135
135
|
:param location: The location of this Bucket.
|
136
136
|
:type location: str
|
@@ -141,7 +141,7 @@ class Bucket:
|
|
141
141
|
def cluster_type(self):
|
142
142
|
"""Gets the cluster_type of this Bucket.
|
143
143
|
|
144
|
-
|
144
|
+
Type of the cluster where the bucket is created. This field is returned when the bucket is created in a dedicated cluster. This field is not returned in other cases.
|
145
145
|
|
146
146
|
:return: The cluster_type of this Bucket.
|
147
147
|
:rtype: str
|
@@ -152,7 +152,7 @@ class Bucket:
|
|
152
152
|
def cluster_type(self, cluster_type):
|
153
153
|
"""Sets the cluster_type of this Bucket.
|
154
154
|
|
155
|
-
|
155
|
+
Type of the cluster where the bucket is created. This field is returned when the bucket is created in a dedicated cluster. This field is not returned in other cases.
|
156
156
|
|
157
157
|
:param cluster_type: The cluster_type of this Bucket.
|
158
158
|
:type cluster_type: str
|
@@ -163,7 +163,7 @@ class Bucket:
|
|
163
163
|
def ies_location(self):
|
164
164
|
"""Gets the ies_location of this Bucket.
|
165
165
|
|
166
|
-
|
166
|
+
If a bucket is created in a cluster at the IES site, the ID of the IES site is returned. This header is not returned in other cases.
|
167
167
|
|
168
168
|
:return: The ies_location of this Bucket.
|
169
169
|
:rtype: str
|
@@ -174,7 +174,7 @@ class Bucket:
|
|
174
174
|
def ies_location(self, ies_location):
|
175
175
|
"""Sets the ies_location of this Bucket.
|
176
176
|
|
177
|
-
|
177
|
+
If a bucket is created in a cluster at the IES site, the ID of the IES site is returned. This header is not returned in other cases.
|
178
178
|
|
179
179
|
:param ies_location: The ies_location of this Bucket.
|
180
180
|
:type ies_location: str
|
@@ -45,17 +45,17 @@ class Contents:
|
|
45
45
|
|
46
46
|
:param owner:
|
47
47
|
:type owner: :class:`huaweicloudsdkobs.v1.Owner`
|
48
|
-
:param e_tag:
|
48
|
+
:param e_tag: Base64-encoded 128-bit MD5 digest of an object. ETag is the unique identifier of the object content. It determines whether the object content changes. For example, when an object is uploaded, its ETag value is **A**, but when it is downloaded, its ETag value is **B**, this indicates that the object content changes. The ETag is a hash of the object. The ETag reflects changes only to the object content, rather than its metadata. An uploaded object or copied object has a unique ETag after being encrypted with MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)
|
49
49
|
:type e_tag: str
|
50
|
-
:param type:
|
50
|
+
:param type: Object type. This parameter is returned when the object type is not **Normal**.
|
51
51
|
:type type: str
|
52
|
-
:param key:
|
52
|
+
:param key: Name of the object
|
53
53
|
:type key: str
|
54
|
-
:param last_modified:
|
54
|
+
:param last_modified: Time (UTC) when the object was last modified
|
55
55
|
:type last_modified: str
|
56
|
-
:param size:
|
56
|
+
:param size: Object size in bytes
|
57
57
|
:type size: str
|
58
|
-
:param storage_class:
|
58
|
+
:param storage_class: Storage class of the object
|
59
59
|
:type storage_class: str
|
60
60
|
"""
|
61
61
|
|
@@ -107,7 +107,7 @@ class Contents:
|
|
107
107
|
def e_tag(self):
|
108
108
|
"""Gets the e_tag of this Contents.
|
109
109
|
|
110
|
-
|
110
|
+
Base64-encoded 128-bit MD5 digest of an object. ETag is the unique identifier of the object content. It determines whether the object content changes. For example, when an object is uploaded, its ETag value is **A**, but when it is downloaded, its ETag value is **B**, this indicates that the object content changes. The ETag is a hash of the object. The ETag reflects changes only to the object content, rather than its metadata. An uploaded object or copied object has a unique ETag after being encrypted with MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)
|
111
111
|
|
112
112
|
:return: The e_tag of this Contents.
|
113
113
|
:rtype: str
|
@@ -118,7 +118,7 @@ class Contents:
|
|
118
118
|
def e_tag(self, e_tag):
|
119
119
|
"""Sets the e_tag of this Contents.
|
120
120
|
|
121
|
-
|
121
|
+
Base64-encoded 128-bit MD5 digest of an object. ETag is the unique identifier of the object content. It determines whether the object content changes. For example, when an object is uploaded, its ETag value is **A**, but when it is downloaded, its ETag value is **B**, this indicates that the object content changes. The ETag is a hash of the object. The ETag reflects changes only to the object content, rather than its metadata. An uploaded object or copied object has a unique ETag after being encrypted with MD5. (If the object is encrypted on the server side, the ETag value is not the MD5 digest of the object, but the unique identifier calculated through server-side encryption.)
|
122
122
|
|
123
123
|
:param e_tag: The e_tag of this Contents.
|
124
124
|
:type e_tag: str
|
@@ -129,7 +129,7 @@ class Contents:
|
|
129
129
|
def type(self):
|
130
130
|
"""Gets the type of this Contents.
|
131
131
|
|
132
|
-
|
132
|
+
Object type. This parameter is returned when the object type is not **Normal**.
|
133
133
|
|
134
134
|
:return: The type of this Contents.
|
135
135
|
:rtype: str
|
@@ -140,7 +140,7 @@ class Contents:
|
|
140
140
|
def type(self, type):
|
141
141
|
"""Sets the type of this Contents.
|
142
142
|
|
143
|
-
|
143
|
+
Object type. This parameter is returned when the object type is not **Normal**.
|
144
144
|
|
145
145
|
:param type: The type of this Contents.
|
146
146
|
:type type: str
|
@@ -151,7 +151,7 @@ class Contents:
|
|
151
151
|
def key(self):
|
152
152
|
"""Gets the key of this Contents.
|
153
153
|
|
154
|
-
|
154
|
+
Name of the object
|
155
155
|
|
156
156
|
:return: The key of this Contents.
|
157
157
|
:rtype: str
|
@@ -162,7 +162,7 @@ class Contents:
|
|
162
162
|
def key(self, key):
|
163
163
|
"""Sets the key of this Contents.
|
164
164
|
|
165
|
-
|
165
|
+
Name of the object
|
166
166
|
|
167
167
|
:param key: The key of this Contents.
|
168
168
|
:type key: str
|
@@ -173,7 +173,7 @@ class Contents:
|
|
173
173
|
def last_modified(self):
|
174
174
|
"""Gets the last_modified of this Contents.
|
175
175
|
|
176
|
-
|
176
|
+
Time (UTC) when the object was last modified
|
177
177
|
|
178
178
|
:return: The last_modified of this Contents.
|
179
179
|
:rtype: str
|
@@ -184,7 +184,7 @@ class Contents:
|
|
184
184
|
def last_modified(self, last_modified):
|
185
185
|
"""Sets the last_modified of this Contents.
|
186
186
|
|
187
|
-
|
187
|
+
Time (UTC) when the object was last modified
|
188
188
|
|
189
189
|
:param last_modified: The last_modified of this Contents.
|
190
190
|
:type last_modified: str
|
@@ -195,7 +195,7 @@ class Contents:
|
|
195
195
|
def size(self):
|
196
196
|
"""Gets the size of this Contents.
|
197
197
|
|
198
|
-
|
198
|
+
Object size in bytes
|
199
199
|
|
200
200
|
:return: The size of this Contents.
|
201
201
|
:rtype: str
|
@@ -206,7 +206,7 @@ class Contents:
|
|
206
206
|
def size(self, size):
|
207
207
|
"""Sets the size of this Contents.
|
208
208
|
|
209
|
-
|
209
|
+
Object size in bytes
|
210
210
|
|
211
211
|
:param size: The size of this Contents.
|
212
212
|
:type size: str
|
@@ -217,7 +217,7 @@ class Contents:
|
|
217
217
|
def storage_class(self):
|
218
218
|
"""Gets the storage_class of this Contents.
|
219
219
|
|
220
|
-
|
220
|
+
Storage class of the object
|
221
221
|
|
222
222
|
:return: The storage_class of this Contents.
|
223
223
|
:rtype: str
|
@@ -228,7 +228,7 @@ class Contents:
|
|
228
228
|
def storage_class(self, storage_class):
|
229
229
|
"""Sets the storage_class of this Contents.
|
230
230
|
|
231
|
-
|
231
|
+
Storage class of the object
|
232
232
|
|
233
233
|
:param storage_class: The storage_class of this Contents.
|
234
234
|
:type storage_class: str
|