tencentcloud-sdk-python 3.0.1116__py2.py3-none-any.whl → 3.0.1119__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/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +3 -4
- tencentcloud/bi/v20220105/models.py +36 -0
- tencentcloud/billing/v20180709/models.py +334 -17
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/errorcodes.py +9 -0
- tencentcloud/ccc/v20200210/models.py +620 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdwpg/v20201230/models.py +12 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +300 -13
- tencentcloud/clb/v20180317/models.py +0 -1
- tencentcloud/cloudstudio/v20230508/models.py +52 -4
- tencentcloud/cls/v20201016/cls_client.py +4 -3
- tencentcloud/cls/v20201016/models.py +53 -53
- tencentcloud/csip/v20221121/models.py +10 -9
- tencentcloud/cwp/v20180228/cwp_client.py +6 -2
- tencentcloud/cwp/v20180228/models.py +166 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +375 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +161 -0
- tencentcloud/dsgc/v20190723/models.py +24 -0
- tencentcloud/dts/v20211206/models.py +67 -2
- tencentcloud/es/v20180416/models.py +163 -5
- tencentcloud/ess/v20201111/ess_client.py +3 -1
- tencentcloud/ess/v20201111/models.py +51 -34
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
- tencentcloud/essbasic/v20210526/models.py +26 -7
- tencentcloud/faceid/v20180301/models.py +13 -0
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +529 -0
- tencentcloud/iotexplorer/v20190423/models.py +3400 -271
- tencentcloud/lcic/v20220817/models.py +90 -0
- tencentcloud/mps/v20190612/models.py +69 -25
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +443 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +124 -0
- tencentcloud/pts/v20210728/pts_client.py +92 -0
- tencentcloud/tione/v20211111/models.py +130 -2
- tencentcloud/tms/v20201229/tms_client.py +1 -1
- tencentcloud/tts/v20190823/models.py +13 -0
- tencentcloud/vod/v20180717/models.py +12 -17
- tencentcloud/wedata/v20210820/models.py +516 -21
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/top_level.txt +0 -0
|
@@ -2313,6 +2313,66 @@ class CreateSupervisorResponse(AbstractModel):
|
|
|
2313
2313
|
self._RequestId = params.get("RequestId")
|
|
2314
2314
|
|
|
2315
2315
|
|
|
2316
|
+
class CustomMsgContent(AbstractModel):
|
|
2317
|
+
"""自定义消息
|
|
2318
|
+
|
|
2319
|
+
"""
|
|
2320
|
+
|
|
2321
|
+
def __init__(self):
|
|
2322
|
+
r"""
|
|
2323
|
+
:param _Data: 自定义消息数据。
|
|
2324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2325
|
+
:type Data: str
|
|
2326
|
+
:param _Desc: 自定义消息描述信息。
|
|
2327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2328
|
+
:type Desc: str
|
|
2329
|
+
:param _Ext: 扩展字段。
|
|
2330
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2331
|
+
:type Ext: str
|
|
2332
|
+
"""
|
|
2333
|
+
self._Data = None
|
|
2334
|
+
self._Desc = None
|
|
2335
|
+
self._Ext = None
|
|
2336
|
+
|
|
2337
|
+
@property
|
|
2338
|
+
def Data(self):
|
|
2339
|
+
return self._Data
|
|
2340
|
+
|
|
2341
|
+
@Data.setter
|
|
2342
|
+
def Data(self, Data):
|
|
2343
|
+
self._Data = Data
|
|
2344
|
+
|
|
2345
|
+
@property
|
|
2346
|
+
def Desc(self):
|
|
2347
|
+
return self._Desc
|
|
2348
|
+
|
|
2349
|
+
@Desc.setter
|
|
2350
|
+
def Desc(self, Desc):
|
|
2351
|
+
self._Desc = Desc
|
|
2352
|
+
|
|
2353
|
+
@property
|
|
2354
|
+
def Ext(self):
|
|
2355
|
+
return self._Ext
|
|
2356
|
+
|
|
2357
|
+
@Ext.setter
|
|
2358
|
+
def Ext(self, Ext):
|
|
2359
|
+
self._Ext = Ext
|
|
2360
|
+
|
|
2361
|
+
|
|
2362
|
+
def _deserialize(self, params):
|
|
2363
|
+
self._Data = params.get("Data")
|
|
2364
|
+
self._Desc = params.get("Desc")
|
|
2365
|
+
self._Ext = params.get("Ext")
|
|
2366
|
+
memeber_set = set(params.keys())
|
|
2367
|
+
for name, value in vars(self).items():
|
|
2368
|
+
property_name = name[1:]
|
|
2369
|
+
if property_name in memeber_set:
|
|
2370
|
+
memeber_set.remove(property_name)
|
|
2371
|
+
if len(memeber_set) > 0:
|
|
2372
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
|
|
2316
2376
|
class DeleteAppCustomContentRequest(AbstractModel):
|
|
2317
2377
|
"""DeleteAppCustomContent请求参数结构体
|
|
2318
2378
|
|
|
@@ -7526,10 +7586,14 @@ class MessageItem(AbstractModel):
|
|
|
7526
7586
|
:param _ImageMessage: 图片消息URL。 message type为1时有效。
|
|
7527
7587
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7528
7588
|
:type ImageMessage: str
|
|
7589
|
+
:param _CustomMessage: 自定义消息内容。message type为2时有效。
|
|
7590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7591
|
+
:type CustomMessage: :class:`tencentcloud.lcic.v20220817.models.CustomMsgContent`
|
|
7529
7592
|
"""
|
|
7530
7593
|
self._MessageType = None
|
|
7531
7594
|
self._TextMessage = None
|
|
7532
7595
|
self._ImageMessage = None
|
|
7596
|
+
self._CustomMessage = None
|
|
7533
7597
|
|
|
7534
7598
|
@property
|
|
7535
7599
|
def MessageType(self):
|
|
@@ -7555,11 +7619,22 @@ class MessageItem(AbstractModel):
|
|
|
7555
7619
|
def ImageMessage(self, ImageMessage):
|
|
7556
7620
|
self._ImageMessage = ImageMessage
|
|
7557
7621
|
|
|
7622
|
+
@property
|
|
7623
|
+
def CustomMessage(self):
|
|
7624
|
+
return self._CustomMessage
|
|
7625
|
+
|
|
7626
|
+
@CustomMessage.setter
|
|
7627
|
+
def CustomMessage(self, CustomMessage):
|
|
7628
|
+
self._CustomMessage = CustomMessage
|
|
7629
|
+
|
|
7558
7630
|
|
|
7559
7631
|
def _deserialize(self, params):
|
|
7560
7632
|
self._MessageType = params.get("MessageType")
|
|
7561
7633
|
self._TextMessage = params.get("TextMessage")
|
|
7562
7634
|
self._ImageMessage = params.get("ImageMessage")
|
|
7635
|
+
if params.get("CustomMessage") is not None:
|
|
7636
|
+
self._CustomMessage = CustomMsgContent()
|
|
7637
|
+
self._CustomMessage._deserialize(params.get("CustomMessage"))
|
|
7563
7638
|
memeber_set = set(params.keys())
|
|
7564
7639
|
for name, value in vars(self).items():
|
|
7565
7640
|
property_name = name[1:]
|
|
@@ -8322,6 +8397,7 @@ class MsgBody(AbstractModel):
|
|
|
8322
8397
|
TIMTextElem(文本消息)
|
|
8323
8398
|
TIMFaceElem(表情消息)
|
|
8324
8399
|
TIMImageElem(图像消息)
|
|
8400
|
+
TIMCustomElem(自定义消息)
|
|
8325
8401
|
:type MsgType: str
|
|
8326
8402
|
:param _TextMsgContent: 文本消息,当MsgType 为TIMTextElem(文本消息)必选。
|
|
8327
8403
|
:type TextMsgContent: :class:`tencentcloud.lcic.v20220817.models.TextMsgContent`
|
|
@@ -8329,11 +8405,14 @@ TIMImageElem(图像消息)
|
|
|
8329
8405
|
:type FaceMsgContent: :class:`tencentcloud.lcic.v20220817.models.FaceMsgContent`
|
|
8330
8406
|
:param _ImageMsgContent: 图像消息,当MsgType为TIMImageElem(图像消息)必选。
|
|
8331
8407
|
:type ImageMsgContent: :class:`tencentcloud.lcic.v20220817.models.ImageMsgContent`
|
|
8408
|
+
:param _CustomMsgContent: 自定义消息,TIMCustomElem(自定义消息)必选。
|
|
8409
|
+
:type CustomMsgContent: :class:`tencentcloud.lcic.v20220817.models.CustomMsgContent`
|
|
8332
8410
|
"""
|
|
8333
8411
|
self._MsgType = None
|
|
8334
8412
|
self._TextMsgContent = None
|
|
8335
8413
|
self._FaceMsgContent = None
|
|
8336
8414
|
self._ImageMsgContent = None
|
|
8415
|
+
self._CustomMsgContent = None
|
|
8337
8416
|
|
|
8338
8417
|
@property
|
|
8339
8418
|
def MsgType(self):
|
|
@@ -8367,6 +8446,14 @@ TIMImageElem(图像消息)
|
|
|
8367
8446
|
def ImageMsgContent(self, ImageMsgContent):
|
|
8368
8447
|
self._ImageMsgContent = ImageMsgContent
|
|
8369
8448
|
|
|
8449
|
+
@property
|
|
8450
|
+
def CustomMsgContent(self):
|
|
8451
|
+
return self._CustomMsgContent
|
|
8452
|
+
|
|
8453
|
+
@CustomMsgContent.setter
|
|
8454
|
+
def CustomMsgContent(self, CustomMsgContent):
|
|
8455
|
+
self._CustomMsgContent = CustomMsgContent
|
|
8456
|
+
|
|
8370
8457
|
|
|
8371
8458
|
def _deserialize(self, params):
|
|
8372
8459
|
self._MsgType = params.get("MsgType")
|
|
@@ -8379,6 +8466,9 @@ TIMImageElem(图像消息)
|
|
|
8379
8466
|
if params.get("ImageMsgContent") is not None:
|
|
8380
8467
|
self._ImageMsgContent = ImageMsgContent()
|
|
8381
8468
|
self._ImageMsgContent._deserialize(params.get("ImageMsgContent"))
|
|
8469
|
+
if params.get("CustomMsgContent") is not None:
|
|
8470
|
+
self._CustomMsgContent = CustomMsgContent()
|
|
8471
|
+
self._CustomMsgContent._deserialize(params.get("CustomMsgContent"))
|
|
8382
8472
|
memeber_set = set(params.keys())
|
|
8383
8473
|
for name, value in vars(self).items():
|
|
8384
8474
|
property_name = name[1:]
|
|
@@ -916,7 +916,14 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
|
|
|
916
916
|
:param _OutputStorage: 转自适应码流后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
917
917
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
918
918
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
919
|
-
:param _OutputObjectPath: 转自适应码流后,manifest
|
|
919
|
+
:param _OutputObjectPath: 转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。
|
|
920
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
921
|
+
相对路径示例:
|
|
922
|
+
<li>文件名_{变量名}.{format}</li>
|
|
923
|
+
<li>文件名.{format}</li>
|
|
924
|
+
绝对路径示例:
|
|
925
|
+
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
926
|
+
如果不填,则默认为相对路径:{inputName}_adaptiveDynamicStreaming_{definition}.{format}。
|
|
920
927
|
:type OutputObjectPath: str
|
|
921
928
|
:param _SubStreamObjectName: 转自适应码流后,子流文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}.{format}`。
|
|
922
929
|
:type SubStreamObjectName: str
|
|
@@ -7849,7 +7856,14 @@ class AnimatedGraphicTaskInput(AbstractModel):
|
|
|
7849
7856
|
:param _OutputStorage: 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
7850
7857
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7851
7858
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
7852
|
-
:param _OutputObjectPath:
|
|
7859
|
+
:param _OutputObjectPath: 转动图后文件的输出路径,可以为相对路径或者绝对路径。
|
|
7860
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
7861
|
+
相对路径示例:
|
|
7862
|
+
<li>文件名_{变量名}.{format}</li>
|
|
7863
|
+
<li>文件名.{format}</li>
|
|
7864
|
+
绝对路径示例:
|
|
7865
|
+
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
7866
|
+
如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
|
|
7853
7867
|
:type OutputObjectPath: str
|
|
7854
7868
|
"""
|
|
7855
7869
|
self._Definition = None
|
|
@@ -8613,20 +8627,20 @@ class AudioTemplateInfo(AbstractModel):
|
|
|
8613
8627
|
当不需要对音频进行转码时,可选值为:
|
|
8614
8628
|
<li>copy。</li>
|
|
8615
8629
|
当外层参数 Container 为 mp3 时,可选值为:
|
|
8616
|
-
<li>
|
|
8630
|
+
<li>mp3。</li>
|
|
8617
8631
|
当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
|
8618
8632
|
<li>flac。</li>
|
|
8619
8633
|
当外层参数 Container 为 m4a 时,可选值为:
|
|
8620
|
-
<li>
|
|
8621
|
-
<li>
|
|
8634
|
+
<li>aac;</li>
|
|
8635
|
+
<li>mp3;</li>
|
|
8622
8636
|
<li>ac3。</li>
|
|
8623
8637
|
当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
|
8624
|
-
<li>
|
|
8625
|
-
<li>
|
|
8638
|
+
<li>aac:更适合 mp4;</li>
|
|
8639
|
+
<li>mp3:更适合 flv;</li>
|
|
8626
8640
|
<li>mp2。</li>
|
|
8627
8641
|
当外层参数 Container 为 hls 时,可选值为:
|
|
8628
|
-
<li>
|
|
8629
|
-
<li>
|
|
8642
|
+
<li>aac;</li>
|
|
8643
|
+
<li>mp3。</li>
|
|
8630
8644
|
:type Codec: str
|
|
8631
8645
|
:param _Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。
|
|
8632
8646
|
当取值为 0,表示音频码率和原始音频保持一致。
|
|
@@ -8709,20 +8723,20 @@ class AudioTemplateInfoForUpdate(AbstractModel):
|
|
|
8709
8723
|
当不需要对音频进行转码时,可选值为:
|
|
8710
8724
|
<li>copy。</li>
|
|
8711
8725
|
当外层参数 Container 为 mp3 时,可选值为:
|
|
8712
|
-
<li>
|
|
8726
|
+
<li>mp3。</li>
|
|
8713
8727
|
当外层参数 Container 为 ogg 或 flac 时,可选值为:
|
|
8714
8728
|
<li>flac。</li>
|
|
8715
8729
|
当外层参数 Container 为 m4a 时,可选值为:
|
|
8716
|
-
<li>
|
|
8717
|
-
<li>
|
|
8730
|
+
<li>aac;</li>
|
|
8731
|
+
<li>mp3;</li>
|
|
8718
8732
|
<li>ac3。</li>
|
|
8719
8733
|
当外层参数 Container 为 mp4 或 flv 时,可选值为:
|
|
8720
|
-
<li>
|
|
8721
|
-
<li>
|
|
8734
|
+
<li>aac:更适合 mp4;</li>
|
|
8735
|
+
<li>mp3:更适合 flv;</li>
|
|
8722
8736
|
<li>mp2。</li>
|
|
8723
8737
|
当外层参数 Container 为 hls 时,可选值为:
|
|
8724
|
-
<li>
|
|
8725
|
-
<li>
|
|
8738
|
+
<li>aac;</li>
|
|
8739
|
+
<li>mp3。</li>
|
|
8726
8740
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8727
8741
|
:type Codec: str
|
|
8728
8742
|
:param _Bitrate: 音频流的码率,取值范围:0 和 [26, 256],单位:kbps。 当取值为 0,表示音频码率和原始音频保持一致。
|
|
@@ -24067,7 +24081,7 @@ class HdrConfig(AbstractModel):
|
|
|
24067
24081
|
<li>HDR10</li>
|
|
24068
24082
|
<li>HLG</li>
|
|
24069
24083
|
默认值:HDR10。
|
|
24070
|
-
注意:video的编码方式需要为
|
|
24084
|
+
注意:video的编码方式需要为h265;
|
|
24071
24085
|
注意:视频编码位深为10。
|
|
24072
24086
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24073
24087
|
:type Type: str
|
|
@@ -24284,7 +24298,14 @@ class ImageSpriteTaskInput(AbstractModel):
|
|
|
24284
24298
|
:param _OutputStorage: 截取雪碧图后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
24285
24299
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24286
24300
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
24287
|
-
:param _OutputObjectPath:
|
|
24301
|
+
:param _OutputObjectPath: 截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。
|
|
24302
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
24303
|
+
相对路径示例:
|
|
24304
|
+
<li>文件名_{变量名}.{format}</li>
|
|
24305
|
+
<li>文件名.{format}</li>
|
|
24306
|
+
绝对路径示例:
|
|
24307
|
+
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
24308
|
+
如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。
|
|
24288
24309
|
:type OutputObjectPath: str
|
|
24289
24310
|
:param _WebVttObjectName: 截取雪碧图后,Web VTT 文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}.{format}`。
|
|
24290
24311
|
:type WebVttObjectName: str
|
|
@@ -37192,7 +37213,15 @@ class SampleSnapshotTaskInput(AbstractModel):
|
|
|
37192
37213
|
:param _OutputStorage: 采样截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
37193
37214
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
37194
37215
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
37195
|
-
:param _OutputObjectPath:
|
|
37216
|
+
:param _OutputObjectPath: 采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。
|
|
37217
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
37218
|
+
相对路径示例:
|
|
37219
|
+
<li>文件名_{变量名}.{format}</li>
|
|
37220
|
+
<li>文件名.{format}</li>
|
|
37221
|
+
绝对路径示例:
|
|
37222
|
+
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
37223
|
+
如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。
|
|
37224
|
+
|
|
37196
37225
|
:type OutputObjectPath: str
|
|
37197
37226
|
:param _ObjectNumberFormat: 采样截图后输出路径中的`{number}`变量的规则。
|
|
37198
37227
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -38506,7 +38535,14 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
|
|
|
38506
38535
|
:param _OutputStorage: 时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
38507
38536
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
38508
38537
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
38509
|
-
:param _OutputObjectPath:
|
|
38538
|
+
:param _OutputObjectPath: 时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。
|
|
38539
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
38540
|
+
相对路径示例:
|
|
38541
|
+
<li>文件名_{变量名}.{format}</li>
|
|
38542
|
+
<li>文件名.{format}</li>
|
|
38543
|
+
绝对路径示例:
|
|
38544
|
+
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
38545
|
+
如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。
|
|
38510
38546
|
:type OutputObjectPath: str
|
|
38511
38547
|
:param _ObjectNumberFormat: 时间点截图后输出路径中的`{number}`变量的规则。
|
|
38512
38548
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -40256,7 +40292,15 @@ class TranscodeTaskInput(AbstractModel):
|
|
|
40256
40292
|
:param _OutputStorage: 转码后文件的目标存储,不填则继承上层的 OutputStorage 值。
|
|
40257
40293
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40258
40294
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
40259
|
-
:param _OutputObjectPath:
|
|
40295
|
+
:param _OutputObjectPath: 转码后主文件的输出路径,可以为相对路径或者绝对路径。
|
|
40296
|
+
若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
|
|
40297
|
+
相对路径示例:
|
|
40298
|
+
<li>文件名_{变量名}.{format}</li>
|
|
40299
|
+
<li>文件名.{format}</li>
|
|
40300
|
+
绝对路径示例:
|
|
40301
|
+
<li>/自定义路径/文件名_{变量名}.{format}</li>
|
|
40302
|
+
如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。
|
|
40303
|
+
|
|
40260
40304
|
:type OutputObjectPath: str
|
|
40261
40305
|
:param _SegmentObjectName: 转码后分片文件的输出路径(转码 HLS 时 ts 的路径),只能为相对路径。如果不填,则默认为:`{inputName}_transcode_{definition}_{number}.{format}`。
|
|
40262
40306
|
:type SegmentObjectName: str
|
|
@@ -41582,8 +41626,8 @@ class VideoTemplateInfo(AbstractModel):
|
|
|
41582
41626
|
def __init__(self):
|
|
41583
41627
|
r"""
|
|
41584
41628
|
:param _Codec: 视频流的编码格式,可选值:
|
|
41585
|
-
<li>
|
|
41586
|
-
<li>
|
|
41629
|
+
<li>h264:H.264 编码</li>
|
|
41630
|
+
<li>h265:H.265 编码</li>
|
|
41587
41631
|
<li>av1:AOMedia Video 1 编码</li>
|
|
41588
41632
|
注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
|
|
41589
41633
|
注意:av1 编码容器目前只支持 mp4 。
|
|
@@ -41742,8 +41786,8 @@ class VideoTemplateInfoForUpdate(AbstractModel):
|
|
|
41742
41786
|
def __init__(self):
|
|
41743
41787
|
r"""
|
|
41744
41788
|
:param _Codec: 视频流的编码格式,可选值:
|
|
41745
|
-
<li>
|
|
41746
|
-
<li>
|
|
41789
|
+
<li>h264:H.264 编码</li>
|
|
41790
|
+
<li>h265:H.265 编码</li>
|
|
41747
41791
|
<li>av1:AOMedia Video 1 编码</li>
|
|
41748
41792
|
注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。
|
|
41749
41793
|
注意:av1 编码容器目前只支持 mp4 。
|
|
@@ -38,6 +38,9 @@ FAILEDOPERATION_EMPTYIMAGEERROR = 'FailedOperation.EmptyImageError'
|
|
|
38
38
|
# 引擎识别超时。
|
|
39
39
|
FAILEDOPERATION_ENGINERECOGNIZETIMEOUT = 'FailedOperation.EngineRecognizeTimeout'
|
|
40
40
|
|
|
41
|
+
# 文件解码失败
|
|
42
|
+
FAILEDOPERATION_FILEDECODEFAILED = 'FailedOperation.FileDecodeFailed'
|
|
43
|
+
|
|
41
44
|
# 第二代身份证信息不合法或缺失(身份证号、姓名字段校验非法等)
|
|
42
45
|
FAILEDOPERATION_IDCARDINFOILLEGAL = 'FailedOperation.IdCardInfoIllegal'
|
|
43
46
|
|