tencentcloud-sdk-python-intl-en 3.0.1228__py2.py3-none-any.whl → 3.0.1230__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-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +121 -2
- tencentcloud/ccc/v20200210/errorcodes.py +12 -3
- tencentcloud/ccc/v20200210/models.py +1155 -163
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +1 -1
- tencentcloud/iotcloud/v20210408/models.py +20 -12
- tencentcloud/live/v20180801/live_client.py +23 -0
- tencentcloud/live/v20180801/models.py +109 -0
- tencentcloud/mdl/v20200326/models.py +417 -2
- tencentcloud/teo/v20220901/errorcodes.py +15 -0
- tencentcloud/teo/v20220901/models.py +952 -68
- tencentcloud/teo/v20220901/teo_client.py +121 -0
- tencentcloud/vod/v20240718/__init__.py +0 -0
- tencentcloud/vod/v20240718/errorcodes.py +48 -0
- tencentcloud/vod/v20240718/models.py +2101 -0
- tencentcloud/vod/v20240718/vod_client.py +194 -0
- {tencentcloud_sdk_python_intl_en-3.0.1228.dist-info → tencentcloud_sdk_python_intl_en-3.0.1230.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1228.dist-info → tencentcloud_sdk_python_intl_en-3.0.1230.dist-info}/RECORD +20 -16
- {tencentcloud_sdk_python_intl_en-3.0.1228.dist-info → tencentcloud_sdk_python_intl_en-3.0.1230.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1228.dist-info → tencentcloud_sdk_python_intl_en-3.0.1230.dist-info}/top_level.txt +0 -0
|
@@ -2102,6 +2102,8 @@ class CreateStreamLiveChannelRequest(AbstractModel):
|
|
|
2102
2102
|
:type Tags: list of Tag
|
|
2103
2103
|
:param _FrameCaptureTemplates: Frame capture templates.
|
|
2104
2104
|
:type FrameCaptureTemplates: list of FrameCaptureTemplate
|
|
2105
|
+
:param _GeneralSettings: General settings.
|
|
2106
|
+
:type GeneralSettings: :class:`tencentcloud.mdl.v20200326.models.GeneralSetting`
|
|
2105
2107
|
"""
|
|
2106
2108
|
self._Name = None
|
|
2107
2109
|
self._AttachedInputs = None
|
|
@@ -2117,6 +2119,7 @@ class CreateStreamLiveChannelRequest(AbstractModel):
|
|
|
2117
2119
|
self._InputAnalysisSettings = None
|
|
2118
2120
|
self._Tags = None
|
|
2119
2121
|
self._FrameCaptureTemplates = None
|
|
2122
|
+
self._GeneralSettings = None
|
|
2120
2123
|
|
|
2121
2124
|
@property
|
|
2122
2125
|
def Name(self):
|
|
@@ -2272,6 +2275,17 @@ class CreateStreamLiveChannelRequest(AbstractModel):
|
|
|
2272
2275
|
def FrameCaptureTemplates(self, FrameCaptureTemplates):
|
|
2273
2276
|
self._FrameCaptureTemplates = FrameCaptureTemplates
|
|
2274
2277
|
|
|
2278
|
+
@property
|
|
2279
|
+
def GeneralSettings(self):
|
|
2280
|
+
"""General settings.
|
|
2281
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.GeneralSetting`
|
|
2282
|
+
"""
|
|
2283
|
+
return self._GeneralSettings
|
|
2284
|
+
|
|
2285
|
+
@GeneralSettings.setter
|
|
2286
|
+
def GeneralSettings(self, GeneralSettings):
|
|
2287
|
+
self._GeneralSettings = GeneralSettings
|
|
2288
|
+
|
|
2275
2289
|
|
|
2276
2290
|
def _deserialize(self, params):
|
|
2277
2291
|
self._Name = params.get("Name")
|
|
@@ -2338,6 +2352,9 @@ class CreateStreamLiveChannelRequest(AbstractModel):
|
|
|
2338
2352
|
obj = FrameCaptureTemplate()
|
|
2339
2353
|
obj._deserialize(item)
|
|
2340
2354
|
self._FrameCaptureTemplates.append(obj)
|
|
2355
|
+
if params.get("GeneralSettings") is not None:
|
|
2356
|
+
self._GeneralSettings = GeneralSetting()
|
|
2357
|
+
self._GeneralSettings._deserialize(params.get("GeneralSettings"))
|
|
2341
2358
|
memeber_set = set(params.keys())
|
|
2342
2359
|
for name, value in vars(self).items():
|
|
2343
2360
|
property_name = name[1:]
|
|
@@ -5855,6 +5872,10 @@ class EventSettingsReq(AbstractModel):
|
|
|
5855
5872
|
:type SpliceDuration: int
|
|
5856
5873
|
:param _TimedMetadataSetting: Meta information plan configuration.
|
|
5857
5874
|
:type TimedMetadataSetting: :class:`tencentcloud.mdl.v20200326.models.TimedMetadataInfo`
|
|
5875
|
+
:param _StaticImageActivateSetting: Static image activate setting.
|
|
5876
|
+
:type StaticImageActivateSetting: :class:`tencentcloud.mdl.v20200326.models.StaticImageActivateSetting`
|
|
5877
|
+
:param _StaticImageDeactivateSetting: Static image deactivate setting.
|
|
5878
|
+
:type StaticImageDeactivateSetting: :class:`tencentcloud.mdl.v20200326.models.StaticImageDeactivateSetting`
|
|
5858
5879
|
"""
|
|
5859
5880
|
self._EventType = None
|
|
5860
5881
|
self._InputAttachment = None
|
|
@@ -5865,6 +5886,8 @@ class EventSettingsReq(AbstractModel):
|
|
|
5865
5886
|
self._SpliceEventID = None
|
|
5866
5887
|
self._SpliceDuration = None
|
|
5867
5888
|
self._TimedMetadataSetting = None
|
|
5889
|
+
self._StaticImageActivateSetting = None
|
|
5890
|
+
self._StaticImageDeactivateSetting = None
|
|
5868
5891
|
|
|
5869
5892
|
@property
|
|
5870
5893
|
def EventType(self):
|
|
@@ -5965,6 +5988,28 @@ class EventSettingsReq(AbstractModel):
|
|
|
5965
5988
|
def TimedMetadataSetting(self, TimedMetadataSetting):
|
|
5966
5989
|
self._TimedMetadataSetting = TimedMetadataSetting
|
|
5967
5990
|
|
|
5991
|
+
@property
|
|
5992
|
+
def StaticImageActivateSetting(self):
|
|
5993
|
+
"""Static image activate setting.
|
|
5994
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.StaticImageActivateSetting`
|
|
5995
|
+
"""
|
|
5996
|
+
return self._StaticImageActivateSetting
|
|
5997
|
+
|
|
5998
|
+
@StaticImageActivateSetting.setter
|
|
5999
|
+
def StaticImageActivateSetting(self, StaticImageActivateSetting):
|
|
6000
|
+
self._StaticImageActivateSetting = StaticImageActivateSetting
|
|
6001
|
+
|
|
6002
|
+
@property
|
|
6003
|
+
def StaticImageDeactivateSetting(self):
|
|
6004
|
+
"""Static image deactivate setting.
|
|
6005
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.StaticImageDeactivateSetting`
|
|
6006
|
+
"""
|
|
6007
|
+
return self._StaticImageDeactivateSetting
|
|
6008
|
+
|
|
6009
|
+
@StaticImageDeactivateSetting.setter
|
|
6010
|
+
def StaticImageDeactivateSetting(self, StaticImageDeactivateSetting):
|
|
6011
|
+
self._StaticImageDeactivateSetting = StaticImageDeactivateSetting
|
|
6012
|
+
|
|
5968
6013
|
|
|
5969
6014
|
def _deserialize(self, params):
|
|
5970
6015
|
self._EventType = params.get("EventType")
|
|
@@ -5988,6 +6033,12 @@ class EventSettingsReq(AbstractModel):
|
|
|
5988
6033
|
if params.get("TimedMetadataSetting") is not None:
|
|
5989
6034
|
self._TimedMetadataSetting = TimedMetadataInfo()
|
|
5990
6035
|
self._TimedMetadataSetting._deserialize(params.get("TimedMetadataSetting"))
|
|
6036
|
+
if params.get("StaticImageActivateSetting") is not None:
|
|
6037
|
+
self._StaticImageActivateSetting = StaticImageActivateSetting()
|
|
6038
|
+
self._StaticImageActivateSetting._deserialize(params.get("StaticImageActivateSetting"))
|
|
6039
|
+
if params.get("StaticImageDeactivateSetting") is not None:
|
|
6040
|
+
self._StaticImageDeactivateSetting = StaticImageDeactivateSetting()
|
|
6041
|
+
self._StaticImageDeactivateSetting._deserialize(params.get("StaticImageDeactivateSetting"))
|
|
5991
6042
|
memeber_set = set(params.keys())
|
|
5992
6043
|
for name, value in vars(self).items():
|
|
5993
6044
|
property_name = name[1:]
|
|
@@ -6023,6 +6074,10 @@ class EventSettingsResp(AbstractModel):
|
|
|
6023
6074
|
:type SpliceDuration: str
|
|
6024
6075
|
:param _TimedMetadataSetting: Meta information plan configuration.
|
|
6025
6076
|
:type TimedMetadataSetting: :class:`tencentcloud.mdl.v20200326.models.TimedMetadataInfo`
|
|
6077
|
+
:param _StaticImageActivateSetting: Static image activate setting.
|
|
6078
|
+
:type StaticImageActivateSetting: :class:`tencentcloud.mdl.v20200326.models.StaticImageActivateSetting`
|
|
6079
|
+
:param _StaticImageDeactivateSetting: Static image deactivate setting.
|
|
6080
|
+
:type StaticImageDeactivateSetting: :class:`tencentcloud.mdl.v20200326.models.StaticImageDeactivateSetting`
|
|
6026
6081
|
"""
|
|
6027
6082
|
self._EventType = None
|
|
6028
6083
|
self._InputAttachment = None
|
|
@@ -6033,6 +6088,8 @@ class EventSettingsResp(AbstractModel):
|
|
|
6033
6088
|
self._SpliceEventID = None
|
|
6034
6089
|
self._SpliceDuration = None
|
|
6035
6090
|
self._TimedMetadataSetting = None
|
|
6091
|
+
self._StaticImageActivateSetting = None
|
|
6092
|
+
self._StaticImageDeactivateSetting = None
|
|
6036
6093
|
|
|
6037
6094
|
@property
|
|
6038
6095
|
def EventType(self):
|
|
@@ -6133,6 +6190,28 @@ class EventSettingsResp(AbstractModel):
|
|
|
6133
6190
|
def TimedMetadataSetting(self, TimedMetadataSetting):
|
|
6134
6191
|
self._TimedMetadataSetting = TimedMetadataSetting
|
|
6135
6192
|
|
|
6193
|
+
@property
|
|
6194
|
+
def StaticImageActivateSetting(self):
|
|
6195
|
+
"""Static image activate setting.
|
|
6196
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.StaticImageActivateSetting`
|
|
6197
|
+
"""
|
|
6198
|
+
return self._StaticImageActivateSetting
|
|
6199
|
+
|
|
6200
|
+
@StaticImageActivateSetting.setter
|
|
6201
|
+
def StaticImageActivateSetting(self, StaticImageActivateSetting):
|
|
6202
|
+
self._StaticImageActivateSetting = StaticImageActivateSetting
|
|
6203
|
+
|
|
6204
|
+
@property
|
|
6205
|
+
def StaticImageDeactivateSetting(self):
|
|
6206
|
+
"""Static image deactivate setting.
|
|
6207
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.StaticImageDeactivateSetting`
|
|
6208
|
+
"""
|
|
6209
|
+
return self._StaticImageDeactivateSetting
|
|
6210
|
+
|
|
6211
|
+
@StaticImageDeactivateSetting.setter
|
|
6212
|
+
def StaticImageDeactivateSetting(self, StaticImageDeactivateSetting):
|
|
6213
|
+
self._StaticImageDeactivateSetting = StaticImageDeactivateSetting
|
|
6214
|
+
|
|
6136
6215
|
|
|
6137
6216
|
def _deserialize(self, params):
|
|
6138
6217
|
self._EventType = params.get("EventType")
|
|
@@ -6156,6 +6235,12 @@ class EventSettingsResp(AbstractModel):
|
|
|
6156
6235
|
if params.get("TimedMetadataSetting") is not None:
|
|
6157
6236
|
self._TimedMetadataSetting = TimedMetadataInfo()
|
|
6158
6237
|
self._TimedMetadataSetting._deserialize(params.get("TimedMetadataSetting"))
|
|
6238
|
+
if params.get("StaticImageActivateSetting") is not None:
|
|
6239
|
+
self._StaticImageActivateSetting = StaticImageActivateSetting()
|
|
6240
|
+
self._StaticImageActivateSetting._deserialize(params.get("StaticImageActivateSetting"))
|
|
6241
|
+
if params.get("StaticImageDeactivateSetting") is not None:
|
|
6242
|
+
self._StaticImageDeactivateSetting = StaticImageDeactivateSetting()
|
|
6243
|
+
self._StaticImageDeactivateSetting._deserialize(params.get("StaticImageDeactivateSetting"))
|
|
6159
6244
|
memeber_set = set(params.keys())
|
|
6160
6245
|
for name, value in vars(self).items():
|
|
6161
6246
|
property_name = name[1:]
|
|
@@ -6360,6 +6445,44 @@ class FrameCaptureTemplate(AbstractModel):
|
|
|
6360
6445
|
|
|
6361
6446
|
|
|
6362
6447
|
|
|
6448
|
+
class GeneralSetting(AbstractModel):
|
|
6449
|
+
"""General setting.
|
|
6450
|
+
|
|
6451
|
+
"""
|
|
6452
|
+
|
|
6453
|
+
def __init__(self):
|
|
6454
|
+
r"""
|
|
6455
|
+
:param _StaticImageSettings: Static graphic overlay configuration.
|
|
6456
|
+
:type StaticImageSettings: :class:`tencentcloud.mdl.v20200326.models.StaticImageSettings`
|
|
6457
|
+
"""
|
|
6458
|
+
self._StaticImageSettings = None
|
|
6459
|
+
|
|
6460
|
+
@property
|
|
6461
|
+
def StaticImageSettings(self):
|
|
6462
|
+
"""Static graphic overlay configuration.
|
|
6463
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.StaticImageSettings`
|
|
6464
|
+
"""
|
|
6465
|
+
return self._StaticImageSettings
|
|
6466
|
+
|
|
6467
|
+
@StaticImageSettings.setter
|
|
6468
|
+
def StaticImageSettings(self, StaticImageSettings):
|
|
6469
|
+
self._StaticImageSettings = StaticImageSettings
|
|
6470
|
+
|
|
6471
|
+
|
|
6472
|
+
def _deserialize(self, params):
|
|
6473
|
+
if params.get("StaticImageSettings") is not None:
|
|
6474
|
+
self._StaticImageSettings = StaticImageSettings()
|
|
6475
|
+
self._StaticImageSettings._deserialize(params.get("StaticImageSettings"))
|
|
6476
|
+
memeber_set = set(params.keys())
|
|
6477
|
+
for name, value in vars(self).items():
|
|
6478
|
+
property_name = name[1:]
|
|
6479
|
+
if property_name in memeber_set:
|
|
6480
|
+
memeber_set.remove(property_name)
|
|
6481
|
+
if len(memeber_set) > 0:
|
|
6482
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6483
|
+
|
|
6484
|
+
|
|
6485
|
+
|
|
6363
6486
|
class GetAbWatermarkPlayUrlRequest(AbstractModel):
|
|
6364
6487
|
"""GetAbWatermarkPlayUrl request structure.
|
|
6365
6488
|
|
|
@@ -7752,6 +7875,8 @@ class ModifyStreamLiveChannelRequest(AbstractModel):
|
|
|
7752
7875
|
:type Tags: list of Tag
|
|
7753
7876
|
:param _FrameCaptureTemplates: Frame capture templates.
|
|
7754
7877
|
:type FrameCaptureTemplates: list of FrameCaptureTemplate
|
|
7878
|
+
:param _GeneralSettings: General settings.
|
|
7879
|
+
:type GeneralSettings: :class:`tencentcloud.mdl.v20200326.models.GeneralSetting`
|
|
7755
7880
|
"""
|
|
7756
7881
|
self._Id = None
|
|
7757
7882
|
self._Name = None
|
|
@@ -7768,6 +7893,7 @@ class ModifyStreamLiveChannelRequest(AbstractModel):
|
|
|
7768
7893
|
self._InputAnalysisSettings = None
|
|
7769
7894
|
self._Tags = None
|
|
7770
7895
|
self._FrameCaptureTemplates = None
|
|
7896
|
+
self._GeneralSettings = None
|
|
7771
7897
|
|
|
7772
7898
|
@property
|
|
7773
7899
|
def Id(self):
|
|
@@ -7934,6 +8060,17 @@ class ModifyStreamLiveChannelRequest(AbstractModel):
|
|
|
7934
8060
|
def FrameCaptureTemplates(self, FrameCaptureTemplates):
|
|
7935
8061
|
self._FrameCaptureTemplates = FrameCaptureTemplates
|
|
7936
8062
|
|
|
8063
|
+
@property
|
|
8064
|
+
def GeneralSettings(self):
|
|
8065
|
+
"""General settings.
|
|
8066
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.GeneralSetting`
|
|
8067
|
+
"""
|
|
8068
|
+
return self._GeneralSettings
|
|
8069
|
+
|
|
8070
|
+
@GeneralSettings.setter
|
|
8071
|
+
def GeneralSettings(self, GeneralSettings):
|
|
8072
|
+
self._GeneralSettings = GeneralSettings
|
|
8073
|
+
|
|
7937
8074
|
|
|
7938
8075
|
def _deserialize(self, params):
|
|
7939
8076
|
self._Id = params.get("Id")
|
|
@@ -8001,6 +8138,9 @@ class ModifyStreamLiveChannelRequest(AbstractModel):
|
|
|
8001
8138
|
obj = FrameCaptureTemplate()
|
|
8002
8139
|
obj._deserialize(item)
|
|
8003
8140
|
self._FrameCaptureTemplates.append(obj)
|
|
8141
|
+
if params.get("GeneralSettings") is not None:
|
|
8142
|
+
self._GeneralSettings = GeneralSetting()
|
|
8143
|
+
self._GeneralSettings._deserialize(params.get("GeneralSettings"))
|
|
8004
8144
|
memeber_set = set(params.keys())
|
|
8005
8145
|
for name, value in vars(self).items():
|
|
8006
8146
|
property_name = name[1:]
|
|
@@ -9891,6 +10031,264 @@ class StartStreamLiveChannelResponse(AbstractModel):
|
|
|
9891
10031
|
self._RequestId = params.get("RequestId")
|
|
9892
10032
|
|
|
9893
10033
|
|
|
10034
|
+
class StaticImageActivateSetting(AbstractModel):
|
|
10035
|
+
"""Static image activate setting.
|
|
10036
|
+
|
|
10037
|
+
"""
|
|
10038
|
+
|
|
10039
|
+
def __init__(self):
|
|
10040
|
+
r"""
|
|
10041
|
+
:param _ImageUrl: The address of the image to be inserted, starting with http or https and ending with .png .PNG .bmp .BMP .tga .TGA.
|
|
10042
|
+
:type ImageUrl: str
|
|
10043
|
+
:param _Layer: The layer of the superimposed image, 0-7; the default value is 0, and a higher layer means it is on the top.
|
|
10044
|
+
:type Layer: int
|
|
10045
|
+
:param _Opacity: Opacity, range 0-100; the default value is 100, which means completely opaque.
|
|
10046
|
+
:type Opacity: int
|
|
10047
|
+
:param _ImageX: The distance from the left edge in pixels; the default value is 0 and the maximum value is 4096.
|
|
10048
|
+
:type ImageX: int
|
|
10049
|
+
:param _ImageY: The distance from the top edge in pixels; the default value is 0 and the maximum value is 2160.
|
|
10050
|
+
:type ImageY: int
|
|
10051
|
+
:param _Width: The width of the image superimposed on the video frame, in pixels. The default value is empty (not set), which means using the original image size. The minimum value is 1 and the maximum value is 4096.
|
|
10052
|
+
:type Width: int
|
|
10053
|
+
:param _Height: The height of the image superimposed on the video frame, in pixels. The default value is empty (not set), which means the original image size is used. The minimum value is 1 and the maximum value is 2160.
|
|
10054
|
+
:type Height: int
|
|
10055
|
+
:param _Duration: Overlay duration, in milliseconds, range 0-86400000; default value 0, 0 means continuous.
|
|
10056
|
+
:type Duration: int
|
|
10057
|
+
:param _FadeIn: Fade-in duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-in effect.
|
|
10058
|
+
:type FadeIn: int
|
|
10059
|
+
:param _FadeOut: Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.
|
|
10060
|
+
:type FadeOut: int
|
|
10061
|
+
"""
|
|
10062
|
+
self._ImageUrl = None
|
|
10063
|
+
self._Layer = None
|
|
10064
|
+
self._Opacity = None
|
|
10065
|
+
self._ImageX = None
|
|
10066
|
+
self._ImageY = None
|
|
10067
|
+
self._Width = None
|
|
10068
|
+
self._Height = None
|
|
10069
|
+
self._Duration = None
|
|
10070
|
+
self._FadeIn = None
|
|
10071
|
+
self._FadeOut = None
|
|
10072
|
+
|
|
10073
|
+
@property
|
|
10074
|
+
def ImageUrl(self):
|
|
10075
|
+
"""The address of the image to be inserted, starting with http or https and ending with .png .PNG .bmp .BMP .tga .TGA.
|
|
10076
|
+
:rtype: str
|
|
10077
|
+
"""
|
|
10078
|
+
return self._ImageUrl
|
|
10079
|
+
|
|
10080
|
+
@ImageUrl.setter
|
|
10081
|
+
def ImageUrl(self, ImageUrl):
|
|
10082
|
+
self._ImageUrl = ImageUrl
|
|
10083
|
+
|
|
10084
|
+
@property
|
|
10085
|
+
def Layer(self):
|
|
10086
|
+
"""The layer of the superimposed image, 0-7; the default value is 0, and a higher layer means it is on the top.
|
|
10087
|
+
:rtype: int
|
|
10088
|
+
"""
|
|
10089
|
+
return self._Layer
|
|
10090
|
+
|
|
10091
|
+
@Layer.setter
|
|
10092
|
+
def Layer(self, Layer):
|
|
10093
|
+
self._Layer = Layer
|
|
10094
|
+
|
|
10095
|
+
@property
|
|
10096
|
+
def Opacity(self):
|
|
10097
|
+
"""Opacity, range 0-100; the default value is 100, which means completely opaque.
|
|
10098
|
+
:rtype: int
|
|
10099
|
+
"""
|
|
10100
|
+
return self._Opacity
|
|
10101
|
+
|
|
10102
|
+
@Opacity.setter
|
|
10103
|
+
def Opacity(self, Opacity):
|
|
10104
|
+
self._Opacity = Opacity
|
|
10105
|
+
|
|
10106
|
+
@property
|
|
10107
|
+
def ImageX(self):
|
|
10108
|
+
"""The distance from the left edge in pixels; the default value is 0 and the maximum value is 4096.
|
|
10109
|
+
:rtype: int
|
|
10110
|
+
"""
|
|
10111
|
+
return self._ImageX
|
|
10112
|
+
|
|
10113
|
+
@ImageX.setter
|
|
10114
|
+
def ImageX(self, ImageX):
|
|
10115
|
+
self._ImageX = ImageX
|
|
10116
|
+
|
|
10117
|
+
@property
|
|
10118
|
+
def ImageY(self):
|
|
10119
|
+
"""The distance from the top edge in pixels; the default value is 0 and the maximum value is 2160.
|
|
10120
|
+
:rtype: int
|
|
10121
|
+
"""
|
|
10122
|
+
return self._ImageY
|
|
10123
|
+
|
|
10124
|
+
@ImageY.setter
|
|
10125
|
+
def ImageY(self, ImageY):
|
|
10126
|
+
self._ImageY = ImageY
|
|
10127
|
+
|
|
10128
|
+
@property
|
|
10129
|
+
def Width(self):
|
|
10130
|
+
"""The width of the image superimposed on the video frame, in pixels. The default value is empty (not set), which means using the original image size. The minimum value is 1 and the maximum value is 4096.
|
|
10131
|
+
:rtype: int
|
|
10132
|
+
"""
|
|
10133
|
+
return self._Width
|
|
10134
|
+
|
|
10135
|
+
@Width.setter
|
|
10136
|
+
def Width(self, Width):
|
|
10137
|
+
self._Width = Width
|
|
10138
|
+
|
|
10139
|
+
@property
|
|
10140
|
+
def Height(self):
|
|
10141
|
+
"""The height of the image superimposed on the video frame, in pixels. The default value is empty (not set), which means the original image size is used. The minimum value is 1 and the maximum value is 2160.
|
|
10142
|
+
:rtype: int
|
|
10143
|
+
"""
|
|
10144
|
+
return self._Height
|
|
10145
|
+
|
|
10146
|
+
@Height.setter
|
|
10147
|
+
def Height(self, Height):
|
|
10148
|
+
self._Height = Height
|
|
10149
|
+
|
|
10150
|
+
@property
|
|
10151
|
+
def Duration(self):
|
|
10152
|
+
"""Overlay duration, in milliseconds, range 0-86400000; default value 0, 0 means continuous.
|
|
10153
|
+
:rtype: int
|
|
10154
|
+
"""
|
|
10155
|
+
return self._Duration
|
|
10156
|
+
|
|
10157
|
+
@Duration.setter
|
|
10158
|
+
def Duration(self, Duration):
|
|
10159
|
+
self._Duration = Duration
|
|
10160
|
+
|
|
10161
|
+
@property
|
|
10162
|
+
def FadeIn(self):
|
|
10163
|
+
"""Fade-in duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-in effect.
|
|
10164
|
+
:rtype: int
|
|
10165
|
+
"""
|
|
10166
|
+
return self._FadeIn
|
|
10167
|
+
|
|
10168
|
+
@FadeIn.setter
|
|
10169
|
+
def FadeIn(self, FadeIn):
|
|
10170
|
+
self._FadeIn = FadeIn
|
|
10171
|
+
|
|
10172
|
+
@property
|
|
10173
|
+
def FadeOut(self):
|
|
10174
|
+
"""Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.
|
|
10175
|
+
:rtype: int
|
|
10176
|
+
"""
|
|
10177
|
+
return self._FadeOut
|
|
10178
|
+
|
|
10179
|
+
@FadeOut.setter
|
|
10180
|
+
def FadeOut(self, FadeOut):
|
|
10181
|
+
self._FadeOut = FadeOut
|
|
10182
|
+
|
|
10183
|
+
|
|
10184
|
+
def _deserialize(self, params):
|
|
10185
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
10186
|
+
self._Layer = params.get("Layer")
|
|
10187
|
+
self._Opacity = params.get("Opacity")
|
|
10188
|
+
self._ImageX = params.get("ImageX")
|
|
10189
|
+
self._ImageY = params.get("ImageY")
|
|
10190
|
+
self._Width = params.get("Width")
|
|
10191
|
+
self._Height = params.get("Height")
|
|
10192
|
+
self._Duration = params.get("Duration")
|
|
10193
|
+
self._FadeIn = params.get("FadeIn")
|
|
10194
|
+
self._FadeOut = params.get("FadeOut")
|
|
10195
|
+
memeber_set = set(params.keys())
|
|
10196
|
+
for name, value in vars(self).items():
|
|
10197
|
+
property_name = name[1:]
|
|
10198
|
+
if property_name in memeber_set:
|
|
10199
|
+
memeber_set.remove(property_name)
|
|
10200
|
+
if len(memeber_set) > 0:
|
|
10201
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10202
|
+
|
|
10203
|
+
|
|
10204
|
+
|
|
10205
|
+
class StaticImageDeactivateSetting(AbstractModel):
|
|
10206
|
+
"""Static image deactivate setting.
|
|
10207
|
+
|
|
10208
|
+
"""
|
|
10209
|
+
|
|
10210
|
+
def __init__(self):
|
|
10211
|
+
r"""
|
|
10212
|
+
:param _Layer: The overlay level to be canceled, range 0-7, default value 0.
|
|
10213
|
+
:type Layer: int
|
|
10214
|
+
:param _FadeOut: Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.
|
|
10215
|
+
:type FadeOut: int
|
|
10216
|
+
"""
|
|
10217
|
+
self._Layer = None
|
|
10218
|
+
self._FadeOut = None
|
|
10219
|
+
|
|
10220
|
+
@property
|
|
10221
|
+
def Layer(self):
|
|
10222
|
+
"""The overlay level to be canceled, range 0-7, default value 0.
|
|
10223
|
+
:rtype: int
|
|
10224
|
+
"""
|
|
10225
|
+
return self._Layer
|
|
10226
|
+
|
|
10227
|
+
@Layer.setter
|
|
10228
|
+
def Layer(self, Layer):
|
|
10229
|
+
self._Layer = Layer
|
|
10230
|
+
|
|
10231
|
+
@property
|
|
10232
|
+
def FadeOut(self):
|
|
10233
|
+
"""Fade-out duration, in milliseconds, range 0-5000; default value 0, 0 means no fade-out effect.
|
|
10234
|
+
:rtype: int
|
|
10235
|
+
"""
|
|
10236
|
+
return self._FadeOut
|
|
10237
|
+
|
|
10238
|
+
@FadeOut.setter
|
|
10239
|
+
def FadeOut(self, FadeOut):
|
|
10240
|
+
self._FadeOut = FadeOut
|
|
10241
|
+
|
|
10242
|
+
|
|
10243
|
+
def _deserialize(self, params):
|
|
10244
|
+
self._Layer = params.get("Layer")
|
|
10245
|
+
self._FadeOut = params.get("FadeOut")
|
|
10246
|
+
memeber_set = set(params.keys())
|
|
10247
|
+
for name, value in vars(self).items():
|
|
10248
|
+
property_name = name[1:]
|
|
10249
|
+
if property_name in memeber_set:
|
|
10250
|
+
memeber_set.remove(property_name)
|
|
10251
|
+
if len(memeber_set) > 0:
|
|
10252
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10253
|
+
|
|
10254
|
+
|
|
10255
|
+
|
|
10256
|
+
class StaticImageSettings(AbstractModel):
|
|
10257
|
+
"""Static graphic overlay configuration.
|
|
10258
|
+
|
|
10259
|
+
"""
|
|
10260
|
+
|
|
10261
|
+
def __init__(self):
|
|
10262
|
+
r"""
|
|
10263
|
+
:param _GlobalImageOverlayEnabled: Whether to enable global static image overlay, 0: Disable, 1: Enable; Default value: 0.
|
|
10264
|
+
:type GlobalImageOverlayEnabled: int
|
|
10265
|
+
"""
|
|
10266
|
+
self._GlobalImageOverlayEnabled = None
|
|
10267
|
+
|
|
10268
|
+
@property
|
|
10269
|
+
def GlobalImageOverlayEnabled(self):
|
|
10270
|
+
"""Whether to enable global static image overlay, 0: Disable, 1: Enable; Default value: 0.
|
|
10271
|
+
:rtype: int
|
|
10272
|
+
"""
|
|
10273
|
+
return self._GlobalImageOverlayEnabled
|
|
10274
|
+
|
|
10275
|
+
@GlobalImageOverlayEnabled.setter
|
|
10276
|
+
def GlobalImageOverlayEnabled(self, GlobalImageOverlayEnabled):
|
|
10277
|
+
self._GlobalImageOverlayEnabled = GlobalImageOverlayEnabled
|
|
10278
|
+
|
|
10279
|
+
|
|
10280
|
+
def _deserialize(self, params):
|
|
10281
|
+
self._GlobalImageOverlayEnabled = params.get("GlobalImageOverlayEnabled")
|
|
10282
|
+
memeber_set = set(params.keys())
|
|
10283
|
+
for name, value in vars(self).items():
|
|
10284
|
+
property_name = name[1:]
|
|
10285
|
+
if property_name in memeber_set:
|
|
10286
|
+
memeber_set.remove(property_name)
|
|
10287
|
+
if len(memeber_set) > 0:
|
|
10288
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10289
|
+
|
|
10290
|
+
|
|
10291
|
+
|
|
9894
10292
|
class StopStreamLiveChannelRequest(AbstractModel):
|
|
9895
10293
|
"""StopStreamLiveChannel request structure.
|
|
9896
10294
|
|
|
@@ -10183,7 +10581,7 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
10183
10581
|
:param _AVTemplates: Audio/Video transcoding templates
|
|
10184
10582
|
Note: this field may return `null`, indicating that no valid value was found.
|
|
10185
10583
|
:type AVTemplates: list of AVTemplate
|
|
10186
|
-
:param _CaptionTemplates:
|
|
10584
|
+
:param _CaptionTemplates: Caption templates.
|
|
10187
10585
|
:type CaptionTemplates: list of SubtitleConf
|
|
10188
10586
|
:param _PlanSettings: Event settings
|
|
10189
10587
|
Note: This field may return `null`, indicating that no valid value was found.
|
|
@@ -10201,6 +10599,8 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
10201
10599
|
:type Tags: list of Tag
|
|
10202
10600
|
:param _FrameCaptureTemplates: Frame capture templates.
|
|
10203
10601
|
:type FrameCaptureTemplates: list of FrameCaptureTemplate
|
|
10602
|
+
:param _GeneralSettings: General settings.
|
|
10603
|
+
:type GeneralSettings: :class:`tencentcloud.mdl.v20200326.models.GeneralSetting`
|
|
10204
10604
|
"""
|
|
10205
10605
|
self._Id = None
|
|
10206
10606
|
self._State = None
|
|
@@ -10218,6 +10618,7 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
10218
10618
|
self._InputAnalysisSettings = None
|
|
10219
10619
|
self._Tags = None
|
|
10220
10620
|
self._FrameCaptureTemplates = None
|
|
10621
|
+
self._GeneralSettings = None
|
|
10221
10622
|
|
|
10222
10623
|
@property
|
|
10223
10624
|
def Id(self):
|
|
@@ -10312,7 +10713,7 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
10312
10713
|
|
|
10313
10714
|
@property
|
|
10314
10715
|
def CaptionTemplates(self):
|
|
10315
|
-
"""
|
|
10716
|
+
"""Caption templates.
|
|
10316
10717
|
:rtype: list of SubtitleConf
|
|
10317
10718
|
"""
|
|
10318
10719
|
return self._CaptionTemplates
|
|
@@ -10400,6 +10801,17 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
10400
10801
|
def FrameCaptureTemplates(self, FrameCaptureTemplates):
|
|
10401
10802
|
self._FrameCaptureTemplates = FrameCaptureTemplates
|
|
10402
10803
|
|
|
10804
|
+
@property
|
|
10805
|
+
def GeneralSettings(self):
|
|
10806
|
+
"""General settings.
|
|
10807
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.GeneralSetting`
|
|
10808
|
+
"""
|
|
10809
|
+
return self._GeneralSettings
|
|
10810
|
+
|
|
10811
|
+
@GeneralSettings.setter
|
|
10812
|
+
def GeneralSettings(self, GeneralSettings):
|
|
10813
|
+
self._GeneralSettings = GeneralSettings
|
|
10814
|
+
|
|
10403
10815
|
|
|
10404
10816
|
def _deserialize(self, params):
|
|
10405
10817
|
self._Id = params.get("Id")
|
|
@@ -10468,6 +10880,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
10468
10880
|
obj = FrameCaptureTemplate()
|
|
10469
10881
|
obj._deserialize(item)
|
|
10470
10882
|
self._FrameCaptureTemplates.append(obj)
|
|
10883
|
+
if params.get("GeneralSettings") is not None:
|
|
10884
|
+
self._GeneralSettings = GeneralSetting()
|
|
10885
|
+
self._GeneralSettings._deserialize(params.get("GeneralSettings"))
|
|
10471
10886
|
memeber_set = set(params.keys())
|
|
10472
10887
|
for name, value in vars(self).items():
|
|
10473
10888
|
property_name = name[1:]
|
|
@@ -389,6 +389,9 @@ INVALIDPARAMETER_INVALIDCONDITIONS = 'InvalidParameter.InvalidConditions'
|
|
|
389
389
|
# Invalid origin-pull configuration. When `OriginType` is `COS` or `AWS_S3`, the origin address must be an object storage domain name.
|
|
390
390
|
INVALIDPARAMETER_INVALIDCOSDOMAIN = 'InvalidParameter.InvalidCosDomain'
|
|
391
391
|
|
|
392
|
+
# The domain name is illegal. check whether a non-existent domain name is passed in the input parameters.
|
|
393
|
+
INVALIDPARAMETER_INVALIDDOMAINS = 'InvalidParameter.InvalidDomains'
|
|
394
|
+
|
|
392
395
|
# Invalid smart acceleration.
|
|
393
396
|
INVALIDPARAMETER_INVALIDDYNAMICROUTINE = 'InvalidParameter.InvalidDynamicRoutine'
|
|
394
397
|
|
|
@@ -482,6 +485,9 @@ INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = 'InvalidParameter.InvalidPrivateAc
|
|
|
482
485
|
# The value of `PrivateAccess` should be `on` or `off`.
|
|
483
486
|
INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = 'InvalidParameter.InvalidPrivateAccessSwitch'
|
|
484
487
|
|
|
488
|
+
# The layer 4 proxy is illegal. check whether a non-existing proxy is passed in the input parameters.
|
|
489
|
+
INVALIDPARAMETER_INVALIDPROXIES = 'InvalidParameter.InvalidProxies'
|
|
490
|
+
|
|
485
491
|
# The plan does not support QUIC.
|
|
486
492
|
INVALIDPARAMETER_INVALIDQUICBILLING = 'InvalidParameter.InvalidQuicBilling'
|
|
487
493
|
|
|
@@ -1046,6 +1052,9 @@ OPERATIONDENIED_L4STATUSNOTINONLINE = 'OperationDenied.L4StatusNotInOnline'
|
|
|
1046
1052
|
# The EdgeOne service cannot be disabled for the site: An accelerated domain name is being deployed.
|
|
1047
1053
|
OPERATIONDENIED_L7HOSTINPROCESSSTATUS = 'OperationDenied.L7HostInProcessStatus'
|
|
1048
1054
|
|
|
1055
|
+
# The origin allowlist is already the latest version. no need to update.
|
|
1056
|
+
OPERATIONDENIED_LATESTVERSIONNOW = 'OperationDenied.LatestVersionNow'
|
|
1057
|
+
|
|
1049
1058
|
# The affiliated Cloud Load Balancer is not in a running state. Operation is forbidden.
|
|
1050
1059
|
OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = 'OperationDenied.LoadBalanceStatusNotInOnline'
|
|
1051
1060
|
|
|
@@ -1133,6 +1142,12 @@ OPERATIONDENIED_STATICIPAREACONFLICT = 'OperationDenied.StaticIpAreaConflict'
|
|
|
1133
1142
|
# Disabling the origin-pull mutual authentication is not supported now. To disable it, please change the edge HTTPS certificate configuration to 'none'.
|
|
1134
1143
|
OPERATIONDENIED_UNSUPPORTTOCLOSEUPSTREAMMTLS = 'OperationDenied.UnSupportToCloseUpstreamMTLS'
|
|
1135
1144
|
|
|
1145
|
+
# The package is not supported.
|
|
1146
|
+
OPERATIONDENIED_UNSUPPORTEDPLAN = 'OperationDenied.UnsupportedPlan'
|
|
1147
|
+
|
|
1148
|
+
# Please first update the IP allowlist.
|
|
1149
|
+
OPERATIONDENIED_UPDATEIPWHITELISTFIRST = 'OperationDenied.UpdateIPWhitelistFirst'
|
|
1150
|
+
|
|
1136
1151
|
# To enable the origin-pull mutual authentication, please configure the edge HTTPS certificate first.
|
|
1137
1152
|
OPERATIONDENIED_USEUPSTREAMMTLSNEEDOPENHTTPS = 'OperationDenied.UseUpstreamMTLSNeedOpenHttps'
|
|
1138
1153
|
|