tencentcloud-sdk-python-goosefs 3.1.166__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.166 → tencentcloud_sdk_python_goosefs-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/models.py +166 -36
- {tencentcloud_sdk_python_goosefs-3.1.166 → 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.166/tencentcloud_sdk_python_goosefs.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/__init__.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/__init__.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/errorcodes.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/goosefs_client.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud/goosefs/v20220519/goosefs_client_async.py +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/tencentcloud_sdk_python_goosefs.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_goosefs-3.1.166 → 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.166 → 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',
|
|
@@ -4669,6 +4669,102 @@ class ListLoadTasksResponse(AbstractModel):
|
|
|
4669
4669
|
self._RequestId = params.get("RequestId")
|
|
4670
4670
|
|
|
4671
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
|
+
|
|
4672
4768
|
class LoadTaskAttrs(AbstractModel):
|
|
4673
4769
|
r"""预热任务参数
|
|
4674
4770
|
|
|
@@ -4676,29 +4772,31 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4676
4772
|
|
|
4677
4773
|
def __init__(self):
|
|
4678
4774
|
r"""
|
|
4679
|
-
:param _TaskId:
|
|
4775
|
+
:param _TaskId: <p>预热任务 ID</p>
|
|
4680
4776
|
:type TaskId: str
|
|
4681
|
-
:param _TaskType:
|
|
4777
|
+
:param _TaskType: <p>预热任务类型,枚举值,MetadataLoad|DistributedLoad</p>
|
|
4682
4778
|
:type TaskType: str
|
|
4683
|
-
:param _Description:
|
|
4779
|
+
:param _Description: <p>任务描述,支持中文</p>
|
|
4684
4780
|
:type Description: str
|
|
4685
|
-
:param _Priority:
|
|
4781
|
+
:param _Priority: <p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4686
4782
|
:type Priority: int
|
|
4687
|
-
:param _MetadataLoadAttrs:
|
|
4783
|
+
:param _MetadataLoadAttrs: <p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4688
4784
|
:type MetadataLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4689
|
-
:param _DistributedLoadAttrs:
|
|
4785
|
+
:param _DistributedLoadAttrs: <p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4690
4786
|
:type DistributedLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4691
|
-
:param
|
|
4787
|
+
:param _LoadDataAttrs: <p>仅预热数据参数。入参数TaskType为LoadData时,该参数不应为空。</p>
|
|
4788
|
+
:type LoadDataAttrs: :class:`tencentcloud.goosefs.v20220519.models.LoadDataAttrs`
|
|
4789
|
+
:param _ReportPath: <p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4692
4790
|
:type ReportPath: str
|
|
4693
|
-
:param _State:
|
|
4791
|
+
:param _State: <p>枚举,Completed,Running,Waiting,Cancelled</p>
|
|
4694
4792
|
:type State: str
|
|
4695
|
-
:param _TaskMessage:
|
|
4793
|
+
:param _TaskMessage: <p>任务执行信息,打印预热文件成功个数,失败个数,预热耗时信息</p>
|
|
4696
4794
|
:type TaskMessage: str
|
|
4697
|
-
:param _CreateTime:
|
|
4795
|
+
:param _CreateTime: <p>预热任务创建时间</p>
|
|
4698
4796
|
:type CreateTime: str
|
|
4699
|
-
:param _ModifyTime:
|
|
4797
|
+
:param _ModifyTime: <p>预热任务变更时间</p>
|
|
4700
4798
|
:type ModifyTime: str
|
|
4701
|
-
:param _Requester:
|
|
4799
|
+
:param _Requester: <p>任务提交账号,子账号或服务角色 ID</p>
|
|
4702
4800
|
:type Requester: str
|
|
4703
4801
|
"""
|
|
4704
4802
|
self._TaskId = None
|
|
@@ -4707,6 +4805,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4707
4805
|
self._Priority = None
|
|
4708
4806
|
self._MetadataLoadAttrs = None
|
|
4709
4807
|
self._DistributedLoadAttrs = None
|
|
4808
|
+
self._LoadDataAttrs = None
|
|
4710
4809
|
self._ReportPath = None
|
|
4711
4810
|
self._State = None
|
|
4712
4811
|
self._TaskMessage = None
|
|
@@ -4716,7 +4815,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4716
4815
|
|
|
4717
4816
|
@property
|
|
4718
4817
|
def TaskId(self):
|
|
4719
|
-
r"""
|
|
4818
|
+
r"""<p>预热任务 ID</p>
|
|
4720
4819
|
:rtype: str
|
|
4721
4820
|
"""
|
|
4722
4821
|
return self._TaskId
|
|
@@ -4727,7 +4826,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4727
4826
|
|
|
4728
4827
|
@property
|
|
4729
4828
|
def TaskType(self):
|
|
4730
|
-
r"""
|
|
4829
|
+
r"""<p>预热任务类型,枚举值,MetadataLoad|DistributedLoad</p>
|
|
4731
4830
|
:rtype: str
|
|
4732
4831
|
"""
|
|
4733
4832
|
return self._TaskType
|
|
@@ -4738,7 +4837,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4738
4837
|
|
|
4739
4838
|
@property
|
|
4740
4839
|
def Description(self):
|
|
4741
|
-
r"""
|
|
4840
|
+
r"""<p>任务描述,支持中文</p>
|
|
4742
4841
|
:rtype: str
|
|
4743
4842
|
"""
|
|
4744
4843
|
return self._Description
|
|
@@ -4749,7 +4848,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4749
4848
|
|
|
4750
4849
|
@property
|
|
4751
4850
|
def Priority(self):
|
|
4752
|
-
r"""
|
|
4851
|
+
r"""<p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4753
4852
|
:rtype: int
|
|
4754
4853
|
"""
|
|
4755
4854
|
return self._Priority
|
|
@@ -4760,7 +4859,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4760
4859
|
|
|
4761
4860
|
@property
|
|
4762
4861
|
def MetadataLoadAttrs(self):
|
|
4763
|
-
r"""
|
|
4862
|
+
r"""<p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4764
4863
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4765
4864
|
"""
|
|
4766
4865
|
return self._MetadataLoadAttrs
|
|
@@ -4771,7 +4870,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4771
4870
|
|
|
4772
4871
|
@property
|
|
4773
4872
|
def DistributedLoadAttrs(self):
|
|
4774
|
-
r"""
|
|
4873
|
+
r"""<p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4775
4874
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4776
4875
|
"""
|
|
4777
4876
|
return self._DistributedLoadAttrs
|
|
@@ -4780,9 +4879,20 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4780
4879
|
def DistributedLoadAttrs(self, DistributedLoadAttrs):
|
|
4781
4880
|
self._DistributedLoadAttrs = DistributedLoadAttrs
|
|
4782
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
|
+
|
|
4783
4893
|
@property
|
|
4784
4894
|
def ReportPath(self):
|
|
4785
|
-
r"""
|
|
4895
|
+
r"""<p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4786
4896
|
:rtype: str
|
|
4787
4897
|
"""
|
|
4788
4898
|
return self._ReportPath
|
|
@@ -4793,7 +4903,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4793
4903
|
|
|
4794
4904
|
@property
|
|
4795
4905
|
def State(self):
|
|
4796
|
-
r"""
|
|
4906
|
+
r"""<p>枚举,Completed,Running,Waiting,Cancelled</p>
|
|
4797
4907
|
:rtype: str
|
|
4798
4908
|
"""
|
|
4799
4909
|
return self._State
|
|
@@ -4804,7 +4914,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4804
4914
|
|
|
4805
4915
|
@property
|
|
4806
4916
|
def TaskMessage(self):
|
|
4807
|
-
r"""
|
|
4917
|
+
r"""<p>任务执行信息,打印预热文件成功个数,失败个数,预热耗时信息</p>
|
|
4808
4918
|
:rtype: str
|
|
4809
4919
|
"""
|
|
4810
4920
|
return self._TaskMessage
|
|
@@ -4815,7 +4925,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4815
4925
|
|
|
4816
4926
|
@property
|
|
4817
4927
|
def CreateTime(self):
|
|
4818
|
-
r"""
|
|
4928
|
+
r"""<p>预热任务创建时间</p>
|
|
4819
4929
|
:rtype: str
|
|
4820
4930
|
"""
|
|
4821
4931
|
return self._CreateTime
|
|
@@ -4826,7 +4936,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4826
4936
|
|
|
4827
4937
|
@property
|
|
4828
4938
|
def ModifyTime(self):
|
|
4829
|
-
r"""
|
|
4939
|
+
r"""<p>预热任务变更时间</p>
|
|
4830
4940
|
:rtype: str
|
|
4831
4941
|
"""
|
|
4832
4942
|
return self._ModifyTime
|
|
@@ -4837,7 +4947,7 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4837
4947
|
|
|
4838
4948
|
@property
|
|
4839
4949
|
def Requester(self):
|
|
4840
|
-
r"""
|
|
4950
|
+
r"""<p>任务提交账号,子账号或服务角色 ID</p>
|
|
4841
4951
|
:rtype: str
|
|
4842
4952
|
"""
|
|
4843
4953
|
return self._Requester
|
|
@@ -4858,6 +4968,9 @@ class LoadTaskAttrs(AbstractModel):
|
|
|
4858
4968
|
if params.get("DistributedLoadAttrs") is not None:
|
|
4859
4969
|
self._DistributedLoadAttrs = DistributedLoadAttrs()
|
|
4860
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"))
|
|
4861
4974
|
self._ReportPath = params.get("ReportPath")
|
|
4862
4975
|
self._State = params.get("State")
|
|
4863
4976
|
self._TaskMessage = params.get("TaskMessage")
|
|
@@ -4881,18 +4994,20 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4881
4994
|
|
|
4882
4995
|
def __init__(self):
|
|
4883
4996
|
r"""
|
|
4884
|
-
:param _TaskType:
|
|
4997
|
+
:param _TaskType: <p>预热任务类型,枚举值,MetadataLoad|DistributedLoad。</p>
|
|
4885
4998
|
:type TaskType: str
|
|
4886
|
-
:param _Priority:
|
|
4999
|
+
:param _Priority: <p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4887
5000
|
:type Priority: int
|
|
4888
|
-
:param _Description:
|
|
5001
|
+
:param _Description: <p>任务描述,支持中文</p>
|
|
4889
5002
|
:type Description: str
|
|
4890
|
-
:param _MetadataLoadAttrs:
|
|
5003
|
+
:param _MetadataLoadAttrs: <p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4891
5004
|
:type MetadataLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4892
|
-
:param _DistributedLoadAttrs:
|
|
5005
|
+
:param _DistributedLoadAttrs: <p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4893
5006
|
:type DistributedLoadAttrs: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4894
|
-
:param _ReportPath:
|
|
5007
|
+
:param _ReportPath: <p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4895
5008
|
:type ReportPath: str
|
|
5009
|
+
:param _LoadDataAttrs: <p>仅预热数据任务参数。入参数TaskType为LoadData时,该参数不应为空。</p>
|
|
5010
|
+
:type LoadDataAttrs: :class:`tencentcloud.goosefs.v20220519.models.LoadDataAttrs`
|
|
4896
5011
|
"""
|
|
4897
5012
|
self._TaskType = None
|
|
4898
5013
|
self._Priority = None
|
|
@@ -4900,10 +5015,11 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4900
5015
|
self._MetadataLoadAttrs = None
|
|
4901
5016
|
self._DistributedLoadAttrs = None
|
|
4902
5017
|
self._ReportPath = None
|
|
5018
|
+
self._LoadDataAttrs = None
|
|
4903
5019
|
|
|
4904
5020
|
@property
|
|
4905
5021
|
def TaskType(self):
|
|
4906
|
-
r"""
|
|
5022
|
+
r"""<p>预热任务类型,枚举值,MetadataLoad|DistributedLoad。</p>
|
|
4907
5023
|
:rtype: str
|
|
4908
5024
|
"""
|
|
4909
5025
|
return self._TaskType
|
|
@@ -4914,7 +5030,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4914
5030
|
|
|
4915
5031
|
@property
|
|
4916
5032
|
def Priority(self):
|
|
4917
|
-
r"""
|
|
5033
|
+
r"""<p>任务优先级,数值越高代表优先级越高,边界值 1-9999,默认值为 1</p>
|
|
4918
5034
|
:rtype: int
|
|
4919
5035
|
"""
|
|
4920
5036
|
return self._Priority
|
|
@@ -4925,7 +5041,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4925
5041
|
|
|
4926
5042
|
@property
|
|
4927
5043
|
def Description(self):
|
|
4928
|
-
r"""
|
|
5044
|
+
r"""<p>任务描述,支持中文</p>
|
|
4929
5045
|
:rtype: str
|
|
4930
5046
|
"""
|
|
4931
5047
|
return self._Description
|
|
@@ -4936,7 +5052,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4936
5052
|
|
|
4937
5053
|
@property
|
|
4938
5054
|
def MetadataLoadAttrs(self):
|
|
4939
|
-
r"""
|
|
5055
|
+
r"""<p>元数据预热任务参数,用于仅预热元数据时入参。入参数TaskType为MetadataLoad时,该参数不应为空。</p>
|
|
4940
5056
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.MetadataLoadAttrs`
|
|
4941
5057
|
"""
|
|
4942
5058
|
return self._MetadataLoadAttrs
|
|
@@ -4947,7 +5063,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4947
5063
|
|
|
4948
5064
|
@property
|
|
4949
5065
|
def DistributedLoadAttrs(self):
|
|
4950
|
-
r"""
|
|
5066
|
+
r"""<p>数据预热任务参数。入参数TaskType为DistributedLoad时,该参数不应为空。</p>
|
|
4951
5067
|
:rtype: :class:`tencentcloud.goosefs.v20220519.models.DistributedLoadAttrs`
|
|
4952
5068
|
"""
|
|
4953
5069
|
return self._DistributedLoadAttrs
|
|
@@ -4958,7 +5074,7 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4958
5074
|
|
|
4959
5075
|
@property
|
|
4960
5076
|
def ReportPath(self):
|
|
4961
|
-
r"""
|
|
5077
|
+
r"""<p>将任务执行报告写入 COS 的路径,如果不需要报告则入参空</p>
|
|
4962
5078
|
:rtype: str
|
|
4963
5079
|
"""
|
|
4964
5080
|
return self._ReportPath
|
|
@@ -4967,6 +5083,17 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4967
5083
|
def ReportPath(self, ReportPath):
|
|
4968
5084
|
self._ReportPath = ReportPath
|
|
4969
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
|
+
|
|
4970
5097
|
|
|
4971
5098
|
def _deserialize(self, params):
|
|
4972
5099
|
self._TaskType = params.get("TaskType")
|
|
@@ -4979,6 +5106,9 @@ class LoadTaskCreationAttrs(AbstractModel):
|
|
|
4979
5106
|
self._DistributedLoadAttrs = DistributedLoadAttrs()
|
|
4980
5107
|
self._DistributedLoadAttrs._deserialize(params.get("DistributedLoadAttrs"))
|
|
4981
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"))
|
|
4982
5112
|
memeber_set = set(params.keys())
|
|
4983
5113
|
for name, value in vars(self).items():
|
|
4984
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.166/tencentcloud_sdk_python_goosefs.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
{tencentcloud_sdk_python_goosefs-3.1.166 → tencentcloud_sdk_python_goosefs-3.1.169}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_goosefs-3.1.166 → 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
|