Skip to content

Commit c3d6cec

Browse files
committed
Generated python 2024-06-26 for hcs-mgw.
1 parent e542c00 commit c3d6cec

File tree

5 files changed

+100
-7
lines changed

5 files changed

+100
-7
lines changed

hcs-mgw-20240626/ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-12-10 Version: 1.0.3
2+
- Generated python 2024-06-26 for hcs-mgw.
3+
14
2025-04-08 Version: 1.0.2
25
- Generated python 2024-06-26 for hcs-mgw.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.2'
1+
__version__ = '1.0.3'

hcs-mgw-20240626/alibabacloud_hcs_mgw20240626/client.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2990,6 +2990,9 @@ def verify_address_with_options(
29902990
"""
29912991
@summary Verifies whether a data address is available.
29922992
2993+
@description To verify a data address, you must have the permission on mgw:VerifyImportAddress.
2994+
A data address may not be available even if the data address passes the availability verification. The data migration results prevail.
2995+
29932996
@param headers: map
29942997
@param runtime: runtime options for this request RuntimeOptions
29952998
@return: VerifyAddressResponse
@@ -3026,6 +3029,9 @@ async def verify_address_with_options_async(
30263029
"""
30273030
@summary Verifies whether a data address is available.
30283031
3032+
@description To verify a data address, you must have the permission on mgw:VerifyImportAddress.
3033+
A data address may not be available even if the data address passes the availability verification. The data migration results prevail.
3034+
30293035
@param headers: map
30303036
@param runtime: runtime options for this request RuntimeOptions
30313037
@return: VerifyAddressResponse
@@ -3060,6 +3066,9 @@ def verify_address(
30603066
"""
30613067
@summary Verifies whether a data address is available.
30623068
3069+
@description To verify a data address, you must have the permission on mgw:VerifyImportAddress.
3070+
A data address may not be available even if the data address passes the availability verification. The data migration results prevail.
3071+
30633072
@return: VerifyAddressResponse
30643073
"""
30653074
runtime = util_models.RuntimeOptions()
@@ -3074,6 +3083,9 @@ async def verify_address_async(
30743083
"""
30753084
@summary Verifies whether a data address is available.
30763085
3086+
@description To verify a data address, you must have the permission on mgw:VerifyImportAddress.
3087+
A data address may not be available even if the data address passes the availability verification. The data migration results prevail.
3088+
30773089
@return: VerifyAddressResponse
30783090
"""
30793091
runtime = util_models.RuntimeOptions()

hcs-mgw-20240626/alibabacloud_hcs_mgw20240626/models.py

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def __init__(
1212
address_type: str = None,
1313
agent_list: str = None,
1414
bucket: str = None,
15+
data_type: str = None,
1516
domain: str = None,
1617
inv_access_id: str = None,
1718
inv_access_secret: str = None,
@@ -34,6 +35,7 @@ def __init__(
3435
self.agent_list = agent_list
3536
# This parameter is required.
3637
self.bucket = bucket
38+
self.data_type = data_type
3739
# This parameter is required.
3840
self.domain = domain
3941
self.inv_access_id = inv_access_id
@@ -67,6 +69,8 @@ def to_map(self):
6769
result['AgentList'] = self.agent_list
6870
if self.bucket is not None:
6971
result['Bucket'] = self.bucket
72+
if self.data_type is not None:
73+
result['DataType'] = self.data_type
7074
if self.domain is not None:
7175
result['Domain'] = self.domain
7276
if self.inv_access_id is not None:
@@ -105,6 +109,8 @@ def from_map(self, m: dict = None):
105109
self.agent_list = m.get('AgentList')
106110
if m.get('Bucket') is not None:
107111
self.bucket = m.get('Bucket')
112+
if m.get('DataType') is not None:
113+
self.data_type = m.get('DataType')
108114
if m.get('Domain') is not None:
109115
self.domain = m.get('Domain')
110116
if m.get('InvAccessId') is not None:
@@ -583,6 +589,7 @@ def from_map(self, m: dict = None):
583589
class CreateJobInfo(TeaModel):
584590
def __init__(
585591
self,
592+
appendable_to_normal: bool = None,
586593
audit: Audit = None,
587594
convert_symlink_target: bool = None,
588595
create_report: bool = None,
@@ -596,8 +603,12 @@ def __init__(
596603
schedule_rule: ScheduleRule = None,
597604
src_address: str = None,
598605
tags: str = None,
606+
target_storage_class: str = None,
599607
transfer_mode: str = None,
608+
with_last_modify_time: bool = None,
609+
with_storage_class: bool = None,
600610
):
611+
self.appendable_to_normal = appendable_to_normal
601612
self.audit = audit
602613
self.convert_symlink_target = convert_symlink_target
603614
self.create_report = create_report
@@ -615,8 +626,11 @@ def __init__(
615626
# This parameter is required.
616627
self.src_address = src_address
617628
self.tags = tags
629+
self.target_storage_class = target_storage_class
618630
# This parameter is required.
619631
self.transfer_mode = transfer_mode
632+
self.with_last_modify_time = with_last_modify_time
633+
self.with_storage_class = with_storage_class
620634

621635
def validate(self):
622636
if self.audit:
@@ -634,6 +648,8 @@ def to_map(self):
634648
return _map
635649

636650
result = dict()
651+
if self.appendable_to_normal is not None:
652+
result['AppendableToNormal'] = self.appendable_to_normal
637653
if self.audit is not None:
638654
result['Audit'] = self.audit.to_map()
639655
if self.convert_symlink_target is not None:
@@ -660,12 +676,20 @@ def to_map(self):
660676
result['SrcAddress'] = self.src_address
661677
if self.tags is not None:
662678
result['Tags'] = self.tags
679+
if self.target_storage_class is not None:
680+
result['TargetStorageClass'] = self.target_storage_class
663681
if self.transfer_mode is not None:
664682
result['TransferMode'] = self.transfer_mode
683+
if self.with_last_modify_time is not None:
684+
result['WithLastModifyTime'] = self.with_last_modify_time
685+
if self.with_storage_class is not None:
686+
result['WithStorageClass'] = self.with_storage_class
665687
return result
666688

667689
def from_map(self, m: dict = None):
668690
m = m or dict()
691+
if m.get('AppendableToNormal') is not None:
692+
self.appendable_to_normal = m.get('AppendableToNormal')
669693
if m.get('Audit') is not None:
670694
temp_model = Audit()
671695
self.audit = temp_model.from_map(m['Audit'])
@@ -696,8 +720,14 @@ def from_map(self, m: dict = None):
696720
self.src_address = m.get('SrcAddress')
697721
if m.get('Tags') is not None:
698722
self.tags = m.get('Tags')
723+
if m.get('TargetStorageClass') is not None:
724+
self.target_storage_class = m.get('TargetStorageClass')
699725
if m.get('TransferMode') is not None:
700726
self.transfer_mode = m.get('TransferMode')
727+
if m.get('WithLastModifyTime') is not None:
728+
self.with_last_modify_time = m.get('WithLastModifyTime')
729+
if m.get('WithStorageClass') is not None:
730+
self.with_storage_class = m.get('WithStorageClass')
701731
return self
702732

703733

@@ -1017,8 +1047,12 @@ def from_map(self, m: dict = None):
10171047
class GetAgentStatusResp(TeaModel):
10181048
def __init__(
10191049
self,
1050+
agent_ip: str = None,
1051+
agent_version: str = None,
10201052
status: str = None,
10211053
):
1054+
self.agent_ip = agent_ip
1055+
self.agent_version = agent_version
10221056
self.status = status
10231057

10241058
def validate(self):
@@ -1030,12 +1064,20 @@ def to_map(self):
10301064
return _map
10311065

10321066
result = dict()
1067+
if self.agent_ip is not None:
1068+
result['AgentIP'] = self.agent_ip
1069+
if self.agent_version is not None:
1070+
result['AgentVersion'] = self.agent_version
10331071
if self.status is not None:
10341072
result['Status'] = self.status
10351073
return result
10361074

10371075
def from_map(self, m: dict = None):
10381076
m = m or dict()
1077+
if m.get('AgentIP') is not None:
1078+
self.agent_ip = m.get('AgentIP')
1079+
if m.get('AgentVersion') is not None:
1080+
self.agent_version = m.get('AgentVersion')
10391081
if m.get('Status') is not None:
10401082
self.status = m.get('Status')
10411083
return self
@@ -1044,6 +1086,7 @@ def from_map(self, m: dict = None):
10441086
class GetJobResp(TeaModel):
10451087
def __init__(
10461088
self,
1089+
appendable_to_normal: bool = None,
10471090
audit: Audit = None,
10481091
convert_symlink_target: bool = None,
10491092
create_report: bool = None,
@@ -1062,9 +1105,13 @@ def __init__(
10621105
src_address: str = None,
10631106
status: str = None,
10641107
tags: str = None,
1108+
target_storage_class: str = None,
10651109
transfer_mode: str = None,
10661110
version: str = None,
1111+
with_last_modify_time: bool = None,
1112+
with_storage_class: bool = None,
10671113
):
1114+
self.appendable_to_normal = appendable_to_normal
10681115
self.audit = audit
10691116
self.convert_symlink_target = convert_symlink_target
10701117
self.create_report = create_report
@@ -1083,8 +1130,11 @@ def __init__(
10831130
self.src_address = src_address
10841131
self.status = status
10851132
self.tags = tags
1133+
self.target_storage_class = target_storage_class
10861134
self.transfer_mode = transfer_mode
10871135
self.version = version
1136+
self.with_last_modify_time = with_last_modify_time
1137+
self.with_storage_class = with_storage_class
10881138

10891139
def validate(self):
10901140
if self.audit:
@@ -1102,6 +1152,8 @@ def to_map(self):
11021152
return _map
11031153

11041154
result = dict()
1155+
if self.appendable_to_normal is not None:
1156+
result['AppendableToNormal'] = self.appendable_to_normal
11051157
if self.audit is not None:
11061158
result['Audit'] = self.audit.to_map()
11071159
if self.convert_symlink_target is not None:
@@ -1138,14 +1190,22 @@ def to_map(self):
11381190
result['Status'] = self.status
11391191
if self.tags is not None:
11401192
result['Tags'] = self.tags
1193+
if self.target_storage_class is not None:
1194+
result['TargetStorageClass'] = self.target_storage_class
11411195
if self.transfer_mode is not None:
11421196
result['TransferMode'] = self.transfer_mode
11431197
if self.version is not None:
11441198
result['Version'] = self.version
1199+
if self.with_last_modify_time is not None:
1200+
result['WithLastModifyTime'] = self.with_last_modify_time
1201+
if self.with_storage_class is not None:
1202+
result['WithStorageClass'] = self.with_storage_class
11451203
return result
11461204

11471205
def from_map(self, m: dict = None):
11481206
m = m or dict()
1207+
if m.get('AppendableToNormal') is not None:
1208+
self.appendable_to_normal = m.get('AppendableToNormal')
11491209
if m.get('Audit') is not None:
11501210
temp_model = Audit()
11511211
self.audit = temp_model.from_map(m['Audit'])
@@ -1186,10 +1246,16 @@ def from_map(self, m: dict = None):
11861246
self.status = m.get('Status')
11871247
if m.get('Tags') is not None:
11881248
self.tags = m.get('Tags')
1249+
if m.get('TargetStorageClass') is not None:
1250+
self.target_storage_class = m.get('TargetStorageClass')
11891251
if m.get('TransferMode') is not None:
11901252
self.transfer_mode = m.get('TransferMode')
11911253
if m.get('Version') is not None:
11921254
self.version = m.get('Version')
1255+
if m.get('WithLastModifyTime') is not None:
1256+
self.with_last_modify_time = m.get('WithLastModifyTime')
1257+
if m.get('WithStorageClass') is not None:
1258+
self.with_storage_class = m.get('WithStorageClass')
11931259
return self
11941260

11951261

@@ -1208,6 +1274,8 @@ def __init__(
12081274
inv_path: str = None,
12091275
inv_region_id: str = None,
12101276
ready_retry: str = None,
1277+
skipped_object_count: int = None,
1278+
skipped_object_size: int = None,
12111279
total_object_count: int = None,
12121280
total_object_size: int = None,
12131281
version: str = None,
@@ -1224,6 +1292,8 @@ def __init__(
12241292
self.inv_path = inv_path
12251293
self.inv_region_id = inv_region_id
12261294
self.ready_retry = ready_retry
1295+
self.skipped_object_count = skipped_object_count
1296+
self.skipped_object_size = skipped_object_size
12271297
self.total_object_count = total_object_count
12281298
self.total_object_size = total_object_size
12291299
self.version = version
@@ -1261,6 +1331,10 @@ def to_map(self):
12611331
result['InvRegionId'] = self.inv_region_id
12621332
if self.ready_retry is not None:
12631333
result['ReadyRetry'] = self.ready_retry
1334+
if self.skipped_object_count is not None:
1335+
result['SkippedObjectCount'] = self.skipped_object_count
1336+
if self.skipped_object_size is not None:
1337+
result['SkippedObjectSize'] = self.skipped_object_size
12641338
if self.total_object_count is not None:
12651339
result['TotalObjectCount'] = self.total_object_count
12661340
if self.total_object_size is not None:
@@ -1295,6 +1369,10 @@ def from_map(self, m: dict = None):
12951369
self.inv_region_id = m.get('InvRegionId')
12961370
if m.get('ReadyRetry') is not None:
12971371
self.ready_retry = m.get('ReadyRetry')
1372+
if m.get('SkippedObjectCount') is not None:
1373+
self.skipped_object_count = m.get('SkippedObjectCount')
1374+
if m.get('SkippedObjectSize') is not None:
1375+
self.skipped_object_size = m.get('SkippedObjectSize')
12981376
if m.get('TotalObjectCount') is not None:
12991377
self.total_object_count = m.get('TotalObjectCount')
13001378
if m.get('TotalObjectSize') is not None:
@@ -3843,7 +3921,7 @@ def __init__(
38433921
self,
38443922
verify_address_response: VerifyAddressResp = None,
38453923
):
3846-
# 校验数据地址详情。
3924+
# The details for verifying the data address.
38473925
self.verify_address_response = verify_address_response
38483926

38493927
def validate(self):

hcs-mgw-20240626/setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@
2222
from setuptools import setup, find_packages
2323

2424
"""
25-
setup module for alibabacloud_hcs-mgw20240626.
25+
setup module for alibabacloud_hcs_mgw20240626.
2626
27-
Created on 08/04/2025
27+
Created on 10/12/2025
2828
2929
@author: Alibaba Cloud SDK
3030
"""
3131

3232
PACKAGE = "alibabacloud_hcs_mgw20240626"
33-
NAME = "alibabacloud_hcs-mgw20240626" or "alibabacloud-package"
33+
NAME = "alibabacloud_hcs_mgw20240626" or "alibabacloud-package"
3434
DESCRIPTION = "Alibaba Cloud hcs-mgw (20240626) SDK Library for Python"
3535
AUTHOR = "Alibaba Cloud SDK"
3636
AUTHOR_EMAIL = "sdk-team@alibabacloud.com"
3737
URL = "https://github.com/aliyun/alibabacloud-python-sdk"
3838
VERSION = __import__(PACKAGE).__version__
3939
REQUIRES = [
4040
"alibabacloud_tea_util>=0.3.13, <1.0.0",
41-
"alibabacloud_gateway_oss>=0.0.17, <1.0.0",
42-
"alibabacloud_tea_openapi>=0.3.12, <1.0.0",
41+
"alibabacloud_gateway_oss>=0.0.20, <1.0.0",
42+
"alibabacloud_tea_openapi>=0.3.16, <1.0.0",
4343
"alibabacloud_openapi_util>=0.2.2, <1.0.0"
4444
]
4545

0 commit comments

Comments
 (0)