tencentcloud-sdk-python-wedata 3.1.177__tar.gz → 3.1.178__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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/setup.py +1 -1
  3. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/models.py +275 -0
  5. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  6. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  7. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_wedata-3.1.178/tencentcloud_sdk_python_wedata.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_wedata-3.1.177/tencentcloud_sdk_python_wedata.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/README.rst +0 -0
  11. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/__init__.py +0 -0
  13. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/__init__.py +0 -0
  14. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20210820/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/__init__.py +0 -0
  16. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/models.py +0 -0
  18. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/wedata_client.py +0 -0
  19. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud/wedata/v20250806/wedata_client_async.py +0 -0
  20. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_wedata-3.1.177 → tencentcloud_sdk_python_wedata-3.1.178}/tencentcloud_sdk_python_wedata.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-wedata
3
- Version: 3.1.177
3
+ Version: 3.1.178
4
4
  Summary: Tencent Cloud Wedata 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.177
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-wedata',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.178,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Wedata SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.177'
17
+ __version__ = '3.1.178'
@@ -9065,6 +9065,175 @@ class BizParams(AbstractModel):
9065
9065
 
9066
9066
 
9067
9067
 
9068
+ class BooleanResponse(AbstractModel):
9069
+ r"""BooleanResponse
9070
+
9071
+ """
9072
+
9073
+ def __init__(self):
9074
+ r"""
9075
+ :param _Success: 是否成功
9076
+ :type Success: bool
9077
+ :param _Message: 失败返回提示信息
9078
+ 注意:此字段可能返回 null,表示取不到有效值。
9079
+ :type Message: str
9080
+ :param _BaselineId: 基线Id
9081
+ 注意:此字段可能返回 null,表示取不到有效值。
9082
+ :type BaselineId: int
9083
+ :param _Code: 错误码
9084
+ 注意:此字段可能返回 null,表示取不到有效值。
9085
+ :type Code: str
9086
+ """
9087
+ self._Success = None
9088
+ self._Message = None
9089
+ self._BaselineId = None
9090
+ self._Code = None
9091
+
9092
+ @property
9093
+ def Success(self):
9094
+ r"""是否成功
9095
+ :rtype: bool
9096
+ """
9097
+ return self._Success
9098
+
9099
+ @Success.setter
9100
+ def Success(self, Success):
9101
+ self._Success = Success
9102
+
9103
+ @property
9104
+ def Message(self):
9105
+ r"""失败返回提示信息
9106
+ 注意:此字段可能返回 null,表示取不到有效值。
9107
+ :rtype: str
9108
+ """
9109
+ return self._Message
9110
+
9111
+ @Message.setter
9112
+ def Message(self, Message):
9113
+ self._Message = Message
9114
+
9115
+ @property
9116
+ def BaselineId(self):
9117
+ r"""基线Id
9118
+ 注意:此字段可能返回 null,表示取不到有效值。
9119
+ :rtype: int
9120
+ """
9121
+ return self._BaselineId
9122
+
9123
+ @BaselineId.setter
9124
+ def BaselineId(self, BaselineId):
9125
+ self._BaselineId = BaselineId
9126
+
9127
+ @property
9128
+ def Code(self):
9129
+ r"""错误码
9130
+ 注意:此字段可能返回 null,表示取不到有效值。
9131
+ :rtype: str
9132
+ """
9133
+ return self._Code
9134
+
9135
+ @Code.setter
9136
+ def Code(self, Code):
9137
+ self._Code = Code
9138
+
9139
+
9140
+ def _deserialize(self, params):
9141
+ self._Success = params.get("Success")
9142
+ self._Message = params.get("Message")
9143
+ self._BaselineId = params.get("BaselineId")
9144
+ self._Code = params.get("Code")
9145
+ memeber_set = set(params.keys())
9146
+ for name, value in vars(self).items():
9147
+ property_name = name[1:]
9148
+ if property_name in memeber_set:
9149
+ memeber_set.remove(property_name)
9150
+ if len(memeber_set) > 0:
9151
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9152
+
9153
+
9154
+
9155
+ class BundleResource(AbstractModel):
9156
+ r"""boundle 绑定/解绑操作资源信息
9157
+
9158
+ """
9159
+
9160
+ def __init__(self):
9161
+ r"""
9162
+ :param _ResourceType: <p>资源类型,取值范围:</p>
9163
+ <ul>
9164
+ <li>WORKFLOW 工作流</li>
9165
+ <li>TASK 任务</li>
9166
+ <li>CODE_TEMPLATE 代码模版</li>
9167
+ <li>RESOURCE 资源信息</li>
9168
+ <li>EVENT 事件</li>
9169
+ <li>PROJECT_PARAM 项目参数</li>
9170
+ </ul>
9171
+ :type ResourceType: str
9172
+ :param _ResourceId: 资源id
9173
+ :type ResourceId: str
9174
+ :param _ResourceName: 资源名称
9175
+ :type ResourceName: str
9176
+ """
9177
+ self._ResourceType = None
9178
+ self._ResourceId = None
9179
+ self._ResourceName = None
9180
+
9181
+ @property
9182
+ def ResourceType(self):
9183
+ r"""<p>资源类型,取值范围:</p>
9184
+ <ul>
9185
+ <li>WORKFLOW 工作流</li>
9186
+ <li>TASK 任务</li>
9187
+ <li>CODE_TEMPLATE 代码模版</li>
9188
+ <li>RESOURCE 资源信息</li>
9189
+ <li>EVENT 事件</li>
9190
+ <li>PROJECT_PARAM 项目参数</li>
9191
+ </ul>
9192
+ :rtype: str
9193
+ """
9194
+ return self._ResourceType
9195
+
9196
+ @ResourceType.setter
9197
+ def ResourceType(self, ResourceType):
9198
+ self._ResourceType = ResourceType
9199
+
9200
+ @property
9201
+ def ResourceId(self):
9202
+ r"""资源id
9203
+ :rtype: str
9204
+ """
9205
+ return self._ResourceId
9206
+
9207
+ @ResourceId.setter
9208
+ def ResourceId(self, ResourceId):
9209
+ self._ResourceId = ResourceId
9210
+
9211
+ @property
9212
+ def ResourceName(self):
9213
+ r"""资源名称
9214
+ :rtype: str
9215
+ """
9216
+ return self._ResourceName
9217
+
9218
+ @ResourceName.setter
9219
+ def ResourceName(self, ResourceName):
9220
+ self._ResourceName = ResourceName
9221
+
9222
+
9223
+ def _deserialize(self, params):
9224
+ self._ResourceType = params.get("ResourceType")
9225
+ self._ResourceId = params.get("ResourceId")
9226
+ self._ResourceName = params.get("ResourceName")
9227
+ memeber_set = set(params.keys())
9228
+ for name, value in vars(self).items():
9229
+ property_name = name[1:]
9230
+ if property_name in memeber_set:
9231
+ memeber_set.remove(property_name)
9232
+ if len(memeber_set) > 0:
9233
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9234
+
9235
+
9236
+
9068
9237
  class BytesSpeed(AbstractModel):
