huaweicloudsdkobs 3.1.76__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.
Files changed (49) hide show
  1. huaweicloudsdkobs/v1/__init__.py +0 -1
  2. huaweicloudsdkobs/v1/model/__init__.py +0 -1
  3. huaweicloudsdkobs/v1/model/bucket.py +15 -15
  4. huaweicloudsdkobs/v1/model/contents.py +18 -18
  5. huaweicloudsdkobs/v1/model/copy_object_request.py +78 -78
  6. huaweicloudsdkobs/v1/model/copy_object_response.py +3 -3
  7. huaweicloudsdkobs/v1/model/create_bucket_request.py +51 -51
  8. huaweicloudsdkobs/v1/model/create_bucket_request_body.py +3 -3
  9. huaweicloudsdkobs/v1/model/delete_bucket_customdomain_request.py +9 -9
  10. huaweicloudsdkobs/v1/model/delete_bucket_request.py +6 -6
  11. huaweicloudsdkobs/v1/model/delete_object.py +6 -6
  12. huaweicloudsdkobs/v1/model/delete_object_request.py +12 -12
  13. huaweicloudsdkobs/v1/model/delete_objects_request.py +12 -12
  14. huaweicloudsdkobs/v1/model/delete_objects_request_body.py +6 -6
  15. huaweicloudsdkobs/v1/model/delete_objects_response.py +3 -3
  16. huaweicloudsdkobs/v1/model/delete_result_deleted.py +12 -12
  17. huaweicloudsdkobs/v1/model/delete_result_error.py +9 -9
  18. huaweicloudsdkobs/v1/model/domains.py +9 -9
  19. huaweicloudsdkobs/v1/model/filter_rule.py +6 -6
  20. huaweicloudsdkobs/v1/model/function_stage_configuration.py +12 -12
  21. huaweicloudsdkobs/v1/model/get_bucket_acl_request.py +9 -9
  22. huaweicloudsdkobs/v1/model/get_bucket_customdomain_request.py +9 -9
  23. huaweicloudsdkobs/v1/model/get_bucket_customdomain_response.py +5 -9
  24. huaweicloudsdkobs/v1/model/get_bucket_metadata_request.py +12 -12
  25. huaweicloudsdkobs/v1/model/get_bucket_notification_request.py +9 -9
  26. huaweicloudsdkobs/v1/model/get_object_metadata_request.py +33 -33
  27. huaweicloudsdkobs/v1/model/get_object_request.py +60 -60
  28. huaweicloudsdkobs/v1/model/grant.py +6 -6
  29. huaweicloudsdkobs/v1/model/grantee.py +6 -6
  30. huaweicloudsdkobs/v1/model/list_buckets_request.py +6 -6
  31. huaweicloudsdkobs/v1/model/list_buckets_response.py +4 -4
  32. huaweicloudsdkobs/v1/model/list_objects_request.py +27 -27
  33. huaweicloudsdkobs/v1/model/list_objects_response.py +27 -27
  34. huaweicloudsdkobs/v1/model/owner.py +3 -3
  35. huaweicloudsdkobs/v1/model/put_object_request.py +60 -60
  36. huaweicloudsdkobs/v1/model/set_bucket_acl_request.py +12 -12
  37. huaweicloudsdkobs/v1/model/set_bucket_custom_domain_body.py +15 -15
  38. huaweicloudsdkobs/v1/model/set_bucket_customedomain_request.py +9 -9
  39. huaweicloudsdkobs/v1/model/set_bucket_notification_request.py +9 -9
  40. huaweicloudsdkobs/v1/model/topic_configuration.py +9 -9
  41. huaweicloudsdkobs/v1/obs_async_client.py +543 -557
  42. huaweicloudsdkobs/v1/obs_client.py +543 -557
  43. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/METADATA +2 -2
  44. huaweicloudsdkobs-3.1.77.dist-info/RECORD +70 -0
  45. huaweicloudsdkobs/v1/model/buckets.py +0 -117
  46. huaweicloudsdkobs-3.1.76.dist-info/RECORD +0 -71
  47. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/LICENSE +0 -0
  48. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/WHEEL +0 -0
  49. {huaweicloudsdkobs-3.1.76.dist-info → huaweicloudsdkobs-3.1.77.dist-info}/top_level.txt +0 -0
@@ -35,11 +35,11 @@ class GetBucketAclRequest:
35
35
 
36
36
  The model defined in huaweicloud sdk
37
37
 
38
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-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 acl: acl表示请求访问控制列表API
42
+ :param acl: Indicates the API for sending a request to the ACL.
43
43
  :type acl: str
