tencentcloud-sdk-python 3.0.1153__py2.py3-none-any.whl → 3.0.1154__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.
@@ -6689,6 +6689,90 @@ class CreateIntegrationRoleResponse(AbstractModel):
6689
6689
  self._RequestId = params.get("RequestId")
6690
6690
 
6691
6691
 
6692
+ class CreateIntegrationSubOrganizationActiveRecordRequest(AbstractModel):
6693
+ """CreateIntegrationSubOrganizationActiveRecord请求参数结构体
6694
+
6695
+ """
6696
+
6697
+ def __init__(self):
6698
+ r"""
6699
+ :param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
6700
+ :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
6701
+ :param _SubOrganizationIds: 待激活成员企业ID集合
6702
+ :type SubOrganizationIds: list of str
6703
+ """
6704
+ self._Operator = None
6705
+ self._SubOrganizationIds = None
6706
+
6707
+ @property
6708
+ def Operator(self):
6709
+ return self._Operator
6710
+
6711
+ @Operator.setter
6712
+ def Operator(self, Operator):
6713
+ self._Operator = Operator
6714
+
6715
+ @property
6716
+ def SubOrganizationIds(self):
6717
+ return self._SubOrganizationIds
6718
+
6719
+ @SubOrganizationIds.setter
6720
+ def SubOrganizationIds(self, SubOrganizationIds):
6721
+ self._SubOrganizationIds = SubOrganizationIds
6722
+
6723
+
6724
+ def _deserialize(self, params):
6725
+ if params.get("Operator") is not None:
6726
+ self._Operator = UserInfo()
6727
+ self._Operator._deserialize(params.get("Operator"))
6728
+ self._SubOrganizationIds = params.get("SubOrganizationIds")
6729
+ memeber_set = set(params.keys())
6730
+ for name, value in vars(self).items():
6731
+ property_name = name[1:]
6732
+ if property_name in memeber_set:
6733
+ memeber_set.remove(property_name)
6734
+ if len(memeber_set) > 0:
6735
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6736
+
6737
+
6738
+
6739
+ class CreateIntegrationSubOrganizationActiveRecordResponse(AbstractModel):
6740
+ """CreateIntegrationSubOrganizationActiveRecord返回参数结构体
6741
+
6742
+ """
6743
+
6744
+ def __init__(self):
6745
+ r"""
6746
+ :param _FailedSubOrganizationIds: 激活失败的成员企业ID集合
6747
+ :type FailedSubOrganizationIds: list of str
6748
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6749
+ :type RequestId: str
6750
+ """
6751
+ self._FailedSubOrganizationIds = None
6752
+ self._RequestId = None
6753
+
6754
+ @property
6755
+ def FailedSubOrganizationIds(self):
6756
+ return self._FailedSubOrganizationIds
6757
+
6758
+ @FailedSubOrganizationIds.setter
6759
+ def FailedSubOrganizationIds(self, FailedSubOrganizationIds):
6760
+ self._FailedSubOrganizationIds = FailedSubOrganizationIds
6761
+
6762
+ @property
6763
+ def RequestId(self):
6764
+ return self._RequestId
6765
+
6766
+ @RequestId.setter
6767
+ def RequestId(self, RequestId):
6768
+ self._RequestId = RequestId
6769
+
6770
+
6771
+ def _deserialize(self, params):
6772
+ self._FailedSubOrganizationIds = params.get("FailedSubOrganizationIds")
6773
+ self._RequestId = params.get("RequestId")
6774
+
6775
+
6692
6776
  class CreateIntegrationUserRolesRequest(AbstractModel):
