@@ -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):
583589class 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):
10171047class 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):
10441086class 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 ):
0 commit comments