tencentcloud-sdk-python-vod 3.1.206__tar.gz → 3.1.207__tar.gz

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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20180717/models.py +358 -24
  5. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20180717/vod_client.py +46 -0
  6. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20180717/vod_client_async.py +36 -0
  7. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_vod-3.1.207/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_vod-3.1.206/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/README.rst +0 -0
  11. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20180717/__init__.py +0 -0
  14. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20240718/__init__.py +0 -0
  16. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20240718/models.py +0 -0
  18. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20240718/vod_client.py +0 -0
  19. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
  20. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_vod-3.1.206 → tencentcloud_sdk_python_vod-3.1.207}/tencentcloud_sdk_python_vod.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.1.206
3
+ Version: 3.1.207
4
4
  Summary: Tencent Cloud Vod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.206
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.207
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-vod',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.206,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.207,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Vod SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.206'
17
+ __version__ = '3.1.207'
@@ -16464,6 +16464,57 @@ class AigcVideoTaskUsage(AbstractModel):
16464
16464
 
16465
16465
 
16466
16466
 
16467
+ class AigcWhitelistModel(AbstractModel):
16468
+ r"""AIGC模型白名单
16469
+
16470
+ """
16471
+
16472
+ def __init__(self):
16473
+ r"""
16474
+ :param _ModelName: <p>模型名称</p>
16475
+ :type ModelName: str
16476
+ :param _ModelVersion: <p>模型版本</p>
16477
+ :type ModelVersion: str
16478
+ """
16479
+ self._ModelName = None
16480
+ self._ModelVersion = None
16481
+
16482
+ @property
16483
+ def ModelName(self):
16484
+ r"""<p>模型名称</p>
16485
+ :rtype: str
16486
+ """
16487
+ return self._ModelName
16488
+
16489
+ @ModelName.setter
16490
+ def ModelName(self, ModelName):
16491
+ self._ModelName = ModelName
16492
+
16493
+ @property
16494
+ def ModelVersion(self):
16495
+ r"""<p>模型版本</p>
16496
+ :rtype: str
16497
+ """
16498
+ return self._ModelVersion
16499
+
16500
+ @ModelVersion.setter
16501
+ def ModelVersion(self, ModelVersion):
16502
+ self._ModelVersion = ModelVersion
16503
+
16504
+
16505
+ def _deserialize(self, params):
16506
+ self._ModelName = params.get("ModelName")
16507
+ self._ModelVersion = params.get("ModelVersion")
16508
+ memeber_set = set(params.keys())
16509
+ for name, value in vars(self).items():
16510
+ property_name = name[1:]
16511
+ if property_name in memeber_set:
16512
+ memeber_set.remove(property_name)
16513
+ if len(memeber_set) > 0:
16514
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16515
+
16516
+
16517
+
16467
16518
  class AnimatedGraphicTaskInput(AbstractModel):
