tencentcloud-sdk-python-goosefs 3.1.160__tar.gz → 3.1.169__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/models.py +234 -44
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_goosefs-3.1.169/tencentcloud_sdk_python_goosefs.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_goosefs-3.1.160/tencentcloud_sdk_python_goosefs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/__init__.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/__init__.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/errorcodes.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/goosefs_client.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/goosefs_client_async.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-goosefs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.169
|
|
4
4
|
Summary: Tencent Cloud Goosefs SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-goosefs',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.169,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Goosefs SDK for Python',
|
|
@@ -415,11 +415,11 @@ class BuildClientNodeMountCommandRequest(AbstractModel):
|
|
|
415
415
|
|
|
416
416
|
def __init__(self):
|
|
417
417
|
r"""
|
|
418
|
-
:param _FileSystemId:
|
|
418
|
+
:param _FileSystemId: <p>文件系统ID</p>
|
|
419
419
|
:type FileSystemId: str
|
|
420
|
-
:param _CustomMountDir:
|
|
420
|
+
:param _CustomMountDir: <p>自定义挂载目录的绝对路径, 如果未指定, 则会使用默认值, 格式/goosefsx/${fs_id}-proxy. 比如/goosefsx/x-c60-a2b3d4-proxy</p>
|
|
421
421
|
:type CustomMountDir: str
|
|
422
|
-
:param _ClusterId:
|
|
422
|
+
:param _ClusterId: <p>客户端集群ID</p>
|
|
423
423
|
:type ClusterId: str
|
|
424
424
|
"""
|
|
425
425
|
self._FileSystemId = None
|
|
@@ -428,7 +428,7 @@ class BuildClientNodeMountCommandRequest(AbstractModel):
|
|
|
428
428
|
|
|
429
429
|
@property
|
|
430
430
|
def FileSystemId(self):
|
|
431
|
-
r"""
|
|
431
|
+
r"""<p>文件系统ID</p>
|
|
432
432
|
:rtype: str
|
|
433
433
|
"""
|
|
434
434
|
return self._FileSystemId
|
|
@@ -439,7 +439,7 @@ class BuildClientNodeMountCommandRequest(AbstractModel):
|
|
|
439
439
|
|
|
440
440
|
@property
|
|
441
441
|
def CustomMountDir(self):
|
|
442
|
-
r"""
|
|
442
|
+
r"""<p>自定义挂载目录的绝对路径, 如果未指定, 则会使用默认值, 格式/goosefsx/${fs_id}-proxy. 比如/goosefsx/x-c60-a2b3d4-proxy</p>
|
|
443
443
|
:rtype: str
|
|
444
444
|
"""
|
|
445
445
|
return self._CustomMountDir
|
|
@@ -450,7 +450,7 @@ class BuildClientNodeMountCommandRequest(AbstractModel):
|
|
|
450
450
|
|
|
451
451
|
@property
|
|
452
452
|
def ClusterId(self):
|
|
453
|
-
r"""
|
|
453
|
+
r"""<p>客户端集群ID</p>
|
|
454
454
|
:rtype: str
|
|
455
455
|
"""
|
|
456
456
|
return self._ClusterId
|
|
@@ -481,7 +481,7 @@ class BuildClientNodeMountCommandResponse(AbstractModel):
|
|
|
481
481
|
|
|
482
482
|
def __init__(self):
|
|
483
483
|
r"""
|
|
484
|
-
:param _Command:
|
|
484
|
+
:param _Command: <p>挂载命令</p>
|
|
485
485
|
:type Command: str
|
|
486
486
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
487
487
|
:type RequestId: str
|
|
@@ -491,7 +491,7 @@ class BuildClientNodeMountCommandResponse(AbstractModel):
|
|
|
491
491
|
|
|
492
492
|
@property
|
|
493
493
|
def Command(self):
|
|
494
|
-
r"""
|
|
494
|
+
r"""<p>挂载命令</p>
|
|
495
495
|
:rtype: str
|
|
496
496
|
"""
|
|
497
497
|
return self._Command
|
|
@@ -1231,6 +1231,14 @@ class CreateDataRepositoryTaskRequest(AbstractModel):
|
|
|
1231
1231
|
:type EnableCustomDestPath: bool
|
|
1232
1232
|
:param _CustomDestPath: <p>自定义目的路径(预热任务表示本地路径,沉降任务表示COS桶前缀)</p>
|
|
1233
1233
|
:type CustomDestPath: str
|
|
1234
|
+
:param _OutputBucket: <p>输出的COS桶,用于存放任务执行的相关结果(当前用于存放任务失败时的失败文件列表)</p>
|
|
1235
|
+
:type OutputBucket: str
|
|
1236
|
+
:param _OutputPrefix: <p>输出的COS桶的前缀,用于存放任务执行的相关结果(当前用于存放任务失败时的失败文件列表)</p>
|
|
1237
|
+
:type OutputPrefix: str
|
|
1238
|
+
:param _EnableCustomSrcPath: <p>是否支持自定义数据源路径(暂时仅支持清单过滤使用)</p>
|
|
1239
|
+
:type EnableCustomSrcPath: bool
|
|
1240
|
+
:param _CustomSrcPath: <p>自定义数据源路径(暂时仅支持清单过滤使用)</p>
|
|
1241
|
+
:type CustomSrcPath: str
|
|
1234
1242
|
"""
|
|
1235
1243
|
self._TaskType = None
|
|
1236
1244
|
self._Bucket = None
|
|
@@ -1244,6 +1252,10 @@ class CreateDataRepositoryTaskRequest(AbstractModel):
|
|
|
1244
1252
|
self._DataFlowSubPath = None
|
|
1245
1253
|
self._EnableCustomDestPath = None
|
|
1246
1254
|
self._CustomDestPath = None
|
|
1255
|
+
self._OutputBucket = None
|
|
1256
|
+
self._OutputPrefix = None
|
|
1257
|
+
self._EnableCustomSrcPath = None
|
|
1258
|
+
self._CustomSrcPath = None
|
|
1247
1259
|
|
|
1248
1260
|
@property
|
|
1249
1261
|
def TaskType(self):
|
|
@@ -1385,6 +1397,50 @@ class CreateDataRepositoryTaskRequest(AbstractModel):
|
|
|
1385
1397
|
def CustomDestPath(self, CustomDestPath):
|
|
1386
1398
|
self._CustomDestPath = CustomDestPath
|
|
1387
1399
|
|
|
1400
|
+
@property
|
|
1401
|
+
def OutputBucket(self):
|
|
1402
|
+
r"""<p>输出的COS桶,用于存放任务执行的相关结果(当前用于存放任务失败时的失败文件列表)</p>
|
|
1403
|
+
:rtype: str
|
|
1404
|
+
"""
|
|
1405
|
+
return self._OutputBucket
|
|
1406
|
+
|
|
1407
|
+
@OutputBucket.setter
|
|
1408
|
+
def OutputBucket(self, OutputBucket):
|
|
1409
|
+
self._OutputBucket = OutputBucket
|
|
1410
|
+
|
|
1411
|
+
@property
|
|
1412
|
+
def OutputPrefix(self):
|
|
1413
|
+
r"""<p>输出的COS桶的前缀,用于存放任务执行的相关结果(当前用于存放任务失败时的失败文件列表)</p>
|
|
1414
|
+
:rtype: str
|
|
1415
|
+
"""
|
|
1416
|
+
return self._OutputPrefix
|
|
1417
|
+
|
|
1418
|
+
@OutputPrefix.setter
|
|
1419
|
+
def OutputPrefix(self, OutputPrefix):
|
|
1420
|
+
self._OutputPrefix = OutputPrefix
|
|
1421
|
+
|
|
1422
|
+
@property
|
|
1423
|
+
def EnableCustomSrcPath(self):
|
|
1424
|
+
r"""<p>是否支持自定义数据源路径(暂时仅支持清单过滤使用)</p>
|
|
1425
|
+
:rtype: bool
|
|
1426
|
+
"""
|
|
1427
|
+
return self._EnableCustomSrcPath
|
|
1428
|
+
|
|
1429
|
+
@EnableCustomSrcPath.setter
|
|
1430
|
+
def EnableCustomSrcPath(self, EnableCustomSrcPath):
|
|
1431
|
+
self._EnableCustomSrcPath = EnableCustomSrcPath
|
|
1432
|
+
|
|
1433
|
+
@property
|
|
1434
|
+
def CustomSrcPath(self):
|
|
1435
|
+
r"""<p>自定义数据源路径(暂时仅支持清单过滤使用)</p>
|
|
1436
|
+
:rtype: str
|
|
1437
|
+
"""
|
|
1438
|
+
return self._CustomSrcPath
|
|
1439
|
+
|
|
1440
|
+
@CustomSrcPath.setter
|
|
1441
|
+
def CustomSrcPath(self, CustomSrcPath):
|
|
1442
|
+
self._CustomSrcPath = CustomSrcPath
|
|
1443
|
+
|
|
1388
1444
|
|
|
1389
1445
|
def _deserialize(self, params):
|
|
1390
1446
|
self._TaskType = params.get("TaskType")
|
|
@@ -1399,6 +1455,10 @@ class CreateDataRepositoryTaskRequest(AbstractModel):
|
|
|
1399
1455
|
self._DataFlowSubPath = params.get("DataFlowSubPath")
|
|
1400
1456
|
self._EnableCustomDestPath = params.get("EnableCustomDestPath")
|
|
1401
1457
|
self._CustomDestPath = params.get("CustomDestPath")
|
|
1458
|
+
self._OutputBucket = params.get("OutputBucket")
|
|
1459
|
+
self._OutputPrefix = params.get("OutputPrefix")
|
|
1460
|
+
self._EnableCustomSrcPath = params.get("EnableCustomSrcPath")
|
|
1461
|
+
self._CustomSrcPath = params.get("CustomSrcPath")
|
|
1402
1462
|
memeber_set = set(params.keys())
|
|
1403
1463
|
for name, value in vars(self).items():
|
|
1404
1464
|
property_name = name[1:]
|
|
@@ -4609,6 +4669,102 @@ class ListLoadTasksResponse(AbstractModel):
|
|
|
4609
4669
|
self._RequestId = params.get("RequestId")
|
|
4610
4670
|
|
|
4611
4671
|
|
|
4672
|
+
class LoadDataAttrs(AbstractModel):
|
|
4673
|
+
r"""数据预热任务参数
|
|
4674
|
+
|
|
4675
|
+
"""
|
|
4676
|
+
|
|
4677
|
+
def __init__(self):
|
|
4678
|
+
r"""
|
|
4679
|
+
:param _LoadType: <p>预热类型,枚举值 LoadByPath|LoadByList</p>
|
|
4680
|
+
:type LoadType: str
|
|
4681
|
+
:param _SkipIfExists: <p>是否跳过相同文件,默认为 true</p>
|
|
4682
|
+
:type SkipIfExists: bool
|
|
4683
|
+
:param _LoadByPath: <p>预热路径,入参单条挂载路径。入参数LoadType为LoadByPath,该参数不应为空</p>
|
|
4684
|
+
:type LoadByPath: str
|
|
4685
|
+
:param _LoadByList: <p>通过文件列表批量预热,入参为 cos://bucket-appid/ 开头的 COS 路径,且仅支持 txt 格式文件,长度不能超过255个字符。入参数LoadType为LoadByList,该参数不应为空</p>
|
|
4686
|
+
:type LoadByList: str
|
|
4687
|
+
:param _Replica: <p>副本数配置,枚举值,可选值 SingleReplica(单副本,默认)|MaxReplica(最大副本)</p>
|
|
4688
|
+
:type Replica: str
|
|
4689
|
+
"""
|
|
4690
|
+
self._LoadType = None
|
|
4691
|
+
self._SkipIfExists = None
|
|
4692
|
+
self._LoadByPath = None
|
|
4693
|
+
self._LoadByList = None
|
|
4694
|
+
self._Replica = None
|
|
4695
|
+
|
|
4696
|
+
@property
|
|
4697
|
+
def LoadType(self):
|
|
4698
|
+
r"""<p>预热类型,枚举值 LoadByPath|LoadByList</p>
|
|
4699
|
+
:rtype: str
|
|
4700
|
+
"""
|
|
4701
|
+
return self._LoadType
|
|
4702
|
+
|
|
4703
|
+
@LoadType.setter
|
|
4704
|
+
def LoadType(self, LoadType):
|
|
4705
|
+
self._LoadType = LoadType
|
|
4706
|
+
|
|
4707
|
+
@property
|
|
4708
|
+
def SkipIfExists(self):
|
|
4709
|
+
r"""<p>是否跳过相同文件,默认为 true</p>
|
|
4710
|
+
:rtype: bool
|
|
4711
|
+
"""
|
|
4712
|
+
return self._SkipIfExists
|
|
4713
|
+
|
|
4714
|
+
@SkipIfExists.setter
|
|
4715
|
+
def SkipIfExists(self, SkipIfExists):
|
|
4716
|
+
self._SkipIfExists = SkipIfExists
|
|
4717
|
+
|
|
4718
|
+
@property
|
|
4719
|
+
def LoadByPath(self):
|
|
4720
|
+
r"""<p>预热路径,入参单条挂载路径。入参数LoadType为LoadByPath,该参数不应为空</p>
|
|
4721
|
+
:rtype: str
|
|
4722
|
+
"""
|
|
4723
|
+
return self._LoadByPath
|
|
4724
|
+
|
|
4725
|
+
@LoadByPath.setter
|
|
4726
|
+
def LoadByPath(self, LoadByPath):
|
|
4727
|
+
self._LoadByPath = LoadByPath
|
|
4728
|
+
|
|
4729
|
+
@property
|
|
4730
|
+
def LoadByList(self):
|
|
4731
|
+
r"""<p>通过文件列表批量预热,入参为 cos://bucket-appid/ 开头的 COS 路径,且仅支持 txt 格式文件,长度不能超过255个字符。入参数LoadType为LoadByList,该参数不应为空</p>
|
|
4732
|
+
:rtype: str
|
|
4733
|
+
"""
|
|
4734
|
+
return self._LoadByList
|
|
4735
|
+
|
|
4736
|
+
@LoadByList.setter
|
|
4737
|
+
def LoadByList(self, LoadByList):
|
|
4738
|
+
self._LoadByList = LoadByList
|
|
4739
|
+
|
|
4740
|
+
@property
|
|
4741
|
+
def Replica(self):
|
|
4742
|
+
r"""<p>副本数配置,枚举值,可选值 SingleReplica(单副本,默认)|MaxReplica(最大副本)</p>
|
|
4743
|
+
:rtype: str
|
|
4744
|
+
"""
|
|
4745
|
+
return self._Replica
|
|
4746
|
+
|
|
4747
|
+
@Replica.setter
|
|
4748
|
+
def Replica(self, Replica):
|
|
4749
|
+
self._Replica = Replica
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
def _deserialize(self, params):
|
|
4753
|
+
self._LoadType = params.get("LoadType")
|
|
4754
|
+
self._SkipIfExists = params.get("SkipIfExists")
|
|
4755
|
+
self._LoadByPath = params.get("LoadByPath")
|
|
4756
|
+
self._LoadByList = params.get("LoadByList")
|
|
4757
|
+
self._Replica = params.get("Replica")
|
|
4758
|
+
memeber_set = set(params.keys())
|
|
4759
|
+
for name, value in vars(self).items():
|
|
4760
|
+
property_name = name[1:]
|
|
4761
|
+
if property_name in memeber_set:
|
|
4762
|
+
memeber_set.remove(property_name)
|
|
4763
|
+
if len(memeber_set) > 0:
|
|
4764
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4765
|
+
|
|
4766
|
+
|
|
4767
|
+
|
|
4612
4768
|
class LoadTaskAttrs(AbstractModel):
|
|
4613
4769
|
r"""预热任务参数
|
|
4614
4770
|
|
|
@@ -4616,29 +4772,31 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4616
4772
|
|
|
4617
4773
|
def __init__(self):
|
|
4618
4774
|
r"""
|
|
4619
|
-
:param _TaskId:
|
|
4775
|
+
:param _TaskId: <p>预热任务 ID</p>
|
|
4620
4776
|
:type TaskId: str
|
|
4621
|
-
:param _TaskType:
|
|
4777
|
+
:param _TaskType: <p>预热任务类型,枚举值,MetadataLoad|DistributedLoad</p>
|
|
4622
4778
|
:type TaskType: str
|
|
4623
|
-
:param _Description:
|
|
4779
|
+
:param _Description: <p>任务描述,支持中文</p>
|
|
4624
4780
|
:type Description: str
|
|
4625
|
-
:param _Priority:
|
|
4781
|
+
:param _Priority: <p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4626
4782
|
:type Priority: int
|
|
4627
|
-
:param _MetadataLoadAttrs:
|
|
4783
|
+
:param _MetadataLoadAttrs: <p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4628
4784
|
:type MetadataLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4629
|
-
:param _DistributedLoadAttrs:
|
|
4785
|
+
:param _DistributedLoadAttrs: <p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4630
4786
|
:type DistributedLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4631
|
-
:param
|
|
4787
|
+
:param _LoadDataAttrs: <p>仅预热数据参数。入参数TaskType为LoadData时,该参数不应为空。</p>
|
|
4788
|
+
:type LoadDataAttrs: :class:`tencentcloud.goosefs.v20220519.models.LoadDataAttrs`
|
|
4789
|
+
:param _ReportPath: <p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4632
4790
|
:type ReportPath: str
|
|
4633
|
-
:param _State:
|
|
4791
|
+
:param _State: <p>枚举,Completed,Running,Waiting,Cancelled</p>
|
|
4634
4792
|
:type State: str
|
|
4635
|
-
:param _TaskMessage:
|
|
4793
|
+
:param _TaskMessage: <p>任务执行信息,打印预热文件成功个数,失败个数,预热耗时信息</p>
|
|
4636
4794
|
:type TaskMessage: str
|
|
4637
|
-
:param _CreateTime:
|
|
4795
|
+
:param _CreateTime: <p>预热任务创建时间</p>
|
|
4638
4796
|
:type CreateTime: str
|
|
4639
|
-
:param _ModifyTime:
|
|
4797
|
+
:param _ModifyTime: <p>预热任务变更时间</p>
|
|
4640
4798
|
:type ModifyTime: str
|
|
4641
|
-
:param _Requester:
|
|
4799
|
+
:param _Requester: <p>任务提交账号,子账号或服务角色 ID</p>
|
|
4642
4800
|
:type Requester: str
|
|
4643
4801
|
"""
|
|
4644
4802
|
self._TaskId = None
|
|
@@ -4647,6 +4805,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4647
4805
|
self._Priority = None
|
|
4648
4806
|
self._MetadataLoadAttrs = None
|
|
4649
4807
|
self._DistributedLoadAttrs = None
|
|
4808
|
+
self._LoadDataAttrs = None
|
|
4650
4809
|
self._ReportPath = None
|
|
4651
4810
|
self._State = None
|
|
4652
4811
|
self._TaskMessage = None
|
|
@@ -4656,7 +4815,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4656
4815
|
|
|
4657
4816
|
@property
|
|
4658
4817
|
def TaskId(self):
|
|
4659
|
-
r"""
|
|
4818
|
+
r"""<p>预热任务 ID</p>
|
|
4660
4819
|
:rtype: str
|
|
4661
4820
|
"""
|
|
4662
4821
|
return self._TaskId
|
|
@@ -4667,7 +4826,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4667
4826
|
|
|
4668
4827
|
@property
|
|
4669
4828
|
def TaskType(self):
|
|
4670
|
-
r"""
|
|
4829
|
+
r"""<p>预热任务类型,枚举值,MetadataLoad|DistributedLoad</p>
|
|
4671
4830
|
:rtype: str
|
|
4672
4831
|
"""
|
|
4673
4832
|
return self._TaskType
|
|
@@ -4678,7 +4837,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4678
4837
|
|
|
4679
4838
|
@property
|
|
4680
4839
|
def Description(self):
|
|
4681
|
-
r"""
|
|
4840
|
+
r"""<p>任务描述,支持中文</p>
|
|
4682
4841
|
:rtype: str
|
|
4683
4842
|
"""
|
|
4684
4843
|
return self._Description
|
|
@@ -4689,7 +4848,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4689
4848
|
|
|
4690
4849
|
@property
|
|
4691
4850
|
def Priority(self):
|
|
4692
|
-
r"""
|
|
4851
|
+
r"""<p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4693
4852
|
:rtype: int
|
|
4694
4853
|
"""
|
|
4695
4854
|
return self._Priority
|
|
@@ -4700,7 +4859,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4700
4859
|
|
|
4701
4860
|
@property
|
|
4702
4861
|
def MetadataLoadAttrs(self):
|
|
4703
|
-
r"""
|
|
4862
|
+
r"""<p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4704
4863
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4705
4864
|
"""
|
|
4706
4865
|
return self._MetadataLoadAttrs
|
|
@@ -4711,7 +4870,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4711
4870
|
|
|
4712
4871
|
@property
|
|
4713
4872
|
def DistributedLoadAttrs(self):
|
|
4714
|
-
r"""
|
|
4873
|
+
r"""<p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4715
4874
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4716
4875
|
"""
|
|
4717
4876
|
return self._DistributedLoadAttrs
|
|
@@ -4720,9 +4879,20 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4720
4879
|
def DistributedLoadAttrs(self, DistributedLoadAttrs):
|
|
4721
4880
|
self._DistributedLoadAttrs = DistributedLoadAttrs
|
|
4722
4881
|
|
|
4882
|
+
@property
|
|
4883
|
+
def LoadDataAttrs(self):
|
|
4884
|
+
r"""<p>仅预热数据参数。入参数TaskType为LoadData时,该参数不应为空。</p>
|
|
4885
|
+
:rtype: :class:`tencentcloud.goosefs.v20220519.models.LoadDataAttrs`
|
|
4886
|
+
"""
|
|
4887
|
+
return self._LoadDataAttrs
|
|
4888
|
+
|
|
4889
|
+
@LoadDataAttrs.setter
|
|
4890
|
+
def LoadDataAttrs(self, LoadDataAttrs):
|
|
4891
|
+
self._LoadDataAttrs = LoadDataAttrs
|
|
4892
|
+
|
|
4723
4893
|
@property
|
|
4724
4894
|
def ReportPath(self):
|
|
4725
|
-
r"""
|
|
4895
|
+
r"""<p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4726
4896
|
:rtype: str
|
|
4727
4897
|
"""
|
|
4728
4898
|
return self._ReportPath
|
|
@@ -4733,7 +4903,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4733
4903
|
|
|
4734
4904
|
@property
|
|
4735
4905
|
def State(self):
|
|
4736
|
-
r"""
|
|
4906
|
+
r"""<p>枚举,Completed,Running,Waiting,Cancelled</p>
|
|
4737
4907
|
:rtype: str
|
|
4738
4908
|
"""
|
|
4739
4909
|
return self._State
|
|
@@ -4744,7 +4914,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4744
4914
|
|
|
4745
4915
|
@property
|
|
4746
4916
|
def TaskMessage(self):
|
|
4747
|
-
r"""
|
|
4917
|
+
r"""<p>任务执行信息,打印预热文件成功个数,失败个数,预热耗时信息</p>
|
|
4748
4918
|
:rtype: str
|
|
4749
4919
|
"""
|
|
4750
4920
|
return self._TaskMessage
|
|
@@ -4755,7 +4925,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4755
4925
|
|
|
4756
4926
|
@property
|
|
4757
4927
|
def CreateTime(self):
|
|
4758
|
-
r"""
|
|
4928
|
+
r"""<p>预热任务创建时间</p>
|
|
4759
4929
|
:rtype: str
|
|
4760
4930
|
"""
|
|
4761
4931
|
return self._CreateTime
|
|
@@ -4766,7 +4936,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4766
4936
|
|
|
4767
4937
|
@property
|
|
4768
4938
|
def ModifyTime(self):
|
|
4769
|
-
r"""
|
|
4939
|
+
r"""<p>预热任务变更时间</p>
|
|
4770
4940
|
:rtype: str
|
|
4771
4941
|
"""
|
|
4772
4942
|
return self._ModifyTime
|
|
@@ -4777,7 +4947,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4777
4947
|
|
|
4778
4948
|
@property
|
|
4779
4949
|
def Requester(self):
|
|
4780
|
-
r"""
|
|
4950
|
+
r"""<p>任务提交账号,子账号或服务角色 ID</p>
|
|
4781
4951
|
:rtype: str
|
|
4782
4952
|
"""
|
|
4783
4953
|
return self._Requester
|
|
@@ -4798,6 +4968,9 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4798
4968
|
if params.get("DistributedLoadAttrs") is not None:
|
|
4799
4969
|
self._DistributedLoadAttrs = DistributedLoadAttrs()
|
|
4800
4970
|
self._DistributedLoadAttrs._deserialize(params.get("DistributedLoadAttrs"))
|
|
4971
|
+
if params.get("LoadDataAttrs") is not None:
|
|
4972
|
+
self._LoadDataAttrs = LoadDataAttrs()
|
|
4973
|
+
self._LoadDataAttrs._deserialize(params.get("LoadDataAttrs"))
|
|
4801
4974
|
self._ReportPath = params.get("ReportPath")
|
|
4802
4975
|
self._State = params.get("State")
|
|
4803
4976
|
self._TaskMessage = params.get("TaskMessage")
|
|
@@ -4821,18 +4994,20 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4821
4994
|
|
|
4822
4995
|
def __init__(self):
|
|
4823
4996
|
r"""
|
|
4824
|
-
:param _TaskType:
|
|
4997
|
+
:param _TaskType: <p>预热任务类型,枚举值,MetadataLoad|DistributedLoad。</p>
|
|
4825
4998
|
:type TaskType: str
|
|
4826
|
-
:param _Priority:
|
|
4999
|
+
:param _Priority: <p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4827
5000
|
:type Priority: int
|
|
4828
|
-
:param _Description:
|
|
5001
|
+
:param _Description: <p>任务描述,支持中文</p>
|
|
4829
5002
|
:type Description: str
|
|
4830
|
-
:param _MetadataLoadAttrs:
|
|
5003
|
+
:param _MetadataLoadAttrs: <p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4831
5004
|
:type MetadataLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4832
|
-
:param _DistributedLoadAttrs:
|
|
5005
|
+
:param _DistributedLoadAttrs: <p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4833
5006
|
:type DistributedLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4834
|
-
:param _ReportPath:
|
|
5007
|
+
:param _ReportPath: <p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4835
5008
|
:type ReportPath: str
|
|
5009
|
+
:param _LoadDataAttrs: <p>仅预热数据任务参数。入参数TaskType为LoadData时,该参数不应为空。</p>
|
|
5010
|
+
:type LoadDataAttrs: :class:`tencentcloud.goosefs.v20220519.models.LoadDataAttrs`
|
|
4836
5011
|
"""
|
|
4837
5012
|
self._TaskType = None
|
|
4838
5013
|
self._Priority = None
|
|
@@ -4840,10 +5015,11 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4840
5015
|
self._MetadataLoadAttrs = None
|
|
4841
5016
|
self._DistributedLoadAttrs = None
|
|
4842
5017
|
self._ReportPath = None
|
|
5018
|
+
self._LoadDataAttrs = None
|
|
4843
5019
|
|
|
4844
5020
|
@property
|
|
4845
5021
|
def TaskType(self):
|
|
4846
|
-
r"""
|
|
5022
|
+
r"""<p>预热任务类型,枚举值,MetadataLoad|DistributedLoad。</p>
|
|
4847
5023
|
:rtype: str
|
|
4848
5024
|
"""
|
|
4849
5025
|
return self._TaskType
|
|
@@ -4854,7 +5030,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4854
5030
|
|
|
4855
5031
|
@property
|
|
4856
5032
|
def Priority(self):
|
|
4857
|
-
r"""
|
|
5033
|
+
r"""<p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4858
5034
|
:rtype: int
|
|
4859
5035
|
"""
|
|
4860
5036
|
return self._Priority
|
|
@@ -4865,7 +5041,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4865
5041
|
|
|
4866
5042
|
@property
|
|
4867
5043
|
def Description(self):
|
|
4868
|
-
r"""
|
|
5044
|
+
r"""<p>任务描述,支持中文</p>
|
|
4869
5045
|
:rtype: str
|
|
4870
5046
|
"""
|
|
4871
5047
|
return self._Description
|
|
@@ -4876,7 +5052,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4876
5052
|
|
|
4877
5053
|
@property
|
|
4878
5054
|
def MetadataLoadAttrs(self):
|
|
4879
|
-
r"""
|
|
5055
|
+
r"""<p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4880
5056
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4881
5057
|
"""
|
|
4882
5058
|
return self._MetadataLoadAttrs
|
|
@@ -4887,7 +5063,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4887
5063
|
|
|
4888
5064
|
@property
|
|
4889
5065
|
def DistributedLoadAttrs(self):
|
|
4890
|
-
r"""
|
|
5066
|
+
r"""<p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4891
5067
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4892
5068
|
"""
|
|
4893
5069
|
return self._DistributedLoadAttrs
|
|
@@ -4898,7 +5074,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4898
5074
|
|
|
4899
5075
|
@property
|
|
4900
5076
|
def ReportPath(self):
|
|
4901
|
-
r"""
|
|
5077
|
+
r"""<p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4902
5078
|
:rtype: str
|
|
4903
5079
|
"""
|
|
4904
5080
|
return self._ReportPath
|
|
@@ -4907,6 +5083,17 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4907
5083
|
def ReportPath(self, ReportPath):
|
|
4908
5084
|
self._ReportPath = ReportPath
|
|
4909
5085
|
|
|
5086
|
+
@property
|
|
5087
|
+
def LoadDataAttrs(self):
|
|
5088
|
+
r"""<p>仅预热数据任务参数。入参数TaskType为LoadData时,该参数不应为空。</p>
|
|
5089
|
+
:rtype: :class:`tencentcloud.goosefs.v20220519.models.LoadDataAttrs`
|
|
5090
|
+
"""
|
|
5091
|
+
return self._LoadDataAttrs
|
|
5092
|
+
|
|
5093
|
+
@LoadDataAttrs.setter
|
|
5094
|
+
def LoadDataAttrs(self, LoadDataAttrs):
|
|
5095
|
+
self._LoadDataAttrs = LoadDataAttrs
|
|
5096
|
+
|
|
4910
5097
|
|
|
4911
5098
|
def _deserialize(self, params):
|
|
4912
5099
|
self._TaskType = params.get("TaskType")
|
|
@@ -4919,6 +5106,9 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4919
5106
|
self._DistributedLoadAttrs = DistributedLoadAttrs()
|
|
4920
5107
|
self._DistributedLoadAttrs._deserialize(params.get("DistributedLoadAttrs"))
|
|
4921
5108
|
self._ReportPath = params.get("ReportPath")
|
|
5109
|
+
if params.get("LoadDataAttrs") is not None:
|
|
5110
|
+
self._LoadDataAttrs = LoadDataAttrs()
|
|
5111
|
+
self._LoadDataAttrs._deserialize(params.get("LoadDataAttrs"))
|
|
4922
5112
|
memeber_set = set(params.keys())
|
|
4923
5113
|
for name, value in vars(self).items():
|
|
4924
5114
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-goosefs
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.169
|
|
4
4
|
Summary: Tencent Cloud Goosefs SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
tencentcloud_sdk_python_goosefs-3.1.160/tencentcloud_sdk_python_goosefs.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
{tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_goosefs-3.1.160 → tencentcloud_sdk_python_goosefs-3.1.169}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|