tencentcloud-sdk-python 3.0.1357__py2.py3-none-any.whl → 3.0.1359__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bh/v20230418/bh_client.py +115 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +854 -28
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/models.py +559 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +15 -0
- tencentcloud/chc/v20230418/chc_client.py +23 -0
- tencentcloud/chc/v20230418/models.py +185 -2
- tencentcloud/clb/v20180317/models.py +17 -0
- tencentcloud/cls/v20201016/cls_client.py +23 -0
- tencentcloud/cls/v20201016/models.py +79 -0
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +4 -4
- tencentcloud/es/v20180416/models.py +57 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +228 -0
- tencentcloud/es/v20250101/models.py +2168 -0
- tencentcloud/ess/v20201111/ess_client.py +34 -0
- tencentcloud/ess/v20201111/models.py +137 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +120 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
- tencentcloud/hunyuan/v20230901/models.py +345 -0
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/live/v20180801/models.py +2 -14
- tencentcloud/lke/v20231130/models.py +232 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +34 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +38 -20
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/tcr/v20190924/models.py +10 -6
- tencentcloud/tdmq/v20200217/models.py +68 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +384 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +0 -298
- tencentcloud/tsf/v20180326/models.py +6 -110
- tencentcloud/tsf/v20180326/tsf_client.py +3 -1
- tencentcloud/waf/v20180125/models.py +473 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/RECORD +57 -53
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/top_level.txt +0 -0
@@ -6699,6 +6699,301 @@ class DescribeInferTemplatesResponse(AbstractModel):
|
|
6699
6699
|
self._RequestId = params.get("RequestId")
|
6700
6700
|
|
6701
6701
|
|
6702
|
+
class DescribeLogsRequest(AbstractModel):
|
6703
|
+
"""DescribeLogs请求参数结构体
|
6704
|
+
|
6705
|
+
"""
|
6706
|
+
|
6707
|
+
def __init__(self):
|
6708
|
+
r"""
|
6709
|
+
:param _Service: 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
|
6710
|
+
枚举值:
|
6711
|
+
- TRAIN
|
6712
|
+
- NOTEBOOK
|
6713
|
+
- INFER
|
6714
|
+
- BATCH
|
6715
|
+
:type Service: str
|
6716
|
+
:param _StartTime: 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
6717
|
+
:type StartTime: str
|
6718
|
+
:param _EndTime: 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
6719
|
+
:type EndTime: str
|
6720
|
+
:param _Limit: 日志查询条数,默认值100,最大值100
|
6721
|
+
:type Limit: int
|
6722
|
+
:param _ServiceId: 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
|
6723
|
+
- Service类型为TRAIN:
|
6724
|
+
调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
|
6725
|
+
- Service类型为NOTEBOOK:
|
6726
|
+
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
|
6727
|
+
- Service类型为INFER:
|
6728
|
+
调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
|
6729
|
+
- Service类型为BATCH:
|
6730
|
+
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
6731
|
+
:type ServiceId: str
|
6732
|
+
:param _PodName: Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
|
6733
|
+
- Service类型为TRAIN:
|
6734
|
+
调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
|
6735
|
+
- Service类型为NOTEBOOK:
|
6736
|
+
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
|
6737
|
+
- Service类型为INFER:
|
6738
|
+
调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
|
6739
|
+
- Service类型为BATCH:
|
6740
|
+
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList
|
6741
|
+
注:支持结尾通配符*
|
6742
|
+
:type PodName: str
|
6743
|
+
:param _Order: 排序方向(可选值为ASC, DESC ),默认为DESC
|
6744
|
+
:type Order: str
|
6745
|
+
:param _OrderField: 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
6746
|
+
:type OrderField: str
|
6747
|
+
:param _Context: 日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
|
6748
|
+
:type Context: str
|
6749
|
+
:param _Filters: 过滤条件
|
6750
|
+
注意:
|
6751
|
+
1. Filter.Name:目前只支持Key(也就是按关键字过滤日志)
|
6752
|
+
2. Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足
|
6753
|
+
3. Filter. Negative和Filter. Fuzzy没有使用
|
6754
|
+
:type Filters: list of Filter
|
6755
|
+
"""
|
6756
|
+
self._Service = None
|
6757
|
+
self._StartTime = None
|
6758
|
+
self._EndTime = None
|
6759
|
+
self._Limit = None
|
6760
|
+
self._ServiceId = None
|
6761
|
+
self._PodName = None
|
6762
|
+
self._Order = None
|
6763
|
+
self._OrderField = None
|
6764
|
+
self._Context = None
|
6765
|
+
self._Filters = None
|
6766
|
+
|
6767
|
+
@property
|
6768
|
+
def Service(self):
|
6769
|
+
"""服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
|
6770
|
+
枚举值:
|
6771
|
+
- TRAIN
|
6772
|
+
- NOTEBOOK
|
6773
|
+
- INFER
|
6774
|
+
- BATCH
|
6775
|
+
:rtype: str
|
6776
|
+
"""
|
6777
|
+
return self._Service
|
6778
|
+
|
6779
|
+
@Service.setter
|
6780
|
+
def Service(self, Service):
|
6781
|
+
self._Service = Service
|
6782
|
+
|
6783
|
+
@property
|
6784
|
+
def StartTime(self):
|
6785
|
+
"""日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
6786
|
+
:rtype: str
|
6787
|
+
"""
|
6788
|
+
return self._StartTime
|
6789
|
+
|
6790
|
+
@StartTime.setter
|
6791
|
+
def StartTime(self, StartTime):
|
6792
|
+
self._StartTime = StartTime
|
6793
|
+
|
6794
|
+
@property
|
6795
|
+
def EndTime(self):
|
6796
|
+
"""日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
6797
|
+
:rtype: str
|
6798
|
+
"""
|
6799
|
+
return self._EndTime
|
6800
|
+
|
6801
|
+
@EndTime.setter
|
6802
|
+
def EndTime(self, EndTime):
|
6803
|
+
self._EndTime = EndTime
|
6804
|
+
|
6805
|
+
@property
|
6806
|
+
def Limit(self):
|
6807
|
+
"""日志查询条数,默认值100,最大值100
|
6808
|
+
:rtype: int
|
6809
|
+
"""
|
6810
|
+
return self._Limit
|
6811
|
+
|
6812
|
+
@Limit.setter
|
6813
|
+
def Limit(self, Limit):
|
6814
|
+
self._Limit = Limit
|
6815
|
+
|
6816
|
+
@property
|
6817
|
+
def ServiceId(self):
|
6818
|
+
"""服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
|
6819
|
+
- Service类型为TRAIN:
|
6820
|
+
调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
|
6821
|
+
- Service类型为NOTEBOOK:
|
6822
|
+
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
|
6823
|
+
- Service类型为INFER:
|
6824
|
+
调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
|
6825
|
+
- Service类型为BATCH:
|
6826
|
+
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
6827
|
+
:rtype: str
|
6828
|
+
"""
|
6829
|
+
return self._ServiceId
|
6830
|
+
|
6831
|
+
@ServiceId.setter
|
6832
|
+
def ServiceId(self, ServiceId):
|
6833
|
+
self._ServiceId = ServiceId
|
6834
|
+
|
6835
|
+
@property
|
6836
|
+
def PodName(self):
|
6837
|
+
"""Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:
|
6838
|
+
- Service类型为TRAIN:
|
6839
|
+
调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames
|
6840
|
+
- Service类型为NOTEBOOK:
|
6841
|
+
调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName
|
6842
|
+
- Service类型为INFER:
|
6843
|
+
调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos
|
6844
|
+
- Service类型为BATCH:
|
6845
|
+
调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList
|
6846
|
+
注:支持结尾通配符*
|
6847
|
+
:rtype: str
|
6848
|
+
"""
|
6849
|
+
return self._PodName
|
6850
|
+
|
6851
|
+
@PodName.setter
|
6852
|
+
def PodName(self, PodName):
|
6853
|
+
self._PodName = PodName
|
6854
|
+
|
6855
|
+
@property
|
6856
|
+
def Order(self):
|
6857
|
+
"""排序方向(可选值为ASC, DESC ),默认为DESC
|
6858
|
+
:rtype: str
|
6859
|
+
"""
|
6860
|
+
return self._Order
|
6861
|
+
|
6862
|
+
@Order.setter
|
6863
|
+
def Order(self, Order):
|
6864
|
+
self._Order = Order
|
6865
|
+
|
6866
|
+
@property
|
6867
|
+
def OrderField(self):
|
6868
|
+
"""按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
6869
|
+
:rtype: str
|
6870
|
+
"""
|
6871
|
+
return self._OrderField
|
6872
|
+
|
6873
|
+
@OrderField.setter
|
6874
|
+
def OrderField(self, OrderField):
|
6875
|
+
self._OrderField = OrderField
|
6876
|
+
|
6877
|
+
@property
|
6878
|
+
def Context(self):
|
6879
|
+
"""日志查询上下文,查询下一页的时候需要回传这个字段,该字段来自本接口的返回
|
6880
|
+
:rtype: str
|
6881
|
+
"""
|
6882
|
+
return self._Context
|
6883
|
+
|
6884
|
+
@Context.setter
|
6885
|
+
def Context(self, Context):
|
6886
|
+
self._Context = Context
|
6887
|
+
|
6888
|
+
@property
|
6889
|
+
def Filters(self):
|
6890
|
+
"""过滤条件
|
6891
|
+
注意:
|
6892
|
+
1. Filter.Name:目前只支持Key(也就是按关键字过滤日志)
|
6893
|
+
2. Filter.Values:表示过滤日志的关键字;Values为多个的时候表示同时满足
|
6894
|
+
3. Filter. Negative和Filter. Fuzzy没有使用
|
6895
|
+
:rtype: list of Filter
|
6896
|
+
"""
|
6897
|
+
return self._Filters
|
6898
|
+
|
6899
|
+
@Filters.setter
|
6900
|
+
def Filters(self, Filters):
|
6901
|
+
self._Filters = Filters
|
6902
|
+
|
6903
|
+
|
6904
|
+
def _deserialize(self, params):
|
6905
|
+
self._Service = params.get("Service")
|
6906
|
+
self._StartTime = params.get("StartTime")
|
6907
|
+
self._EndTime = params.get("EndTime")
|
6908
|
+
self._Limit = params.get("Limit")
|
6909
|
+
self._ServiceId = params.get("ServiceId")
|
6910
|
+
self._PodName = params.get("PodName")
|
6911
|
+
self._Order = params.get("Order")
|
6912
|
+
self._OrderField = params.get("OrderField")
|
6913
|
+
self._Context = params.get("Context")
|
6914
|
+
if params.get("Filters") is not None:
|
6915
|
+
self._Filters = []
|
6916
|
+
for item in params.get("Filters"):
|
6917
|
+
obj = Filter()
|
6918
|
+
obj._deserialize(item)
|
6919
|
+
self._Filters.append(obj)
|
6920
|
+
memeber_set = set(params.keys())
|
6921
|
+
for name, value in vars(self).items():
|
6922
|
+
property_name = name[1:]
|
6923
|
+
if property_name in memeber_set:
|
6924
|
+
memeber_set.remove(property_name)
|
6925
|
+
if len(memeber_set) > 0:
|
6926
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6927
|
+
|
6928
|
+
|
6929
|
+
|
6930
|
+
class DescribeLogsResponse(AbstractModel):
|
6931
|
+
"""DescribeLogs返回参数结构体
|
6932
|
+
|
6933
|
+
"""
|
6934
|
+
|
6935
|
+
def __init__(self):
|
6936
|
+
r"""
|
6937
|
+
:param _Context: 分页的游标
|
6938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6939
|
+
:type Context: str
|
6940
|
+
:param _Content: 日志数组
|
6941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6942
|
+
:type Content: list of LogIdentity
|
6943
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6944
|
+
:type RequestId: str
|
6945
|
+
"""
|
6946
|
+
self._Context = None
|
6947
|
+
self._Content = None
|
6948
|
+
self._RequestId = None
|
6949
|
+
|
6950
|
+
@property
|
6951
|
+
def Context(self):
|
6952
|
+
"""分页的游标
|
6953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6954
|
+
:rtype: str
|
6955
|
+
"""
|
6956
|
+
return self._Context
|
6957
|
+
|
6958
|
+
@Context.setter
|
6959
|
+
def Context(self, Context):
|
6960
|
+
self._Context = Context
|
6961
|
+
|
6962
|
+
@property
|
6963
|
+
def Content(self):
|
6964
|
+
"""日志数组
|
6965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6966
|
+
:rtype: list of LogIdentity
|
6967
|
+
"""
|
6968
|
+
return self._Content
|
6969
|
+
|
6970
|
+
@Content.setter
|
6971
|
+
def Content(self, Content):
|
6972
|
+
self._Content = Content
|
6973
|
+
|
6974
|
+
@property
|
6975
|
+
def RequestId(self):
|
6976
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6977
|
+
:rtype: str
|
6978
|
+
"""
|
6979
|
+
return self._RequestId
|
6980
|
+
|
6981
|
+
@RequestId.setter
|
6982
|
+
def RequestId(self, RequestId):
|
6983
|
+
self._RequestId = RequestId
|
6984
|
+
|
6985
|
+
|
6986
|
+
def _deserialize(self, params):
|
6987
|
+
self._Context = params.get("Context")
|
6988
|
+
if params.get("Content") is not None:
|
6989
|
+
self._Content = []
|
6990
|
+
for item in params.get("Content"):
|
6991
|
+
obj = LogIdentity()
|
6992
|
+
obj._deserialize(item)
|
6993
|
+
self._Content.append(obj)
|
6994
|
+
self._RequestId = params.get("RequestId")
|
6995
|
+
|
6996
|
+
|
6702
6997
|
class DescribeModelAccelerateTaskRequest(AbstractModel):
|
6703
6998
|
"""DescribeModelAccelerateTask请求参数结构体
|
6704
6999
|
|
@@ -10535,6 +10830,95 @@ class LogConfig(AbstractModel):
|
|
10535
10830
|
|
10536
10831
|
|
10537
10832
|
|
10833
|
+
class LogIdentity(AbstractModel):
|
10834
|
+
"""单条日志数据结构
|
10835
|
+
|
10836
|
+
"""
|
10837
|
+
|
10838
|
+
def __init__(self):
|
10839
|
+
r"""
|
10840
|
+
:param _Id: 单条日志的ID
|
10841
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10842
|
+
:type Id: str
|
10843
|
+
:param _Message: 单条日志的内容
|
10844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10845
|
+
:type Message: str
|
10846
|
+
:param _PodName: 这条日志对应的Pod名称
|
10847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10848
|
+
:type PodName: str
|
10849
|
+
:param _Timestamp: 日志的时间戳(RFC3339格式的时间字符串)
|
10850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10851
|
+
:type Timestamp: str
|
10852
|
+
"""
|
10853
|
+
self._Id = None
|
10854
|
+
self._Message = None
|
10855
|
+
self._PodName = None
|
10856
|
+
self._Timestamp = None
|
10857
|
+
|
10858
|
+
@property
|
10859
|
+
def Id(self):
|
10860
|
+
"""单条日志的ID
|
10861
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10862
|
+
:rtype: str
|
10863
|
+
"""
|
10864
|
+
return self._Id
|
10865
|
+
|
10866
|
+
@Id.setter
|
10867
|
+
def Id(self, Id):
|
10868
|
+
self._Id = Id
|
10869
|
+
|
10870
|
+
@property
|
10871
|
+
def Message(self):
|
10872
|
+
"""单条日志的内容
|
10873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10874
|
+
:rtype: str
|
10875
|
+
"""
|
10876
|
+
return self._Message
|
10877
|
+
|
10878
|
+
@Message.setter
|
10879
|
+
def Message(self, Message):
|
10880
|
+
self._Message = Message
|
10881
|
+
|
10882
|
+
@property
|
10883
|
+
def PodName(self):
|
10884
|
+
"""这条日志对应的Pod名称
|
10885
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10886
|
+
:rtype: str
|
10887
|
+
"""
|
10888
|
+
return self._PodName
|
10889
|
+
|
10890
|
+
@PodName.setter
|
10891
|
+
def PodName(self, PodName):
|
10892
|
+
self._PodName = PodName
|
10893
|
+
|
10894
|
+
@property
|
10895
|
+
def Timestamp(self):
|
10896
|
+
"""日志的时间戳(RFC3339格式的时间字符串)
|
10897
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10898
|
+
:rtype: str
|
10899
|
+
"""
|
10900
|
+
return self._Timestamp
|
10901
|
+
|
10902
|
+
@Timestamp.setter
|
10903
|
+
def Timestamp(self, Timestamp):
|
10904
|
+
self._Timestamp = Timestamp
|
10905
|
+
|
10906
|
+
|
10907
|
+
def _deserialize(self, params):
|
10908
|
+
self._Id = params.get("Id")
|
10909
|
+
self._Message = params.get("Message")
|
10910
|
+
self._PodName = params.get("PodName")
|
10911
|
+
self._Timestamp = params.get("Timestamp")
|
10912
|
+
memeber_set = set(params.keys())
|
10913
|
+
for name, value in vars(self).items():
|
10914
|
+
property_name = name[1:]
|
10915
|
+
if property_name in memeber_set:
|
10916
|
+
memeber_set.remove(property_name)
|
10917
|
+
if len(memeber_set) > 0:
|
10918
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10919
|
+
|
10920
|
+
|
10921
|
+
|
10538
10922
|
class Message(AbstractModel):
|
10539
10923
|
"""对话输入内容
|
10540
10924
|
|
@@ -534,6 +534,29 @@ class TioneClient(AbstractClient):
|
|
534
534
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
535
535
|
|
536
536
|
|
537
|
+
def DescribeLogs(self, request):
|
538
|
+
"""获取任务式建模训练任务,Notebook,在线服务和批量预测任务的日志API
|
539
|
+
|
540
|
+
:param request: Request instance for DescribeLogs.
|
541
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeLogsRequest`
|
542
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.DescribeLogsResponse`
|
543
|
+
|
544
|
+
"""
|
545
|
+
try:
|
546
|
+
params = request._serialize()
|
547
|
+
headers = request.headers
|
548
|
+
body = self.call("DescribeLogs", params, headers=headers)
|
549
|
+
response = json.loads(body)
|
550
|
+
model = models.DescribeLogsResponse()
|
551
|
+
model._deserialize(response["Response"])
|
552
|
+
return model
|
553
|
+
except Exception as e:
|
554
|
+
if isinstance(e, TencentCloudSDKException):
|
555
|
+
raise
|
556
|
+
else:
|
557
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
558
|
+
|
559
|
+
|
537
560
|
def DescribeModelAccelerateTask(self, request):
|
538
561
|
"""查询模型优化任务详情
|
539
562
|
|
@@ -11823,12 +11823,9 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
11823
11823
|
:type RoomId: str
|
11824
11824
|
:param _TranscriptionParams: 转录机器人的参数。
|
11825
11825
|
:type TranscriptionParams: :class:`tencentcloud.trtc.v20190722.models.TranscriptionParams`
|
11826
|
-
:param _SessionId: 调用方传入的唯一Id
|
11826
|
+
:param _SessionId: 调用方传入的唯一Id,服务端用来任务去重,重复的任务会发起失败。服务端固定使用SdkAppId+RoomId+RoomIdType+RobotUserId来去重,如果传入了SessionId,也会使用SessionId去重。
|
11827
11827
|
注意:
|
11828
|
-
|
11829
|
-
如果不传该参数,服务端的去重策略如下:
|
11830
|
-
- 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
|
11831
|
-
- 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
|
11828
|
+
TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
|
11832
11829
|
:type SessionId: str
|
11833
11830
|
:param _RoomIdType: TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
|
11834
11831
|
:type RoomIdType: int
|
@@ -11877,12 +11874,9 @@ class StartAITranscriptionRequest(AbstractModel):
|
|
11877
11874
|
|
11878
11875
|
@property
|
11879
11876
|
def SessionId(self):
|
11880
|
-
"""调用方传入的唯一Id
|
11877
|
+
"""调用方传入的唯一Id,服务端用来任务去重,重复的任务会发起失败。服务端固定使用SdkAppId+RoomId+RoomIdType+RobotUserId来去重,如果传入了SessionId,也会使用SessionId去重。
|
11881
11878
|
注意:
|
11882
|
-
|
11883
|
-
如果不传该参数,服务端的去重策略如下:
|
11884
|
-
- 如果TranscriptionMode字段是0,则一个房间只能开启一个任务
|
11885
|
-
- 如果TranscriptionMode字段是1,则一个TargetUserId只能开启一个任务
|
11879
|
+
TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
|
11886
11880
|
:rtype: str
|
11887
11881
|
"""
|
11888
11882
|
return self._SessionId
|
@@ -1094,6 +1094,10 @@ class TrtcClient(AbstractClient):
|
|
1094
1094
|
|
1095
1095
|
服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
|
1096
1096
|
|
1097
|
+
|
1098
|
+
**注意:**
|
1099
|
+
TranscriptionMode为0时,需要保证一个房间内只发起一个任务,如果发起多个任务,则机器人之间会相互订阅,除非主动停止任务,否则只有10小时后任务才会超时退出,这种情况下建议填写SessionId,保证后续重复发起的任务失败。
|
1100
|
+
|
1097
1101
|
:param request: Request instance for StartAITranscription.
|
1098
1102
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionRequest`
|
1099
1103
|
:rtype: :class:`tencentcloud.trtc.v20190722.models.StartAITranscriptionResponse`
|