9069
9238
  r"""实时任务同步速度 字节/s
9070
9239
 
@@ -120123,6 +120292,112 @@ class TriggerManualTasksResponse(AbstractModel):
120123
120292
  self._RequestId = params.get("RequestId")
120124
120293
 
120125
120294
 
120295
+ class UnbindingResourceRequest(AbstractModel):
120296
+ r"""UnbindingResource请求参数结构体
120297
+
120298
+ """
120299
+
120300
+ def __init__(self):
120301
+ r"""
120302
+ :param _ProjectId: 项目id
120303
+ :type ProjectId: str
120304
+ :param _ResourceList: 资源列表
120305
+ :type ResourceList: list of BundleResource
120306
+ """
120307
+ self._ProjectId = None
120308
+ self._ResourceList = None
120309
+
120310
+ @property
120311
+ def ProjectId(self):
120312
+ r"""项目id
120313
+ :rtype: str
120314
+ """
120315
+ return self._ProjectId
120316
+
120317
+ @ProjectId.setter
120318
+ def ProjectId(self, ProjectId):
120319
+ self._ProjectId = ProjectId
120320
+
120321
+ @property
120322
+ def ResourceList(self):
120323
+ r"""资源列表
120324
+ :rtype: list of BundleResource
120325
+ """
120326
+ return self._ResourceList
120327
+
120328
+ @ResourceList.setter
120329
+ def ResourceList(self, ResourceList):
120330
+ self._ResourceList = ResourceList
120331
+
120332
+
120333
+ def _deserialize(self, params):
120334
+ self._ProjectId = params.get("ProjectId")
120335
+ if params.get("ResourceList") is not None:
120336
+ self._ResourceList = []
120337
+ for item in params.get("ResourceList"):
120338
+ obj = BundleResource()
120339
+ obj._deserialize(item)
120340
+ self._ResourceList.append(obj)
120341
+ memeber_set = set(params.keys())
120342
+ for name, value in vars(self).items():
120343
+ property_name = name[1:]
120344
+ if property_name in memeber_set:
120345
+ memeber_set.remove(property_name)
120346
+ if len(memeber_set) > 0:
120347
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
120348
+
120349
+
120350
+
120351
+ class UnbindingResourceResponse(AbstractModel):
120352
+ r"""UnbindingResource返回参数结构体
120353
+
120354
+ """
120355
+
120356
+ def __init__(self):
120357
+ r"""
120358
+ :param _Data: 操作结果
120359
+ 注意:此字段可能返回 null,表示取不到有效值。
120360
+ :type Data: list of BooleanResponse
120361
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
120362
+ :type RequestId: str
120363
+ """
120364
+ self._Data = None
120365
+ self._RequestId = None
120366
+
120367
+ @property
120368
+ def Data(self):
120369
+ r"""操作结果
120370
+ 注意:此字段可能返回 null,表示取不到有效值。
120371
+ :rtype: list of BooleanResponse
120372
+ """
120373
+ return self._Data
120374
+
120375
+ @Data.setter
120376
+ def Data(self, Data):
120377
+ self._Data = Data
120378
+
120379
+ @property
120380
+ def RequestId(self):
120381
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
120382
+ :rtype: str
120383
+ """
120384
+ return self._RequestId
120385
+
120386
+ @RequestId.setter
120387
+ def RequestId(self, RequestId):
120388
+ self._RequestId = RequestId
120389
+
120390
+
120391
+ def _deserialize(self, params):
120392
+ if params.get("Data") is not None:
120393
+ self._Data = []
120394
+ for item in params.get("Data"):
120395
+ obj = BooleanResponse()
120396
+ obj._deserialize(item)
120397
+ self._Data.append(obj)
120398
+ self._RequestId = params.get("RequestId")
120399
+
120400
+
120126
120401
  class UnboundProjectExecutorResourceRequest(AbstractModel):