6693
6777
  """CreateIntegrationUserRoles请求参数结构体
6694
6778
 
@@ -7569,6 +7653,137 @@ class CreateOrganizationBatchSignUrlResponse(AbstractModel):
7569
7653
  self._RequestId = params.get("RequestId")
7570
7654
 
7571
7655
 
7656
+ class CreateOrganizationGroupInvitationLinkRequest(AbstractModel):
7657
+ """CreateOrganizationGroupInvitationLink请求参数结构体
7658
+
7659
+ """
7660
+
7661
+ def __init__(self):
7662
+ r"""
7663
+ :param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
7664
+ :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
7665
+ :param _ExpireTime: 到期时间(以秒为单位的时间戳),其上限为30天的有效期限。
7666
+ :type ExpireTime: int
7667
+ """
7668
+ self._Operator = None
7669
+ self._ExpireTime = None
7670
+
7671
+ @property
7672
+ def Operator(self):
7673
+ return self._Operator
7674
+
7675
+ @Operator.setter
7676
+ def Operator(self, Operator):
7677
+ self._Operator = Operator
7678
+
7679
+ @property
7680
+ def ExpireTime(self):
7681
+ return self._ExpireTime
7682
+
7683
+ @ExpireTime.setter
7684
+ def ExpireTime(self, ExpireTime):
7685
+ self._ExpireTime = ExpireTime
7686
+
7687
+
7688
+ def _deserialize(self, params):
7689
+ if params.get("Operator") is not None:
7690
+ self._Operator = UserInfo()
7691
+ self._Operator._deserialize(params.get("Operator"))
7692
+ self._ExpireTime = params.get("ExpireTime")
7693
+ memeber_set = set(params.keys())
7694
+ for name, value in vars(self).items():
7695
+ property_name = name[1:]
7696
+ if property_name in memeber_set:
7697
+ memeber_set.remove(property_name)
7698
+ if len(memeber_set) > 0:
7699
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7700
+
7701
+
7702
+
7703
+ class CreateOrganizationGroupInvitationLinkResponse(AbstractModel):
7704
+ """CreateOrganizationGroupInvitationLink返回参数结构体
7705
+
7706
+ """
7707
+
7708
+ def __init__(self):
7709
+ r"""
7710
+ :param _Link: 加入集团二维码链接,子企业的管理员可以直接扫码进入。
7711
+ 注意:1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
7712
+ :type Link: str
7713
+ :param _ExpireTime: 到期时间(以秒为单位的时间戳)
7714
+ :type ExpireTime: int
7715
+ :param _JumpUrl: 加入集团短链接。
7716
+ 注意:
7717
+ 1. 该链接有效期时间为ExpireTime,同时需要注意保密,不要外泄给无关用户。
7718
+ 2. 该链接不支持小程序嵌入,仅支持<b>移动端浏览器</b>打开。
7719
+ 3. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)
7720
+ :type JumpUrl: str
7721
+ :param _MiniAppPath: 腾讯电子签小程序加入集团链接。
7722
+
7723
+ <li>小程序和APP集成使用</li>
7724
+ <li>得到的链接类似于`pages/guide?shortKey=yDw***k1xFc5`, 用法可以参考:<a href="https://qian.tencent.com/developers/company/openwxminiprogram" target="_blank">跳转电子签小程序</a></li>
7725
+
7726
+
7727
+ 注: <font color="red">生成的链路后面不能再增加参数</font>
7728
+ :type MiniAppPath: str
7729
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7730
+ :type RequestId: str
7731
+ """
7732
+ self._Link = None
7733
+ self._ExpireTime = None
7734
+ self._JumpUrl = None
7735
+ self._MiniAppPath = None
7736
+ self._RequestId = None
7737
+
7738
+ @property
7739
+ def Link(self):
7740
+ return self._Link
7741
+
7742
+ @Link.setter
7743
+ def Link(self, Link):
7744
+ self._Link = Link
7745
+
7746
+ @property
7747
+ def ExpireTime(self):
7748
+ return self._ExpireTime
7749
+
7750
+ @ExpireTime.setter
7751
+ def ExpireTime(self, ExpireTime):
7752
+ self._ExpireTime = ExpireTime
7753
+
7754
+ @property
7755
+ def JumpUrl(self):
7756
+ return self._JumpUrl
7757
+
7758
+ @JumpUrl.setter
7759
+ def JumpUrl(self, JumpUrl):
7760
+ self._JumpUrl = JumpUrl
7761
+
7762
+ @property
7763
+ def MiniAppPath(self):
7764
+ return self._MiniAppPath
7765
+
7766
+ @MiniAppPath.setter
7767
+ def MiniAppPath(self, MiniAppPath):
7768
+ self._MiniAppPath = MiniAppPath
7769
+
7770
+ @property
7771
+ def RequestId(self):
7772
+ return self._RequestId
7773
+
7774
+ @RequestId.setter
7775
+ def RequestId(self, RequestId):
7776
+ self._RequestId = RequestId
7777
+
7778
+
7779
+ def _deserialize(self, params):
7780
+ self._Link = params.get("Link")
7781
+ self._ExpireTime = params.get("ExpireTime")
7782
+ self._JumpUrl = params.get("JumpUrl")
7783
+ self._MiniAppPath = params.get("MiniAppPath")
7784
+ self._RequestId = params.get("RequestId")
7785
+
7786
+
7572
7787
  class CreateOrganizationInfoChangeUrlRequest(AbstractModel):
7573
7788
  """CreateOrganizationInfoChangeUrl请求参数结构体
