tencentcloud-sdk-python 3.0.1113__py2.py3-none-any.whl → 3.0.1115__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/apigateway/v20180808/models.py +1 -1
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cwp/v20180228/models.py +75 -2
- tencentcloud/ess/v20201111/models.py +194 -0
- tencentcloud/faceid/v20180301/models.py +17 -3
- tencentcloud/gaap/v20180529/models.py +56 -0
- tencentcloud/hai/v20230812/models.py +13 -0
- tencentcloud/tag/v20180813/models.py +4 -4
- tencentcloud/teo/v20220901/models.py +13 -3
- tencentcloud/trtc/v20190722/errorcodes.py +9 -0
- tencentcloud/trtc/v20190722/models.py +325 -1
- tencentcloud/trtc/v20190722/trtc_client.py +70 -0
- {tencentcloud_sdk_python-3.0.1113.dist-info → tencentcloud_sdk_python-3.0.1115.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1113.dist-info → tencentcloud_sdk_python-3.0.1115.dist-info}/RECORD +18 -18
- {tencentcloud_sdk_python-3.0.1113.dist-info → tencentcloud_sdk_python-3.0.1115.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1113.dist-info → tencentcloud_sdk_python-3.0.1115.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1113.dist-info → tencentcloud_sdk_python-3.0.1115.dist-info}/top_level.txt +0 -0
|
@@ -1034,6 +1034,9 @@ FAILED:表示操作失败
|
|
|
1034
1034
|
:param _LoginServices: 实例包含的登录服务详情
|
|
1035
1035
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1036
1036
|
:type LoginServices: list of LoginService
|
|
1037
|
+
:param _OSType: 应用服务的操作系统类型
|
|
1038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1039
|
+
:type OSType: str
|
|
1037
1040
|
"""
|
|
1038
1041
|
self._InstanceId = None
|
|
1039
1042
|
self._InstanceName = None
|
|
@@ -1056,6 +1059,7 @@ FAILED:表示操作失败
|
|
|
1056
1059
|
self._MaxFreeTraffic = None
|
|
1057
1060
|
self._ConfigurationEnvironment = None
|
|
1058
1061
|
self._LoginServices = None
|
|
1062
|
+
self._OSType = None
|
|
1059
1063
|
|
|
1060
1064
|
@property
|
|
1061
1065
|
def InstanceId(self):
|
|
@@ -1225,6 +1229,14 @@ FAILED:表示操作失败
|
|
|
1225
1229
|
def LoginServices(self, LoginServices):
|
|
1226
1230
|
self._LoginServices = LoginServices
|
|
1227
1231
|
|
|
1232
|
+
@property
|
|
1233
|
+
def OSType(self):
|
|
1234
|
+
return self._OSType
|
|
1235
|
+
|
|
1236
|
+
@OSType.setter
|
|
1237
|
+
def OSType(self, OSType):
|
|
1238
|
+
self._OSType = OSType
|
|
1239
|
+
|
|
1228
1240
|
|
|
1229
1241
|
def _deserialize(self, params):
|
|
1230
1242
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1255,6 +1267,7 @@ FAILED:表示操作失败
|
|
|
1255
1267
|
obj = LoginService()
|
|
1256
1268
|
obj._deserialize(item)
|
|
1257
1269
|
self._LoginServices.append(obj)
|
|
1270
|
+
self._OSType = params.get("OSType")
|
|
1258
1271
|
memeber_set = set(params.keys())
|
|
1259
1272
|
for name, value in vars(self).items():
|
|
1260
1273
|
property_name = name[1:]
|
|
@@ -72,7 +72,7 @@ class AddProjectResponse(AbstractModel):
|
|
|
72
72
|
r"""
|
|
73
73
|
:param _ProjectId: 项目Id
|
|
74
74
|
:type ProjectId: int
|
|
75
|
-
:param _IsNew:
|
|
75
|
+
:param _IsNew: 是否为新项目,1是新项目,0不是新项目
|
|
76
76
|
:type IsNew: int
|
|
77
77
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
78
78
|
:type RequestId: str
|
|
@@ -3111,7 +3111,7 @@ class GetTagKeysResponse(AbstractModel):
|
|
|
3111
3111
|
|
|
3112
3112
|
def __init__(self):
|
|
3113
3113
|
r"""
|
|
3114
|
-
:param _PaginationToken: 获取的下一页的Token
|
|
3114
|
+
:param _PaginationToken: 获取的下一页的Token值,如果当前是最后一页,返回为空
|
|
3115
3115
|
:type PaginationToken: str
|
|
3116
3116
|
:param _TagKeys: 标签键信息。
|
|
3117
3117
|
:type TagKeys: list of str
|
|
@@ -3233,7 +3233,7 @@ class GetTagValuesResponse(AbstractModel):
|
|
|
3233
3233
|
|
|
3234
3234
|
def __init__(self):
|
|
3235
3235
|
r"""
|
|
3236
|
-
:param _PaginationToken: 获取的下一页的Token
|
|
3236
|
+
:param _PaginationToken: 获取的下一页的Token值,如果当前是最后一页,返回为空
|
|
3237
3237
|
:type PaginationToken: str
|
|
3238
3238
|
:param _Tags: 标签列表。
|
|
3239
3239
|
:type Tags: list of Tag
|
|
@@ -3360,7 +3360,7 @@ class GetTagsResponse(AbstractModel):
|
|
|
3360
3360
|
|
|
3361
3361
|
def __init__(self):
|
|
3362
3362
|
r"""
|
|
3363
|
-
:param _PaginationToken: 获取的下一页的Token
|
|
3363
|
+
:param _PaginationToken: 获取的下一页的Token值,如果当前是最后一页,返回为空
|
|
3364
3364
|
:type PaginationToken: str
|
|
3365
3365
|
:param _Tags: 标签列表。
|
|
3366
3366
|
:type Tags: list of Tag
|
|
@@ -2043,7 +2043,11 @@ class BindSecurityTemplateToEntityRequest(AbstractModel):
|
|
|
2043
2043
|
<li>unbind-keep-policy:将域名从策略模板解绑,解绑时保留当前策略;</li>
|
|
2044
2044
|
<li>unbind-use-default:将域名从策略模板解绑,并使用默认空白策略。</li>注意:解绑操作当前仅支持单个域名解绑。即:当 Operate 参数取值为 unbind-keep-policy 或 unbind-use-default 时,Entities 参数列表仅支持填写一个域名。
|
|
2045
2045
|
:type Operate: str
|
|
2046
|
-
:param _TemplateId: 指定绑定或解绑的策略模板 ID
|
|
2046
|
+
:param _TemplateId: 指定绑定或解绑的策略模板 ID 或站点全局策略
|
|
2047
|
+
- 如需绑定至策略模板,或从策略模板解绑,请指定策略模板 ID。
|
|
2048
|
+
- 如需绑定至站点全局策略,或从站点全局策略解绑,请使用 @ZoneLevel@domain 参数值。
|
|
2049
|
+
|
|
2050
|
+
注意:解绑后,域名将使用独立策略,并单独计算规则配额,请确保解绑前套餐规则配额充足。
|
|
2047
2051
|
:type TemplateId: str
|
|
2048
2052
|
:param _OverWrite: 如指定的域名已经绑定了策略模板,是否替换该模板。支持下列取值:
|
|
2049
2053
|
<li>true: 替换域名当前绑定的模板;</li>
|
|
@@ -18450,9 +18454,15 @@ class ModifySecurityPolicyRequest(AbstractModel):
|
|
|
18450
18454
|
:type ZoneId: str
|
|
18451
18455
|
:param _SecurityConfig: 安全配置。
|
|
18452
18456
|
:type SecurityConfig: :class:`tencentcloud.teo.v20220901.models.SecurityConfig`
|
|
18453
|
-
:param _Entity:
|
|
18457
|
+
:param _Entity: 子域名/应用名。
|
|
18458
|
+
|
|
18459
|
+
注意:当同时指定本参数和 TemplateId 参数时,本参数不生效。请勿同时指定本参数和 TemplateId 参数。
|
|
18454
18460
|
:type Entity: str
|
|
18455
|
-
:param _TemplateId:
|
|
18461
|
+
:param _TemplateId: 指定模板策略 ID,或指定站点全局策略。
|
|
18462
|
+
- 如需配置策略模板,请指定策略模板 ID。
|
|
18463
|
+
- 如需配置站点全局策略,请使用 @ZoneLevel@Domain 参数值
|
|
18464
|
+
|
|
18465
|
+
注意:当使用本参数时,Entity 参数不生效。请勿同时使用本参数和 Entity 参数。
|
|
18456
18466
|
:type TemplateId: str
|
|
18457
18467
|
"""
|
|
18458
18468
|
self._ZoneId = None
|
|
@@ -53,12 +53,21 @@ FAILEDOPERATION_ROOMNOTEXIST = 'FailedOperation.RoomNotExist'
|
|
|
53
53
|
# 应用ID不存在。
|
|
54
54
|
FAILEDOPERATION_SDKAPPIDNOTEXIST = 'FailedOperation.SdkAppIdNotExist'
|
|
55
55
|
|
|
56
|
+
# AppId下没有此SdkAppId的资源
|
|
57
|
+
FAILEDOPERATION_SDKAPPIDNOTUNDERAPPID = 'FailedOperation.SdkAppIdNotUnderAppId'
|
|
58
|
+
|
|
59
|
+
# SdkAppId未开通页面录制能力,请检查。
|
|
60
|
+
FAILEDOPERATION_SDKAPPIDNOTWEBRECORDABILITY = 'FailedOperation.SdkAppIdNotWebRecordAbility'
|
|
61
|
+
|
|
56
62
|
# 任务已存在
|
|
57
63
|
FAILEDOPERATION_TASKEXIST = 'FailedOperation.TaskExist'
|
|
58
64
|
|
|
59
65
|
# 调用接口时任务已结束。
|
|
60
66
|
FAILEDOPERATION_TASKFINISHED = 'FailedOperation.TaskFinished'
|
|
61
67
|
|
|
68
|
+
# 任务不存在或已结束
|
|
69
|
+
FAILEDOPERATION_TASKNOTEXIST = 'FailedOperation.TaskNotExist'
|
|
70
|
+
|
|
62
71
|
# 内部错误。
|
|
63
72
|
INTERNALERROR = 'InternalError'
|
|
64
73
|
|
|
@@ -3896,6 +3896,77 @@ class DescribeUserInfoResponse(AbstractModel):
|
|
|
3896
3896
|
self._RequestId = params.get("RequestId")
|
|
3897
3897
|
|
|
3898
3898
|
|
|
3899
|
+
class DescribeWebRecordRequest(AbstractModel):
|
|
3900
|
+
"""DescribeWebRecord请求参数结构体
|
|
3901
|
+
|
|
3902
|
+
"""
|
|
3903
|
+
|
|
3904
|
+
def __init__(self):
|
|
3905
|
+
r"""
|
|
3906
|
+
:param _TaskId: 开始页面录制时返回的任务id
|
|
3907
|
+
:type TaskId: str
|
|
3908
|
+
"""
|
|
3909
|
+
self._TaskId = None
|
|
3910
|
+
|
|
3911
|
+
@property
|
|
3912
|
+
def TaskId(self):
|
|
3913
|
+
return self._TaskId
|
|
3914
|
+
|
|
3915
|
+
@TaskId.setter
|
|
3916
|
+
def TaskId(self, TaskId):
|
|
3917
|
+
self._TaskId = TaskId
|
|
3918
|
+
|
|
3919
|
+
|
|
3920
|
+
def _deserialize(self, params):
|
|
3921
|
+
self._TaskId = params.get("TaskId")
|
|
3922
|
+
memeber_set = set(params.keys())
|
|
3923
|
+
for name, value in vars(self).items():
|
|
3924
|
+
property_name = name[1:]
|
|
3925
|
+
if property_name in memeber_set:
|
|
3926
|
+
memeber_set.remove(property_name)
|
|
3927
|
+
if len(memeber_set) > 0:
|
|
3928
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3929
|
+
|
|
3930
|
+
|
|
3931
|
+
|
|
3932
|
+
class DescribeWebRecordResponse(AbstractModel):
|
|
3933
|
+
"""DescribeWebRecord返回参数结构体
|
|
3934
|
+
|
|
3935
|
+
"""
|
|
3936
|
+
|
|
3937
|
+
def __init__(self):
|
|
3938
|
+
r"""
|
|
3939
|
+
:param _Status: 1: 正在录制中
|
|
3940
|
+
2: 任务不存在
|
|
3941
|
+
:type Status: int
|
|
3942
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3943
|
+
:type RequestId: str
|
|
3944
|
+
"""
|
|
3945
|
+
self._Status = None
|
|
3946
|
+
self._RequestId = None
|
|
3947
|
+
|
|
3948
|
+
@property
|
|
3949
|
+
def Status(self):
|
|
3950
|
+
return self._Status
|
|
3951
|
+
|
|
3952
|
+
@Status.setter
|
|
3953
|
+
def Status(self, Status):
|
|
3954
|
+
self._Status = Status
|
|
3955
|
+
|
|
3956
|
+
@property
|
|
3957
|
+
def RequestId(self):
|
|
3958
|
+
return self._RequestId
|
|
3959
|
+
|
|
3960
|
+
@RequestId.setter
|
|
3961
|
+
def RequestId(self, RequestId):
|
|
3962
|
+
self._RequestId = RequestId
|
|
3963
|
+
|
|
3964
|
+
|
|
3965
|
+
def _deserialize(self, params):
|
|
3966
|
+
self._Status = params.get("Status")
|
|
3967
|
+
self._RequestId = params.get("RequestId")
|
|
3968
|
+
|
|
3969
|
+
|
|
3899
3970
|
class DismissRoomByStrRoomIdRequest(AbstractModel):
|
|
3900
3971
|
"""DismissRoomByStrRoomId请求参数结构体
|
|
3901
3972
|
|
|
@@ -8463,6 +8534,143 @@ class StartStreamIngestResponse(AbstractModel):
|
|
|
8463
8534
|
self._RequestId = params.get("RequestId")
|
|
8464
8535
|
|
|
8465
8536
|
|
|
8537
|
+
class StartWebRecordRequest(AbstractModel):
|
|
8538
|
+
"""StartWebRecord请求参数结构体
|
|
8539
|
+
|
|
8540
|
+
"""
|
|
8541
|
+
|
|
8542
|
+
def __init__(self):
|
|
8543
|
+
r"""
|
|
8544
|
+
:param _RecordUrl: 需要录制的网页URL
|
|
8545
|
+
|
|
8546
|
+
:type RecordUrl: str
|
|
8547
|
+
:param _MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[0, 36000], 默认 36000s(10 小时)
|
|
8548
|
+
|
|
8549
|
+
:type MaxDurationLimit: int
|
|
8550
|
+
:param _StorageParams: 云存储相关的参数,目前支持腾讯云对象存储,不支持第三方云存储以及VOD
|
|
8551
|
+
:type StorageParams: :class:`tencentcloud.trtc.v20190722.models.StorageParams`
|
|
8552
|
+
:param _WebRecordVideoParams: 页面录制视频参数
|
|
8553
|
+
:type WebRecordVideoParams: :class:`tencentcloud.trtc.v20190722.models.WebRecordVideoParams`
|
|
8554
|
+
:param _SdkAppId: TRTC的SdkAppId
|
|
8555
|
+
:type SdkAppId: int
|
|
8556
|
+
:param _RecordId: 当对重复任务敏感时,请关注此值: 为了避免任务在短时间内重复发起,导致任务重复
|
|
8557
|
+
传入录制RecordId来标识此次任务, 小于32字节,若携带RecordId发起两次以上的开始录制请求,任务只会启动一个,第二个报错FailedOperation.TaskExist。注意StartWebRecord调用失败时而非FailedOperation.TaskExist错误,请更换RecordId重新发起。
|
|
8558
|
+
:type RecordId: str
|
|
8559
|
+
"""
|
|
8560
|
+
self._RecordUrl = None
|
|
8561
|
+
self._MaxDurationLimit = None
|
|
8562
|
+
self._StorageParams = None
|
|
8563
|
+
self._WebRecordVideoParams = None
|
|
8564
|
+
self._SdkAppId = None
|
|
8565
|
+
self._RecordId = None
|
|
8566
|
+
|
|
8567
|
+
@property
|
|
8568
|
+
def RecordUrl(self):
|
|
8569
|
+
return self._RecordUrl
|
|
8570
|
+
|
|
8571
|
+
@RecordUrl.setter
|
|
8572
|
+
def RecordUrl(self, RecordUrl):
|
|
8573
|
+
self._RecordUrl = RecordUrl
|
|
8574
|
+
|
|
8575
|
+
@property
|
|
8576
|
+
def MaxDurationLimit(self):
|
|
8577
|
+
return self._MaxDurationLimit
|
|
8578
|
+
|
|
8579
|
+
@MaxDurationLimit.setter
|
|
8580
|
+
def MaxDurationLimit(self, MaxDurationLimit):
|
|
8581
|
+
self._MaxDurationLimit = MaxDurationLimit
|
|
8582
|
+
|
|
8583
|
+
@property
|
|
8584
|
+
def StorageParams(self):
|
|
8585
|
+
return self._StorageParams
|
|
8586
|
+
|
|
8587
|
+
@StorageParams.setter
|
|
8588
|
+
def StorageParams(self, StorageParams):
|
|
8589
|
+
self._StorageParams = StorageParams
|
|
8590
|
+
|
|
8591
|
+
@property
|
|
8592
|
+
def WebRecordVideoParams(self):
|
|
8593
|
+
return self._WebRecordVideoParams
|
|
8594
|
+
|
|
8595
|
+
@WebRecordVideoParams.setter
|
|
8596
|
+
def WebRecordVideoParams(self, WebRecordVideoParams):
|
|
8597
|
+
self._WebRecordVideoParams = WebRecordVideoParams
|
|
8598
|
+
|
|
8599
|
+
@property
|
|
8600
|
+
def SdkAppId(self):
|
|
8601
|
+
return self._SdkAppId
|
|
8602
|
+
|
|
8603
|
+
@SdkAppId.setter
|
|
8604
|
+
def SdkAppId(self, SdkAppId):
|
|
8605
|
+
self._SdkAppId = SdkAppId
|
|
8606
|
+
|
|
8607
|
+
@property
|
|
8608
|
+
def RecordId(self):
|
|
8609
|
+
return self._RecordId
|
|
8610
|
+
|
|
8611
|
+
@RecordId.setter
|
|
8612
|
+
def RecordId(self, RecordId):
|
|
8613
|
+
self._RecordId = RecordId
|
|
8614
|
+
|
|
8615
|
+
|
|
8616
|
+
def _deserialize(self, params):
|
|
8617
|
+
self._RecordUrl = params.get("RecordUrl")
|
|
8618
|
+
self._MaxDurationLimit = params.get("MaxDurationLimit")
|
|
8619
|
+
if params.get("StorageParams") is not None:
|
|
8620
|
+
self._StorageParams = StorageParams()
|
|
8621
|
+
self._StorageParams._deserialize(params.get("StorageParams"))
|
|
8622
|
+
if params.get("WebRecordVideoParams") is not None:
|
|
8623
|
+
self._WebRecordVideoParams = WebRecordVideoParams()
|
|
8624
|
+
self._WebRecordVideoParams._deserialize(params.get("WebRecordVideoParams"))
|
|
8625
|
+
self._SdkAppId = params.get("SdkAppId")
|
|
8626
|
+
self._RecordId = params.get("RecordId")
|
|
8627
|
+
memeber_set = set(params.keys())
|
|
8628
|
+
for name, value in vars(self).items():
|
|
8629
|
+
property_name = name[1:]
|
|
8630
|
+
if property_name in memeber_set:
|
|
8631
|
+
memeber_set.remove(property_name)
|
|
8632
|
+
if len(memeber_set) > 0:
|
|
8633
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8634
|
+
|
|
8635
|
+
|
|
8636
|
+
|
|
8637
|
+
class StartWebRecordResponse(AbstractModel):
|
|
8638
|
+
"""StartWebRecord返回参数结构体
|
|
8639
|
+
|
|
8640
|
+
"""
|
|
8641
|
+
|
|
8642
|
+
def __init__(self):
|
|
8643
|
+
r"""
|
|
8644
|
+
:param _TaskId: 录制任务的唯一Id
|
|
8645
|
+
:type TaskId: str
|
|
8646
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8647
|
+
:type RequestId: str
|
|
8648
|
+
"""
|
|
8649
|
+
self._TaskId = None
|
|
8650
|
+
self._RequestId = None
|
|
8651
|
+
|
|
8652
|
+
@property
|
|
8653
|
+
def TaskId(self):
|
|
8654
|
+
return self._TaskId
|
|
8655
|
+
|
|
8656
|
+
@TaskId.setter
|
|
8657
|
+
def TaskId(self, TaskId):
|
|
8658
|
+
self._TaskId = TaskId
|
|
8659
|
+
|
|
8660
|
+
@property
|
|
8661
|
+
def RequestId(self):
|
|
8662
|
+
return self._RequestId
|
|
8663
|
+
|
|
8664
|
+
@RequestId.setter
|
|
8665
|
+
def RequestId(self, RequestId):
|
|
8666
|
+
self._RequestId = RequestId
|
|
8667
|
+
|
|
8668
|
+
|
|
8669
|
+
def _deserialize(self, params):
|
|
8670
|
+
self._TaskId = params.get("TaskId")
|
|
8671
|
+
self._RequestId = params.get("RequestId")
|
|
8672
|
+
|
|
8673
|
+
|
|
8466
8674
|
class StopMCUMixTranscodeByStrRoomIdRequest(AbstractModel):
|
|
8467
8675
|
"""StopMCUMixTranscodeByStrRoomId请求参数结构体
|
|
8468
8676
|
|
|
@@ -8755,6 +8963,64 @@ class StopStreamIngestResponse(AbstractModel):
|
|
|
8755
8963
|
self._RequestId = params.get("RequestId")
|
|
8756
8964
|
|
|
8757
8965
|
|
|
8966
|
+
class StopWebRecordRequest(AbstractModel):
|
|
8967
|
+
"""StopWebRecord请求参数结构体
|
|
8968
|
+
|
|
8969
|
+
"""
|
|
8970
|
+
|
|
8971
|
+
def __init__(self):
|
|
8972
|
+
r"""
|
|
8973
|
+
:param _TaskId: 需要停止的任务Id
|
|
8974
|
+
:type TaskId: str
|
|
8975
|
+
"""
|
|
8976
|
+
self._TaskId = None
|
|
8977
|
+
|
|
8978
|
+
@property
|
|
8979
|
+
def TaskId(self):
|
|
8980
|
+
return self._TaskId
|
|
8981
|
+
|
|
8982
|
+
@TaskId.setter
|
|
8983
|
+
def TaskId(self, TaskId):
|
|
8984
|
+
self._TaskId = TaskId
|
|
8985
|
+
|
|
8986
|
+
|
|
8987
|
+
def _deserialize(self, params):
|
|
8988
|
+
self._TaskId = params.get("TaskId")
|
|
8989
|
+
memeber_set = set(params.keys())
|
|
8990
|
+
for name, value in vars(self).items():
|
|
8991
|
+
property_name = name[1:]
|
|
8992
|
+
if property_name in memeber_set:
|
|
8993
|
+
memeber_set.remove(property_name)
|
|
8994
|
+
if len(memeber_set) > 0:
|
|
8995
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8996
|
+
|
|
8997
|
+
|
|
8998
|
+
|
|
8999
|
+
class StopWebRecordResponse(AbstractModel):
|
|
9000
|
+
"""StopWebRecord返回参数结构体
|
|
9001
|
+
|
|
9002
|
+
"""
|
|
9003
|
+
|
|
9004
|
+
def __init__(self):
|
|
9005
|
+
r"""
|
|
9006
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9007
|
+
:type RequestId: str
|
|
9008
|
+
"""
|
|
9009
|
+
self._RequestId = None
|
|
9010
|
+
|
|
9011
|
+
@property
|
|
9012
|
+
def RequestId(self):
|
|
9013
|
+
return self._RequestId
|
|
9014
|
+
|
|
9015
|
+
@RequestId.setter
|
|
9016
|
+
def RequestId(self, RequestId):
|
|
9017
|
+
self._RequestId = RequestId
|
|
9018
|
+
|
|
9019
|
+
|
|
9020
|
+
def _deserialize(self, params):
|
|
9021
|
+
self._RequestId = params.get("RequestId")
|
|
9022
|
+
|
|
9023
|
+
|
|
8758
9024
|
class StorageFile(AbstractModel):
|
|
8759
9025
|
"""云端录制查询接口,录制文件的信息
|
|
8760
9026
|
|
|
@@ -9102,7 +9368,7 @@ class TencentVod(AbstractModel):
|
|
|
9102
9368
|
:param _MediaType: 上传到vod平台的录制文件格式类型,0:mp4(默认), 1: hls, 2:aac(StreamType=1纯音频录制时有效),
|
|
9103
9369
|
3: hls+mp4, 4: hls+aac(StreamType=1纯音频录制时有效)。
|
|
9104
9370
|
:type MediaType: int
|
|
9105
|
-
:param _UserDefineRecordId: 仅支持API录制上传vod,该参数表示用户可以自定义录制文件名前缀,【限制长度为64字节,只允许包含大小写英文字母(a-zA-Z)、数字(0-9
|
|
9371
|
+
:param _UserDefineRecordId: 仅支持API录制上传vod,该参数表示用户可以自定义录制文件名前缀,【限制长度为64字节,只允许包含大小写英文字母(a-zA-Z)、数字(0-9)及下划线和连词符】。前缀与自动生成的录制文件名之间用`__UserDefine_u_` 分开。
|
|
9106
9372
|
:type UserDefineRecordId: str
|
|
9107
9373
|
"""
|
|
9108
9374
|
self._Procedure = None
|
|
@@ -10337,4 +10603,62 @@ class WaterMarkTimestamp(AbstractModel):
|
|
|
10337
10603
|
memeber_set.remove(property_name)
|
|
10338
10604
|
if len(memeber_set) > 0:
|
|
10339
10605
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
|
|
10609
|
+
class WebRecordVideoParams(AbstractModel):
|
|
10610
|
+
"""页面录制视频参数
|
|
10611
|
+
|
|
10612
|
+
"""
|
|
10613
|
+
|
|
10614
|
+
def __init__(self):
|
|
10615
|
+
r"""
|
|
10616
|
+
:param _Width: 录制画面宽度,默认为1280,取值范围[0, 1920]
|
|
10617
|
+
:type Width: int
|
|
10618
|
+
:param _Height: 录制画面高度,默认为720,取值范围[0, 1080]
|
|
10619
|
+
:type Height: int
|
|
10620
|
+
:param _Format: 指定输出格式,可选hls,mp4
|
|
10621
|
+
|
|
10622
|
+
:type Format: str
|
|
10623
|
+
"""
|
|
10624
|
+
self._Width = None
|
|
10625
|
+
self._Height = None
|
|
10626
|
+
self._Format = None
|
|
10627
|
+
|
|
10628
|
+
@property
|
|
10629
|
+
def Width(self):
|
|
10630
|
+
return self._Width
|
|
10631
|
+
|
|
10632
|
+
@Width.setter
|
|
10633
|
+
def Width(self, Width):
|
|
10634
|
+
self._Width = Width
|
|
10635
|
+
|
|
10636
|
+
@property
|
|
10637
|
+
def Height(self):
|
|
10638
|
+
return self._Height
|
|
10639
|
+
|
|
10640
|
+
@Height.setter
|
|
10641
|
+
def Height(self, Height):
|
|
10642
|
+
self._Height = Height
|
|
10643
|
+
|
|
10644
|
+
@property
|
|
10645
|
+
def Format(self):
|
|
10646
|
+
return self._Format
|
|
10647
|
+
|
|
10648
|
+
@Format.setter
|
|
10649
|
+
def Format(self, Format):
|
|
10650
|
+
self._Format = Format
|
|
10651
|
+
|
|
10652
|
+
|
|
10653
|
+
def _deserialize(self, params):
|
|
10654
|
+
self._Width = params.get("Width")
|
|
10655
|
+
self._Height = params.get("Height")
|
|
10656
|
+
self._Format = params.get("Format")
|
|
10657
|
+
memeber_set = set(params.keys())
|
|
10658
|
+
for name, value in vars(self).items():
|
|
10659
|
+
property_name = name[1:]
|
|
10660
|
+
if property_name in memeber_set:
|
|
10661
|
+
memeber_set.remove(property_name)
|
|
10662
|
+
if len(memeber_set) > 0:
|
|
10663
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10340
10664
|
|
|
@@ -778,6 +778,29 @@ class TrtcClient(AbstractClient):
|
|
|
778
778
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
779
779
|
|
|
780
780
|
|
|
781
|
+
def DescribeWebRecord(self, request):
|
|
782
|
+
"""查询页面录制任务
|
|
783
|
+
|
|
784
|
+
:param request: Request instance for DescribeWebRecord.
|
|
785
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.DescribeWebRecordRequest`
|
|
786
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeWebRecordResponse`
|
|
787
|
+
|
|
788
|
+
"""
|
|
789
|
+
try:
|
|
790
|
+
params = request._serialize()
|
|
791
|
+
headers = request.headers
|
|
792
|
+
body = self.call("DescribeWebRecord", params, headers=headers)
|
|
793
|
+
response = json.loads(body)
|
|
794
|
+
model = models.DescribeWebRecordResponse()
|
|
795
|
+
model._deserialize(response["Response"])
|
|
796
|
+
return model
|
|
797
|
+
except Exception as e:
|
|
798
|
+
if isinstance(e, TencentCloudSDKException):
|
|
799
|
+
raise
|
|
800
|
+
else:
|
|
801
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
802
|
+
|
|
803
|
+
|
|
781
804
|
def DismissRoom(self, request):
|
|
782
805
|
"""接口说明:把房间所有用户从房间移出,解散房间。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
|
|
783
806
|
|
|
@@ -1145,6 +1168,30 @@ class TrtcClient(AbstractClient):
|
|
|
1145
1168
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1146
1169
|
|
|
1147
1170
|
|
|
1171
|
+
def StartWebRecord(self, request):
|
|
1172
|
+
"""通过此接口可以发起 WEB 页面录制任务,在接口参数中指定录制 URL,录制分辨率,录制结果存储等参数。
|
|
1173
|
+
因为参数或API逻辑问题会立即返回结果。而因为页面问题,如页面无法访问,会在回调中返回结果,请关注。
|
|
1174
|
+
|
|
1175
|
+
:param request: Request instance for StartWebRecord.
|
|
1176
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.StartWebRecordRequest`
|
|
1177
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.StartWebRecordResponse`
|
|
1178
|
+
|
|
1179
|
+
"""
|
|
1180
|
+
try:
|
|
1181
|
+
params = request._serialize()
|
|
1182
|
+
headers = request.headers
|
|
1183
|
+
body = self.call("StartWebRecord", params, headers=headers)
|
|
1184
|
+
response = json.loads(body)
|
|
1185
|
+
model = models.StartWebRecordResponse()
|
|
1186
|
+
model._deserialize(response["Response"])
|
|
1187
|
+
return model
|
|
1188
|
+
except Exception as e:
|
|
1189
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1190
|
+
raise
|
|
1191
|
+
else:
|
|
1192
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1193
|
+
|
|
1194
|
+
|
|
1148
1195
|
def StopMCUMixTranscode(self, request):
|
|
1149
1196
|
"""接口说明:结束云端混流
|
|
1150
1197
|
|
|
@@ -1237,6 +1284,29 @@ class TrtcClient(AbstractClient):
|
|
|
1237
1284
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1238
1285
|
|
|
1239
1286
|
|
|
1287
|
+
def StopWebRecord(self, request):
|
|
1288
|
+
"""停止页面录制任务
|
|
1289
|
+
|
|
1290
|
+
:param request: Request instance for StopWebRecord.
|
|
1291
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.StopWebRecordRequest`
|
|
1292
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.StopWebRecordResponse`
|
|
1293
|
+
|
|
1294
|
+
"""
|
|
1295
|
+
try:
|
|
1296
|
+
params = request._serialize()
|
|
1297
|
+
headers = request.headers
|
|
1298
|
+
body = self.call("StopWebRecord", params, headers=headers)
|
|
1299
|
+
response = json.loads(body)
|
|
1300
|
+
model = models.StopWebRecordResponse()
|
|
1301
|
+
model._deserialize(response["Response"])
|
|
1302
|
+
return model
|
|
1303
|
+
except Exception as e:
|
|
1304
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1305
|
+
raise
|
|
1306
|
+
else:
|
|
1307
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1308
|
+
|
|
1309
|
+
|
|
1240
1310
|
def UpdatePublishCdnStream(self, request):
|
|
1241
1311
|
"""更新转推任务。
|
|
1242
1312
|
注:请参见启动转推任务的接口说明和使用说明。
|