44
44
  """
45
45
 
@@ -59,7 +59,7 @@ class GetBucketAclRequest:
59
59
  def date(self):
60
60
  """Gets the date of this GetBucketAclRequest.
61
61
 
62
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
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 GetBucketAclRequest.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class GetBucketAclRequest:
70
70
  def date(self, date):
71
71
  """Sets the date of this GetBucketAclRequest.
72
72
 
73
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
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 GetBucketAclRequest.
76
76
  :type date: str
@@ -81,7 +81,7 @@ class GetBucketAclRequest:
81
81
  def bucket_name(self):
82
82
  """Gets the bucket_name of this GetBucketAclRequest.
83
83
 
84
- 请求的桶名称。
84
+ Name of the requested bucket
85
85
 
86
86
  :return: The bucket_name of this GetBucketAclRequest.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class GetBucketAclRequest:
92
92
  def bucket_name(self, bucket_name):
93
93
  """Sets the bucket_name of this GetBucketAclRequest.
94
94
 
95
- 请求的桶名称。
95
+ Name of the requested bucket
96
96
 
97
97
  :param bucket_name: The bucket_name of this GetBucketAclRequest.
98
98
  :type bucket_name: str
@@ -103,7 +103,7 @@ class GetBucketAclRequest:
103
103
  def acl(self):
104
104
  """Gets the acl of this GetBucketAclRequest.
105
105
 
106
- acl表示请求访问控制列表API
106
+ Indicates the API for sending a request to the ACL.
107
107
 
108
108
  :return: The acl of this GetBucketAclRequest.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class GetBucketAclRequest:
114
114
  def acl(self, acl):
115
115
  """Sets the acl of this GetBucketAclRequest.
116
116
 
117
- acl表示请求访问控制列表API
117
+ Indicates the API for sending a request to the ACL.
118
118
 
119
119
  :param acl: The acl of this GetBucketAclRequest.
120
120
  :type acl: str
@@ -35,11 +35,11 @@ class GetBucketCustomdomainRequest:
35
35
 
36
36
  The model defined in huaweicloud sdk
37
37
 
38
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-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: customdomain表示请求桶的自定义域名API
42
+ :param customdomain: Indicates the custom domain name API of the bucket.
43
43
  :type customdomain: str
44
44
  """
45
45
 
@@ -59,7 +59,7 @@ class GetBucketCustomdomainRequest:
59
59
  def date(self):
60
60
  """Gets the date of this GetBucketCustomdomainRequest.
61
61
 
62
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
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 GetBucketCustomdomainRequest.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class GetBucketCustomdomainRequest:
70
70
  def date(self, date):
71
71
  """Sets the date of this GetBucketCustomdomainRequest.
72
72
 
73
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
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 GetBucketCustomdomainRequest.
76
76
  :type date: str
@@ -81,7 +81,7 @@ class GetBucketCustomdomainRequest:
81
81
  def bucket_name(self):
82
82
  """Gets the bucket_name of this GetBucketCustomdomainRequest.
83
83
 
84
- 请求的桶名称。
84
+ Name of the requested bucket
85
85
 
86
86
  :return: The bucket_name of this GetBucketCustomdomainRequest.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class GetBucketCustomdomainRequest:
92
92
  def bucket_name(self, bucket_name):
93
93
  """Sets the bucket_name of this GetBucketCustomdomainRequest.
94
94
 
95
- 请求的桶名称。
95
+ Name of the requested bucket
96
96
 
97
97
  :param bucket_name: The bucket_name of this GetBucketCustomdomainRequest.
98
98
  :type bucket_name: str
@@ -103,7 +103,7 @@ class GetBucketCustomdomainRequest:
103
103
  def customdomain(self):
104
104
  """Gets the customdomain of this GetBucketCustomdomainRequest.
105
105
 
106
- customdomain表示请求桶的自定义域名API
106
+ Indicates the custom domain name API of the bucket.
107
107
 
108
108
  :return: The customdomain of this GetBucketCustomdomainRequest.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class GetBucketCustomdomainRequest:
114
114
  def customdomain(self, customdomain):
115
115
  """Sets the customdomain of this GetBucketCustomdomainRequest.
116
116
 
117
- customdomain表示请求桶的自定义域名API
117
+ Indicates the custom domain name API of the bucket.
118
118
 
119
119
  :param customdomain: The customdomain of this GetBucketCustomdomainRequest.
120
120
  :type customdomain: str
@@ -20,7 +20,7 @@ class GetBucketCustomdomainResponse(SdkResponse):
20
20
  sensitive_list = []
21
21
 
