tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1479__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 +129 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +84 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -12
- tencentcloud/dts/v20211206/dts_client.py +8 -8
- tencentcloud/dts/v20211206/errorcodes.py +9 -0
- tencentcloud/dts/v20211206/models.py +259 -104
- tencentcloud/es/v20180416/models.py +150 -0
- 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/monitor/v20180724/models.py +182 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +56 -10
- tencentcloud/oceanus/v20190422/models.py +2 -2
- tencentcloud/ocr/v20181119/ocr_client.py +15 -5
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +22 -14
- tencentcloud/tke/v20180525/models.py +116 -4
- 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.1479.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.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
|
|
|
@@ -23182,11 +23182,25 @@ class DescribePrometheusScrapeStatisticsRequest(AbstractModel):
|
|
|
23182
23182
|
|
|
23183
23183
|
def __init__(self):
|
|
23184
23184
|
r"""
|
|
23185
|
+
:param _InstanceIds: 实例ID列表
|
|
23186
|
+
:type InstanceIds: list of str
|
|
23185
23187
|
:param _JobType: job 类型
|
|
23186
23188
|
:type JobType: str
|
|
23187
23189
|
"""
|
|
23190
|
+
self._InstanceIds = None
|
|
23188
23191
|
self._JobType = None
|
|
23189
23192
|
|
|
23193
|
+
@property
|
|
23194
|
+
def InstanceIds(self):
|
|
23195
|
+
r"""实例ID列表
|
|
23196
|
+
:rtype: list of str
|
|
23197
|
+
"""
|
|
23198
|
+
return self._InstanceIds
|
|
23199
|
+
|
|
23200
|
+
@InstanceIds.setter
|
|
23201
|
+
def InstanceIds(self, InstanceIds):
|
|
23202
|
+
self._InstanceIds = InstanceIds
|
|
23203
|
+
|
|
23190
23204
|
@property
|
|
23191
23205
|
def JobType(self):
|
|
23192
23206
|
r"""job 类型
|
|
@@ -23200,6 +23214,7 @@ class DescribePrometheusScrapeStatisticsRequest(AbstractModel):
|
|
|
23200
23214
|
|
|
23201
23215
|
|
|
23202
23216
|
def _deserialize(self, params):
|
|
23217
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
23203
23218
|
self._JobType = params.get("JobType")
|
|
23204
23219
|
memeber_set = set(params.keys())
|
|
23205
23220
|
for name, value in vars(self).items():
|
|
@@ -24062,6 +24077,135 @@ class DescribeRemoteURLsResponse(AbstractModel):
|
|
|
24062
24077
|
self._RequestId = params.get("RequestId")
|
|
24063
24078
|
|
|
24064
24079
|
|
|
24080
|
+
class DescribeRemoteWritesRequest(AbstractModel):
|
|
24081
|
+
r"""DescribeRemoteWrites请求参数结构体
|
|
24082
|
+
|
|
24083
|
+
"""
|
|
24084
|
+
|
|
24085
|
+
def __init__(self):
|
|
24086
|
+
r"""
|
|
24087
|
+
:param _InstanceId: 实例 ID
|
|
24088
|
+
:type InstanceId: str
|
|
24089
|
+
:param _Offset: 列表 offset
|
|
24090
|
+
:type Offset: int
|
|
24091
|
+
:param _Limit: 返回 limit
|
|
24092
|
+
:type Limit: int
|
|
24093
|
+
"""
|
|
24094
|
+
self._InstanceId = None
|
|
24095
|
+
self._Offset = None
|
|
24096
|
+
self._Limit = None
|
|
24097
|
+
|
|
24098
|
+
@property
|
|
24099
|
+
def InstanceId(self):
|
|
24100
|
+
r"""实例 ID
|
|
24101
|
+
:rtype: str
|
|
24102
|
+
"""
|
|
24103
|
+
return self._InstanceId
|
|
24104
|
+
|
|
24105
|
+
@InstanceId.setter
|
|
24106
|
+
def InstanceId(self, InstanceId):
|
|
24107
|
+
self._InstanceId = InstanceId
|
|
24108
|
+
|
|
24109
|
+
@property
|
|
24110
|
+
def Offset(self):
|
|
24111
|
+
r"""列表 offset
|
|
24112
|
+
:rtype: int
|
|
24113
|
+
"""
|
|
24114
|
+
return self._Offset
|
|
24115
|
+
|
|
24116
|
+
@Offset.setter
|
|
24117
|
+
def Offset(self, Offset):
|
|
24118
|
+
self._Offset = Offset
|
|
24119
|
+
|
|
24120
|
+
@property
|
|
24121
|
+
def Limit(self):
|
|
24122
|
+
r"""返回 limit
|
|
24123
|
+
:rtype: int
|
|
24124
|
+
"""
|
|
24125
|
+
return self._Limit
|
|
24126
|
+
|
|
24127
|
+
@Limit.setter
|
|
24128
|
+
def Limit(self, Limit):
|
|
24129
|
+
self._Limit = Limit
|
|
24130
|
+
|
|
24131
|
+
|
|
24132
|
+
def _deserialize(self, params):
|
|
24133
|
+
self._InstanceId = params.get("InstanceId")
|
|
24134
|
+
self._Offset = params.get("Offset")
|
|
24135
|
+
self._Limit = params.get("Limit")
|
|
24136
|
+
memeber_set = set(params.keys())
|
|
24137
|
+
for name, value in vars(self).items():
|
|
24138
|
+
property_name = name[1:]
|
|
24139
|
+
if property_name in memeber_set:
|
|
24140
|
+
memeber_set.remove(property_name)
|
|
24141
|
+
if len(memeber_set) > 0:
|
|
24142
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
24143
|
+
|
|
24144
|
+
|
|
24145
|
+
|
|
24146
|
+
class DescribeRemoteWritesResponse(AbstractModel):
|
|
24147
|
+
r"""DescribeRemoteWrites返回参数结构体
|
|
24148
|
+
|
|
24149
|
+
"""
|
|
24150
|
+
|
|
24151
|
+
def __init__(self):
|
|
24152
|
+
r"""
|
|
24153
|
+
:param _Count: 存储数据
|
|
24154
|
+
:type Count: int
|
|
24155
|
+
:param _RemoteWrites: 多写信息
|
|
24156
|
+
:type RemoteWrites: list of WriteDestination
|
|
24157
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24158
|
+
:type RequestId: str
|
|
24159
|
+
"""
|
|
24160
|
+
self._Count = None
|
|
24161
|
+
self._RemoteWrites = None
|
|
24162
|
+
self._RequestId = None
|
|
24163
|
+
|
|
24164
|
+
@property
|
|
24165
|
+
def Count(self):
|
|
24166
|
+
r"""存储数据
|
|
24167
|
+
:rtype: int
|
|
24168
|
+
"""
|
|
24169
|
+
return self._Count
|
|
24170
|
+
|
|
24171
|
+
@Count.setter
|
|
24172
|
+
def Count(self, Count):
|
|
24173
|
+
self._Count = Count
|
|
24174
|
+
|
|
24175
|
+
@property
|
|
24176
|
+
def RemoteWrites(self):
|
|
24177
|
+
r"""多写信息
|
|
24178
|
+
:rtype: list of WriteDestination
|
|
24179
|
+
"""
|
|
24180
|
+
return self._RemoteWrites
|
|
24181
|
+
|
|
24182
|
+
@RemoteWrites.setter
|
|
24183
|
+
def RemoteWrites(self, RemoteWrites):
|
|
24184
|
+
self._RemoteWrites = RemoteWrites
|
|
24185
|
+
|
|
24186
|
+
@property
|
|
24187
|
+
def RequestId(self):
|
|
24188
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24189
|
+
:rtype: str
|
|
24190
|
+
"""
|
|
24191
|
+
return self._RequestId
|
|
24192
|
+
|
|
24193
|
+
@RequestId.setter
|
|
24194
|
+
def RequestId(self, RequestId):
|
|
24195
|
+
self._RequestId = RequestId
|
|
24196
|
+
|
|
24197
|
+
|
|
24198
|
+
def _deserialize(self, params):
|
|
24199
|
+
self._Count = params.get("Count")
|
|
24200
|
+
if params.get("RemoteWrites") is not None:
|
|
24201
|
+
self._RemoteWrites = []
|
|
24202
|
+
for item in params.get("RemoteWrites"):
|
|
24203
|
+
obj = WriteDestination()
|
|
24204
|
+
obj._deserialize(item)
|
|
24205
|
+
self._RemoteWrites.append(obj)
|
|
24206
|
+
self._RequestId = params.get("RequestId")
|
|
24207
|
+
|
|
24208
|
+
|
|
24065
24209
|
class DescribeSSOAccountRequest(AbstractModel):
|
|
24066
24210
|
r"""DescribeSSOAccount请求参数结构体
|
|
24067
24211
|
|
|
@@ -25396,7 +25540,7 @@ class GetMonitorDataRequest(AbstractModel):
|
|
|
25396
25540
|
:type StartTime: str
|
|
25397
25541
|
:param _EndTime: 结束时间,如2018-09-22T20:51:23+08:00,默认为当前时间。 EndTime不能小于StartTime
|
|
25398
25542
|
:type EndTime: str
|
|
25399
|
-
:param _SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)
|
|
25543
|
+
:param _SpecifyStatistics: 返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。特别说明:建议查询时严格参考API配置文档中提供的统计方式。如选择其他未提供的统计方式,可能有数据统计误差。
|
|
25400
25544
|
:type SpecifyStatistics: int
|
|
25401
25545
|
"""
|
|
25402
25546
|
self._Namespace = None
|
|
@@ -25475,7 +25619,7 @@ class GetMonitorDataRequest(AbstractModel):
|
|
|
25475
25619
|
|
|
25476
25620
|
@property
|
|
25477
25621
|
def SpecifyStatistics(self):
|
|
25478
|
-
r"""返回多种统计方式数据。avg, max, min (1,2,4)
|
|
25622
|
+
r"""返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。特别说明:建议查询时严格参考API配置文档中提供的统计方式。如选择其他未提供的统计方式,可能有数据统计误差。
|
|
25479
25623
|
:rtype: int
|
|
25480
25624
|
"""
|
|
25481
25625
|
return self._SpecifyStatistics
|
|
@@ -41907,4 +42051,40 @@ class UserNotice(AbstractModel):
|
|
|
41907
42051
|
memeber_set.remove(property_name)
|
|
41908
42052
|
if len(memeber_set) > 0:
|
|
41909
42053
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42054
|
+
|
|
42055
|
+
|
|
42056
|
+
|
|
42057
|
+
class WriteDestination(AbstractModel):
|
|
42058
|
+
r"""数据写向目标
|
|
42059
|
+
|
|
42060
|
+
"""
|
|
42061
|
+
|
|
42062
|
+
def __init__(self):
|
|
42063
|
+
r"""
|
|
42064
|
+
:param _Destination: 存储标识
|
|
42065
|
+
:type Destination: str
|
|
42066
|
+
"""
|
|
42067
|
+
self._Destination = None
|
|
42068
|
+
|
|
42069
|
+
@property
|
|
42070
|
+
def Destination(self):
|
|
42071
|
+
r"""存储标识
|
|
42072
|
+
:rtype: str
|
|
42073
|
+
"""
|
|
42074
|
+
return self._Destination
|
|
42075
|
+
|
|
42076
|
+
@Destination.setter
|
|
42077
|
+
def Destination(self, Destination):
|
|
42078
|
+
self._Destination = Destination
|
|
42079
|
+
|
|
42080
|
+
|
|
42081
|
+
def _deserialize(self, params):
|
|
42082
|
+
self._Destination = params.get("Destination")
|
|
42083
|
+
memeber_set = set(params.keys())
|
|
42084
|
+
for name, value in vars(self).items():
|
|
42085
|
+
property_name = name[1:]
|
|
42086
|
+
if property_name in memeber_set:
|
|
42087
|
+
memeber_set.remove(property_name)
|
|
42088
|
+
if len(memeber_set) > 0:
|
|
42089
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
41910
42090
|
|
|
@@ -2594,6 +2594,29 @@ class MonitorClient(AbstractClient):
|
|
|
2594
2594
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2595
2595
|
|
|
2596
2596
|
|
|
2597
|
+
def DescribeRemoteWrites(self, request):
|
|
2598
|
+
r"""查询安装的 Agent 列表
|
|
2599
|
+
|
|
2600
|
+
:param request: Request instance for DescribeRemoteWrites.
|
|
2601
|
+
:type request: :class:`tencentcloud.monitor.v20180724.models.DescribeRemoteWritesRequest`
|
|
2602
|
+
:rtype: :class:`tencentcloud.monitor.v20180724.models.DescribeRemoteWritesResponse`
|
|
2603
|
+
|
|
2604
|
+
"""
|
|
2605
|
+
try:
|
|
2606
|
+
params = request._serialize()
|
|
2607
|
+
headers = request.headers
|
|
2608
|
+
body = self.call("DescribeRemoteWrites", params, headers=headers)
|
|
2609
|
+
response = json.loads(body)
|
|
2610
|
+
model = models.DescribeRemoteWritesResponse()
|
|
2611
|
+
model._deserialize(response["Response"])
|
|
2612
|
+
return model
|
|
2613
|
+
except Exception as e:
|
|
2614
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2615
|
+
raise
|
|
2616
|
+
else:
|
|
2617
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2618
|
+
|
|
2619
|
+
|
|
2597
2620
|
def DescribeSSOAccount(self, request):
|
|
2598
2621
|
r"""列出当前grafana实例的所有授权账号
|
|
2599
2622
|
|
|
@@ -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:]
|
|
@@ -12886,7 +12886,7 @@ class ResourceRef(AbstractModel):
|
|
|
12886
12886
|
r"""
|
|
12887
12887
|
:param _ResourceId: 资源ID
|
|
12888
12888
|
:type ResourceId: str
|
|
12889
|
-
:param _Version:
|
|
12889
|
+
:param _Version: 0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
|
|
12890
12890
|
:type Version: int
|
|
12891
12891
|
:param _Type: 引用资源类型,例如主资源设置为1,代表main class所在的jar包
|
|
12892
12892
|
:type Type: int
|
|
@@ -12908,7 +12908,7 @@ class ResourceRef(AbstractModel):
|
|
|
12908
12908
|
|
|
12909
12909
|
@property
|
|
12910
12910
|
def Version(self):
|
|
12911
|
-
r"""
|
|
12911
|
+
r"""0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件
|
|
12912
12912
|
:rtype: int
|
|
12913
12913
|
"""
|
|
12914
12914
|
return self._Version
|
|
@@ -1149,7 +1149,9 @@ class OcrClient(AbstractClient):
|
|
|
1149
1149
|
|
|
1150
1150
|
|
|
1151
1151
|
def InstitutionOCR(self, request):
|
|
1152
|
-
r"""
|
|
1152
|
+
r"""不再维护,功能已切到其它接口
|
|
1153
|
+
|
|
1154
|
+
<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
|
|
1153
1155
|
本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
|
1154
1156
|
|
|
1155
1157
|
默认接口请求频率限制:5次/秒。
|
|
@@ -1375,7 +1377,9 @@ class OcrClient(AbstractClient):
|
|
|
1375
1377
|
|
|
1376
1378
|
|
|
1377
1379
|
def OrgCodeCertOCR(self, request):
|
|
1378
|
-
r"""
|
|
1380
|
+
r"""不再维护,功能已切到其它接口
|
|
1381
|
+
|
|
1382
|
+
<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
|
|
1379
1383
|
本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
|
|
1380
1384
|
|
|
1381
1385
|
默认接口请求频率限制:5次/秒。
|
|
@@ -1453,7 +1457,9 @@ class OcrClient(AbstractClient):
|
|
|
1453
1457
|
|
|
1454
1458
|
|
|
1455
1459
|
def PropOwnerCertOCR(self, request):
|
|
1456
|
-
r"""
|
|
1460
|
+
r"""不再维护,功能已切到其它接口
|
|
1461
|
+
|
|
1462
|
+
<b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
|
|
1457
1463
|
本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
|
|
1458
1464
|
目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
|
|
1459
1465
|
|
|
@@ -1679,7 +1685,9 @@ class OcrClient(AbstractClient):
|
|
|
1679
1685
|
|
|
1680
1686
|
|
|
1681
1687
|
def RecognizeForeignPermanentResidentIdCard(self, request):
|
|
1682
|
-
r"""
|
|
1688
|
+
r"""不再维护,功能已切到其它接口
|
|
1689
|
+
|
|
1690
|
+
<b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
|
|
1683
1691
|
外国人永久居留身份证识别
|
|
1684
1692
|
|
|
1685
1693
|
:param request: Request instance for RecognizeForeignPermanentResidentIdCard.
|
|
@@ -1977,7 +1985,9 @@ class OcrClient(AbstractClient):
|
|
|
1977
1985
|
|
|
1978
1986
|
|
|
1979
1987
|
def RecognizeGeneralTextImageWarn(self, request):
|
|
1980
|
-
r"""
|
|
1988
|
+
r"""不再维护,功能已切到其它接口
|
|
1989
|
+
|
|
1990
|
+
<b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
|
|
1981
1991
|
本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
|
1982
1992
|
|
|
1983
1993
|
:param request: Request instance for RecognizeGeneralTextImageWarn.
|
|
@@ -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:]
|