tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1478__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +99 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -12
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +4 -12
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +224 -0
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/mps/v20190612/models.py +56 -10
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1824 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20250806/models.py +71 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/RECORD +24 -24
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/top_level.txt +0 -0
|
@@ -9596,6 +9596,57 @@ class DescribeZonesResponse(AbstractModel):
|
|
|
9596
9596
|
self._RequestId = params.get("RequestId")
|
|
9597
9597
|
|
|
9598
9598
|
|
|
9599
|
+
class DestinationRegionBlueprint(AbstractModel):
|
|
9600
|
+
r"""目标地域镜像信息。
|
|
9601
|
+
|
|
9602
|
+
"""
|
|
9603
|
+
|
|
9604
|
+
def __init__(self):
|
|
9605
|
+
r"""
|
|
9606
|
+
:param _Region: 目标地域。
|
|
9607
|
+
:type Region: str
|
|
9608
|
+
:param _BlueprintId: 目标地域镜像ID。
|
|
9609
|
+
:type BlueprintId: str
|
|
9610
|
+
"""
|
|
9611
|
+
self._Region = None
|
|
9612
|
+
self._BlueprintId = None
|
|
9613
|
+
|
|
9614
|
+
@property
|
|
9615
|
+
def Region(self):
|
|
9616
|
+
r"""目标地域。
|
|
9617
|
+
:rtype: str
|
|
9618
|
+
"""
|
|
9619
|
+
return self._Region
|
|
9620
|
+
|
|
9621
|
+
@Region.setter
|
|
9622
|
+
def Region(self, Region):
|
|
9623
|
+
self._Region = Region
|
|
9624
|
+
|
|
9625
|
+
@property
|
|
9626
|
+
def BlueprintId(self):
|
|
9627
|
+
r"""目标地域镜像ID。
|
|
9628
|
+
:rtype: str
|
|
9629
|
+
"""
|
|
9630
|
+
return self._BlueprintId
|
|
9631
|
+
|
|
9632
|
+
@BlueprintId.setter
|
|
9633
|
+
def BlueprintId(self, BlueprintId):
|
|
9634
|
+
self._BlueprintId = BlueprintId
|
|
9635
|
+
|
|
9636
|
+
|
|
9637
|
+
def _deserialize(self, params):
|
|
9638
|
+
self._Region = params.get("Region")
|
|
9639
|
+
self._BlueprintId = params.get("BlueprintId")
|
|
9640
|
+
memeber_set = set(params.keys())
|
|
9641
|
+
for name, value in vars(self).items():
|
|
9642
|
+
property_name = name[1:]
|
|
9643
|
+
if property_name in memeber_set:
|
|
9644
|
+
memeber_set.remove(property_name)
|
|
9645
|
+
if len(memeber_set) > 0:
|
|
9646
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9647
|
+
|
|
9648
|
+
|
|
9649
|
+
|
|
9599
9650
|
class DetachCcnRequest(AbstractModel):
|
|
9600
9651
|
r"""DetachCcn请求参数结构体
|
|
9601
9652
|
|
|
@@ -20452,11 +20503,25 @@ class SyncBlueprintResponse(AbstractModel):
|
|
|
20452
20503
|
|
|
20453
20504
|
def __init__(self):
|
|
20454
20505
|
r"""
|
|
20506
|
+
:param _DestinationRegionBlueprintSet: 目标地域镜像信息。
|
|
20507
|
+
:type DestinationRegionBlueprintSet: list of DestinationRegionBlueprint
|
|
20455
20508
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20456
20509
|
:type RequestId: str
|
|
20457
20510
|
"""
|
|
20511
|
+
self._DestinationRegionBlueprintSet = None
|
|
20458
20512
|
self._RequestId = None
|
|
20459
20513
|
|
|
20514
|
+
@property
|
|
20515
|
+
def DestinationRegionBlueprintSet(self):
|
|
20516
|
+
r"""目标地域镜像信息。
|
|
20517
|
+
:rtype: list of DestinationRegionBlueprint
|
|
20518
|
+
"""
|
|
20519
|
+
return self._DestinationRegionBlueprintSet
|
|
20520
|
+
|
|
20521
|
+
@DestinationRegionBlueprintSet.setter
|
|
20522
|
+
def DestinationRegionBlueprintSet(self, DestinationRegionBlueprintSet):
|
|
20523
|
+
self._DestinationRegionBlueprintSet = DestinationRegionBlueprintSet
|
|
20524
|
+
|
|
20460
20525
|
@property
|
|
20461
20526
|
def RequestId(self):
|
|
20462
20527
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20470,6 +20535,12 @@ class SyncBlueprintResponse(AbstractModel):
|
|
|
20470
20535
|
|
|
20471
20536
|
|
|
20472
20537
|
def _deserialize(self, params):
|
|
20538
|
+
if params.get("DestinationRegionBlueprintSet") is not None:
|
|
20539
|
+
self._DestinationRegionBlueprintSet = []
|
|
20540
|
+
for item in params.get("DestinationRegionBlueprintSet"):
|
|
20541
|
+
obj = DestinationRegionBlueprint()
|
|
20542
|
+
obj._deserialize(item)
|
|
20543
|
+
self._DestinationRegionBlueprintSet.append(obj)
|
|
20473
20544
|
self._RequestId = params.get("RequestId")
|
|
20474
20545
|
|
|
20475
20546
|
|
|
@@ -12529,7 +12529,8 @@ class AudioTemplateInfo(AbstractModel):
|
|
|
12529
12529
|
|
|
12530
12530
|
|
|
12531
12531
|
:type Bitrate: int
|
|
12532
|
-
:param _SampleRate:
|
|
12532
|
+
:param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
|
|
12533
|
+
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
12533
12534
|
单位:Hz
|
|
12534
12535
|
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
12535
12536
|
:type SampleRate: int
|
|
@@ -12600,7 +12601,8 @@ class AudioTemplateInfo(AbstractModel):
|
|
|
12600
12601
|
|
|
12601
12602
|
@property
|
|
12602
12603
|
def SampleRate(self):
|
|
12603
|
-
r"""
|
|
12604
|
+
r"""音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
|
|
12605
|
+
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
12604
12606
|
单位:Hz
|
|
12605
12607
|
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
12606
12608
|
:rtype: int
|
|
@@ -12688,7 +12690,8 @@ class AudioTemplateInfoForUpdate(AbstractModel):
|
|
|
12688
12690
|
:param _Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
|
|
12689
12691
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12690
12692
|
:type Bitrate: int
|
|
12691
|
-
:param _SampleRate:
|
|
12693
|
+
:param _SampleRate: 音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
|
|
12694
|
+
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
12692
12695
|
单位:Hz
|
|
12693
12696
|
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
12694
12697
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -12752,7 +12755,8 @@ class AudioTemplateInfoForUpdate(AbstractModel):
|
|
|
12752
12755
|
|
|
12753
12756
|
@property
|
|
12754
12757
|
def SampleRate(self):
|
|
12755
|
-
r"""
|
|
12758
|
+
r"""音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。
|
|
12759
|
+
详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)
|
|
12756
12760
|
单位:Hz
|
|
12757
12761
|
注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!
|
|
12758
12762
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -13801,8 +13805,12 @@ class BeautyEffectItemConfig(AbstractModel):
|
|
|
13801
13805
|
def __init__(self):
|
|
13802
13806
|
r"""
|
|
13803
13807
|
:param _Type: 类型名称。取值如下:
|
|
13804
|
-
|
|
13805
13808
|
<li>Whiten:美白</li>
|
|
13809
|
+
<li>BlackAlpha1:美黑</li>
|
|
13810
|
+
<li>BlackAlpha2:较强美黑</li>
|
|
13811
|
+
<li>FoundationAlpha2:美白-粉白</li>
|
|
13812
|
+
<li>Clear:清晰度</li>
|
|
13813
|
+
<li>Sharpen:锐化</li>
|
|
13806
13814
|
<li>Smooth:磨皮</li>
|
|
13807
13815
|
<li>BeautyThinFace:瘦脸</li>
|
|
13808
13816
|
<li>NatureFace:自然脸型</li>
|
|
@@ -13812,9 +13820,11 @@ class BeautyEffectItemConfig(AbstractModel):
|
|
|
13812
13820
|
<li>RemoveEyeBags:祛眼袋</li>
|
|
13813
13821
|
<li>ThinNose:瘦鼻</li>
|
|
13814
13822
|
<li>RemoveLawLine:祛法令纹</li>
|
|
13823
|
+
<li>CheekboneThin:瘦颧骨</li>
|
|
13824
|
+
<li>FaceFeatureLipsLut:口红</li>
|
|
13815
13825
|
<li>ToothWhiten:牙齿美白</li>
|
|
13816
|
-
|
|
13817
|
-
|
|
13826
|
+
<li>FaceFeatureSoftlight:柔光</li>
|
|
13827
|
+
<li>Makeup:美妆</li>
|
|
13818
13828
|
:type Type: str
|
|
13819
13829
|
:param _Switch: 能力配置开关,可选值:
|
|
13820
13830
|
<li>ON:开启;</li>
|
|
@@ -13823,16 +13833,26 @@ class BeautyEffectItemConfig(AbstractModel):
|
|
|
13823
13833
|
:type Switch: str
|
|
13824
13834
|
:param _Value: 效果强度,值范围:[0, 100]。
|
|
13825
13835
|
:type Value: int
|
|
13836
|
+
:param _ResourcePath: 附加资源路径。
|
|
13837
|
+
:type ResourcePath: str
|
|
13838
|
+
:param _ExtInfo: 自定义参数。
|
|
13839
|
+
:type ExtInfo: str
|
|
13826
13840
|
"""
|
|
13827
13841
|
self._Type = None
|
|
13828
13842
|
self._Switch = None
|
|
13829
13843
|
self._Value = None
|
|
13844
|
+
self._ResourcePath = None
|
|
13845
|
+
self._ExtInfo = None
|
|
13830
13846
|
|
|
13831
13847
|
@property
|
|
13832
13848
|
def Type(self):
|
|
13833
13849
|
r"""类型名称。取值如下:
|
|
13834
|
-
|
|
13835
13850
|
<li>Whiten:美白</li>
|
|
13851
|
+
<li>BlackAlpha1:美黑</li>
|
|
13852
|
+
<li>BlackAlpha2:较强美黑</li>
|
|
13853
|
+
<li>FoundationAlpha2:美白-粉白</li>
|
|
13854
|
+
<li>Clear:清晰度</li>
|
|
13855
|
+
<li>Sharpen:锐化</li>
|
|
13836
13856
|
<li>Smooth:磨皮</li>
|
|
13837
13857
|
<li>BeautyThinFace:瘦脸</li>
|
|
13838
13858
|
<li>NatureFace:自然脸型</li>
|
|
@@ -13842,9 +13862,11 @@ class BeautyEffectItemConfig(AbstractModel):
|
|
|
13842
13862
|
<li>RemoveEyeBags:祛眼袋</li>
|
|
13843
13863
|
<li>ThinNose:瘦鼻</li>
|
|
13844
13864
|
<li>RemoveLawLine:祛法令纹</li>
|
|
13865
|
+
<li>CheekboneThin:瘦颧骨</li>
|
|
13866
|
+
<li>FaceFeatureLipsLut:口红</li>
|
|
13845
13867
|
<li>ToothWhiten:牙齿美白</li>
|
|
13846
|
-
|
|
13847
|
-
|
|
13868
|
+
<li>FaceFeatureSoftlight:柔光</li>
|
|
13869
|
+
<li>Makeup:美妆</li>
|
|
13848
13870
|
:rtype: str
|
|
13849
13871
|
"""
|
|
13850
13872
|
return self._Type
|
|
@@ -13878,11 +13900,35 @@ class BeautyEffectItemConfig(AbstractModel):
|
|
|
13878
13900
|
def Value(self, Value):
|
|
13879
13901
|
self._Value = Value
|
|
13880
13902
|
|
|
13903
|
+
@property
|
|
13904
|
+
def ResourcePath(self):
|
|
13905
|
+
r"""附加资源路径。
|
|
13906
|
+
:rtype: str
|
|
13907
|
+
"""
|
|
13908
|
+
return self._ResourcePath
|
|
13909
|
+
|
|
13910
|
+
@ResourcePath.setter
|
|
13911
|
+
def ResourcePath(self, ResourcePath):
|
|
13912
|
+
self._ResourcePath = ResourcePath
|
|
13913
|
+
|
|
13914
|
+
@property
|
|
13915
|
+
def ExtInfo(self):
|
|
13916
|
+
r"""自定义参数。
|
|
13917
|
+
:rtype: str
|
|
13918
|
+
"""
|
|
13919
|
+
return self._ExtInfo
|
|
13920
|
+
|
|
13921
|
+
@ExtInfo.setter
|
|
13922
|
+
def ExtInfo(self, ExtInfo):
|
|
13923
|
+
self._ExtInfo = ExtInfo
|
|
13924
|
+
|
|
13881
13925
|
|
|
13882
13926
|
def _deserialize(self, params):
|
|
13883
13927
|
self._Type = params.get("Type")
|
|
13884
13928
|
self._Switch = params.get("Switch")
|
|
13885
13929
|
self._Value = params.get("Value")
|
|
13930
|
+
self._ResourcePath = params.get("ResourcePath")
|
|
13931
|
+
self._ExtInfo = params.get("ExtInfo")
|
|
13886
13932
|
memeber_set = set(params.keys())
|
|
13887
13933
|
for name, value in vars(self).items():
|
|
13888
13934
|
property_name = name[1:]
|
|
@@ -441,6 +441,10 @@ class CreateTawInstanceRequest(AbstractModel):
|
|
|
441
441
|
:type ResourcePackageNum: int
|
|
442
442
|
:param _InstanceType: 实例类型 1:原web相关类型 2:app端类型
|
|
443
443
|
:type InstanceType: int
|
|
444
|
+
:param _AutoRenewalType: 自动续费类型
|
|
445
|
+
:type AutoRenewalType: int
|
|
446
|
+
:param _AutoRenewalThreshold: 自动续费阈值
|
|
447
|
+
:type AutoRenewalThreshold: int
|
|
444
448
|
"""
|
|
445
449
|
self._AreaId = None
|
|
446
450
|
self._ChargeType = None
|
|
@@ -454,6 +458,8 @@ class CreateTawInstanceRequest(AbstractModel):
|
|
|
454
458
|
self._ResourcePackageType = None
|
|
455
459
|
self._ResourcePackageNum = None
|
|
456
460
|
self._InstanceType = None
|
|
461
|
+
self._AutoRenewalType = None
|
|
462
|
+
self._AutoRenewalThreshold = None
|
|
457
463
|
|
|
458
464
|
@property
|
|
459
465
|
def AreaId(self):
|
|
@@ -587,6 +593,28 @@ class CreateTawInstanceRequest(AbstractModel):
|
|
|
587
593
|
def InstanceType(self, InstanceType):
|
|
588
594
|
self._InstanceType = InstanceType
|
|
589
595
|
|
|
596
|
+
@property
|
|
597
|
+
def AutoRenewalType(self):
|
|
598
|
+
r"""自动续费类型
|
|
599
|
+
:rtype: int
|
|
600
|
+
"""
|
|
601
|
+
return self._AutoRenewalType
|
|
602
|
+
|
|
603
|
+
@AutoRenewalType.setter
|
|
604
|
+
def AutoRenewalType(self, AutoRenewalType):
|
|
605
|
+
self._AutoRenewalType = AutoRenewalType
|
|
606
|
+
|
|
607
|
+
@property
|
|
608
|
+
def AutoRenewalThreshold(self):
|
|
609
|
+
r"""自动续费阈值
|
|
610
|
+
:rtype: int
|
|
611
|
+
"""
|
|
612
|
+
return self._AutoRenewalThreshold
|
|
613
|
+
|
|
614
|
+
@AutoRenewalThreshold.setter
|
|
615
|
+
def AutoRenewalThreshold(self, AutoRenewalThreshold):
|
|
616
|
+
self._AutoRenewalThreshold = AutoRenewalThreshold
|
|
617
|
+
|
|
590
618
|
|
|
591
619
|
def _deserialize(self, params):
|
|
592
620
|
self._AreaId = params.get("AreaId")
|
|
@@ -606,6 +634,8 @@ class CreateTawInstanceRequest(AbstractModel):
|
|
|
606
634
|
self._ResourcePackageType = params.get("ResourcePackageType")
|
|
607
635
|
self._ResourcePackageNum = params.get("ResourcePackageNum")
|
|
608
636
|
self._InstanceType = params.get("InstanceType")
|
|
637
|
+
self._AutoRenewalType = params.get("AutoRenewalType")
|
|
638
|
+
self._AutoRenewalThreshold = params.get("AutoRenewalThreshold")
|
|
609
639
|
memeber_set = set(params.keys())
|
|
610
640
|
for name, value in vars(self).items():
|
|
611
641
|
property_name = name[1:]
|
|
@@ -99,6 +99,57 @@ class BoundingBox(AbstractModel):
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
102
|
+
class Coord(AbstractModel):
|
|
103
|
+
r"""坐标详细信息
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
def __init__(self):
|
|
108
|
+
r"""
|
|
109
|
+
:param _X: X坐标
|
|
110
|
+
:type X: int
|
|
111
|
+
:param _Y: Y坐标
|
|
112
|
+
:type Y: int
|
|
113
|
+
"""
|
|
114
|
+
self._X = None
|
|
115
|
+
self._Y = None
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def X(self):
|
|
119
|
+
r"""X坐标
|
|
120
|
+
:rtype: int
|
|
121
|
+
"""
|
|
122
|
+
return self._X
|
|
123
|
+
|
|
124
|
+
@X.setter
|
|
125
|
+
def X(self, X):
|
|
126
|
+
self._X = X
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def Y(self):
|
|
130
|
+
r"""Y坐标
|
|
131
|
+
:rtype: int
|
|
132
|
+
"""
|
|
133
|
+
return self._Y
|
|
134
|
+
|
|
135
|
+
@Y.setter
|
|
136
|
+
def Y(self, Y):
|
|
137
|
+
self._Y = Y
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def _deserialize(self, params):
|
|
141
|
+
self._X = params.get("X")
|
|
142
|
+
self._Y = params.get("Y")
|
|
143
|
+
memeber_set = set(params.keys())
|
|
144
|
+
for name, value in vars(self).items():
|
|
145
|
+
property_name = name[1:]
|
|
146
|
+
if property_name in memeber_set:
|
|
147
|
+
memeber_set.remove(property_name)
|
|
148
|
+
if len(memeber_set) > 0:
|
|
149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
102
153
|
class FileTranslateRequest(AbstractModel):
|
|
103
154
|
r"""FileTranslate请求参数结构体
|
|
104
155
|
|
|
@@ -1284,6 +1335,77 @@ class LanguageDetectResponse(AbstractModel):
|
|
|
1284
1335
|
self._RequestId = params.get("RequestId")
|
|
1285
1336
|
|
|
1286
1337
|
|
|
1338
|
+
class RotateParagraphRect(AbstractModel):
|
|
1339
|
+
r"""段落文本旋转信息
|
|
1340
|
+
|
|
1341
|
+
"""
|
|
1342
|
+
|
|
1343
|
+
def __init__(self):
|
|
1344
|
+
r"""
|
|
1345
|
+
:param _Coord: 段落文本坐标
|
|
1346
|
+
:type Coord: list of Coord
|
|
1347
|
+
:param _TiltAngle: 旋转角度
|
|
1348
|
+
:type TiltAngle: float
|
|
1349
|
+
:param _Valid: 段落文本信息是否有效
|
|
1350
|
+
:type Valid: bool
|
|
1351
|
+
"""
|
|
1352
|
+
self._Coord = None
|
|
1353
|
+
self._TiltAngle = None
|
|
1354
|
+
self._Valid = None
|
|
1355
|
+
|
|
1356
|
+
@property
|
|
1357
|
+
def Coord(self):
|
|
1358
|
+
r"""段落文本坐标
|
|
1359
|
+
:rtype: list of Coord
|
|
1360
|
+
"""
|
|
1361
|
+
return self._Coord
|
|
1362
|
+
|
|
1363
|
+
@Coord.setter
|
|
1364
|
+
def Coord(self, Coord):
|
|
1365
|
+
self._Coord = Coord
|
|
1366
|
+
|
|
1367
|
+
@property
|
|
1368
|
+
def TiltAngle(self):
|
|
1369
|
+
r"""旋转角度
|
|
1370
|
+
:rtype: float
|
|
1371
|
+
"""
|
|
1372
|
+
return self._TiltAngle
|
|
1373
|
+
|
|
1374
|
+
@TiltAngle.setter
|
|
1375
|
+
def TiltAngle(self, TiltAngle):
|
|
1376
|
+
self._TiltAngle = TiltAngle
|
|
1377
|
+
|
|
1378
|
+
@property
|
|
1379
|
+
def Valid(self):
|
|
1380
|
+
r"""段落文本信息是否有效
|
|
1381
|
+
:rtype: bool
|
|
1382
|
+
"""
|
|
1383
|
+
return self._Valid
|
|
1384
|
+
|
|
1385
|
+
@Valid.setter
|
|
1386
|
+
def Valid(self, Valid):
|
|
1387
|
+
self._Valid = Valid
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
def _deserialize(self, params):
|
|
1391
|
+
if params.get("Coord") is not None:
|
|
1392
|
+
self._Coord = []
|
|
1393
|
+
for item in params.get("Coord"):
|
|
1394
|
+
obj = Coord()
|
|
1395
|
+
obj._deserialize(item)
|
|
1396
|
+
self._Coord.append(obj)
|
|
1397
|
+
self._TiltAngle = params.get("TiltAngle")
|
|
1398
|
+
self._Valid = params.get("Valid")
|
|
1399
|
+
memeber_set = set(params.keys())
|
|
1400
|
+
for name, value in vars(self).items():
|
|
1401
|
+
property_name = name[1:]
|
|
1402
|
+
if property_name in memeber_set:
|
|
1403
|
+
memeber_set.remove(property_name)
|
|
1404
|
+
if len(memeber_set) > 0:
|
|
1405
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1287
1409
|
class SpeechTranslateRequest(AbstractModel):
|
|
1288
1410
|
r"""SpeechTranslate请求参数结构体
|
|
1289
1411
|
|
|
@@ -2231,6 +2353,8 @@ class TransDetail(AbstractModel):
|
|
|
2231
2353
|
:type LineHeight: int
|
|
2232
2354
|
:param _SpamCode: 正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。
|
|
2233
2355
|
:type SpamCode: int
|
|
2356
|
+
:param _RotateParagraphRect: 段落文本旋转信息,只在valid为true时表示坐标有效
|
|
2357
|
+
:type RotateParagraphRect: :class:`tencentcloud.tmt.v20180321.models.RotateParagraphRect`
|
|
2234
2358
|
"""
|
|
2235
2359
|
self._SourceLineText = None
|
|
2236
2360
|
self._TargetLineText = None
|
|
@@ -2238,6 +2362,7 @@ class TransDetail(AbstractModel):
|
|
|
2238
2362
|
self._LinesCount = None
|
|
2239
2363
|
self._LineHeight = None
|
|
2240
2364
|
self._SpamCode = None
|
|
2365
|
+
self._RotateParagraphRect = None
|
|
2241
2366
|
|
|
2242
2367
|
@property
|
|
2243
2368
|
def SourceLineText(self):
|
|
@@ -2305,6 +2430,17 @@ class TransDetail(AbstractModel):
|
|
|
2305
2430
|
def SpamCode(self, SpamCode):
|
|
2306
2431
|
self._SpamCode = SpamCode
|
|
2307
2432
|
|
|
2433
|
+
@property
|
|
2434
|
+
def RotateParagraphRect(self):
|
|
2435
|
+
r"""段落文本旋转信息,只在valid为true时表示坐标有效
|
|
2436
|
+
:rtype: :class:`tencentcloud.tmt.v20180321.models.RotateParagraphRect`
|
|
2437
|
+
"""
|
|
2438
|
+
return self._RotateParagraphRect
|
|
2439
|
+
|
|
2440
|
+
@RotateParagraphRect.setter
|
|
2441
|
+
def RotateParagraphRect(self, RotateParagraphRect):
|
|
2442
|
+
self._RotateParagraphRect = RotateParagraphRect
|
|
2443
|
+
|
|
2308
2444
|
|
|
2309
2445
|
def _deserialize(self, params):
|
|
2310
2446
|
self._SourceLineText = params.get("SourceLineText")
|
|
@@ -2315,6 +2451,9 @@ class TransDetail(AbstractModel):
|
|
|
2315
2451
|
self._LinesCount = params.get("LinesCount")
|
|
2316
2452
|
self._LineHeight = params.get("LineHeight")
|
|
2317
2453
|
self._SpamCode = params.get("SpamCode")
|
|
2454
|
+
if params.get("RotateParagraphRect") is not None:
|
|
2455
|
+
self._RotateParagraphRect = RotateParagraphRect()
|
|
2456
|
+
self._RotateParagraphRect._deserialize(params.get("RotateParagraphRect"))
|
|
2318
2457
|
memeber_set = set(params.keys())
|
|
2319
2458
|
for name, value in vars(self).items():
|
|
2320
2459
|
property_name = name[1:]
|
|
@@ -353,6 +353,9 @@ INVALIDPARAMETERVALUE_MISSINGASSOCIATEENTITY = 'InvalidParameterValue.MissingAss
|
|
|
353
353
|
# 集群类型不同的IP不可在同一请求中。
|
|
354
354
|
INVALIDPARAMETERVALUE_MIXEDADDRESSIPSETTYPE = 'InvalidParameterValue.MixedAddressIpSetType'
|
|
355
355
|
|
|
356
|
+
# 缺少参数,至少提供一个。
|
|
357
|
+
INVALIDPARAMETERVALUE_MUSTHASONE = 'InvalidParameterValue.MustHasOne'
|
|
358
|
+
|
|
356
359
|
# NAT网关的DNAT转换规则已存在。
|
|
357
360
|
INVALIDPARAMETERVALUE_NATGATEWAYDNATRULEEXISTED = 'InvalidParameterValue.NatGatewayDnatRuleExisted'
|
|
358
361
|
|
|
@@ -443,6 +446,9 @@ INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = 'InvalidParameterValue.ResourceNotSup
|
|
|
443
446
|
# 自定义路由的下一跳参数不正确。
|
|
444
447
|
INVALIDPARAMETERVALUE_ROUTENEXTHOPINVALID = 'InvalidParameterValue.RouteNextHopInvalid'
|
|
445
448
|
|
|
449
|
+
# 路由策略绑定规则已经存在。
|
|
450
|
+
INVALIDPARAMETERVALUE_ROUTEPOLICYASSOCIATIONEXISTS = 'InvalidParameterValue.RoutePolicyAssociationExists'
|
|
451
|
+
|
|
446
452
|
# 指定的优先级之间冲突或与已存在的优先级冲突。
|
|
447
453
|
INVALIDPARAMETERVALUE_ROUTEPOLICYPRIORITYCONFLICT = 'InvalidParameterValue.RoutePolicyPriorityConflict'
|
|
448
454
|
|
|
@@ -1268,6 +1274,9 @@ UNSUPPORTEDOPERATION_RESOURCEPROCESSING = 'UnsupportedOperation.ResourceProcessi
|
|
|
1268
1274
|
# 未找到相关角色,请确认角色是否授权。
|
|
1269
1275
|
UNSUPPORTEDOPERATION_ROLENOTFOUND = 'UnsupportedOperation.RoleNotFound'
|
|
1270
1276
|
|
|
1277
|
+
# 路由策略被关联到路由表,不支持删除。
|
|
1278
|
+
UNSUPPORTEDOPERATION_ROUTEPOLICYASSOCIATION = 'UnsupportedOperation.RoutePolicyAssociation'
|
|
1279
|
+
|
|
1271
1280
|
# 只支持自研VPC创建或修改PVGW2类型路由。
|
|
1272
1281
|
UNSUPPORTEDOPERATION_ROUTEPVGW2 = 'UnsupportedOperation.RoutePvgw2'
|
|
1273
1282
|
|