16468
16519
  r"""转动图任务类型
16469
16520
 
@@ -39255,6 +39306,165 @@ class DescribeAigcUsageDataResponse(AbstractModel):
39255
39306
  self._RequestId = params.get("RequestId")
39256
39307
 
39257
39308
 
39309
+ class DescribeAigcWhitelistRequest(AbstractModel):
39310
+ r"""DescribeAigcWhitelist请求参数结构体
39311
+
39312
+ """
39313
+
39314
+ def __init__(self):
39315
+ r"""
39316
+ :param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
39317
+ :type SubAppId: int
39318
+ :param _AigcType: <p>AIGC任务类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li></ul>
39319
+ :type AigcType: str
39320
+ """
39321
+ self._SubAppId = None
39322
+ self._AigcType = None
39323
+
39324
+ @property
39325
+ def SubAppId(self):
39326
+ r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
39327
+ :rtype: int
39328
+ """
39329
+ return self._SubAppId
39330
+
39331
+ @SubAppId.setter
39332
+ def SubAppId(self, SubAppId):
39333
+ self._SubAppId = SubAppId
39334
+
39335
+ @property
39336
+ def AigcType(self):
39337
+ r"""<p>AIGC任务类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li></ul>
39338
+ :rtype: str
39339
+ """
39340
+ return self._AigcType
39341
+
39342
+ @AigcType.setter
39343
+ def AigcType(self, AigcType):
39344
+ self._AigcType = AigcType
39345
+
39346
+
39347
+ def _deserialize(self, params):
39348
+ self._SubAppId = params.get("SubAppId")
39349
+ self._AigcType = params.get("AigcType")
39350
+ memeber_set = set(params.keys())
39351
+ for name, value in vars(self).items():
39352
+ property_name = name[1:]
39353
+ if property_name in memeber_set:
39354
+ memeber_set.remove(property_name)
39355
+ if len(memeber_set) > 0:
39356
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
39357
+
39358
+
39359
+
39360
+ class DescribeAigcWhitelistResponse(AbstractModel):
39361
+ r"""DescribeAigcWhitelist返回参数结构体
39362
+
39363
+ """
39364
+
39365
+ def __init__(self):
39366
+ r"""
39367
+ :param _AigcType: <p>AIGC任务类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li></ul>
39368
+ :type AigcType: str
39369
+ :param _ModelWhitelistSwitch: <p>模型白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只有允许调用ModelWhitelist中列出的模型</li><li>OFF: 关闭,允许调用所有模型</li></ul>
39370
+ :type ModelWhitelistSwitch: str
39371
+ :param _ModelWhitelist: <p>模型白名单列表</p>
39372
+ :type ModelWhitelist: list of AigcWhitelistModel
39373
+ :param _IpWhitelistSwitch: <p>IP白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只允许IpWhitelist中列出的IP段进行调用</li><li>OFF: 关闭,允许所有IP进行调用</li></ul>
39374
+ :type IpWhitelistSwitch: str
39375
+ :param _IpWhitelist: <p>IP白名单的CIDR列表</p>
39376
+ :type IpWhitelist: list of str
39377
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
39378
+ :type RequestId: str
39379
+ """
39380
+ self._AigcType = None
39381
+ self._ModelWhitelistSwitch = None
39382
+ self._ModelWhitelist = None
39383
+ self._IpWhitelistSwitch = None
39384
+ self._IpWhitelist = None
39385
+ self._RequestId = None
39386
+
39387
+ @property
39388
+ def AigcType(self):
39389
+ r"""<p>AIGC任务类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li></ul>
39390
+ :rtype: str
39391
+ """
39392
+ return self._AigcType
39393
+
39394
+ @AigcType.setter
39395
+ def AigcType(self, AigcType):
39396
+ self._AigcType = AigcType
39397
+
39398
+ @property
39399
+ def ModelWhitelistSwitch(self):
39400
+ r"""<p>模型白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只有允许调用ModelWhitelist中列出的模型</li><li>OFF: 关闭,允许调用所有模型</li></ul>
39401
+ :rtype: str
39402
+ """
39403
+ return self._ModelWhitelistSwitch
39404
+
39405
+ @ModelWhitelistSwitch.setter
39406
+ def ModelWhitelistSwitch(self, ModelWhitelistSwitch):
39407
+ self._ModelWhitelistSwitch = ModelWhitelistSwitch
39408
+
39409
+ @property
39410
+ def ModelWhitelist(self):
39411
+ r"""<p>模型白名单列表</p>
39412
+ :rtype: list of AigcWhitelistModel
39413
+ """
39414
+ return self._ModelWhitelist
39415
+
39416
+ @ModelWhitelist.setter
39417
+ def ModelWhitelist(self, ModelWhitelist):
39418
+ self._ModelWhitelist = ModelWhitelist
39419
+
39420
+ @property
39421
+ def IpWhitelistSwitch(self):
39422
+ r"""<p>IP白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只允许IpWhitelist中列出的IP段进行调用</li><li>OFF: 关闭,允许所有IP进行调用</li></ul>
39423
+ :rtype: str
39424
+ """
39425
+ return self._IpWhitelistSwitch
39426
+
39427
+ @IpWhitelistSwitch.setter
39428
+ def IpWhitelistSwitch(self, IpWhitelistSwitch):
39429
+ self._IpWhitelistSwitch = IpWhitelistSwitch
39430
+
39431
+ @property
39432
+ def IpWhitelist(self):
39433
+ r"""<p>IP白名单的CIDR列表</p>
39434
+ :rtype: list of str
39435
+ """
39436
+ return self._IpWhitelist
39437
+
39438
+ @IpWhitelist.setter
39439
+ def IpWhitelist(self, IpWhitelist):
39440
+ self._IpWhitelist = IpWhitelist
39441
+
39442
+ @property
39443
+ def RequestId(self):
39444
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
39445
+ :rtype: str
39446
+ """
39447
+ return self._RequestId
39448
+
39449
+ @RequestId.setter
39450
+ def RequestId(self, RequestId):
39451
+ self._RequestId = RequestId
39452
+
39453
+
39454
+ def _deserialize(self, params):
39455
+ self._AigcType = params.get("AigcType")
39456
+ self._ModelWhitelistSwitch = params.get("ModelWhitelistSwitch")
39457
+ if params.get("ModelWhitelist") is not None:
39458
+ self._ModelWhitelist = []
39459
+ for item in params.get("ModelWhitelist"):
39460
+ obj = AigcWhitelistModel()
39461
+ obj._deserialize(item)
39462
+ self._ModelWhitelist.append(obj)
39463
+ self._IpWhitelistSwitch = params.get("IpWhitelistSwitch")
39464
+ self._IpWhitelist = params.get("IpWhitelist")
39465
+ self._RequestId = params.get("RequestId")
39466
+
39467
+
39258
39468
  class DescribeAllClassRequest(AbstractModel):
39259
39469
  r"""DescribeAllClass请求参数结构体