22
22
  openapi_types = {
23
- 'domains': 'list[Domains]',
23
+ 'domains': 'Domains',
24
24
  'x_obs_id_2': 'str',
25
25
  'x_obs_request_id': 'str',
26
26
  'e_tag': 'str',
@@ -44,8 +44,8 @@ class GetBucketCustomdomainResponse(SdkResponse):
44
44
 
45
45
  The model defined in huaweicloud sdk
46
46
 
47
- :param domains: 自定义域名元素。
48
- :type domains: list[:class:`huaweicloudsdkobs.v1.Domains`]
47
+ :param domains:
48
+ :type domains: :class:`huaweicloudsdkobs.v1.Domains`
49
49
  :param x_obs_id_2:
50
50
  :type x_obs_id_2: str
51
51
  :param x_obs_request_id:
@@ -90,10 +90,8 @@ class GetBucketCustomdomainResponse(SdkResponse):
90
90
  def domains(self):
91
91
  """Gets the domains of this GetBucketCustomdomainResponse.
92
92
 
93
- 自定义域名元素。
94
-
95
93
  :return: The domains of this GetBucketCustomdomainResponse.
96
- :rtype: list[:class:`huaweicloudsdkobs.v1.Domains`]
94
+ :rtype: :class:`huaweicloudsdkobs.v1.Domains`
97
95
  """
98
96
  return self._domains
99
97
 
@@ -101,10 +99,8 @@ class GetBucketCustomdomainResponse(SdkResponse):
101
99
  def domains(self, domains):
102
100
  """Sets the domains of this GetBucketCustomdomainResponse.
103
101
 
104
- 自定义域名元素。
105
-
106
102
  :param domains: The domains of this GetBucketCustomdomainResponse.
107
- :type domains: list[:class:`huaweicloudsdkobs.v1.Domains`]
103
+ :type domains: :class:`huaweicloudsdkobs.v1.Domains`
108
104
  """
109
105
  self._domains = domains
110
106
 
@@ -37,13 +37,13 @@ class GetBucketMetadataRequest:
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 date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
42
+ :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.
43
43
  :type date: str
44
- :param origin: 预请求指定的跨域请求Origin(通常为域名)。 如果想要获取CORS配置信息,必添加该消息头。
44
+ :param origin: Origin (usually a domain name) specified by the pre-request (a cross-origin request). To obtain the CORS configuration information, you must add this header.
45
45
  :type origin: str
46
- :param access_control_request_headers: 实际请求可以带的HTTP头域,可以带多个头域。 如果想要获取CORS配置信息,可选添加该消息头。
46
+ :param access_control_request_headers: HTTP headers that can be contained in a request. To obtain the CORS configuration information, you can add this header.
47
47
  :type access_control_request_headers: str
48
48
  """
49
49
 
@@ -67,7 +67,7 @@ class GetBucketMetadataRequest:
67
67
  def bucket_name(self):
68
68
  """Gets the bucket_name of this GetBucketMetadataRequest.
69
69
 
70
- 桶名称。
70
+ Name of the bucket.
71
71
 
72
72
  :return: The bucket_name of this GetBucketMetadataRequest.
73
73
  :rtype: str
@@ -78,7 +78,7 @@ class GetBucketMetadataRequest:
78
78
  def bucket_name(self, bucket_name):
79
79
  """Sets the bucket_name of this GetBucketMetadataRequest.
80
80
 
81
- 桶名称。
81
+ Name of the bucket.
82
82
 
83
83
  :param bucket_name: The bucket_name of this GetBucketMetadataRequest.
84
84
  :type bucket_name: str
@@ -89,7 +89,7 @@ class GetBucketMetadataRequest:
89
89
  def date(self):
90
90
  """Gets the date of this GetBucketMetadataRequest.
91
91
 
92
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
92
+ 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.
93
93
 
94
94
  :return: The date of this GetBucketMetadataRequest.
95
95
  :rtype: str
@@ -100,7 +100,7 @@ class GetBucketMetadataRequest:
100
100
  def date(self, date):
101
101
  """Sets the date of this GetBucketMetadataRequest.
102
102
 
103
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
103
+ 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.
104
104
 
105
105
  :param date: The date of this GetBucketMetadataRequest.
106
106
  :type date: str
@@ -111,7 +111,7 @@ class GetBucketMetadataRequest:
111
111
  def origin(self):
112
112
  """Gets the origin of this GetBucketMetadataRequest.
113
113
 
114
- 预请求指定的跨域请求Origin(通常为域名)。 如果想要获取CORS配置信息,必添加该消息头。
114
+ Origin (usually a domain name) specified by the pre-request (a cross-origin request). To obtain the CORS configuration information, you must add this header.
115
115
 
116
116
  :return: The origin of this GetBucketMetadataRequest.
117
117
  :rtype: str
@@ -122,7 +122,7 @@ class GetBucketMetadataRequest:
122
122
  def origin(self, origin):
123
123
  """Sets the origin of this GetBucketMetadataRequest.
124
124
 
125
- 预请求指定的跨域请求Origin(通常为域名)。 如果想要获取CORS配置信息,必添加该消息头。
125
+ Origin (usually a domain name) specified by the pre-request (a cross-origin request). To obtain the CORS configuration information, you must add this header.
126
126
 
127
127
  :param origin: The origin of this GetBucketMetadataRequest.
128
128
  :type origin: str
@@ -133,7 +133,7 @@ class GetBucketMetadataRequest:
133
133
  def access_control_request_headers(self):
134
134
  """Gets the access_control_request_headers of this GetBucketMetadataRequest.
135
135
 
136
- 实际请求可以带的HTTP头域,可以带多个头域。 如果想要获取CORS配置信息,可选添加该消息头。
136
+ HTTP headers that can be contained in a request. To obtain the CORS configuration information, you can add this header.
137
137
 
138
138
  :return: The access_control_request_headers of this GetBucketMetadataRequest.
139
139
  :rtype: str
@@ -144,7 +144,7 @@ class GetBucketMetadataRequest:
144
144
  def access_control_request_headers(self, access_control_request_headers):
145
145
  """Sets the access_control_request_headers of this GetBucketMetadataRequest.
146
146
 
147
- 实际请求可以带的HTTP头域,可以带多个头域。 如果想要获取CORS配置信息,可选添加该消息头。
147
+ HTTP headers that can be contained in a request. To obtain the CORS configuration information, you can add this header.
148
148
 
149
149
  :param access_control_request_headers: The access_control_request_headers of this GetBucketMetadataRequest.
150
150
  :type access_control_request_headers: str
@@ -35,11 +35,11 @@ class GetBucketNotificationRequest:
35
35
 
36
36
  The model defined in huaweicloud sdk
37
37
 
38
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-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 notification: notification表示请求桶的消息通知配置API
42
+ :param notification: Indicates the notification configuration API of the bucket.
43
43
  :type notification: str
44
44
  """
45
45
 
@@ -59,7 +59,7 @@ class GetBucketNotificationRequest:
59
59
  def date(self):
60
60
  """Gets the date of this GetBucketNotificationRequest.
61
61
 
62
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
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 GetBucketNotificationRequest.
65
65
  :rtype: str
@@ -70,7 +70,7 @@ class GetBucketNotificationRequest:
70
70
  def date(self, date):
71
71
  """Sets the date of this GetBucketNotificationRequest.
72
72
 
73
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
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 GetBucketNotificationRequest.
76
76
  :type date: str
@@ -81,7 +81,7 @@ class GetBucketNotificationRequest:
81
81
  def bucket_name(self):
82
82
  """Gets the bucket_name of this GetBucketNotificationRequest.
83
83
 
84
- 请求的桶名称。
84
+ Name of the requested bucket
85
85
 
86
86
  :return: The bucket_name of this GetBucketNotificationRequest.
87
87
  :rtype: str
@@ -92,7 +92,7 @@ class GetBucketNotificationRequest:
92
92
  def bucket_name(self, bucket_name):
93
93
  """Sets the bucket_name of this GetBucketNotificationRequest.
94
94
 
95
- 请求的桶名称。
95
+ Name of the requested bucket
96
96
 
97
97
  :param bucket_name: The bucket_name of this GetBucketNotificationRequest.
98
98
  :type bucket_name: str
@@ -103,7 +103,7 @@ class GetBucketNotificationRequest:
103
103
  def notification(self):
104
104
  """Gets the notification of this GetBucketNotificationRequest.
105
105
 
106
- notification表示请求桶的消息通知配置API
106
+ Indicates the notification configuration API of the bucket.
107
107
 
108
108
  :return: The notification of this GetBucketNotificationRequest.
109
109
  :rtype: str
@@ -114,7 +114,7 @@ class GetBucketNotificationRequest:
114
114
  def notification(self, notification):
115
115
  """Sets the notification of this GetBucketNotificationRequest.
116
116
 
117
- notification表示请求桶的消息通知配置API
117
+ Indicates the notification configuration API of the bucket.
118
118
 
119
119
  :param notification: The notification of this GetBucketNotificationRequest.
120
120
  :type notification: str
@@ -51,27 +51,27 @@ class GetObjectMetadataRequest:
51
51
 
52
52
  The model defined in huaweicloud sdk
53
53
 
54
- :param bucket_name: 桶名称
54
+ :param bucket_name: Name of the bucket.
55
55
  :type bucket_name: str
56
- :param object_key: 通过此请求获取元数据的对象名称。
56
+ :param object_key: Name of the object whose metadata will be returned.
57
57
  :type object_key: str
58
- :param date: 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
58
+ :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.
59
59
  :type date: str
60
- :param version_id: 对象的版本号。
60
+ :param version_id: Version ID of the object.
61
61
  :type version_id: str
62
- :param origin: 预请求指定的跨域请求Origin(通常为域名)。
62
+ :param origin: Origin (usually a domain name) specified by the pre-request (a cross-origin request).
63
63
  :type origin: str
64
- :param access_control_request_headers: 实际请求可以带的HTTP头域,可以带多个头域。
64
+ :param access_control_request_headers: HTTP headers that can be contained in a request.
65
65
  :type access_control_request_headers: str
66
- :param x_obs_server_side_encryption_customer_algorithm: SSE-C方式下使用该头域,该头域表示解密使用的算法。 示例:x-obs-server-side-encryption-customer-algorithm:AES256 约束:需要和x-obs-server-side-encryption-customer-key x-obs-server-side-encryption-customer-key-MD5一起使用。
66
+ :param x_obs_server_side_encryption_customer_algorithm: The decryption algorithm used for SSE-C.Example: x-obs-server-side-encryption-customer-algorithm:AES256Restriction: This header must be used together with **x-obs-server-side-encryption-customer-key** and **x-obs-server-side-encryption-customer-key-MD5**.
67
67
  :type x_obs_server_side_encryption_customer_algorithm: str
68
- :param x_obs_server_side_encryption_customer_key: SSE-C方式下使用该头域,该头域表示解密使用的密钥。 示例:x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= 约束:该头域由256-bit的密钥经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key-MD5一起使用。
68
+ :param x_obs_server_side_encryption_customer_key: Decryption key used for SSE-C.Example: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw=Restriction: This header is a Base64-encoded 256-bit key and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key-MD5**.
69
69
  :type x_obs_server_side_encryption_customer_key: str
70
- :param x_obs_server_side_encryption_customer_key_md5: SSE-C方式下使用该头域,该头域表示加密使用的密钥的MD5值。MD5值用于验证密钥传输过程中没有出错。 示例:x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== 约束: 该头域由密钥的128-bit MD5值经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key一起使用。
70
+ :param x_obs_server_side_encryption_customer_key_md5: MD5 value of the key used to encrypt objects in SSE-C mode. An MD5 value is used to ensure that there is no error during the key transmission.Example: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ==Restriction: This header is a Base64-encoded 128-bit MD5 value and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key**.
71
71
  :type x_obs_server_side_encryption_customer_key_md5: str
72
- :param success_action_redirect: 此参数的值是一个URL,用于指定当此次请求操作成功响应后的重定向的地址。 如果此参数值有效且操作成功,响应码为303Location头域由此参数以及桶名、对象名、对象的ETag组成。 如果此参数值无效,则OBS忽略此参数的作用,响应码为204Location头域为对象地址。
72
+ :param success_action_redirect: The address (a URL) which a successfully responded request is redirected to. If this parameter value is valid and the request succeeds, OBS returns status code 303. The **Location** header consists of **success_action_redirect** as well as the bucket name, object name, and object ETag. If this parameter is invalid, OBS ignores this parameter and returns status code 204. In such case, the **Location** header is the object address.
73
73
  :type success_action_redirect: str
74
- :param x_obs_expires: 表示对象的过期时间,单位是天。过期之后对象会被自动删除。(从对象最后修改时间开始计算) 此字段对于每个对象仅支持上传时配置,不支持后期通过修改元数据接口修改。 示例:x-obs-expires:3
74
+ :param x_obs_expires: When an object expires. It is measured in days. An object will be automatically deleted once it expires. The expiration is calculated from when the object was last modified. This header can be only configured during the object upload, and cannot be modified later by using the metadata API. Example: x-obs-expires:3
75
75
  :type x_obs_expires: int
76
76
  """
77
77
 
@@ -114,7 +114,7 @@ class GetObjectMetadataRequest:
114
114
  def bucket_name(self):
115
115
  """Gets the bucket_name of this GetObjectMetadataRequest.
116
116
 
117
- 桶名称
117
+ Name of the bucket.
118
118
 
119
119
  :return: The bucket_name of this GetObjectMetadataRequest.
120
120
  :rtype: str
@@ -125,7 +125,7 @@ class GetObjectMetadataRequest:
125
125
  def bucket_name(self, bucket_name):
126
126
  """Sets the bucket_name of this GetObjectMetadataRequest.
127
127
 
128
- 桶名称
128
+ Name of the bucket.
129
129
 
130
130
  :param bucket_name: The bucket_name of this GetObjectMetadataRequest.
131
131
  :type bucket_name: str
@@ -136,7 +136,7 @@ class GetObjectMetadataRequest:
136
136
  def object_key(self):
137
137
  """Gets the object_key of this GetObjectMetadataRequest.
138
138
 
139
- 通过此请求获取元数据的对象名称。
139
+ Name of the object whose metadata will be returned.
140
140
 
141
141
  :return: The object_key of this GetObjectMetadataRequest.
142
142
  :rtype: str
@@ -147,7 +147,7 @@ class GetObjectMetadataRequest:
147
147
  def object_key(self, object_key):
148
148
  """Sets the object_key of this GetObjectMetadataRequest.
149
149
 
150
- 通过此请求获取元数据的对象名称。
150
+ Name of the object whose metadata will be returned.
151
151
 
152
152
  :param object_key: The object_key of this GetObjectMetadataRequest.
153
153
  :type object_key: str
@@ -158,7 +158,7 @@ class GetObjectMetadataRequest:
158
158
  def date(self):
159
159
  """Gets the date of this GetObjectMetadataRequest.
160
160
 
161
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
161
+ 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.
162
162
 
163
163
  :return: The date of this GetObjectMetadataRequest.
164
164
  :rtype: str
@@ -169,7 +169,7 @@ class GetObjectMetadataRequest:
169
169
  def date(self, date):
170
170
  """Sets the date of this GetObjectMetadataRequest.
171
171
 
172
- 请求发起端的日期和时间,例如:Wed, 27 Jun 2018 13:39:15 +0000 默认值:无。 条件:如果消息头中带了x-obs-date字段,则可以不带该字段,其他情况下必选。
172
+ 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.
173
173
 
174
174
  :param date: The date of this GetObjectMetadataRequest.
175
175
  :type date: str
@@ -180,7 +180,7 @@ class GetObjectMetadataRequest:
180
180
  def version_id(self):
181
181
  """Gets the version_id of this GetObjectMetadataRequest.
182
182
 
183
- 对象的版本号。
183
+ Version ID of the object.
184
184
 
185
185
  :return: The version_id of this GetObjectMetadataRequest.
186
186
  :rtype: str
@@ -191,7 +191,7 @@ class GetObjectMetadataRequest:
191
191
  def version_id(self, version_id):
192
192
  """Sets the version_id of this GetObjectMetadataRequest.
193
193
 
194
- 对象的版本号。
194
+ Version ID of the object.
195
195
 
196
196
  :param version_id: The version_id of this GetObjectMetadataRequest.
197
197
  :type version_id: str
@@ -202,7 +202,7 @@ class GetObjectMetadataRequest:
202
202
  def origin(self):
203
203
  """Gets the origin of this GetObjectMetadataRequest.
204
204
 
205
- 预请求指定的跨域请求Origin(通常为域名)。
205
+ Origin (usually a domain name) specified by the pre-request (a cross-origin request).
206
206
 
207
207
  :return: The origin of this GetObjectMetadataRequest.
208
208
  :rtype: str
@@ -213,7 +213,7 @@ class GetObjectMetadataRequest:
213
213
  def origin(self, origin):
214
214
  """Sets the origin of this GetObjectMetadataRequest.
215
215
 
216
- 预请求指定的跨域请求Origin(通常为域名)。
216
+ Origin (usually a domain name) specified by the pre-request (a cross-origin request).
217
217
 
218
218
  :param origin: The origin of this GetObjectMetadataRequest.
219
219
  :type origin: str
@@ -224,7 +224,7 @@ class GetObjectMetadataRequest:
224
224
  def access_control_request_headers(self):
225
225
  """Gets the access_control_request_headers of this GetObjectMetadataRequest.
226
226
 
227
- 实际请求可以带的HTTP头域,可以带多个头域。
227
+ HTTP headers that can be contained in a request.
228
228
 
229
229
  :return: The access_control_request_headers of this GetObjectMetadataRequest.
230
230
  :rtype: str
@@ -235,7 +235,7 @@ class GetObjectMetadataRequest:
235
235
  def access_control_request_headers(self, access_control_request_headers):
236
236
  """Sets the access_control_request_headers of this GetObjectMetadataRequest.
237
237
 
238
- 实际请求可以带的HTTP头域,可以带多个头域。
238
+ HTTP headers that can be contained in a request.
239
239
 
240
240
  :param access_control_request_headers: The access_control_request_headers of this GetObjectMetadataRequest.
241
241
  :type access_control_request_headers: str
@@ -246,7 +246,7 @@ class GetObjectMetadataRequest:
246
246
  def x_obs_server_side_encryption_customer_algorithm(self):
247
247
  """Gets the x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataRequest.
248
248
 
249
- SSE-C方式下使用该头域,该头域表示解密使用的算法。 示例:x-obs-server-side-encryption-customer-algorithm:AES256 约束:需要和x-obs-server-side-encryption-customer-key x-obs-server-side-encryption-customer-key-MD5一起使用。
249
+ The decryption algorithm used for SSE-C.Example: x-obs-server-side-encryption-customer-algorithm:AES256Restriction: This header must be used together with **x-obs-server-side-encryption-customer-key** and **x-obs-server-side-encryption-customer-key-MD5**.
250
250
 
251
251
  :return: The x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataRequest.
252
252
  :rtype: str
@@ -257,7 +257,7 @@ class GetObjectMetadataRequest:
257
257
  def x_obs_server_side_encryption_customer_algorithm(self, x_obs_server_side_encryption_customer_algorithm):
258
258
  """Sets the x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataRequest.
259
259
 
260
- SSE-C方式下使用该头域,该头域表示解密使用的算法。 示例:x-obs-server-side-encryption-customer-algorithm:AES256 约束:需要和x-obs-server-side-encryption-customer-key x-obs-server-side-encryption-customer-key-MD5一起使用。
260
+ The decryption algorithm used for SSE-C.Example: x-obs-server-side-encryption-customer-algorithm:AES256Restriction: This header must be used together with **x-obs-server-side-encryption-customer-key** and **x-obs-server-side-encryption-customer-key-MD5**.
261
261
 
262
262
  :param x_obs_server_side_encryption_customer_algorithm: The x_obs_server_side_encryption_customer_algorithm of this GetObjectMetadataRequest.
263
263
  :type x_obs_server_side_encryption_customer_algorithm: str
@@ -268,7 +268,7 @@ class GetObjectMetadataRequest:
268
268
  def x_obs_server_side_encryption_customer_key(self):
269
269
  """Gets the x_obs_server_side_encryption_customer_key of this GetObjectMetadataRequest.
270
270
 
271
- SSE-C方式下使用该头域,该头域表示解密使用的密钥。 示例:x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= 约束:该头域由256-bit的密钥经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key-MD5一起使用。
271
+ Decryption key used for SSE-C.Example: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw=Restriction: This header is a Base64-encoded 256-bit key and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key-MD5**.
272
272
 
273
273
  :return: The x_obs_server_side_encryption_customer_key of this GetObjectMetadataRequest.
274
274
  :rtype: str
@@ -279,7 +279,7 @@ class GetObjectMetadataRequest:
279
279
  def x_obs_server_side_encryption_customer_key(self, x_obs_server_side_encryption_customer_key):
280
280
  """Sets the x_obs_server_side_encryption_customer_key of this GetObjectMetadataRequest.
281
281
 
282
- SSE-C方式下使用该头域,该头域表示解密使用的密钥。 示例:x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw= 约束:该头域由256-bit的密钥经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key-MD5一起使用。
282
+ Decryption key used for SSE-C.Example: x-obs-server-side-encryption-customer-key:K7QkYpBkM5+hca27fsNkUnNVaobncnLht/rCB2o/9Cw=Restriction: This header is a Base64-encoded 256-bit key and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key-MD5**.
283
283
 
284
284
  :param x_obs_server_side_encryption_customer_key: The x_obs_server_side_encryption_customer_key of this GetObjectMetadataRequest.
285
285
  :type x_obs_server_side_encryption_customer_key: str
@@ -290,7 +290,7 @@ class GetObjectMetadataRequest:
290
290
  def x_obs_server_side_encryption_customer_key_md5(self):
291
291
  """Gets the x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataRequest.
292
292
 
293
- SSE-C方式下使用该头域,该头域表示加密使用的密钥的MD5值。MD5值用于验证密钥传输过程中没有出错。 示例:x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== 约束: 该头域由密钥的128-bit MD5值经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key一起使用。
293
+ MD5 value of the key used to encrypt objects in SSE-C mode. An MD5 value is used to ensure that there is no error during the key transmission.Example: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ==Restriction: This header is a Base64-encoded 128-bit MD5 value and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key**.
294
294
 
295
295
  :return: The x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataRequest.
296
296
  :rtype: str
@@ -301,7 +301,7 @@ class GetObjectMetadataRequest:
301
301
  def x_obs_server_side_encryption_customer_key_md5(self, x_obs_server_side_encryption_customer_key_md5):
302
302
  """Sets the x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataRequest.
303
303
 
304
- SSE-C方式下使用该头域,该头域表示加密使用的密钥的MD5值。MD5值用于验证密钥传输过程中没有出错。 示例:x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ== 约束: 该头域由密钥的128-bit MD5值经过base64-encoded得到,需要和x-obs-server-side-encryption-customer-algorithmx-obs-server-side-encryption-customer-key一起使用。
304
+ MD5 value of the key used to encrypt objects in SSE-C mode. An MD5 value is used to ensure that there is no error during the key transmission.Example: x-obs-server-side-encryption-customer-key-MD5:4XvB3tbNTN+tIEVa0/fGaQ==Restriction: This header is a Base64-encoded 128-bit MD5 value and must be used together with **x-obs-server-side-encryption-customer-algorithm** and **x-obs-server-side-encryption-customer-key**.
305
305
 
306
306
  :param x_obs_server_side_encryption_customer_key_md5: The x_obs_server_side_encryption_customer_key_md5 of this GetObjectMetadataRequest.
307
307
  :type x_obs_server_side_encryption_customer_key_md5: str
@@ -312,7 +312,7 @@ class GetObjectMetadataRequest:
312
312
  def success_action_redirect(self):
313
313
  """Gets the success_action_redirect of this GetObjectMetadataRequest.
314
314
 
315
- 此参数的值是一个URL,用于指定当此次请求操作成功响应后的重定向的地址。 如果此参数值有效且操作成功,响应码为303Location头域由此参数以及桶名、对象名、对象的ETag组成。 如果此参数值无效,则OBS忽略此参数的作用,响应码为204Location头域为对象地址。
315
+ The address (a URL) which a successfully responded request is redirected to. If this parameter value is valid and the request succeeds, OBS returns status code 303. The **Location** header consists of **success_action_redirect** as well as the bucket name, object name, and object ETag. If this parameter is invalid, OBS ignores this parameter and returns status code 204. In such case, the **Location** header is the object address.
316
316
 
317
317
  :return: The success_action_redirect of this GetObjectMetadataRequest.
318
318
  :rtype: str
@@ -323,7 +323,7 @@ class GetObjectMetadataRequest:
323
323
  def success_action_redirect(self, success_action_redirect):
324
324
  """Sets the success_action_redirect of this GetObjectMetadataRequest.
325
325
 
326
- 此参数的值是一个URL,用于指定当此次请求操作成功响应后的重定向的地址。 如果此参数值有效且操作成功,响应码为303Location头域由此参数以及桶名、对象名、对象的ETag组成。 如果此参数值无效,则OBS忽略此参数的作用,响应码为204Location头域为对象地址。
326
+ The address (a URL) which a successfully responded request is redirected to. If this parameter value is valid and the request succeeds, OBS returns status code 303. The **Location** header consists of **success_action_redirect** as well as the bucket name, object name, and object ETag. If this parameter is invalid, OBS ignores this parameter and returns status code 204. In such case, the **Location** header is the object address.
327
327
 
328
328
  :param success_action_redirect: The success_action_redirect of this GetObjectMetadataRequest.
329
329
  :type success_action_redirect: str
@@ -334,7 +334,7 @@ class GetObjectMetadataRequest:
334
334
  def x_obs_expires(self):
335
335
  """Gets the x_obs_expires of this GetObjectMetadataRequest.
336
336
 
337
- 表示对象的过期时间,单位是天。过期之后对象会被自动删除。(从对象最后修改时间开始计算) 此字段对于每个对象仅支持上传时配置,不支持后期通过修改元数据接口修改。 示例:x-obs-expires:3
337
+ When an object expires. It is measured in days. An object will be automatically deleted once it expires. The expiration is calculated from when the object was last modified. This header can be only configured during the object upload, and cannot be modified later by using the metadata API. Example: x-obs-expires:3
338
338
 
339
339
  :return: The x_obs_expires of this GetObjectMetadataRequest.
340
340
  :rtype: int
@@ -345,7 +345,7 @@ class GetObjectMetadataRequest:
345
345
  def x_obs_expires(self, x_obs_expires):
346
346
  """Sets the x_obs_expires of this GetObjectMetadataRequest.
347
347
 
348
- 表示对象的过期时间,单位是天。过期之后对象会被自动删除。(从对象最后修改时间开始计算) 此字段对于每个对象仅支持上传时配置,不支持后期通过修改元数据接口修改。 示例:x-obs-expires:3
348
+ When an object expires. It is measured in days. An object will be automatically deleted once it expires. The expiration is calculated from when the object was last modified. This header can be only configured during the object upload, and cannot be modified later by using the metadata API. Example: x-obs-expires:3
349
349
 
350
350
  :param x_obs_expires: The x_obs_expires of this GetObjectMetadataRequest.
351
351
  :type x_obs_expires: int