7574
7789
 
@@ -4743,11 +4743,14 @@ class ChannelCreatePrepareFlowResponse(AbstractModel):
4743
4743
  :type PrepareFlowUrl: str
4744
4744
  :param _PreviewFlowUrl: 合同发起后预览链接, 注意此时合同并未发起,仅只是展示效果, 有效期为5分钟
4745
4745
  :type PreviewFlowUrl: str
4746
+ :param _FlowId: 发起的合同临时Id, 只有当点击进入链接,成功发起合同后, 此Id才有效
4747
+ :type FlowId: str
4746
4748
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4747
4749
  :type RequestId: str
4748
4750
  """
4749
4751
  self._PrepareFlowUrl = None
4750
4752
  self._PreviewFlowUrl = None
4753
+ self._FlowId = None
4751
4754
  self._RequestId = None
4752
4755
 
4753
4756
  @property
@@ -4766,6 +4769,14 @@ class ChannelCreatePrepareFlowResponse(AbstractModel):
4766
4769
  def PreviewFlowUrl(self, PreviewFlowUrl):
4767
4770
  self._PreviewFlowUrl = PreviewFlowUrl
4768
4771
 
4772
+ @property
4773
+ def FlowId(self):
4774
+ return self._FlowId
4775
+
4776
+ @FlowId.setter
4777
+ def FlowId(self, FlowId):
4778
+ self._FlowId = FlowId
4779
+
4769
4780
  @property
4770
4781
  def RequestId(self):
4771
4782
  return self._RequestId
@@ -4778,6 +4789,7 @@ class ChannelCreatePrepareFlowResponse(AbstractModel):
4778
4789
  def _deserialize(self, params):
4779
4790
  self._PrepareFlowUrl = params.get("PrepareFlowUrl")
4780
4791
  self._PreviewFlowUrl = params.get("PreviewFlowUrl")
4792
+ self._FlowId = params.get("FlowId")
4781
4793
  self._RequestId = params.get("RequestId")
4782
4794
 
4783
4795
 
@@ -32,6 +32,7 @@ class HunyuanClient(AbstractClient):
32
32
  1. 本接口暂不支持返回图片内容。
33
33
  2. 默认每种模型单账号限制并发数为 5 路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
34
34
  3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
35
+ 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
35
36
 
36
37
  :param request: Request instance for ChatCompletions.
37
38
  :type request: :class:`tencentcloud.hunyuan.v20230901.models.ChatCompletionsRequest`
@@ -1171,7 +1171,7 @@ class Message(AbstractModel):
1171
1171
 
1172
1172
  def __init__(self):
1173
1173
  r"""
1174
- :param _Role: 角色
1174
+ :param _Role: 角色,可选值包括 system、user、assistant。
1175
1175
  :type Role: str
1176
1176
  :param _Content: 文本内容
1177
1177
  :type Content: str
@@ -16431,10 +16431,19 @@ class DescribePrometheusClusterAgentsRequest(AbstractModel):
16431
16431
  :type Offset: int
16432
16432
  :param _Limit: 用于分页
16433
16433
  :type Limit: int