39260
39470
 
@@ -95930,6 +96140,150 @@ class SemanticsSearchResult(AbstractModel):
95930
96140
 
95931
96141
 
95932
96142
 
96143
+ class SetAigcWhitelistRequest(AbstractModel):
96144
+ r"""SetAigcWhitelist请求参数结构体
96145
+
96146
+ """
96147
+
96148
+ def __init__(self):
96149
+ r"""
96150
+ :param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
96151
+ :type SubAppId: int
96152
+ :param _AigcType: <p>AIGC任务类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li></ul>
96153
+ :type AigcType: str
96154
+ :param _ModelWhitelistSwitch: <p>模型白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只有允许调用ModelWhitelist中列出的模型</li><li>OFF: 关闭,允许调用所有模型</li></ul>
96155
+ :type ModelWhitelistSwitch: str
96156
+ :param _IpWhitelistSwitch: <p>IP白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只允许IpWhitelist中列出的IP段进行调用</li><li>OFF: 关闭,允许所有IP进行调用</li></ul>
96157
+ :type IpWhitelistSwitch: str
96158
+ :param _ModelWhitelist: <p>模型白名单列表</p>
96159
+ :type ModelWhitelist: list of AigcWhitelistModel
96160
+ :param _IpWhitelist: <p>IP白名单的CIDR列表</p>
96161
+ :type IpWhitelist: list of str
96162
+ """
96163
+ self._SubAppId = None
96164
+ self._AigcType = None
96165
+ self._ModelWhitelistSwitch = None
96166
+ self._IpWhitelistSwitch = None
96167
+ self._ModelWhitelist = None
96168
+ self._IpWhitelist = None
96169
+
96170
+ @property
96171
+ def SubAppId(self):
96172
+ r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
96173
+ :rtype: int
96174
+ """
96175
+ return self._SubAppId
96176
+
96177
+ @SubAppId.setter
96178
+ def SubAppId(self, SubAppId):
96179
+ self._SubAppId = SubAppId
96180
+
96181
+ @property
96182
+ def AigcType(self):
96183
+ r"""<p>AIGC任务类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li></ul>
96184
+ :rtype: str
96185
+ """
96186
+ return self._AigcType
96187
+
96188
+ @AigcType.setter
96189
+ def AigcType(self, AigcType):
96190
+ self._AigcType = AigcType
96191
+
96192
+ @property
96193
+ def ModelWhitelistSwitch(self):
96194
+ r"""<p>模型白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只有允许调用ModelWhitelist中列出的模型</li><li>OFF: 关闭,允许调用所有模型</li></ul>
96195
+ :rtype: str
96196
+ """
96197
+ return self._ModelWhitelistSwitch
96198
+
96199
+ @ModelWhitelistSwitch.setter
96200
+ def ModelWhitelistSwitch(self, ModelWhitelistSwitch):
96201
+ self._ModelWhitelistSwitch = ModelWhitelistSwitch
96202
+
96203
+ @property
96204
+ def IpWhitelistSwitch(self):
96205
+ r"""<p>IP白名单开关</p><p>枚举值:</p><ul><li>ON: 打开,只允许IpWhitelist中列出的IP段进行调用</li><li>OFF: 关闭,允许所有IP进行调用</li></ul>
96206
+ :rtype: str
96207
+ """
96208
+ return self._IpWhitelistSwitch
96209
+
96210
+ @IpWhitelistSwitch.setter
96211
+ def IpWhitelistSwitch(self, IpWhitelistSwitch):
96212
+ self._IpWhitelistSwitch = IpWhitelistSwitch
96213
+
96214
+ @property
96215
+ def ModelWhitelist(self):
96216
+ r"""<p>模型白名单列表</p>
96217
+ :rtype: list of AigcWhitelistModel
96218
+ """
96219
+ return self._ModelWhitelist
96220
+
96221
+ @ModelWhitelist.setter
96222
+ def ModelWhitelist(self, ModelWhitelist):
96223
+ self._ModelWhitelist = ModelWhitelist
96224
+
96225
+ @property
96226
+ def IpWhitelist(self):
96227
+ r"""<p>IP白名单的CIDR列表</p>
96228
+ :rtype: list of str
96229
+ """
96230
+ return self._IpWhitelist
96231
+
96232
+ @IpWhitelist.setter
96233
+ def IpWhitelist(self, IpWhitelist):
96234
+ self._IpWhitelist = IpWhitelist
96235
+
96236
+
96237
+ def _deserialize(self, params):
96238
+ self._SubAppId = params.get("SubAppId")
96239
+ self._AigcType = params.get("AigcType")
96240
+ self._ModelWhitelistSwitch = params.get("ModelWhitelistSwitch")
96241
+ self._IpWhitelistSwitch = params.get("IpWhitelistSwitch")
96242
+ if params.get("ModelWhitelist") is not None:
96243
+ self._ModelWhitelist = []
96244
+ for item in params.get("ModelWhitelist"):
96245
+ obj = AigcWhitelistModel()
96246
+ obj._deserialize(item)
96247
+ self._ModelWhitelist.append(obj)
96248
+ self._IpWhitelist = params.get("IpWhitelist")
96249
+ memeber_set = set(params.keys())
96250
+ for name, value in vars(self).items():
96251
+ property_name = name[1:]
96252
+ if property_name in memeber_set:
96253
+ memeber_set.remove(property_name)
96254
+ if len(memeber_set) > 0:
96255
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
96256
+
96257
+
96258
+
96259
+ class SetAigcWhitelistResponse(AbstractModel):
96260
+ r"""SetAigcWhitelist返回参数结构体
96261
+
96262
+ """
96263
+
96264
+ def __init__(self):
96265
+ r"""
96266
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
96267
+ :type RequestId: str
96268
+ """
96269
+ self._RequestId = None
96270
+
96271
+ @property
96272
+ def RequestId(self):
96273
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
96274
+ :rtype: str
96275
+ """
96276
+ return self._RequestId
96277
+
96278
+ @RequestId.setter
96279
+ def RequestId(self, RequestId):
96280
+ self._RequestId = RequestId
96281
+
96282
+
96283
+ def _deserialize(self, params):
96284
+ self._RequestId = params.get("RequestId")
96285
+
96286
+
95933
96287
  class SetCLSPushTargetRequest(AbstractModel):
