tencentcloud-sdk-python 3.0.1307__py2.py3-none-any.whl → 3.0.1309__py2.py3-none-any.whl

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 (34) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/asr/v20190614/models.py +4 -0
  3. tencentcloud/bi/v20220105/models.py +124 -2
  4. tencentcloud/cdwdoris/v20211228/models.py +84 -82
  5. tencentcloud/cfg/v20210820/models.py +45 -0
  6. tencentcloud/cwp/v20180228/cwp_client.py +0 -50
  7. tencentcloud/cwp/v20180228/models.py +0 -717
  8. tencentcloud/dbbrain/v20210527/models.py +15 -0
  9. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  10. tencentcloud/dlc/v20210125/models.py +6 -6
  11. tencentcloud/essbasic/v20210526/essbasic_client.py +28 -0
  12. tencentcloud/essbasic/v20210526/models.py +209 -0
  13. tencentcloud/hunyuan/v20230901/models.py +19 -0
  14. tencentcloud/lke/v20231130/models.py +1413 -48
  15. tencentcloud/ocr/v20181119/models.py +352 -0
  16. tencentcloud/ocr/v20181119/ocr_client.py +23 -0
  17. tencentcloud/rum/v20210622/models.py +168 -32
  18. tencentcloud/scf/v20180416/models.py +4 -4
  19. tencentcloud/ssl/v20191205/models.py +81 -0
  20. tencentcloud/ssl/v20191205/ssl_client.py +23 -0
  21. tencentcloud/tccatalog/__init__.py +0 -0
  22. tencentcloud/tccatalog/v20241024/__init__.py +0 -0
  23. tencentcloud/tccatalog/v20241024/errorcodes.py +36 -0
  24. tencentcloud/tccatalog/v20241024/models.py +917 -0
  25. tencentcloud/tccatalog/v20241024/tccatalog_client.py +118 -0
  26. tencentcloud/tdmq/v20200217/models.py +2 -2
  27. tencentcloud/teo/v20220901/errorcodes.py +3 -0
  28. tencentcloud/teo/v20220901/models.py +5864 -351
  29. tencentcloud/teo/v20220901/teo_client.py +144 -6
  30. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/METADATA +1 -1
  31. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/RECORD +34 -29
  32. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/LICENSE +0 -0
  33. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/WHEEL +0 -0
  34. {tencentcloud_sdk_python-3.0.1307.dist-info → tencentcloud_sdk_python-3.0.1309.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,917 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ import warnings
17
+
18
+ from tencentcloud.common.abstract_model import AbstractModel
19
+
20
+
21
+ class AcceptTccVpcEndPointConnectRequest(AbstractModel):
22
+ """AcceptTccVpcEndPointConnect请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _EndPointServiceId: 终端节点服务Id
29
+ :type EndPointServiceId: str
30
+ :param _EndPointId: 终端节点id
31
+ :type EndPointId: list of str
32
+ :param _AcceptFlag: 是否接受连接
33
+ :type AcceptFlag: bool
34
+ """
35
+ self._EndPointServiceId = None
36
+ self._EndPointId = None
37
+ self._AcceptFlag = None
38
+
39
+ @property
40
+ def EndPointServiceId(self):
41
+ """终端节点服务Id
42
+ :rtype: str
43
+ """
44
+ return self._EndPointServiceId
45
+
46
+ @EndPointServiceId.setter
47
+ def EndPointServiceId(self, EndPointServiceId):
48
+ self._EndPointServiceId = EndPointServiceId
49
+
50
+ @property
51
+ def EndPointId(self):
52
+ """终端节点id
53
+ :rtype: list of str
54
+ """
55
+ return self._EndPointId
56
+
57
+ @EndPointId.setter
58
+ def EndPointId(self, EndPointId):
59
+ self._EndPointId = EndPointId
60
+
61
+ @property
62
+ def AcceptFlag(self):
63
+ """是否接受连接
64
+ :rtype: bool
65
+ """
66
+ return self._AcceptFlag
67
+
68
+ @AcceptFlag.setter
69
+ def AcceptFlag(self, AcceptFlag):
70
+ self._AcceptFlag = AcceptFlag
71
+
72
+
73
+ def _deserialize(self, params):
74
+ self._EndPointServiceId = params.get("EndPointServiceId")
75
+ self._EndPointId = params.get("EndPointId")
76
+ self._AcceptFlag = params.get("AcceptFlag")
77
+ memeber_set = set(params.keys())
78
+ for name, value in vars(self).items():
79
+ property_name = name[1:]
80
+ if property_name in memeber_set:
81
+ memeber_set.remove(property_name)
82
+ if len(memeber_set) > 0:
83
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
84
+
85
+
86
+
87
+ class AcceptTccVpcEndPointConnectResponse(AbstractModel):
88
+ """AcceptTccVpcEndPointConnect返回参数结构体
89
+
90
+ """
91
+
92
+ def __init__(self):
93
+ r"""
94
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
95
+ :type RequestId: str
96
+ """
97
+ self._RequestId = None
98
+
99
+ @property
100
+ def RequestId(self):
101
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
102
+ :rtype: str
103
+ """
104
+ return self._RequestId
105
+
106
+ @RequestId.setter
107
+ def RequestId(self, RequestId):
108
+ self._RequestId = RequestId
109
+
110
+
111
+ def _deserialize(self, params):
112
+ self._RequestId = params.get("RequestId")
113
+
114
+
115
+ class BindTccVpcEndPointServiceWhiteListRequest(AbstractModel):
116
+ """BindTccVpcEndPointServiceWhiteList请求参数结构体
117
+
118
+ """
119
+
120
+ def __init__(self):
121
+ r"""
122
+ :param _EndPointServiceId: 终端节点服务Id
123
+ :type EndPointServiceId: str
124
+ :param _UserUin: 需要开白的用户Uin
125
+ :type UserUin: str
126
+ :param _Description: 用户描述
127
+ :type Description: str
128
+ """
129
+ self._EndPointServiceId = None
130
+ self._UserUin = None
131
+ self._Description = None
132
+
133
+ @property
134
+ def EndPointServiceId(self):
135
+ """终端节点服务Id
136
+ :rtype: str
137
+ """
138
+ return self._EndPointServiceId
139
+
140
+ @EndPointServiceId.setter
141
+ def EndPointServiceId(self, EndPointServiceId):
142
+ self._EndPointServiceId = EndPointServiceId
143
+
144
+ @property
145
+ def UserUin(self):
146
+ """需要开白的用户Uin
147
+ :rtype: str
148
+ """
149
+ return self._UserUin
150
+
151
+ @UserUin.setter
152
+ def UserUin(self, UserUin):
153
+ self._UserUin = UserUin
154
+
155
+ @property
156
+ def Description(self):
157
+ """用户描述
158
+ :rtype: str
159
+ """
160
+ return self._Description
161
+
162
+ @Description.setter
163
+ def Description(self, Description):
164
+ self._Description = Description
165
+
166
+
167
+ def _deserialize(self, params):
168
+ self._EndPointServiceId = params.get("EndPointServiceId")
169
+ self._UserUin = params.get("UserUin")
170
+ self._Description = params.get("Description")
171
+ memeber_set = set(params.keys())
172
+ for name, value in vars(self).items():
173
+ property_name = name[1:]
174
+ if property_name in memeber_set:
175
+ memeber_set.remove(property_name)
176
+ if len(memeber_set) > 0:
177
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
178
+
179
+
180
+
181
+ class BindTccVpcEndPointServiceWhiteListResponse(AbstractModel):
182
+ """BindTccVpcEndPointServiceWhiteList返回参数结构体
183
+
184
+ """
185
+
186
+ def __init__(self):
187
+ r"""
188
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
189
+ :type RequestId: str
190
+ """
191
+ self._RequestId = None
192
+
193
+ @property
194
+ def RequestId(self):
195
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
196
+ :rtype: str
197
+ """
198
+ return self._RequestId
199
+
200
+ @RequestId.setter
201
+ def RequestId(self, RequestId):
202
+ self._RequestId = RequestId
203
+
204
+
205
+ def _deserialize(self, params):
206
+ self._RequestId = params.get("RequestId")
207
+
208
+
209
+ class DescribeTccCatalogRequest(AbstractModel):
210
+ """DescribeTccCatalog请求参数结构体
211
+
212
+ """
213
+
214
+ def __init__(self):
215
+ r"""
216
+ :param _CatalogId: 数据目录Id
217
+ :type CatalogId: str
218
+ """
219
+ self._CatalogId = None
220
+
221
+ @property
222
+ def CatalogId(self):
223
+ """数据目录Id
224
+ :rtype: str
225
+ """
226
+ return self._CatalogId
227
+
228
+ @CatalogId.setter
229
+ def CatalogId(self, CatalogId):
230
+ self._CatalogId = CatalogId
231
+
232
+
233
+ def _deserialize(self, params):
234
+ self._CatalogId = params.get("CatalogId")
235
+ memeber_set = set(params.keys())
236
+ for name, value in vars(self).items():
237
+ property_name = name[1:]
238
+ if property_name in memeber_set:
239
+ memeber_set.remove(property_name)
240
+ if len(memeber_set) > 0:
241
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
242
+
243
+
244
+
245
+ class DescribeTccCatalogResponse(AbstractModel):
246
+ """DescribeTccCatalog返回参数结构体
247
+
248
+ """
249
+
250
+ def __init__(self):
251
+ r"""
252
+ :param _TccCatalog: Tcc数据目录信息
253
+ :type TccCatalog: :class:`tencentcloud.tccatalog.v20241024.models.TccCatalogConfig`
254
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
255
+ :type RequestId: str
256
+ """
257
+ self._TccCatalog = None
258
+ self._RequestId = None
259
+
260
+ @property
261
+ def TccCatalog(self):
262
+ """Tcc数据目录信息
263
+ :rtype: :class:`tencentcloud.tccatalog.v20241024.models.TccCatalogConfig`
264
+ """
265
+ return self._TccCatalog
266
+
267
+ @TccCatalog.setter
268
+ def TccCatalog(self, TccCatalog):
269
+ self._TccCatalog = TccCatalog
270
+
271
+ @property
272
+ def RequestId(self):
273
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
274
+ :rtype: str
275
+ """
276
+ return self._RequestId
277
+
278
+ @RequestId.setter
279
+ def RequestId(self, RequestId):
280
+ self._RequestId = RequestId
281
+
282
+
283
+ def _deserialize(self, params):
284
+ if params.get("TccCatalog") is not None:
285
+ self._TccCatalog = TccCatalogConfig()
286
+ self._TccCatalog._deserialize(params.get("TccCatalog"))
287
+ self._RequestId = params.get("RequestId")
288
+
289
+
290
+ class DescribeTccCatalogsRequest(AbstractModel):
291
+ """DescribeTccCatalogs请求参数结构体
292
+
293
+ """
294
+
295
+ def __init__(self):
296
+ r"""
297
+ :param _CatalogId: 数据目录Id
298
+ :type CatalogId: str
299
+ :param _Name: 数据目录名称
300
+ :type Name: str
301
+ :param _Type: 数据目录类型,当前支持:TCC-HIVE
302
+ :type Type: str
303
+ :param _Status: 状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
304
+ :type Status: int
305
+ :param _Operator: 操作人uin
306
+ :type Operator: str
307
+ """
308
+ self._CatalogId = None
309
+ self._Name = None
310
+ self._Type = None
311
+ self._Status = None
312
+ self._Operator = None
313
+
314
+ @property
315
+ def CatalogId(self):
316
+ """数据目录Id
317
+ :rtype: str
318
+ """
319
+ return self._CatalogId
320
+
321
+ @CatalogId.setter
322
+ def CatalogId(self, CatalogId):
323
+ self._CatalogId = CatalogId
324
+
325
+ @property
326
+ def Name(self):
327
+ """数据目录名称
328
+ :rtype: str
329
+ """
330
+ return self._Name
331
+
332
+ @Name.setter
333
+ def Name(self, Name):
334
+ self._Name = Name
335
+
336
+ @property
337
+ def Type(self):
338
+ """数据目录类型,当前支持:TCC-HIVE
339
+ :rtype: str
340
+ """
341
+ return self._Type
342
+
343
+ @Type.setter
344
+ def Type(self, Type):
345
+ self._Type = Type
346
+
347
+ @property
348
+ def Status(self):
349
+ """状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
350
+ :rtype: int
351
+ """
352
+ return self._Status
353
+
354
+ @Status.setter
355
+ def Status(self, Status):
356
+ self._Status = Status
357
+
358
+ @property
359
+ def Operator(self):
360
+ """操作人uin
361
+ :rtype: str
362
+ """
363
+ return self._Operator
364
+
365
+ @Operator.setter
366
+ def Operator(self, Operator):
367
+ self._Operator = Operator
368
+
369
+
370
+ def _deserialize(self, params):
371
+ self._CatalogId = params.get("CatalogId")
372
+ self._Name = params.get("Name")
373
+ self._Type = params.get("Type")
374
+ self._Status = params.get("Status")
375
+ self._Operator = params.get("Operator")
376
+ memeber_set = set(params.keys())
377
+ for name, value in vars(self).items():
378
+ property_name = name[1:]
379
+ if property_name in memeber_set:
380
+ memeber_set.remove(property_name)
381
+ if len(memeber_set) > 0:
382
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
383
+
384
+
385
+
386
+ class DescribeTccCatalogsResponse(AbstractModel):
387
+ """DescribeTccCatalogs返回参数结构体
388
+
389
+ """
390
+
391
+ def __init__(self):
392
+ r"""
393
+ :param _TccCatalogSet: 数据目录列表
394
+ :type TccCatalogSet: list of TccCatalogSet
395
+ :param _Total: 总数
396
+ :type Total: int
397
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
398
+ :type RequestId: str
399
+ """
400
+ self._TccCatalogSet = None
401
+ self._Total = None
402
+ self._RequestId = None
403
+
404
+ @property
405
+ def TccCatalogSet(self):
406
+ """数据目录列表
407
+ :rtype: list of TccCatalogSet
408
+ """
409
+ return self._TccCatalogSet
410
+
411
+ @TccCatalogSet.setter
412
+ def TccCatalogSet(self, TccCatalogSet):
413
+ self._TccCatalogSet = TccCatalogSet
414
+
415
+ @property
416
+ def Total(self):
417
+ """总数
418
+ :rtype: int
419
+ """
420
+ return self._Total
421
+
422
+ @Total.setter
423
+ def Total(self, Total):
424
+ self._Total = Total
425
+
426
+ @property
427
+ def RequestId(self):
428
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
429
+ :rtype: str
430
+ """
431
+ return self._RequestId
432
+
433
+ @RequestId.setter
434
+ def RequestId(self, RequestId):
435
+ self._RequestId = RequestId
436
+
437
+
438
+ def _deserialize(self, params):
439
+ if params.get("TccCatalogSet") is not None:
440
+ self._TccCatalogSet = []
441
+ for item in params.get("TccCatalogSet"):
442
+ obj = TccCatalogSet()
443
+ obj._deserialize(item)
444
+ self._TccCatalogSet.append(obj)
445
+ self._Total = params.get("Total")
446
+ self._RequestId = params.get("RequestId")
447
+
448
+
449
+ class NetWork(AbstractModel):
450
+ """网络配置信息
451
+
452
+ """
453
+
454
+ def __init__(self):
455
+ r"""
456
+ :param _VpcId: vpc实例id
457
+ :type VpcId: str
458
+ :param _VpcCidrBlock: vpc网段
459
+ :type VpcCidrBlock: str
460
+ :param _SubnetId: 子网实例id
461
+ :type SubnetId: str
462
+ :param _SubnetCidrBlock: 子网网段
463
+ :type SubnetCidrBlock: str
464
+ """
465
+ self._VpcId = None
466
+ self._VpcCidrBlock = None
467
+ self._SubnetId = None
468
+ self._SubnetCidrBlock = None
469
+
470
+ @property
471
+ def VpcId(self):
472
+ """vpc实例id
473
+ :rtype: str
474
+ """
475
+ return self._VpcId
476
+
477
+ @VpcId.setter
478
+ def VpcId(self, VpcId):
479
+ self._VpcId = VpcId
480
+
481
+ @property
482
+ def VpcCidrBlock(self):
483
+ """vpc网段
484
+ :rtype: str
485
+ """
486
+ return self._VpcCidrBlock
487
+
488
+ @VpcCidrBlock.setter
489
+ def VpcCidrBlock(self, VpcCidrBlock):
490
+ self._VpcCidrBlock = VpcCidrBlock
491
+
492
+ @property
493
+ def SubnetId(self):
494
+ """子网实例id
495
+ :rtype: str
496
+ """
497
+ return self._SubnetId
498
+
499
+ @SubnetId.setter
500
+ def SubnetId(self, SubnetId):
501
+ self._SubnetId = SubnetId
502
+
503
+ @property
504
+ def SubnetCidrBlock(self):
505
+ """子网网段
506
+ :rtype: str
507
+ """
508
+ return self._SubnetCidrBlock
509
+
510
+ @SubnetCidrBlock.setter
511
+ def SubnetCidrBlock(self, SubnetCidrBlock):
512
+ self._SubnetCidrBlock = SubnetCidrBlock
513
+
514
+
515
+ def _deserialize(self, params):
516
+ self._VpcId = params.get("VpcId")
517
+ self._VpcCidrBlock = params.get("VpcCidrBlock")
518
+ self._SubnetId = params.get("SubnetId")
519
+ self._SubnetCidrBlock = params.get("SubnetCidrBlock")
520
+ memeber_set = set(params.keys())
521
+ for name, value in vars(self).items():
522
+ property_name = name[1:]
523
+ if property_name in memeber_set:
524
+ memeber_set.remove(property_name)
525
+ if len(memeber_set) > 0:
526
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
527
+
528
+
529
+
530
+ class TccCatalogConfig(AbstractModel):
531
+ """Tcc数据目录信息
532
+
533
+ """
534
+
535
+ def __init__(self):
536
+ r"""
537
+ :param _Id: 数据目录唯一id
538
+ :type Id: str
539
+ :param _Name: 数据目录名字
540
+ :type Name: str
541
+ :param _Type: 数据目录类型,当前支持:TCC-HIVE
542
+ :type Type: str
543
+ :param _Comment: 描述信息
544
+ :type Comment: str
545
+ :param _Status: 状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
546
+ :type Status: int
547
+ :param _Connection: Tcc数据目录连接信息
548
+ :type Connection: :class:`tencentcloud.tccatalog.v20241024.models.TccConnectionConfig`
549
+ :param _Operator: 操作人uin
550
+ :type Operator: str
551
+ :param _CreateTime: 创建时间
552
+ :type CreateTime: str
553
+ :param _UpdateTime: 更新时间
554
+ :type UpdateTime: str
555
+ """
556
+ self._Id = None
557
+ self._Name = None
558
+ self._Type = None
559
+ self._Comment = None
560
+ self._Status = None
561
+ self._Connection = None
562
+ self._Operator = None
563
+ self._CreateTime = None
564
+ self._UpdateTime = None
565
+
566
+ @property
567
+ def Id(self):
568
+ """数据目录唯一id
569
+ :rtype: str
570
+ """
571
+ return self._Id
572
+
573
+ @Id.setter
574
+ def Id(self, Id):
575
+ self._Id = Id
576
+
577
+ @property
578
+ def Name(self):
579
+ """数据目录名字
580
+ :rtype: str
581
+ """
582
+ return self._Name
583
+
584
+ @Name.setter
585
+ def Name(self, Name):
586
+ self._Name = Name
587
+
588
+ @property
589
+ def Type(self):
590
+ """数据目录类型,当前支持:TCC-HIVE
591
+ :rtype: str
592
+ """
593
+ return self._Type
594
+
595
+ @Type.setter
596
+ def Type(self, Type):
597
+ self._Type = Type
598
+
599
+ @property
600
+ def Comment(self):
601
+ """描述信息
602
+ :rtype: str
603
+ """
604
+ return self._Comment
605
+
606
+ @Comment.setter
607
+ def Comment(self, Comment):
608
+ self._Comment = Comment
609
+
610
+ @property
611
+ def Status(self):
612
+ """状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
613
+ :rtype: int
614
+ """
615
+ return self._Status
616
+
617
+ @Status.setter
618
+ def Status(self, Status):
619
+ self._Status = Status
620
+
621
+ @property
622
+ def Connection(self):
623
+ """Tcc数据目录连接信息
624
+ :rtype: :class:`tencentcloud.tccatalog.v20241024.models.TccConnectionConfig`
625
+ """
626
+ return self._Connection
627
+
628
+ @Connection.setter
629
+ def Connection(self, Connection):
630
+ self._Connection = Connection
631
+
632
+ @property
633
+ def Operator(self):
634
+ """操作人uin
635
+ :rtype: str
636
+ """
637
+ return self._Operator
638
+
639
+ @Operator.setter
640
+ def Operator(self, Operator):
641
+ self._Operator = Operator
642
+
643
+ @property
644
+ def CreateTime(self):
645
+ """创建时间
646
+ :rtype: str
647
+ """
648
+ return self._CreateTime
649
+
650
+ @CreateTime.setter
651
+ def CreateTime(self, CreateTime):
652
+ self._CreateTime = CreateTime
653
+
654
+ @property
655
+ def UpdateTime(self):
656
+ """更新时间
657
+ :rtype: str
658
+ """
659
+ return self._UpdateTime
660
+
661
+ @UpdateTime.setter
662
+ def UpdateTime(self, UpdateTime):
663
+ self._UpdateTime = UpdateTime
664
+
665
+
666
+ def _deserialize(self, params):
667
+ self._Id = params.get("Id")
668
+ self._Name = params.get("Name")
669
+ self._Type = params.get("Type")
670
+ self._Comment = params.get("Comment")
671
+ self._Status = params.get("Status")
672
+ if params.get("Connection") is not None:
673
+ self._Connection = TccConnectionConfig()
674
+ self._Connection._deserialize(params.get("Connection"))
675
+ self._Operator = params.get("Operator")
676
+ self._CreateTime = params.get("CreateTime")
677
+ self._UpdateTime = params.get("UpdateTime")
678
+ memeber_set = set(params.keys())
679
+ for name, value in vars(self).items():
680
+ property_name = name[1:]
681
+ if property_name in memeber_set:
682
+ memeber_set.remove(property_name)
683
+ if len(memeber_set) > 0:
684
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
685
+
686
+
687
+
688
+ class TccCatalogSet(AbstractModel):
689
+ """Tcc数据目录信息集合
690
+
691
+ """
692
+
693
+ def __init__(self):
694
+ r"""
695
+ :param _Id: 数据目录唯一id
696
+ :type Id: str
697
+ :param _Name: 数据目录名字
698
+ :type Name: str
699
+ :param _Type: 数据目录类型,当前支持:TCC-HIVE
700
+ :type Type: str
701
+ :param _Status: 状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
702
+ :type Status: int
703
+ :param _Operator: 操作人uin
704
+ :type Operator: str
705
+ :param _CreateTime: 创建时间
706
+ :type CreateTime: str
707
+ :param _UpdateTime: 更新时间
708
+ :type UpdateTime: str
709
+ """
710
+ self._Id = None
711
+ self._Name = None
712
+ self._Type = None
713
+ self._Status = None
714
+ self._Operator = None
715
+ self._CreateTime = None
716
+ self._UpdateTime = None
717
+
718
+ @property
719
+ def Id(self):
720
+ """数据目录唯一id
721
+ :rtype: str
722
+ """
723
+ return self._Id
724
+
725
+ @Id.setter
726
+ def Id(self, Id):
727
+ self._Id = Id
728
+
729
+ @property
730
+ def Name(self):
731
+ """数据目录名字
732
+ :rtype: str
733
+ """
734
+ return self._Name
735
+
736
+ @Name.setter
737
+ def Name(self, Name):
738
+ self._Name = Name
739
+
740
+ @property
741
+ def Type(self):
742
+ """数据目录类型,当前支持:TCC-HIVE
743
+ :rtype: str
744
+ """
745
+ return self._Type
746
+
747
+ @Type.setter
748
+ def Type(self, Type):
749
+ self._Type = Type
750
+
751
+ @property
752
+ def Status(self):
753
+ """状态信息:注册中0,待测试1,连接成功2,连接失败3,删除中4,已删除5
754
+ :rtype: int
755
+ """
756
+ return self._Status
757
+
758
+ @Status.setter
759
+ def Status(self, Status):
760
+ self._Status = Status
761
+
762
+ @property
763
+ def Operator(self):
764
+ """操作人uin
765
+ :rtype: str
766
+ """
767
+ return self._Operator
768
+
769
+ @Operator.setter
770
+ def Operator(self, Operator):
771
+ self._Operator = Operator
772
+
773
+ @property
774
+ def CreateTime(self):
775
+ """创建时间
776
+ :rtype: str
777
+ """
778
+ return self._CreateTime
779
+
780
+ @CreateTime.setter
781
+ def CreateTime(self, CreateTime):
782
+ self._CreateTime = CreateTime
783
+
784
+ @property
785
+ def UpdateTime(self):
786
+ """更新时间
787
+ :rtype: str
788
+ """
789
+ return self._UpdateTime
790
+
791
+ @UpdateTime.setter
792
+ def UpdateTime(self, UpdateTime):
793
+ self._UpdateTime = UpdateTime
794
+
795
+
796
+ def _deserialize(self, params):
797
+ self._Id = params.get("Id")
798
+ self._Name = params.get("Name")
799
+ self._Type = params.get("Type")
800
+ self._Status = params.get("Status")
801
+ self._Operator = params.get("Operator")
802
+ self._CreateTime = params.get("CreateTime")
803
+ self._UpdateTime = params.get("UpdateTime")
804
+ memeber_set = set(params.keys())
805
+ for name, value in vars(self).items():
806
+ property_name = name[1:]
807
+ if property_name in memeber_set:
808
+ memeber_set.remove(property_name)
809
+ if len(memeber_set) > 0:
810
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
811
+
812
+
813
+
814
+ class TccConnection(AbstractModel):
815
+ """Tcc数据目录连接配置
816
+
817
+ """
818
+
819
+ def __init__(self):
820
+ r"""
821
+ :param _EndpointServiceId: 终端节点服务Id
822
+ :type EndpointServiceId: str
823
+ :param _MetaStoreUrl: 元数据连接串
824
+ :type MetaStoreUrl: str
825
+ :param _NetWork: 网络信息
826
+ :type NetWork: :class:`tencentcloud.tccatalog.v20241024.models.NetWork`
827
+ """
828
+ self._EndpointServiceId = None
829
+ self._MetaStoreUrl = None
830
+ self._NetWork = None
831
+
832
+ @property
833
+ def EndpointServiceId(self):
834
+ """终端节点服务Id
835
+ :rtype: str
836
+ """
837
+ return self._EndpointServiceId
838
+
839
+ @EndpointServiceId.setter
840
+ def EndpointServiceId(self, EndpointServiceId):
841
+ self._EndpointServiceId = EndpointServiceId
842
+
843
+ @property
844
+ def MetaStoreUrl(self):
845
+ """元数据连接串
846
+ :rtype: str
847
+ """
848
+ return self._MetaStoreUrl
849
+
850
+ @MetaStoreUrl.setter
851
+ def MetaStoreUrl(self, MetaStoreUrl):
852
+ self._MetaStoreUrl = MetaStoreUrl
853
+
854
+ @property
855
+ def NetWork(self):
856
+ """ 网络信息
857
+ :rtype: :class:`tencentcloud.tccatalog.v20241024.models.NetWork`
858
+ """
859
+ return self._NetWork
860
+
861
+ @NetWork.setter
862
+ def NetWork(self, NetWork):
863
+ self._NetWork = NetWork
864
+
865
+
866
+ def _deserialize(self, params):
867
+ self._EndpointServiceId = params.get("EndpointServiceId")
868
+ self._MetaStoreUrl = params.get("MetaStoreUrl")
869
+ if params.get("NetWork") is not None:
870
+ self._NetWork = NetWork()
871
+ self._NetWork._deserialize(params.get("NetWork"))
872
+ memeber_set = set(params.keys())
873
+ for name, value in vars(self).items():
874
+ property_name = name[1:]
875
+ if property_name in memeber_set:
876
+ memeber_set.remove(property_name)
877
+ if len(memeber_set) > 0:
878
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
879
+
880
+
881
+
882
+ class TccConnectionConfig(AbstractModel):
883
+ """Tcc数据目录连接信息
884
+
885
+ """
886
+
887
+ def __init__(self):
888
+ r"""
889
+ :param _TccHive: Tcc数据目录连接配置
890
+ :type TccHive: :class:`tencentcloud.tccatalog.v20241024.models.TccConnection`
891
+ """
892
+ self._TccHive = None
893
+
894
+ @property
895
+ def TccHive(self):
896
+ """Tcc数据目录连接配置
897
+ :rtype: :class:`tencentcloud.tccatalog.v20241024.models.TccConnection`
898
+ """
899
+ return self._TccHive
900
+
901
+ @TccHive.setter
902
+ def TccHive(self, TccHive):
903
+ self._TccHive = TccHive
904
+
905
+
906
+ def _deserialize(self, params):
907
+ if params.get("TccHive") is not None:
908
+ self._TccHive = TccConnection()
909
+ self._TccHive._deserialize(params.get("TccHive"))
910
+ memeber_set = set(params.keys())
911
+ for name, value in vars(self).items():
912
+ property_name = name[1:]
913
+ if property_name in memeber_set:
914
+ memeber_set.remove(property_name)
915
+ if len(memeber_set) > 0:
916
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
917
+