16434
+ :param _ClusterIds: 用于通过集群id过滤被绑定集群
16435
+ :type ClusterIds: list of str
16436
+ :param _ClusterTypes: 用于通过集群类型过滤被绑定集群
16437
+ :type ClusterTypes: list of str
16438
+ :param _ClusterName: 用于通过名称搜索被绑定集群
16439
+ :type ClusterName: str
16434
16440
  """
16435
16441
  self._InstanceId = None
16436
16442
  self._Offset = None
16437
16443
  self._Limit = None
16444
+ self._ClusterIds = None
16445
+ self._ClusterTypes = None
16446
+ self._ClusterName = None
16438
16447
 
16439
16448
  @property
16440
16449
  def InstanceId(self):
@@ -16460,11 +16469,38 @@ class DescribePrometheusClusterAgentsRequest(AbstractModel):
16460
16469
  def Limit(self, Limit):
16461
16470
  self._Limit = Limit
16462
16471
 
16472
+ @property
16473
+ def ClusterIds(self):
16474
+ return self._ClusterIds
16475
+
16476
+ @ClusterIds.setter
16477
+ def ClusterIds(self, ClusterIds):
16478
+ self._ClusterIds = ClusterIds
16479
+
16480
+ @property
16481
+ def ClusterTypes(self):
16482
+ return self._ClusterTypes
16483
+
16484
+ @ClusterTypes.setter
16485
+ def ClusterTypes(self, ClusterTypes):
16486
+ self._ClusterTypes = ClusterTypes
16487
+
16488
+ @property
16489
+ def ClusterName(self):
16490
+ return self._ClusterName
16491
+
16492
+ @ClusterName.setter
16493
+ def ClusterName(self, ClusterName):
16494
+ self._ClusterName = ClusterName
16495
+
16463
16496
 
16464
16497
  def _deserialize(self, params):
16465
16498
  self._InstanceId = params.get("InstanceId")
16466
16499
  self._Offset = params.get("Offset")
16467
16500
  self._Limit = params.get("Limit")
16501
+ self._ClusterIds = params.get("ClusterIds")
16502
+ self._ClusterTypes = params.get("ClusterTypes")
16503
+ self._ClusterName = params.get("ClusterName")
16468
16504
  memeber_set = set(params.keys())
16469
16505
  for name, value in vars(self).items():
16470
16506
  property_name = name[1:]
@@ -25843,6 +25843,7 @@ class LiveStreamAiRecognitionResultItem(AbstractModel):
25843
25843
  <li>AsrFullTextRecognition:语音全文识别,</li>
25844
25844
  <li>OcrFullTextRecognition:文本全文识别。</li>
25845
25845
  <li>TransTextRecognition:语音翻译。</li>
25846
+ <li>ObjectRecognition:目标检测。</li>
25846
25847
  <li>TagRecognition:精彩打点。</li>
25847
25848
  :type Type: str
25848
25849
  :param _FaceRecognitionResultSet: 人脸识别结果,当 Type 为
@@ -25862,6 +25863,8 @@ OcrFullTextRecognition 时有效。
25862
25863
  :type OcrFullTextRecognitionResultSet: list of LiveStreamOcrFullTextRecognitionResult
25863
25864
  :param _TransTextRecognitionResultSet: 翻译结果,当Type 为 TransTextRecognition 时有效。
25864
25865
  :type TransTextRecognitionResultSet: list of LiveStreamTransTextRecognitionResult
25866
+ :param _ObjectRecognitionResultSet: 目标检测结果,当Type为 ObjectRecognition 时有效。
25867
+ :type ObjectRecognitionResultSet: list of LiveStreamObjectRecognitionResult
25865
25868
  :param _TagRecognitionResultSet: 打点结果,当Type 为 TagRecognition 时有效。
25866
25869
  注意:此字段可能返回 null,表示取不到有效值。
25867
25870
  :type TagRecognitionResultSet: list of LiveStreamTagRecognitionResult
@@ -25873,6 +25876,7 @@ OcrFullTextRecognition 时有效。
25873
25876
  self._AsrFullTextRecognitionResultSet = None
25874
25877
  self._OcrFullTextRecognitionResultSet = None
25875
25878
  self._TransTextRecognitionResultSet = None
25879
+ self._ObjectRecognitionResultSet = None
25876
25880
  self._TagRecognitionResultSet = None
25877
25881
 
25878
25882
  @property
@@ -25931,6 +25935,14 @@ OcrFullTextRecognition 时有效。
25931
25935
  def TransTextRecognitionResultSet(self, TransTextRecognitionResultSet):
25932
25936
  self._TransTextRecognitionResultSet = TransTextRecognitionResultSet
25933
25937
 
25938
+ @property
25939
+ def ObjectRecognitionResultSet(self):
25940
+ return self._ObjectRecognitionResultSet
25941
+
25942
+ @ObjectRecognitionResultSet.setter
25943
+ def ObjectRecognitionResultSet(self, ObjectRecognitionResultSet):
25944
+ self._ObjectRecognitionResultSet = ObjectRecognitionResultSet
25945
+
25934
25946
  @property
25935
25947
  def TagRecognitionResultSet(self):
25936
25948
  return self._TagRecognitionResultSet
@@ -25978,6 +25990,12 @@ OcrFullTextRecognition 时有效。
25978
25990
  obj = LiveStreamTransTextRecognitionResult()
25979
25991
  obj._deserialize(item)
25980
25992
  self._TransTextRecognitionResultSet.append(obj)
25993
+ if params.get("ObjectRecognitionResultSet") is not None:
25994
+ self._ObjectRecognitionResultSet = []
25995
+ for item in params.get("ObjectRecognitionResultSet"):
25996
+ obj = LiveStreamObjectRecognitionResult()
25997
+ obj._deserialize(item)
25998
+ self._ObjectRecognitionResultSet.append(obj)
25981
25999
  if params.get("TagRecognitionResultSet") is not None:
25982
26000
  self._TagRecognitionResultSet = []
25983
26001
  for item in params.get("TagRecognitionResultSet"):
@@ -26870,6 +26888,87 @@ class LiveStreamFaceRecognitionResult(AbstractModel):
26870
26888
 
26871
26889
 
26872
26890
 
26891
+ class LiveStreamObjectRecognitionResult(AbstractModel):
26892
+ """直播 AI 物体识别结果
26893
+
26894
+ """
26895
+
26896
+ def __init__(self):
26897
+ r"""
26898
+ :param _Name: 识别的物体名称。
26899
+ :type Name: str
26900
+ :param _StartPtsOffset: 识别片段起始的 PTS 时间,单位:秒。
26901
+ :type StartPtsOffset: float
26902
+ :param _EndPtsOffset: 识别片段终止的 PTS 时间,单位:秒。
26903
+ :type EndPtsOffset: float
26904
+ :param _Confidence: 识别片段置信度。取值:0~100。
26905
+ :type Confidence: float
26906
+ :param _AreaCoordSet: 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
26907
+ :type AreaCoordSet: list of int
26908
+ """
26909
+ self._Name = None
26910
+ self._StartPtsOffset = None
26911
+ self._EndPtsOffset = None
26912
+ self._Confidence = None
26913
+ self._AreaCoordSet = None
26914
+
26915
+ @property
26916
+ def Name(self):
26917
+ return self._Name
26918
+
26919
+ @Name.setter
26920
+ def Name(self, Name):
26921
+ self._Name = Name
26922
+
26923
+ @property
26924
+ def StartPtsOffset(self):
26925
+ return self._StartPtsOffset
26926
+
26927
+ @StartPtsOffset.setter
26928
+ def StartPtsOffset(self, StartPtsOffset):
26929
+ self._StartPtsOffset = StartPtsOffset
26930
+
26931
+ @property
26932
+ def EndPtsOffset(self):
26933
+ return self._EndPtsOffset
26934
+
26935
+ @EndPtsOffset.setter
26936
+ def EndPtsOffset(self, EndPtsOffset):
26937
+ self._EndPtsOffset = EndPtsOffset
26938
+
26939
+ @property
26940
+ def Confidence(self):
26941
+ return self._Confidence
26942
+
26943
+ @Confidence.setter
26944
+ def Confidence(self, Confidence):
26945
+ self._Confidence = Confidence
26946
+
26947
+ @property
26948
+ def AreaCoordSet(self):
26949
+ return self._AreaCoordSet
26950
+
26951
+ @AreaCoordSet.setter
26952
+ def AreaCoordSet(self, AreaCoordSet):
26953
+ self._AreaCoordSet = AreaCoordSet
26954
+
26955
+
26956
+ def _deserialize(self, params):
26957
+ self._Name = params.get("Name")
26958
+ self._StartPtsOffset = params.get("StartPtsOffset")
26959
+ self._EndPtsOffset = params.get("EndPtsOffset")
26960
+ self._Confidence = params.get("Confidence")
26961
+ self._AreaCoordSet = params.get("AreaCoordSet")
26962
+ memeber_set = set(params.keys())
26963
+ for name, value in vars(self).items():
26964
+ property_name = name[1:]
26965
+ if property_name in memeber_set:
26966
+ memeber_set.remove(property_name)
26967
+ if len(memeber_set) > 0:
26968
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26969
+
26970
+
26971
+
26873
26972
  class LiveStreamOcrFullTextRecognitionResult(AbstractModel):
26874
26973
  """直播识别 Ocr 全文识别
26875
26974
 
@@ -13,3 +13,6 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
+
17
+ # 账号没有cam授权。
18
+ UNAUTHORIZEDOPERATION_CAMNOAUTH = 'UnauthorizedOperation.CamNoAuth'