95934
96288
  r"""SetCLSPushTarget请求参数结构体
95935
96289
 
@@ -97930,19 +98284,9 @@ class StatDataItem(AbstractModel):
97930
98284
 
97931
98285
  def __init__(self):
97932
98286
  r"""
97933
- :param _Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
97934
- <li>表示小时级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日0点到1点的统计数据。</li>
97935
- <li>表示天级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日的统计数据。</li>
98287
+ :param _Time: <p>数据所在时间区间的开始时间,使用 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式</a>。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。</p><li>表示小时级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日0点到1点的统计数据。</li><li>表示天级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日的统计数据。</li>
97936
98288
  :type Time: str
97937
- :param _Value: 数据大小。
97938
- <li>存储空间的数据,单位是字节。</li>
97939
- <li>转码时长的数据,单位是秒。</li>
97940
- <li>流量数据,单位是字节。</li>
97941
- <li>带宽数据,单位是比特每秒。</li>
97942
- <li>直播剪辑数据,单位是秒。</li>
97943
- <li>轮播数据,单位是秒。</li>
97944
- <li>子应用数量数据,单位是个。</li>
97945
- <li>日志服务用量数据,单位是条。</li>
98289
+ :param _Value: <p>数据大小。</p><li>存储空间的数据,单位是字节。</li><li>转码时长的数据,单位是秒。</li><li>流量数据,单位是字节。</li><li>带宽数据,单位是比特每秒。</li><li>直播剪辑数据,单位是秒。</li><li>轮播数据,单位是秒。</li><li>子应用数量数据,单位是个。</li><li>日志服务用量数据,单位是条。</li>
97946
98290
  :type Value: int