120127
120402
  r"""UnboundProjectExecutorResource请求参数结构体
120128
120403
 
@@ -6916,6 +6916,29 @@ class WedataClient(AbstractClient):
6916
6916
  raise TencentCloudSDKException(type(e).__name__, str(e))
6917
6917
 
6918
6918
 
6919
+ def UnbindingResource(self, request):
6920
+ r"""解绑bundle绑定的资源
6921
+
6922
+ :param request: Request instance for UnbindingResource.
6923
+ :type request: :class:`tencentcloud.wedata.v20210820.models.UnbindingResourceRequest`
6924
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.UnbindingResourceResponse`
6925
+
6926
+ """
6927
+ try:
6928
+ params = request._serialize()
6929
+ headers = request.headers
6930
+ body = self.call("UnbindingResource", params, headers=headers)
6931
+ response = json.loads(body)
6932
+ model = models.UnbindingResourceResponse()
6933
+ model._deserialize(response["Response"])
6934
+ return model
6935
+ except Exception as e:
6936
+ if isinstance(e, TencentCloudSDKException):
6937
+ raise
6938
+ else:
6939
+ raise TencentCloudSDKException(type(e).__name__, str(e))
6940
+
6941
+
6919
6942
  def UnboundProjectExecutorResource(self, request):
6920
6943
  r"""商业化版本:执行资源组/资源包解除绑定项目
6921
6944
 
@@ -5420,6 +5420,24 @@ class WedataClient(AbstractClient):
5420
5420
 
5421
5421
  return await self.call_and_deserialize(**kwargs)
5422
5422
 
5423
+ async def UnbindingResource(
5424
+ self,
5425
+ request: models.UnbindingResourceRequest,
5426
+ opts: Dict = None,
5427
+ ) -> models.UnbindingResourceResponse:
5428
+ """
5429
+ 解绑bundle绑定的资源
5430
+ """
5431
+
5432
+ kwargs = {}
5433
+ kwargs["action"] = "UnbindingResource"
5434
+ kwargs["params"] = request._serialize()
5435
+ kwargs["resp_cls"] = models.UnbindingResourceResponse
5436
+ kwargs["headers"] = request.headers
5437
+ kwargs["opts"] = opts or {}
5438
+
5439
+ return await self.call_and_deserialize(**kwargs)
5440
+
5423
5441
  async def UnboundProjectExecutorResource(
5424
5442
  self,
5425
5443
  request: models.UnboundProjectExecutorResourceRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-wedata
3
- Version: 3.1.177
3
+ Version: 3.1.178
4
4
  Summary: Tencent Cloud Wedata 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.177
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.178
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.178
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.177