huaweicloudsdkobs 3.1.76__py2.py3-none-any.whl → 3.1.78__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/v1/region/obs_region.py +4 -8
- {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.78.dist-info}/METADATA +2 -2
- huaweicloudsdkobs-3.1.78.dist-info/RECORD +70 -0
- huaweicloudsdkobs/v1/model/buckets.py +0 -117
- huaweicloudsdkobs-3.1.76.dist-info/RECORD +0 -71
- {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.78.dist-info}/LICENSE +0 -0
- {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.78.dist-info}/WHEEL +0 -0
- {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.78.dist-info}/top_level.txt +0 -0
@@ -37,13 +37,13 @@ class DeleteObjectRequest:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param bucket_name:
|
40
|
+
:param bucket_name: Name of the bucket.
|
41
41
|
:type bucket_name: str
|
42
|
-
:param object_key:
|
42
|
+
:param object_key: Name of the object to be deleted.
|
43
43
|
:type object_key: str
|
44
|
-
:param date:
|
44
|
+
: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.
|
45
45
|
:type date: str
|
46
|
-
:param version_id:
|
46
|
+
:param version_id: Version ID of the object to be deleted.
|
47
47
|
:type version_id: str
|
48
48
|
"""
|
49
49
|
|
@@ -66,7 +66,7 @@ class DeleteObjectRequest:
|
|
66
66
|
def bucket_name(self):
|
67
67
|
"""Gets the bucket_name of this DeleteObjectRequest.
|
68
68
|
|
69
|
-
|
69
|
+
Name of the bucket.
|
70
70
|
|
71
71
|
:return: The bucket_name of this DeleteObjectRequest.
|
72
72
|
:rtype: str
|
@@ -77,7 +77,7 @@ class DeleteObjectRequest:
|
|
77
77
|
def bucket_name(self, bucket_name):
|
78
78
|
"""Sets the bucket_name of this DeleteObjectRequest.
|
79
79
|
|
80
|
-
|
80
|
+
Name of the bucket.
|
81
81
|
|
82
82
|
:param bucket_name: The bucket_name of this DeleteObjectRequest.
|
83
83
|
:type bucket_name: str
|
@@ -88,7 +88,7 @@ class DeleteObjectRequest:
|
|
88
88
|
def object_key(self):
|
89
89
|
"""Gets the object_key of this DeleteObjectRequest.
|
90
90
|
|
91
|
-
|
91
|
+
Name of the object to be deleted.
|
92
92
|
|
93
93
|
:return: The object_key of this DeleteObjectRequest.
|
94
94
|
:rtype: str
|
@@ -99,7 +99,7 @@ class DeleteObjectRequest:
|
|
99
99
|
def object_key(self, object_key):
|
100
100
|
"""Sets the object_key of this DeleteObjectRequest.
|
101
101
|
|
102
|
-
|
102
|
+
Name of the object to be deleted.
|
103
103
|
|
104
104
|
:param object_key: The object_key of this DeleteObjectRequest.
|
105
105
|
:type object_key: str
|
@@ -110,7 +110,7 @@ class DeleteObjectRequest:
|
|
110
110
|
def date(self):
|
111
111
|
"""Gets the date of this DeleteObjectRequest.
|
112
112
|
|
113
|
-
|
113
|
+
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.
|
114
114
|
|
115
115
|
:return: The date of this DeleteObjectRequest.
|
116
116
|
:rtype: str
|
@@ -121,7 +121,7 @@ class DeleteObjectRequest:
|
|
121
121
|
def date(self, date):
|
122
122
|
"""Sets the date of this DeleteObjectRequest.
|
123
123
|
|
124
|
-
|
124
|
+
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.
|
125
125
|
|
126
126
|
:param date: The date of this DeleteObjectRequest.
|
127
127
|
:type date: str
|
@@ -132,7 +132,7 @@ class DeleteObjectRequest:
|
|
132
132
|
def version_id(self):
|
133
133
|
"""Gets the version_id of this DeleteObjectRequest.
|
134
134
|
|
135
|
-
|
135
|
+
Version ID of the object to be deleted.
|
136
136
|
|
137
137
|
:return: The version_id of this DeleteObjectRequest.
|
138
138
|
:rtype: str
|
@@ -143,7 +143,7 @@ class DeleteObjectRequest:
|
|
143
143
|
def version_id(self, version_id):
|
144
144
|
"""Sets the version_id of this DeleteObjectRequest.
|
145
145
|
|
146
|
-
|
146
|
+
Version ID of the object to be deleted.
|
147
147
|
|
148
148
|
:param version_id: The version_id of this DeleteObjectRequest.
|
149
149
|
:type version_id: str
|
@@ -39,13 +39,13 @@ class DeleteObjectsRequest:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param content_md5:
|
42
|
+
:param content_md5: Base64-encoded 128-bit MD5 digest of the message according to RFC 1864.
|
43
43
|
:type content_md5: str
|
44
|
-
:param date:
|
44
|
+
: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.
|
45
45
|
:type date: str
|
46
|
-
:param bucket_name:
|
46
|
+
:param bucket_name: Name of the requested bucket
|
47
47
|
:type bucket_name: str
|
48
|
-
:param delete:
|
48
|
+
:param delete: Indicates the batch deletion API.
|
49
49
|
:type delete: str
|
50
50
|
:param body: Body of the DeleteObjectsRequest
|
51
51
|
:type body: :class:`huaweicloudsdkobs.v1.DeleteObjectsRequestBody`
|
@@ -72,7 +72,7 @@ class DeleteObjectsRequest:
|
|
72
72
|
def content_md5(self):
|
73
73
|
"""Gets the content_md5 of this DeleteObjectsRequest.
|
74
74
|
|
75
|
-
|
75
|
+
Base64-encoded 128-bit MD5 digest of the message according to RFC 1864.
|
76
76
|
|
77
77
|
:return: The content_md5 of this DeleteObjectsRequest.
|
78
78
|
:rtype: str
|
@@ -83,7 +83,7 @@ class DeleteObjectsRequest:
|
|
83
83
|
def content_md5(self, content_md5):
|
84
84
|
"""Sets the content_md5 of this DeleteObjectsRequest.
|
85
85
|
|
86
|
-
|
86
|
+
Base64-encoded 128-bit MD5 digest of the message according to RFC 1864.
|
87
87
|
|
88
88
|
:param content_md5: The content_md5 of this DeleteObjectsRequest.
|
89
89
|
:type content_md5: str
|
@@ -94,7 +94,7 @@ class DeleteObjectsRequest:
|
|
94
94
|
def date(self):
|
95
95
|
"""Gets the date of this DeleteObjectsRequest.
|
96
96
|
|
97
|
-
|
97
|
+
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.
|
98
98
|
|
99
99
|
:return: The date of this DeleteObjectsRequest.
|
100
100
|
:rtype: str
|
@@ -105,7 +105,7 @@ class DeleteObjectsRequest:
|
|
105
105
|
def date(self, date):
|
106
106
|
"""Sets the date of this DeleteObjectsRequest.
|
107
107
|
|
108
|
-
|
108
|
+
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.
|
109
109
|
|
110
110
|
:param date: The date of this DeleteObjectsRequest.
|
111
111
|
:type date: str
|
@@ -116,7 +116,7 @@ class DeleteObjectsRequest:
|
|
116
116
|
def bucket_name(self):
|
117
117
|
"""Gets the bucket_name of this DeleteObjectsRequest.
|
118
118
|
|
119
|
-
|
119
|
+
Name of the requested bucket
|
120
120
|
|
121
121
|
:return: The bucket_name of this DeleteObjectsRequest.
|
122
122
|
:rtype: str
|
@@ -127,7 +127,7 @@ class DeleteObjectsRequest:
|
|
127
127
|
def bucket_name(self, bucket_name):
|
128
128
|
"""Sets the bucket_name of this DeleteObjectsRequest.
|
129
129
|
|
130
|
-
|
130
|
+
Name of the requested bucket
|
131
131
|
|
132
132
|
:param bucket_name: The bucket_name of this DeleteObjectsRequest.
|
133
133
|
:type bucket_name: str
|
@@ -138,7 +138,7 @@ class DeleteObjectsRequest:
|
|
138
138
|
def delete(self):
|
139
139
|
"""Gets the delete of this DeleteObjectsRequest.
|
140
140
|
|
141
|
-
|
141
|
+
Indicates the batch deletion API.
|
142
142
|
|
143
143
|
:return: The delete of this DeleteObjectsRequest.
|
144
144
|
:rtype: str
|
@@ -149,7 +149,7 @@ class DeleteObjectsRequest:
|
|
149
149
|
def delete(self, delete):
|
150
150
|
"""Sets the delete of this DeleteObjectsRequest.
|
151
151
|
|
152
|
-
|
152
|
+
Indicates the batch deletion API.
|
153
153
|
|
154
154
|
:param delete: The delete of this DeleteObjectsRequest.
|
155
155
|
:type delete: str
|
@@ -35,9 +35,9 @@ class DeleteObjectsRequestBody:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param quiet:
|
38
|
+
:param quiet: Specifies the **quiet** mode that makes OBS only return the list of objects whose deletion failed. This field is valid when set to **true**, or OBS ignores it.
|
39
39
|
:type quiet: bool
|
40
|
-
:param encoding_type:
|
40
|
+
:param encoding_type: Specifies the encoding type of the object key to delete and that in the response. If an object key contains control characters that are not supported by XML 1.0 standards, you can set this element to specify how the object key is encoded.
|
41
41
|
:type encoding_type: str
|
42
42
|
:param object:
|
43
43
|
:type object: list[:class:`huaweicloudsdkobs.v1.DeleteObject`]
|
@@ -61,7 +61,7 @@ class DeleteObjectsRequestBody:
|
|
61
61
|
def quiet(self):
|
62
62
|
"""Gets the quiet of this DeleteObjectsRequestBody.
|
63
63
|
|
64
|
-
|
64
|
+
Specifies the **quiet** mode that makes OBS only return the list of objects whose deletion failed. This field is valid when set to **true**, or OBS ignores it.
|
65
65
|
|
66
66
|
:return: The quiet of this DeleteObjectsRequestBody.
|
67
67
|
:rtype: bool
|
@@ -72,7 +72,7 @@ class DeleteObjectsRequestBody:
|
|
72
72
|
def quiet(self, quiet):
|
73
73
|
"""Sets the quiet of this DeleteObjectsRequestBody.
|
74
74
|
|
75
|
-
|
75
|
+
Specifies the **quiet** mode that makes OBS only return the list of objects whose deletion failed. This field is valid when set to **true**, or OBS ignores it.
|
76
76
|
|
77
77
|
:param quiet: The quiet of this DeleteObjectsRequestBody.
|
78
78
|
:type quiet: bool
|
@@ -83,7 +83,7 @@ class DeleteObjectsRequestBody:
|
|
83
83
|
def encoding_type(self):
|
84
84
|
"""Gets the encoding_type of this DeleteObjectsRequestBody.
|
85
85
|
|
86
|
-
|
86
|
+
Specifies the encoding type of the object key to delete and that in the response. If an object key contains control characters that are not supported by XML 1.0 standards, you can set this element to specify how the object key is encoded.
|
87
87
|
|
88
88
|
:return: The encoding_type of this DeleteObjectsRequestBody.
|
89
89
|
:rtype: str
|
@@ -94,7 +94,7 @@ class DeleteObjectsRequestBody:
|
|
94
94
|
def encoding_type(self, encoding_type):
|
95
95
|
"""Sets the encoding_type of this DeleteObjectsRequestBody.
|
96
96
|
|
97
|
-
|
97
|
+
Specifies the encoding type of the object key to delete and that in the response. If an object key contains control characters that are not supported by XML 1.0 standards, you can set this element to specify how the object key is encoded.
|
98
98
|
|
99
99
|
:param encoding_type: The encoding_type of this DeleteObjectsRequestBody.
|
100
100
|
:type encoding_type: str
|
@@ -48,7 +48,7 @@ class DeleteObjectsResponse(SdkResponse):
|
|
48
48
|
|
49
49
|
The model defined in huaweicloud sdk
|
50
50
|
|
51
|
-
:param encoding_type:
|
51
|
+
:param encoding_type: Encodes the **key** in the response based on the specified type. If **encoding-type** is specified in the request, the **Key** in the response is encoded.
|
52
52
|
:type encoding_type: str
|
53
53
|
:param deleted:
|
54
54
|
:type deleted: list[:class:`huaweicloudsdkobs.v1.DeleteResultDeleted`]
|
@@ -104,7 +104,7 @@ class DeleteObjectsResponse(SdkResponse):
|
|
104
104
|
def encoding_type(self):
|
105
105
|
"""Gets the encoding_type of this DeleteObjectsResponse.
|
106
106
|
|
107
|
-
|
107
|
+
Encodes the **key** in the response based on the specified type. If **encoding-type** is specified in the request, the **Key** in the response is encoded.
|
108
108
|
|
109
109
|
:return: The encoding_type of this DeleteObjectsResponse.
|
110
110
|
:rtype: str
|
@@ -115,7 +115,7 @@ class DeleteObjectsResponse(SdkResponse):
|
|
115
115
|
def encoding_type(self, encoding_type):
|
116
116
|
"""Sets the encoding_type of this DeleteObjectsResponse.
|
117
117
|
|
118
|
-
|
118
|
+
Encodes the **key** in the response based on the specified type. If **encoding-type** is specified in the request, the **Key** in the response is encoded.
|
119
119
|
|
120
120
|
:param encoding_type: The encoding_type of this DeleteObjectsResponse.
|
121
121
|
:type encoding_type: str
|
@@ -37,13 +37,13 @@ class DeleteResultDeleted:
|
|
37
37
|
|
38
38
|
The model defined in huaweicloud sdk
|
39
39
|
|
40
|
-
:param key:
|
40
|
+
:param key: Object names in a deletion result
|
41
41
|
:type key: str
|
42
|
-
:param version_id:
|
42
|
+
:param version_id: Version IDs of objects to be deleted
|
43
43
|
:type version_id: str
|
44
|
-
:param delete_marker:
|
44
|
+
:param delete_marker: If this element is specified, **true** will be returned when you create or delete a deletion marker in the requested bucket with versioning enabled.
|
45
45
|
:type delete_marker: bool
|
46
|
-
:param delete_marker_version_id:
|
46
|
+
:param delete_marker_version_id: Version ID of the delete marker to create or delete. If the request either creates or deletes a delete marker, OBS returns this element in response with the version ID of the delete marker. This element will be returned in either of the following cases: You send a delete request with no version ID specified. You send a request with a version ID specified, but this version ID represents a delete marker. In this case, OBS deletes the delete marker and returns its version ID in the response.
|
47
47
|
:type delete_marker_version_id: bool
|
48
48
|
"""
|
49
49
|
|
@@ -68,7 +68,7 @@ class DeleteResultDeleted:
|
|
68
68
|
def key(self):
|
69
69
|
"""Gets the key of this DeleteResultDeleted.
|
70
70
|
|
71
|
-
|
71
|
+
Object names in a deletion result
|
72
72
|
|
73
73
|
:return: The key of this DeleteResultDeleted.
|
74
74
|
:rtype: str
|
@@ -79,7 +79,7 @@ class DeleteResultDeleted:
|
|
79
79
|
def key(self, key):
|
80
80
|
"""Sets the key of this DeleteResultDeleted.
|
81
81
|
|
82
|
-
|
82
|
+
Object names in a deletion result
|
83
83
|
|
84
84
|
:param key: The key of this DeleteResultDeleted.
|
85
85
|
:type key: str
|
@@ -90,7 +90,7 @@ class DeleteResultDeleted:
|
|
90
90
|
def version_id(self):
|
91
91
|
"""Gets the version_id of this DeleteResultDeleted.
|
92
92
|
|
93
|
-
|
93
|
+
Version IDs of objects to be deleted
|
94
94
|
|
95
95
|
:return: The version_id of this DeleteResultDeleted.
|
96
96
|
:rtype: str
|
@@ -101,7 +101,7 @@ class DeleteResultDeleted:
|
|
101
101
|
def version_id(self, version_id):
|
102
102
|
"""Sets the version_id of this DeleteResultDeleted.
|
103
103
|
|
104
|
-
|
104
|
+
Version IDs of objects to be deleted
|
105
105
|
|
106
106
|
:param version_id: The version_id of this DeleteResultDeleted.
|
107
107
|
:type version_id: str
|
@@ -112,7 +112,7 @@ class DeleteResultDeleted:
|
|
112
112
|
def delete_marker(self):
|
113
113
|
"""Gets the delete_marker of this DeleteResultDeleted.
|
114
114
|
|
115
|
-
|
115
|
+
If this element is specified, **true** will be returned when you create or delete a deletion marker in the requested bucket with versioning enabled.
|
116
116
|
|
117
117
|
:return: The delete_marker of this DeleteResultDeleted.
|
118
118
|
:rtype: bool
|
@@ -123,7 +123,7 @@ class DeleteResultDeleted:
|
|
123
123
|
def delete_marker(self, delete_marker):
|
124
124
|
"""Sets the delete_marker of this DeleteResultDeleted.
|
125
125
|
|
126
|
-
|
126
|
+
If this element is specified, **true** will be returned when you create or delete a deletion marker in the requested bucket with versioning enabled.
|
127
127
|
|
128
128
|
:param delete_marker: The delete_marker of this DeleteResultDeleted.
|
129
129
|
:type delete_marker: bool
|
@@ -134,7 +134,7 @@ class DeleteResultDeleted:
|
|
134
134
|
def delete_marker_version_id(self):
|
135
135
|
"""Gets the delete_marker_version_id of this DeleteResultDeleted.
|
136
136
|
|
137
|
-
|
137
|
+
Version ID of the delete marker to create or delete. If the request either creates or deletes a delete marker, OBS returns this element in response with the version ID of the delete marker. This element will be returned in either of the following cases: You send a delete request with no version ID specified. You send a request with a version ID specified, but this version ID represents a delete marker. In this case, OBS deletes the delete marker and returns its version ID in the response.
|
138
138
|
|
139
139
|
:return: The delete_marker_version_id of this DeleteResultDeleted.
|
140
140
|
:rtype: bool
|
@@ -145,7 +145,7 @@ class DeleteResultDeleted:
|
|
145
145
|
def delete_marker_version_id(self, delete_marker_version_id):
|
146
146
|
"""Sets the delete_marker_version_id of this DeleteResultDeleted.
|
147
147
|
|
148
|
-
|
148
|
+
Version ID of the delete marker to create or delete. If the request either creates or deletes a delete marker, OBS returns this element in response with the version ID of the delete marker. This element will be returned in either of the following cases: You send a delete request with no version ID specified. You send a request with a version ID specified, but this version ID represents a delete marker. In this case, OBS deletes the delete marker and returns its version ID in the response.
|
149
149
|
|
150
150
|
:param delete_marker_version_id: The delete_marker_version_id of this DeleteResultDeleted.
|
151
151
|
:type delete_marker_version_id: bool
|
@@ -35,11 +35,11 @@ class DeleteResultError:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param key:
|
38
|
+
:param key: Object names in a deletion result
|
39
39
|
:type key: str
|
40
|
-
:param code:
|
40
|
+
:param code: Error code of the failed deletion
|
41
41
|
:type code: str
|
42
|
-
:param message:
|
42
|
+
:param message: Error message of the failed deletion
|
43
43
|
:type message: str
|
44
44
|
"""
|
45
45
|
|
@@ -61,7 +61,7 @@ class DeleteResultError:
|
|
61
61
|
def key(self):
|
62
62
|
"""Gets the key of this DeleteResultError.
|
63
63
|
|
64
|
-
|
64
|
+
Object names in a deletion result
|
65
65
|
|
66
66
|
:return: The key of this DeleteResultError.
|
67
67
|
:rtype: str
|
@@ -72,7 +72,7 @@ class DeleteResultError:
|
|
72
72
|
def key(self, key):
|
73
73
|
"""Sets the key of this DeleteResultError.
|
74
74
|
|
75
|
-
|
75
|
+
Object names in a deletion result
|
76
76
|
|
77
77
|
:param key: The key of this DeleteResultError.
|
78
78
|
:type key: str
|
@@ -83,7 +83,7 @@ class DeleteResultError:
|
|
83
83
|
def code(self):
|
84
84
|
"""Gets the code of this DeleteResultError.
|
85
85
|
|
86
|
-
|
86
|
+
Error code of the failed deletion
|
87
87
|
|
88
88
|
:return: The code of this DeleteResultError.
|
89
89
|
:rtype: str
|
@@ -94,7 +94,7 @@ class DeleteResultError:
|
|
94
94
|
def code(self, code):
|
95
95
|
"""Sets the code of this DeleteResultError.
|
96
96
|
|
97
|
-
|
97
|
+
Error code of the failed deletion
|
98
98
|
|
99
99
|
:param code: The code of this DeleteResultError.
|
100
100
|
:type code: str
|
@@ -105,7 +105,7 @@ class DeleteResultError:
|
|
105
105
|
def message(self):
|
106
106
|
"""Gets the message of this DeleteResultError.
|
107
107
|
|
108
|
-
|
108
|
+
Error message of the failed deletion
|
109
109
|
|
110
110
|
:return: The message of this DeleteResultError.
|
111
111
|
:rtype: str
|
@@ -116,7 +116,7 @@ class DeleteResultError:
|
|
116
116
|
def message(self, message):
|
117
117
|
"""Sets the message of this DeleteResultError.
|
118
118
|
|
119
|
-
|
119
|
+
Error message of the failed deletion
|
120
120
|
|
121
121
|
:param message: The message of this DeleteResultError.
|
122
122
|
:type message: str
|
@@ -35,11 +35,11 @@ class Domains:
|
|
35
35
|
|
36
36
|
The model defined in huaweicloud sdk
|
37
37
|
|
38
|
-
:param domain_name:
|
38
|
+
:param domain_name: Custom domain name
|
39
39
|
:type domain_name: str
|
40
|
-
:param create_time:
|
40
|
+
:param create_time: Time when a custom domain name was created
|
41
41
|
:type create_time: str
|
42
|
-
:param certificate_id:
|
42
|
+
:param certificate_id: Certificate id
|
43
43
|
:type certificate_id: str
|
44
44
|
"""
|
45
45
|
|
@@ -59,7 +59,7 @@ class Domains:
|
|
59
59
|
def domain_name(self):
|
60
60
|
"""Gets the domain_name of this Domains.
|
61
61
|
|
62
|
-
|
62
|
+
Custom domain name
|
63
63
|
|
64
64
|
:return: The domain_name of this Domains.
|
65
65
|
:rtype: str
|
@@ -70,7 +70,7 @@ class Domains:
|
|
70
70
|
def domain_name(self, domain_name):
|
71
71
|
"""Sets the domain_name of this Domains.
|
72
72
|
|
73
|
-
|
73
|
+
Custom domain name
|
74
74
|
|
75
75
|
:param domain_name: The domain_name of this Domains.
|
76
76
|
:type domain_name: str
|
@@ -81,7 +81,7 @@ class Domains:
|
|
81
81
|
def create_time(self):
|
82
82
|
"""Gets the create_time of this Domains.
|
83
83
|
|
84
|
-
|
84
|
+
Time when a custom domain name was created
|
85
85
|
|
86
86
|
:return: The create_time of this Domains.
|
87
87
|
:rtype: str
|
@@ -92,7 +92,7 @@ class Domains:
|
|
92
92
|
def create_time(self, create_time):
|
93
93
|
"""Sets the create_time of this Domains.
|
94
94
|
|
95
|
-
|
95
|
+
Time when a custom domain name was created
|
96
96
|
|
97
97
|
:param create_time: The create_time of this Domains.
|
98
98
|
:type create_time: str
|
@@ -103,7 +103,7 @@ class Domains:
|
|
103
103
|
def certificate_id(self):
|
104
104
|
"""Gets the certificate_id of this Domains.
|
105
105
|
|
106
|
-
|
106
|
+
Certificate id
|
107
107
|
|
108
108
|
:return: The certificate_id of this Domains.
|
109
109
|
:rtype: str
|
@@ -114,7 +114,7 @@ class Domains:
|
|
114
114
|
def certificate_id(self, certificate_id):
|
115
115
|
"""Sets the certificate_id of this Domains.
|
116
116
|
|
117
|
-
|
117
|
+
Certificate id
|
118
118
|
|
119
119
|
:param certificate_id: The certificate_id of this Domains.
|
120
120
|
:type certificate_id: str
|
@@ -33,9 +33,9 @@ class FilterRule:
|
|
33
33
|
|
34
34
|
The model defined in huaweicloud sdk
|
35
35
|
|
36
|
-
:param name:
|
36
|
+
:param name: Prefix or suffix of object names for filtering
|
37
37
|
:type name: str
|
38
|
-
:param value:
|
38
|
+
:param value: Key word of object names. Based on the prefix or suffix defined by **Name**, enter the key word for filtering objects. A longer string of characters delivers a more accurate filtering result. A maximum of 1024 characters are supported.
|
39
39
|
:type value: str
|
40
40
|
"""
|
41
41
|
|
@@ -54,7 +54,7 @@ class FilterRule:
|
|
54
54
|
def name(self):
|
55
55
|
"""Gets the name of this FilterRule.
|
56
56
|
|
57
|
-
|
57
|
+
Prefix or suffix of object names for filtering
|
58
58
|
|
59
59
|
:return: The name of this FilterRule.
|
60
60
|
:rtype: str
|
@@ -65,7 +65,7 @@ class FilterRule:
|
|
65
65
|
def name(self, name):
|
66
66
|
"""Sets the name of this FilterRule.
|
67
67
|
|
68
|
-
|
68
|
+
Prefix or suffix of object names for filtering
|
69
69
|
|
70
70
|
:param name: The name of this FilterRule.
|
71
71
|
:type name: str
|
@@ -76,7 +76,7 @@ class FilterRule:
|
|
76
76
|
def value(self):
|
77
77
|
"""Gets the value of this FilterRule.
|
78
78
|
|
79
|
-
|
79
|
+
Key word of object names. Based on the prefix or suffix defined by **Name**, enter the key word for filtering objects. A longer string of characters delivers a more accurate filtering result. A maximum of 1024 characters are supported.
|
80
80
|
|
81
81
|
:return: The value of this FilterRule.
|
82
82
|
:rtype: str
|
@@ -87,7 +87,7 @@ class FilterRule:
|
|
87
87
|
def value(self, value):
|
88
88
|
"""Sets the value of this FilterRule.
|
89
89
|
|
90
|
-
|
90
|
+
Key word of object names. Based on the prefix or suffix defined by **Name**, enter the key word for filtering objects. A longer string of characters delivers a more accurate filtering result. A maximum of 1024 characters are supported.
|
91
91
|
|
92
92
|
:param value: The value of this FilterRule.
|
93
93
|
:type value: str
|
@@ -39,15 +39,15 @@ class FunctionStageConfiguration:
|
|
39
39
|
|
40
40
|
The model defined in huaweicloud sdk
|
41
41
|
|
42
|
-
:param id:
|
42
|
+
:param id: Unique ID of each event notification. If you do not specify an ID, the system assigns one.
|
43
43
|
:type id: str
|
44
44
|
:param filter:
|
45
45
|
:type filter: :class:`huaweicloudsdkobs.v1.TopicConfigurationFilter`
|
46
|
-
:param topic:
|
46
|
+
:param topic: URN of the event notification topic. When OBS detects a specific event in a bucket, it publishes a notification message to this topic. You can find the topic's URN on the [Topics](https://console-intl.huaweicloud.com/smn/?agencyId=7b00025342f14bcabb245478269c6593&region=cn-east-3&locale=en-us#/topics/list) page of the SMN console. Template: <Topic>urn:smn:region:project_id:smn_topic</Topic>
|
47
47
|
:type topic: str
|
48
|
-
:param event:
|
48
|
+
:param event: Event types for which OBS sends notifications to users. Multiple event types can be added in one **TopicConfiguration** or **FunctionGraphConfiguration** item. Value options: Choose from the following for object upload operations: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload Or use a wildcard character to support all upload operations: ObjectCreated:* Choose from the following for object delete operations: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated Or use a wildcard character to support all delete operations: ObjectRemoved:*
|
49
49
|
:type event: str
|
50
|
-
:param function_stage:
|
50
|
+
:param function_stage: URN of a function in the function service. When OBS detects a specific event in the bucket, it sends a message to the function service to call this function. This element is required if **FunctionStageConfiguration** is added
|
51
51
|
:type function_stage: str
|
52
52
|
"""
|
53
53
|
|
@@ -75,7 +75,7 @@ class FunctionStageConfiguration:
|
|
75
75
|
def id(self):
|
76
76
|
"""Gets the id of this FunctionStageConfiguration.
|
77
77
|
|
78
|
-
|
78
|
+
Unique ID of each event notification. If you do not specify an ID, the system assigns one.
|
79
79
|
|
80
80
|
:return: The id of this FunctionStageConfiguration.
|
81
81
|
:rtype: str
|
@@ -86,7 +86,7 @@ class FunctionStageConfiguration:
|
|
86
86
|
def id(self, id):
|
87
87
|
"""Sets the id of this FunctionStageConfiguration.
|
88
88
|
|
89
|
-
|
89
|
+
Unique ID of each event notification. If you do not specify an ID, the system assigns one.
|
90
90
|
|
91
91
|
:param id: The id of this FunctionStageConfiguration.
|
92
92
|
:type id: str
|
@@ -115,7 +115,7 @@ class FunctionStageConfiguration:
|
|
115
115
|
def topic(self):
|
116
116
|
"""Gets the topic of this FunctionStageConfiguration.
|
117
117
|
|
118
|
-
|
118
|
+
URN of the event notification topic. When OBS detects a specific event in a bucket, it publishes a notification message to this topic. You can find the topic's URN on the [Topics](https://console-intl.huaweicloud.com/smn/?agencyId=7b00025342f14bcabb245478269c6593®ion=cn-east-3&locale=en-us#/topics/list) page of the SMN console. Template: <Topic>urn:smn:region:project_id:smn_topic</Topic>
|
119
119
|
|
120
120
|
:return: The topic of this FunctionStageConfiguration.
|
121
121
|
:rtype: str
|
@@ -126,7 +126,7 @@ class FunctionStageConfiguration:
|
|
126
126
|
def topic(self, topic):
|
127
127
|
"""Sets the topic of this FunctionStageConfiguration.
|
128
128
|
|
129
|
-
|
129
|
+
URN of the event notification topic. When OBS detects a specific event in a bucket, it publishes a notification message to this topic. You can find the topic's URN on the [Topics](https://console-intl.huaweicloud.com/smn/?agencyId=7b00025342f14bcabb245478269c6593®ion=cn-east-3&locale=en-us#/topics/list) page of the SMN console. Template: <Topic>urn:smn:region:project_id:smn_topic</Topic>
|
130
130
|
|
131
131
|
:param topic: The topic of this FunctionStageConfiguration.
|
132
132
|
:type topic: str
|
@@ -137,7 +137,7 @@ class FunctionStageConfiguration:
|
|
137
137
|
def event(self):
|
138
138
|
"""Gets the event of this FunctionStageConfiguration.
|
139
139
|
|
140
|
-
|
140
|
+
Event types for which OBS sends notifications to users. Multiple event types can be added in one **TopicConfiguration** or **FunctionGraphConfiguration** item. Value options: Choose from the following for object upload operations: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload Or use a wildcard character to support all upload operations: ObjectCreated:* Choose from the following for object delete operations: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated Or use a wildcard character to support all delete operations: ObjectRemoved:*
|
141
141
|
|
142
142
|
:return: The event of this FunctionStageConfiguration.
|
143
143
|
:rtype: str
|
@@ -148,7 +148,7 @@ class FunctionStageConfiguration:
|
|
148
148
|
def event(self, event):
|
149
149
|
"""Sets the event of this FunctionStageConfiguration.
|
150
150
|
|
151
|
-
|
151
|
+
Event types for which OBS sends notifications to users. Multiple event types can be added in one **TopicConfiguration** or **FunctionGraphConfiguration** item. Value options: Choose from the following for object upload operations: ObjectCreated:Put ObjectCreated:Post ObjectCreated:Copy ObjectCreated:CompleteMultipartUpload Or use a wildcard character to support all upload operations: ObjectCreated:* Choose from the following for object delete operations: ObjectRemoved:Delete ObjectRemoved:DeleteMarkerCreated Or use a wildcard character to support all delete operations: ObjectRemoved:*
|
152
152
|
|
153
153
|
:param event: The event of this FunctionStageConfiguration.
|
154
154
|
:type event: str
|
@@ -159,7 +159,7 @@ class FunctionStageConfiguration:
|
|
159
159
|
def function_stage(self):
|
160
160
|
"""Gets the function_stage of this FunctionStageConfiguration.
|
161
161
|
|
162
|
-
|
162
|
+
URN of a function in the function service. When OBS detects a specific event in the bucket, it sends a message to the function service to call this function. This element is required if **FunctionStageConfiguration** is added
|
163
163
|
|
164
164
|
:return: The function_stage of this FunctionStageConfiguration.
|
165
165
|
:rtype: str
|
@@ -170,7 +170,7 @@ class FunctionStageConfiguration:
|
|
170
170
|
def function_stage(self, function_stage):
|
171
171
|
"""Sets the function_stage of this FunctionStageConfiguration.
|
172
172
|
|
173
|
-
|
173
|
+
URN of a function in the function service. When OBS detects a specific event in the bucket, it sends a message to the function service to call this function. This element is required if **FunctionStageConfiguration** is added
|
174
174
|
|
175
175
|
:param function_stage: The function_stage of this FunctionStageConfiguration.
|
176
176
|
:type function_stage: str
|