97947
98291
  """
97948
98292
  self._Time = None
@@ -97950,9 +98294,7 @@ class StatDataItem(AbstractModel):
97950
98294
 
97951
98295
  @property
97952
98296
  def Time(self):
97953
- r"""数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
97954
- <li>表示小时级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日0点到1点的统计数据。</li>
97955
- <li>表示天级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日的统计数据。</li>
98297
+ r"""<p>数据所在时间区间的开始时间,使用 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式</a>。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。</p><li>表示小时级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日0点到1点的统计数据。</li><li>表示天级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日的统计数据。</li>
97956
98298
  :rtype: str
97957
98299
  """
97958
98300
  return self._Time
@@ -97963,15 +98305,7 @@ class StatDataItem(AbstractModel):
97963
98305
 
97964
98306
  @property
97965
98307
  def Value(self):
97966
- r"""数据大小。
97967
- <li>存储空间的数据,单位是字节。</li>
97968
- <li>转码时长的数据,单位是秒。</li>
97969
- <li>流量数据,单位是字节。</li>
97970
- <li>带宽数据,单位是比特每秒。</li>
97971
- <li>直播剪辑数据,单位是秒。</li>
97972
- <li>轮播数据,单位是秒。</li>
97973
- <li>子应用数量数据,单位是个。</li>
97974
- <li>日志服务用量数据,单位是条。</li>
98308
+ r"""<p>数据大小。</p><li>存储空间的数据,单位是字节。</li><li>转码时长的数据,单位是秒。</li><li>流量数据,单位是字节。</li><li>带宽数据,单位是比特每秒。</li><li>直播剪辑数据,单位是秒。</li><li>轮播数据,单位是秒。</li><li>子应用数量数据,单位是个。</li><li>日志服务用量数据,单位是条。</li>
97975
98309
  :rtype: int
97976
98310
  """
97977
98311
  return self._Value
@@ -2402,6 +2402,29 @@ class VodClient(AbstractClient):
2402
2402
  raise TencentCloudSDKException(type(e).__name__, str(e))
2403
2403
 
2404
2404
 
2405
+ def DescribeAigcWhitelist(self, request):
2406
+ r"""查询AIGC白名单配置
2407
+
2408
+ :param request: Request instance for DescribeAigcWhitelist.
2409
+ :type request: :class:`tencentcloud.vod.v20180717.models.DescribeAigcWhitelistRequest`
2410
+ :rtype: :class:`tencentcloud.vod.v20180717.models.DescribeAigcWhitelistResponse`
2411
+
2412
+ """
2413
+ try:
2414
+ params = request._serialize()
2415
+ headers = request.headers
2416
+ body = self.call("DescribeAigcWhitelist", params, headers=headers)
2417
+ response = json.loads(body)
2418
+ model = models.DescribeAigcWhitelistResponse()
2419
+ model._deserialize(response["Response"])
2420
+ return model
2421
+ except Exception as e:
2422
+ if isinstance(e, TencentCloudSDKException):
2423
+ raise
2424
+ else:
2425
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2426
+
2427
+
2405
2428
  def DescribeAllClass(self, request):
2406
2429
  r"""* 获得用户的所有分类信息。
2407
2430
 
@@ -5636,6 +5659,29 @@ class VodClient(AbstractClient):
5636
5659
  raise TencentCloudSDKException(type(e).__name__, str(e))
5637
5660
 
5638
5661
 
5662
+ def SetAigcWhitelist(self, request):
5663
+ r"""修改AIGC白名单设置
5664
+
5665
+ :param request: Request instance for SetAigcWhitelist.
5666
+ :type request: :class:`tencentcloud.vod.v20180717.models.SetAigcWhitelistRequest`
5667
+ :rtype: :class:`tencentcloud.vod.v20180717.models.SetAigcWhitelistResponse`
5668
+
5669
+ """
5670
+ try:
5671
+ params = request._serialize()
5672
+ headers = request.headers
5673
+ body = self.call("SetAigcWhitelist", params, headers=headers)
5674
+ response = json.loads(body)
5675
+ model = models.SetAigcWhitelistResponse()
5676
+ model._deserialize(response["Response"])
5677
+ return model
5678
+ except Exception as e:
5679
+ if isinstance(e, TencentCloudSDKException):
5680
+ raise
5681
+ else:
5682
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5683
+
5684
+
5639
5685
  def SetCLSPushTarget(self, request):
5640
5686
  r"""为点播域名设置投递 CLS 的目标。
5641
5687
 
@@ -1901,6 +1901,24 @@ class VodClient(AbstractClient):
1901
1901
 
1902
1902
  return await self.call_and_deserialize(**kwargs)
1903
1903
 
1904
+ async def DescribeAigcWhitelist(
1905
+ self,
1906
+ request: models.DescribeAigcWhitelistRequest,
1907
+ opts: Dict = None,
1908
+ ) -> models.DescribeAigcWhitelistResponse:
1909
+ """
1910
+ 查询AIGC白名单配置
1911
+ """
1912
+
1913
+ kwargs = {}
1914
+ kwargs["action"] = "DescribeAigcWhitelist"
1915
+ kwargs["params"] = request._serialize()
1916
+ kwargs["resp_cls"] = models.DescribeAigcWhitelistResponse
1917
+ kwargs["headers"] = request.headers
1918
+ kwargs["opts"] = opts or {}
1919
+
1920
+ return await self.call_and_deserialize(**kwargs)
1921
+
1904
1922
  async def DescribeAllClass(
1905
1923
  self,
1906
1924
  request: models.DescribeAllClassRequest,
@@ -4490,6 +4508,24 @@ class VodClient(AbstractClient):
4490
4508
 
4491
4509
  return await self.call_and_deserialize(**kwargs)
4492
4510
 
4511
+ async def SetAigcWhitelist(
4512
+ self,
4513
+ request: models.SetAigcWhitelistRequest,
4514
+ opts: Dict = None,
4515
+ ) -> models.SetAigcWhitelistResponse:
4516
+ """
4517
+ 修改AIGC白名单设置
4518
+ """
4519
+
4520
+ kwargs = {}
4521
+ kwargs["action"] = "SetAigcWhitelist"
4522
+ kwargs["params"] = request._serialize()
4523
+ kwargs["resp_cls"] = models.SetAigcWhitelistResponse
4524
+ kwargs["headers"] = request.headers
4525
+ kwargs["opts"] = opts or {}
4526
+
4527
+ return await self.call_and_deserialize(**kwargs)
4528
+
4493
4529
  async def SetCLSPushTarget(
4494
4530
  self,
4495
4531
  request: models.SetCLSPushTargetRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.1.206
3
+ Version: 3.1.207
4
4
  Summary: Tencent Cloud Vod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.206
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.207
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.207
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.206