byteplus-sdk 1.0.50__tar.gz → 1.0.53__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 (140) hide show
  1. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/PKG-INFO +1 -1
  2. byteplus-sdk-1.0.53/byteplus_sdk/__init__.py +2 -0
  3. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/cdn/service.py +117 -17
  4. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/create_rule_engine_template.py +3 -2
  5. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/update_rule_engine_template.py +3 -2
  6. byteplus-sdk-1.0.53/byteplus_sdk/example/visual/cv_cancel_task.py +19 -0
  7. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/visual/VisualService.py +8 -0
  8. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_common_pb2.py +69 -59
  9. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_quality_platform_pb2.py +2 -2
  10. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk.egg-info/PKG-INFO +1 -1
  11. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk.egg-info/SOURCES.txt +1 -0
  12. byteplus-sdk-1.0.50/byteplus_sdk/__init__.py +0 -2
  13. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/LICENSE +0 -0
  14. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/README.md +0 -0
  15. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/ApiInfo.py +0 -0
  16. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/Credentials.py +0 -0
  17. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/Policy.py +0 -0
  18. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/ServiceInfo.py +0 -0
  19. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/ServiceInfoHttps.py +0 -0
  20. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/auth/MetaData.py +0 -0
  21. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/auth/SignerV4.py +0 -0
  22. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/auth/__init__.py +0 -0
  23. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/base/Request.py +0 -0
  24. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/base/Service.py +0 -0
  25. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/base/__init__.py +0 -0
  26. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/base/models/__init__.py +0 -0
  27. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/base/models/base/__init__.py +0 -0
  28. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/base/models/base/base_pb2.py +0 -0
  29. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/cdn/__init__.py +0 -0
  30. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/const/Const.py +0 -0
  31. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/const/__init__.py +0 -0
  32. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/__init__.py +0 -0
  33. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/__init__.py +0 -0
  34. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/add_cdn_certificate.py +0 -0
  35. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/add_cdn_domain.py +0 -0
  36. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/add_template_domain.py +0 -0
  37. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/create_cipher_template.py +0 -0
  38. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/create_service_template.py +0 -0
  39. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/delete_cdn_domain.py +0 -0
  40. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/delete_template.py +0 -0
  41. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_accounting_data.py +0 -0
  42. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_access_log.py +0 -0
  43. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_config.py +0 -0
  44. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_data.py +0 -0
  45. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_data_detail.py +0 -0
  46. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_detail.py +0 -0
  47. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_origin_data.py +0 -0
  48. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_region_and_isp.py +0 -0
  49. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_service.py +0 -0
  50. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cdn_upper_ip.py +0 -0
  51. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_cipher_template.py +0 -0
  52. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_content_block_tasks.py +0 -0
  53. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_content_quota.py +0 -0
  54. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_content_tasks.py +0 -0
  55. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_edge_nrt_data_summary.py +0 -0
  56. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_edge_statistical_data.py +0 -0
  57. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_edge_top_nrt_data.py +0 -0
  58. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_edge_top_statistical_data.py +0 -0
  59. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_edge_top_status_code.py +0 -0
  60. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_ip_info.py +0 -0
  61. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_ip_list_info.py +0 -0
  62. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_origin_nrt_data_summary.py +0 -0
  63. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_origin_top_nrt_data.py +0 -0
  64. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_origin_top_status_code.py +0 -0
  65. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_rule_engine_template.py +0 -0
  66. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_service_template.py +0 -0
  67. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_template_domains.py +0 -0
  68. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/describe_templates.py +0 -0
  69. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/duplicate_template.py +0 -0
  70. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/list_cdn_cert_info.py +0 -0
  71. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/list_cdn_domains.py +0 -0
  72. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/list_cert_info.py +0 -0
  73. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/lock_template.py +0 -0
  74. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/release_template.py +0 -0
  75. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/start_cdn_domain.py +0 -0
  76. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/stop_cdn_domain.py +0 -0
  77. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/submit_block_task.py +0 -0
  78. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/submit_preload_task.py +0 -0
  79. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/submit_refresh_task.py +0 -0
  80. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/submit_unblock_task.py +0 -0
  81. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/update_cdn_config.py +0 -0
  82. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/update_cipher_template.py +0 -0
  83. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/update_service_template.py +0 -0
  84. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/cdn/update_template_domain.py +0 -0
  85. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/live/__init__.py +0 -0
  86. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/rtc/RtcService.py +0 -0
  87. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/rtc/__init__.py +0 -0
  88. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/rtc/example_get_record_task.py +0 -0
  89. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/rtc/example_start_record.py +0 -0
  90. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/__init__.py +0 -0
  91. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/cv_get_result.py +0 -0
  92. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/cv_process.py +0 -0
  93. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/cv_submit_task.py +0 -0
  94. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/cv_sync2async_get_result.py +0 -0
  95. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/cv_sync2async_submit_task.py +0 -0
  96. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/example/visual/example_common.py +0 -0
  97. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/iam/IamService.py +0 -0
  98. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/iam/__init__.py +0 -0
  99. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/LiveService.py +0 -0
  100. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/__init__.py +0 -0
  101. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20200801/__init__.py +0 -0
  102. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20200801/live_config.py +0 -0
  103. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20200801/live_service.py +0 -0
  104. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20200801/live_trait.py +0 -0
  105. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20230101/__init__.py +0 -0
  106. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20230101/live_config.py +0 -0
  107. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20230101/live_service.py +0 -0
  108. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/live/v20230101/live_trait.py +0 -0
  109. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/sms/SmsService.py +0 -0
  110. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/sms/__init__.py +0 -0
  111. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/util/Functions.py +0 -0
  112. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/util/Util.py +0 -0
  113. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/util/__init__.py +0 -0
  114. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/visual/__init__.py +0 -0
  115. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/VodService.py +0 -0
  116. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/VodServiceConfig.py +0 -0
  117. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/__init__.py +0 -0
  118. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/__init__.py +0 -0
  119. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/__init__.py +0 -0
  120. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_apps_manage_pb2.py +0 -0
  121. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_callback_pb2.py +0 -0
  122. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_cdn_pb2.py +0 -0
  123. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_edit_pb2.py +0 -0
  124. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_measure_pb2.py +0 -0
  125. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_media_pb2.py +0 -0
  126. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_play_pb2.py +0 -0
  127. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_project_pb2.py +0 -0
  128. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_smart_strategy_pb2.py +0 -0
  129. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_space_pb2.py +0 -0
  130. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_upload_pb2.py +0 -0
  131. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/business/vod_workflow_pb2.py +0 -0
  132. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/request/__init__.py +0 -0
  133. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/request/request_vod_pb2.py +0 -0
  134. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/response/__init__.py +0 -0
  135. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk/vod/models/response/response_vod_pb2.py +0 -0
  136. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk.egg-info/dependency_links.txt +0 -0
  137. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk.egg-info/requires.txt +0 -0
  138. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/byteplus_sdk.egg-info/top_level.txt +0 -0
  139. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/setup.cfg +0 -0
  140. {byteplus-sdk-1.0.50 → byteplus-sdk-1.0.53}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: byteplus-sdk
3
- Version: 1.0.50
3
+ Version: 1.0.53
4
4
  Summary: The BytePlus SDK for Python
5
5
  Home-page: https://github.com/byteplus-sdk/byteplus-sdk-python
6
6
  Author: BytePlus SDK
@@ -0,0 +1,2 @@
1
+ # coding:utf-8
2
+ VERSION = 'v1.0.53'
@@ -7,6 +7,8 @@ from byteplus_sdk.Credentials import Credentials
7
7
  from byteplus_sdk.base.Service import Service
8
8
  from byteplus_sdk.ServiceInfo import ServiceInfo
9
9
 
10
+ GET = "GET"
11
+ POST = "POST"
10
12
  SERVICE_VERSION = "2021-03-01"
11
13
 
12
14
  service_info_map = {
@@ -114,6 +116,9 @@ api_info = {
114
116
  "DescribeCdnUpperIp": ApiInfo("POST", "/", {
115
117
  "Action": "DescribeCdnUpperIp", "Version": SERVICE_VERSION}, {}, {}),
116
118
 
119
+ "ListResourceTags": ApiInfo("POST", "/", {
120
+ "Action": "ListResourceTags", "Version": SERVICE_VERSION}, {}, {}),
121
+
117
122
  "AddCdnCertificate": ApiInfo("POST", "/", {
118
123
  "Action": "AddCdnCertificate", "Version": SERVICE_VERSION}, {}, {}),
119
124
 
@@ -174,17 +179,17 @@ api_info = {
174
179
  "CreateServiceTemplate": ApiInfo("POST", "/", {
175
180
  "Action": "CreateServiceTemplate", "Version": SERVICE_VERSION}, {}, {}),
176
181
 
177
- "CreateRuleEngineTemplate": ApiInfo("POST", "/", {
178
- "Action": "CreateRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
182
+ "CreateTemplateVersion": ApiInfo("POST", "/", {
183
+ "Action": "CreateTemplateVersion", "Version": SERVICE_VERSION}, {}, {}),
179
184
 
180
- "UpdateRuleEngineTemplate": ApiInfo("POST", "/", {
181
- "Action": "UpdateRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
185
+ "DescribeTemplateReleaseVersions": ApiInfo("POST", "/", {
186
+ "Action": "DescribeTemplateReleaseVersions", "Version": SERVICE_VERSION}, {}, {}),
182
187
 
183
- "DescribeRuleEngineTemplate": ApiInfo("POST", "/", {
184
- "Action": "DescribeRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
188
+ "DescribeDomainShared": ApiInfo("POST", "/", {
189
+ "Action": "DescribeDomainShared", "Version": SERVICE_VERSION}, {}, {}),
185
190
 
186
- "ReleaseTemplate": ApiInfo("POST", "/", {
187
- "Action": "ReleaseTemplate", "Version": SERVICE_VERSION}, {}, {}),
191
+ "DescribeCdnIP": ApiInfo("POST", "/", {
192
+ "Action": "DescribeCdnIP", "Version": SERVICE_VERSION}, {}, {}),
188
193
 
189
194
  "DescribeDistrictData": ApiInfo("POST", "/", {
190
195
  "Action": "DescribeDistrictData", "Version": SERVICE_VERSION}, {}, {}),
@@ -252,12 +257,27 @@ api_info = {
252
257
  "UpdateSharedConfig": ApiInfo("POST", "/", {
253
258
  "Action": "UpdateSharedConfig", "Version": SERVICE_VERSION}, {}, {}),
254
259
 
260
+ "AddSharedConfig": ApiInfo("POST", "/", {
261
+ "Action": "AddSharedConfig", "Version": SERVICE_VERSION}, {}, {}),
262
+
255
263
  "TagResources": ApiInfo("POST", "/", {
256
264
  "Action": "TagResources", "Version": SERVICE_VERSION}, {}, {}),
257
265
 
258
266
  "UntagResources": ApiInfo("POST", "/", {
259
267
  "Action": "UntagResources", "Version": SERVICE_VERSION}, {}, {}),
260
268
 
269
+ "ReleaseTemplate": ApiInfo("POST", "/", {
270
+ "Action": "ReleaseTemplate", "Version": SERVICE_VERSION}, {}, {}),
271
+
272
+ "CreateRuleEngineTemplate": ApiInfo("POST", "/", {
273
+ "Action": "CreateRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
274
+
275
+ "UpdateRuleEngineTemplate": ApiInfo("POST", "/", {
276
+ "Action": "UpdateRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
277
+
278
+ "DescribeRuleEngineTemplate": ApiInfo("POST", "/", {
279
+ "Action": "DescribeRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
280
+
261
281
 
262
282
  }
263
283
 
@@ -287,6 +307,26 @@ class CDNService(Service):
287
307
  @staticmethod
288
308
  def get_api_info():
289
309
  return api_info
310
+
311
+ @staticmethod
312
+ def use_post():
313
+ return POST
314
+
315
+ @staticmethod
316
+ def use_get():
317
+ return GET
318
+
319
+ def send_request(self, action, params, method=POST):
320
+ method = str(method).upper()
321
+ if method == 'POST':
322
+ res = self.json(action, [], json.dumps(params))
323
+ elif method == "GET":
324
+ self.get_api_info()[action].method = self.use_get()
325
+ res = self.request(action, params, json.dumps({}))
326
+ self.get_api_info()[action].method = self.use_post()
327
+ else:
328
+ raise Exception("not support method %s" % method)
329
+ return res
290
330
 
291
331
  def add_cdn_domain(self, params=None):
292
332
  if params is None:
@@ -622,6 +662,16 @@ class CDNService(Service):
622
662
  res_json = json.loads(res)
623
663
  return res_json
624
664
 
665
+ def list_resource_tags(self, params=None):
666
+ if params is None:
667
+ params = {}
668
+ action = "ListResourceTags"
669
+ res = self.json(action, [], params)
670
+ if res == '':
671
+ raise Exception("%s: empty response" % action)
672
+ res_json = json.loads(res)
673
+ return res_json
674
+
625
675
  def add_cdn_certificate(self, params=None):
626
676
  if params is None:
627
677
  params = {}
@@ -822,6 +872,46 @@ class CDNService(Service):
822
872
  res_json = json.loads(res)
823
873
  return res_json
824
874
 
875
+ def create_template_version(self, params=None):
876
+ if params is None:
877
+ params = {}
878
+ action = "CreateTemplateVersion"
879
+ res = self.json(action, [], params)
880
+ if res == '':
881
+ raise Exception("%s: empty response" % action)
882
+ res_json = json.loads(res)
883
+ return res_json
884
+
885
+ def describe_template_release_versions(self, params=None):
886
+ if params is None:
887
+ params = {}
888
+ action = "DescribeTemplateReleaseVersions"
889
+ res = self.json(action, [], params)
890
+ if res == '':
891
+ raise Exception("%s: empty response" % action)
892
+ res_json = json.loads(res)
893
+ return res_json
894
+
895
+ def describe_domain_shared(self, params=None):
896
+ if params is None:
897
+ params = {}
898
+ action = "DescribeDomainShared"
899
+ res = self.json(action, [], params)
900
+ if res == '':
901
+ raise Exception("%s: empty response" % action)
902
+ res_json = json.loads(res)
903
+ return res_json
904
+
905
+ def describe_cdn_ip(self, params=None):
906
+ if params is None:
907
+ params = {}
908
+ action = "DescribeCdnIP"
909
+ res = self.json(action, [], params)
910
+ if res == '':
911
+ raise Exception("%s: empty response" % action)
912
+ res_json = json.loads(res)
913
+ return res_json
914
+
825
915
  def describe_district_data(self, params=None):
826
916
  if params is None:
827
917
  params = {}
@@ -1042,6 +1132,16 @@ class CDNService(Service):
1042
1132
  res_json = json.loads(res)
1043
1133
  return res_json
1044
1134
 
1135
+ def add_shared_config(self, params=None):
1136
+ if params is None:
1137
+ params = {}
1138
+ action = "AddSharedConfig"
1139
+ res = self.json(action, [], params)
1140
+ if res == '':
1141
+ raise Exception("%s: empty response" % action)
1142
+ res_json = json.loads(res)
1143
+ return res_json
1144
+
1045
1145
  def tag_resources(self, params=None):
1046
1146
  if params is None:
1047
1147
  params = {}
@@ -1062,42 +1162,42 @@ class CDNService(Service):
1062
1162
  res_json = json.loads(res)
1063
1163
  return res_json
1064
1164
 
1065
- def create_rule_engine_template(self, params=None):
1165
+ def release_template(self, params=None):
1066
1166
  if params is None:
1067
1167
  params = {}
1068
- action = "CreateRuleEngineTemplate"
1168
+ action = "ReleaseTemplate"
1069
1169
  res = self.json(action, [], params)
1070
1170
  if res == '':
1071
1171
  raise Exception("%s: empty response" % action)
1072
1172
  res_json = json.loads(res)
1073
1173
  return res_json
1074
1174
 
1075
- def update_rule_engine_template(self, params=None):
1175
+ def create_rule_engine_template(self, params=None):
1076
1176
  if params is None:
1077
1177
  params = {}
1078
- action = "UpdateRuleEngineTemplate"
1178
+ action = "CreateRuleEngineTemplate"
1079
1179
  res = self.json(action, [], params)
1080
1180
  if res == '':
1081
1181
  raise Exception("%s: empty response" % action)
1082
1182
  res_json = json.loads(res)
1083
1183
  return res_json
1084
1184
 
1085
- def describe_rule_engine_template(self, params=None):
1185
+ def update_rule_engine_template(self, params=None):
1086
1186
  if params is None:
1087
1187
  params = {}
1088
- action = "DescribeRuleEngineTemplate"
1188
+ action = "UpdateRuleEngineTemplate"
1089
1189
  res = self.json(action, [], params)
1090
1190
  if res == '':
1091
1191
  raise Exception("%s: empty response" % action)
1092
1192
  res_json = json.loads(res)
1093
1193
  return res_json
1094
1194
 
1095
- def release_template(self, params=None):
1195
+ def describe_rule_engine_template(self, params=None):
1096
1196
  if params is None:
1097
1197
  params = {}
1098
- action = "ReleaseTemplate"
1198
+ action = "DescribeRuleEngineTemplate"
1099
1199
  res = self.json(action, [], params)
1100
1200
  if res == '':
1101
1201
  raise Exception("%s: empty response" % action)
1102
1202
  res_json = json.loads(res)
1103
- return res_json
1203
+ return res_json
@@ -7,8 +7,9 @@ sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../../")
7
7
  from byteplus_sdk.example.cdn import ak, sk
8
8
  from byteplus_sdk.cdn.service import CDNService
9
9
 
10
- from rule_engine.Rule import Condition, Action, Rule
11
- from rule_engine.Const import Const
10
+ # pip3 install cdn_rule_engine_sdk
11
+ from cdn_rule_engine_sdk.rule_engine.Const import Const
12
+ from cdn_rule_engine_sdk.rule_engine.Rule import Rule, Condition, Action
12
13
 
13
14
  def example():
14
15
  cdn_service = CDNService()
@@ -7,8 +7,9 @@ sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../../")
7
7
  from byteplus_sdk.example.cdn import ak, sk
8
8
  from byteplus_sdk.cdn.service import CDNService
9
9
 
10
- from rule_engine.Rule import Condition, Action, Rule
11
- from rule_engine.Const import Const
10
+ # pip3 install cdn_rule_engine_sdk
11
+ from cdn_rule_engine_sdk.rule_engine.Const import Const
12
+ from cdn_rule_engine_sdk.rule_engine.Rule import Rule, Condition, Action
12
13
 
13
14
  def example():
14
15
  cdn_service = CDNService()
@@ -0,0 +1,19 @@
1
+ # coding:utf-8
2
+ from __future__ import print_function
3
+
4
+ from byteplus_sdk import visual
5
+ from byteplus_sdk.visual.VisualService import VisualService
6
+
7
+ if __name__ == '__main__':
8
+ visual_service = VisualService()
9
+
10
+ # call below method if you don't set ak and sk in $HOME/.volc/config
11
+ visual_service.set_ak('AK')
12
+ visual_service.set_sk('Sk')
13
+
14
+ form = {
15
+ "req_key": "xxx",
16
+ "task_id": "xxx"
17
+ }
18
+ resp = visual_service.cv_cancel_task(form)
19
+ print(resp)
@@ -39,6 +39,7 @@ class VisualService(Service):
39
39
  "CVGetResult": ApiInfo("POST", "/", {"Action": "CVGetResult", "Version": "2024-06-06"}, {}, {}),
40
40
  "CVSync2AsyncSubmitTask": ApiInfo("POST", "/",{"Action": "CVSync2AsyncSubmitTask", "Version": "2024-06-06"}, {}, {}),
41
41
  "CVSync2AsyncGetResult": ApiInfo("POST", "/", {"Action": "CVSync2AsyncGetResult", "Version": "2024-06-06"},{}, {}),
42
+ "CVCancelTask": ApiInfo("POST", "/", {"Action": "CVCancelTask", "Version": "2024-06-06"}, {}, {}),
42
43
  }
43
44
  return api_info
44
45
 
@@ -104,6 +105,13 @@ class VisualService(Service):
104
105
  return res_json
105
106
  except Exception as e:
106
107
  raise Exception(str(e))
108
+
109
+ def cv_cancel_task(self, body):
110
+ try:
111
+ res_json = self.common_json_handler("CVCancelTask", body)
112
+ return res_json
113
+ except Exception as e:
114
+ raise Exception(str(e))
107
115
 
108
116
  def cv_sync2async_submit_task(self, body):
109
117
  try:
@@ -16,7 +16,7 @@ _sym_db = _symbol_database.Default()
16
16
  from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
17
17
 
18
18
 
19
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&byteplus/vod/business/vod_common.proto\x12\x1c\x42yteplus.Vod.Models.Business\x1a\x1egoogle/protobuf/wrappers.proto\"\xdc\x03\n\rVodSourceInfo\x12\x0e\n\x06\x46ileId\x18\x01 \x01(\t\x12\x0b\n\x03Md5\x18\x02 \x01(\t\x12\x10\n\x08\x46ileType\x18\x03 \x01(\t\x12\r\n\x05\x43odec\x18\x04 \x01(\t\x12\x0e\n\x06Height\x18\x05 \x01(\x05\x12\r\n\x05Width\x18\x06 \x01(\x05\x12\x0e\n\x06\x46ormat\x18\x07 \x01(\t\x12\x10\n\x08\x44uration\x18\x08 \x01(\x02\x12\x0c\n\x04Size\x18\t \x01(\x01\x12\x10\n\x08StoreUri\x18\n \x01(\t\x12\x12\n\nDefinition\x18\x0b \x01(\t\x12\x0f\n\x07\x42itrate\x18\x0c \x01(\x05\x12\x0b\n\x03\x46ps\x18\r \x01(\x02\x12\x12\n\nCreateTime\x18\x0e \x01(\t\x12\x0f\n\x07Quality\x18\x0f \x01(\t\x12\x14\n\x0c\x44ynamicRange\x18\x10 \x01(\t\x12I\n\x0fVideoStreamMeta\x18\x11 \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodVideoStreamMeta\x12I\n\x0f\x41udioStreamMeta\x18\x12 \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodAudioStreamMeta\x12\x17\n\x0fTosStorageClass\x18\x13 \x01(\t\x12\x10\n\x08\x46ileName\x18\x14 \x01(\t\"k\n\x12VodAudioStreamMeta\x12\r\n\x05\x43odec\x18\x01 \x01(\t\x12\x10\n\x08\x44uration\x18\x02 \x01(\x02\x12\x12\n\nSampleRate\x18\x03 \x01(\x05\x12\x0f\n\x07\x42itrate\x18\x04 \x01(\x05\x12\x0f\n\x07Quality\x18\x05 \x01(\t\"\x86\x01\n\x12VodVideoStreamMeta\x12\r\n\x05\x43odec\x18\x01 \x01(\t\x12\x0e\n\x06Height\x18\x02 \x01(\x05\x12\r\n\x05Width\x18\x03 \x01(\x05\x12\x10\n\x08\x44uration\x18\x04 \x01(\x02\x12\x12\n\nDefinition\x18\x05 \x01(\t\x12\x0f\n\x07\x42itrate\x18\x06 \x01(\x05\x12\x0b\n\x03\x46ps\x18\x07 \x01(\x02\"\xff\x02\n\x10VodTranscodeInfo\x12\x0e\n\x06\x46ileId\x18\x01 \x01(\t\x12\x0b\n\x03Md5\x18\x02 \x01(\t\x12\x10\n\x08\x46ileType\x18\x03 \x01(\t\x12\x10\n\x08LogoType\x18\x04 \x01(\t\x12\x0f\n\x07\x45ncrypt\x18\x05 \x01(\x08\x12\x0e\n\x06\x46ormat\x18\x06 \x01(\t\x12\x10\n\x08\x44uration\x18\x07 \x01(\x02\x12\x0c\n\x04Size\x18\x08 \x01(\x01\x12\x10\n\x08StoreUri\x18\t \x01(\t\x12I\n\x0fVideoStreamMeta\x18\n \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodVideoStreamMeta\x12I\n\x0f\x41udioStreamMeta\x18\x0b \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodAudioStreamMeta\x12\x12\n\nCreateTime\x18\x0c \x01(\t\x12\x14\n\x0c\x44ynamicRange\x18\r \x01(\t\x12\x17\n\x0fTosStorageClass\x18\x0e \x01(\t\"S\n\x0fVodAdaptiveInfo\x12\x13\n\x0bMainPlayUrl\x18\x01 \x01(\t\x12\x15\n\rBackupPlayUrl\x18\x02 \x01(\t\x12\x14\n\x0c\x41\x64\x61ptiveType\x18\x03 \x01(\t\"\xe1\x04\n\x0bVodPlayInfo\x12\x0e\n\x06\x46ileId\x18\x01 \x01(\t\x12\x0b\n\x03Md5\x18\x02 \x01(\t\x12\x10\n\x08\x46ileType\x18\x03 \x01(\t\x12\x0e\n\x06\x46ormat\x18\x04 \x01(\t\x12\r\n\x05\x43odec\x18\x05 \x01(\t\x12\x12\n\nDefinition\x18\x06 \x01(\t\x12\x13\n\x0bMainPlayUrl\x18\x07 \x01(\t\x12\x15\n\rBackupPlayUrl\x18\x08 \x01(\t\x12\x0f\n\x07\x42itrate\x18\t \x01(\x05\x12\r\n\x05Width\x18\n \x01(\x05\x12\x0e\n\x06Height\x18\x0b \x01(\x05\x12\x0c\n\x04Size\x18\x0c \x01(\x01\x12\x11\n\tCheckInfo\x18\r \x01(\t\x12\x12\n\nIndexRange\x18\x0e \x01(\t\x12\x11\n\tInitRange\x18\x0f \x01(\t\x12\x10\n\x08PlayAuth\x18\x10 \x01(\t\x12\x12\n\nPlayAuthId\x18\x11 \x01(\t\x12\x10\n\x08LogoType\x18\x12 \x01(\t\x12\x0f\n\x07Quality\x18\x13 \x01(\t\x12\x19\n\x11\x42\x61rrageMaskOffset\x18\x14 \x01(\t\x12\x10\n\x08\x44uration\x18\x15 \x01(\x02\x12\x19\n\x11KeyFrameAlignment\x18\x16 \x01(\t\x12;\n\x06Volume\x18\x17 \x01(\x0b\x32+.Byteplus.Vod.Models.Business.VodVolumeInfo\x12\x0f\n\x07\x44rmType\x18\x18 \x01(\t\x12=\n\x0e\x45ncryptionPssh\x18\x19 \x01(\x0b\x32%.Byteplus.Vod.Models.Business.DrmPssh\x12\x15\n\rMainUrlExpire\x18\x1a \x01(\t\x12\x17\n\x0f\x42\x61\x63kupUrlExpire\x18\x1b \x01(\t\"L\n\x07\x44rmPssh\x12\x14\n\x0cWidevinePssh\x18\x01 \x01(\t\x12\x15\n\rPlayReadyPssh\x18\x02 \x01(\t\x12\x14\n\x0c\x46\x61irPlayPssh\x18\x03 \x01(\t\"/\n\rVodVolumeInfo\x12\x10\n\x08Loudness\x18\x01 \x01(\x01\x12\x0c\n\x04Peak\x18\x02 \x01(\x01\"\xa3\x01\n\x0f\x42\x61rrageMaskInfo\x12\x0f\n\x07Version\x18\x01 \x01(\t\x12\x16\n\x0e\x42\x61rrageMaskUrl\x18\x02 \x01(\t\x12\x0e\n\x06\x46ileId\x18\x03 \x01(\t\x12\x10\n\x08\x46ileSize\x18\x04 \x01(\x01\x12\x10\n\x08\x46ileHash\x18\x05 \x01(\t\x12\x11\n\tUpdatedAt\x18\x06 \x01(\t\x12\x0f\n\x07\x42itrate\x18\x07 \x01(\x05\x12\x0f\n\x07HeadLen\x18\x08 \x01(\x01\"\xa0\x01\n\x0cVodThumbInfo\x12\x12\n\nCaptureNum\x18\x01 \x01(\x05\x12\x11\n\tStoreUrls\x18\x02 \x03(\t\x12\x11\n\tCellWidth\x18\x03 \x01(\x05\x12\x12\n\nCellHeight\x18\x04 \x01(\x05\x12\x0f\n\x07ImgXLen\x18\x05 \x01(\x05\x12\x0f\n\x07ImgYLen\x18\x06 \x01(\x05\x12\x10\n\x08Interval\x18\x07 \x01(\x01\x12\x0e\n\x06\x46ormat\x18\x08 \x01(\t\"\x80\x02\n\x0fVodSubtitleInfo\x12\x0b\n\x03Vid\x18\x01 \x01(\t\x12\x0e\n\x06\x46ileId\x18\x02 \x01(\t\x12\x10\n\x08Language\x18\x03 \x01(\t\x12\x12\n\nLanguageId\x18\x04 \x01(\x05\x12\x0e\n\x06\x46ormat\x18\x05 \x01(\t\x12\x12\n\nSubtitleId\x18\x06 \x01(\t\x12\r\n\x05Title\x18\x07 \x01(\t\x12\x0b\n\x03Tag\x18\x08 \x01(\t\x12\x0e\n\x06Status\x18\t \x01(\t\x12\x0e\n\x06Source\x18\n \x01(\t\x12\x10\n\x08StoreUri\x18\x0b \x01(\t\x12\x13\n\x0bSubtitleUrl\x18\x0c \x01(\t\x12\x12\n\nCreateTime\x18\r \x01(\t\x12\x0f\n\x07Version\x18\x0e \x01(\t\"A\n\x13VodCommonConfigInfo\x12\x0e\n\x06Module\x18\x01 \x01(\t\x12\x0b\n\x03Key\x18\x02 \x01(\t\x12\r\n\x05Value\x18\x03 \x01(\t\"\xae\x05\n\x10VodPlayInfoModel\x12\x46\n\x07Version\x18\n \x01(\x0e\x32\x35.Byteplus.Vod.Models.Business.VodPlayInfoModelVersion\x12\x0b\n\x03Vid\x18\x01 \x01(\t\x12\x0e\n\x06Status\x18\x02 \x01(\x05\x12\x11\n\tPosterUrl\x18\x03 \x01(\t\x12\x10\n\x08\x44uration\x18\x04 \x01(\x02\x12\x10\n\x08\x46ileType\x18\x05 \x01(\t\x12\x16\n\x0e\x45nableAdaptive\x18\x06 \x01(\x08\x12\x12\n\nTotalCount\x18\x07 \x01(\x05\x12\x43\n\x0c\x41\x64\x61ptiveInfo\x18\x08 \x01(\x0b\x32-.Byteplus.Vod.Models.Business.VodAdaptiveInfo\x12?\n\x0cPlayInfoList\x18\t \x03(\x0b\x32).Byteplus.Vod.Models.Business.VodPlayInfo\x12\x41\n\rThumbInfoList\x18\x0b \x03(\x0b\x32*.Byteplus.Vod.Models.Business.VodThumbInfo\x12\x16\n\x0e\x42\x61rrageMaskUrl\x18\x0c \x01(\t\x12G\n\x10SubtitleInfoList\x18\r \x03(\x0b\x32-.Byteplus.Vod.Models.Business.VodSubtitleInfo\x12\x46\n\x0f\x42\x61rrageMaskInfo\x18\x0e \x01(\x0b\x32-.Byteplus.Vod.Models.Business.BarrageMaskInfo\x12`\n\x1c\x41\x64\x61ptiveBitrateStreamingInfo\x18\x0f \x01(\x0b\x32:.Byteplus.Vod.Models.Business.AdaptiveBitrateStreamingInfo\"\x83\x01\n\x1c\x41\x64\x61ptiveBitrateStreamingInfo\x12\x13\n\x0bMainPlayUrl\x18\x01 \x01(\t\x12\x15\n\rBackupPlayUrl\x18\x02 \x01(\t\x12\x11\n\tAbrFormat\x18\x03 \x01(\t\x12\x10\n\x08PlayAuth\x18\x04 \x01(\t\x12\x12\n\nPlayAuthId\x18\x05 \x01(\t\",\n\x08VodPoint\x12\x11\n\tTimestamp\x18\x01 \x01(\x01\x12\r\n\x05Value\x18\x02 \x01(\x01\"\x94\x01\n\x14VodAllPlayInfoResult\x12R\n\x17VodAllPlayInfoModelList\x18\x01 \x03(\x0b\x32\x31.Byteplus.Vod.Models.Business.VodAllPlayInfoModel\x12\x12\n\nTotalCount\x18\x02 \x01(\x05\x12\x14\n\x0cNotFoundVids\x18\x03 \x03(\t\"\xb4\x04\n\x13VodAllPlayInfoModel\x12\x0b\n\x03Vid\x18\x01 \x01(\t\x12\x0e\n\x06Status\x18\x02 \x01(\x05\x12\x11\n\tPosterUrl\x18\x03 \x01(\t\x12\x12\n\nTotalCount\x18\x04 \x01(\x05\x12\x16\n\x0e\x45nableAdaptive\x18\x05 \x01(\x08\x12G\n\x14VodTranscodePlayInfo\x18\x06 \x03(\x0b\x32).Byteplus.Vod.Models.Business.VodPlayInfo\x12\x44\n\x11VodSourcePlayInfo\x18\x07 \x01(\x0b\x32).Byteplus.Vod.Models.Business.VodPlayInfo\x12\x46\n\x07Version\x18\x08 \x01(\x0e\x32\x35.Byteplus.Vod.Models.Business.VodPlayInfoModelVersion\x12\x41\n\rThumbInfoList\x18\t \x03(\x0b\x32*.Byteplus.Vod.Models.Business.VodThumbInfo\x12\x16\n\x0e\x42\x61rrageMaskUrl\x18\n \x01(\t\x12G\n\x10SubtitleInfoList\x18\x0b \x03(\x0b\x32-.Byteplus.Vod.Models.Business.VodSubtitleInfo\x12\x46\n\x0f\x42\x61rrageMaskInfo\x18\x0c \x01(\x0b\x32-.Byteplus.Vod.Models.Business.BarrageMaskInfo\".\n\x1cVodGetIntertrustApiKeyResult\x12\x0e\n\x06\x41piKey\x18\x01 \x01(\t\".\n\x1cVodSetFairPlayCertInfoResult\x12\x0e\n\x06\x43\x65rtId\x18\x01 \x01(\t\"\x8b\x01\n\x1cVodGetFairPlayCertInfoResult\x12\x0e\n\x06\x43\x65rtId\x18\x01 \x01(\t\x12\x10\n\x08\x43\x65rtName\x18\x02 \x01(\t\x12\x14\n\x0c\x43\x65rtFileName\x18\x03 \x01(\t\x12\x12\n\nPkFileName\x18\x04 \x01(\t\x12\x12\n\nPkPassword\x18\x05 \x01(\t\x12\x0b\n\x03\x41sk\x18\x06 \x01(\t\"(\n\x18VodGetFairPlayCertResult\x12\x0c\n\x04\x43\x65rt\x18\x01 \x01(\x0c\")\n\x13VodDrmLicenseResult\x12\x12\n\nDrmLicense\x18\x01 \x01(\x0c\"\x9b\x01\n\x12MirrorSrcCondition\x12\x10\n\x08HttpCode\x18\x01 \x03(\x03\x12/\n\tKeyPrefix\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tKeySuffix\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x11\n\tAllowHost\x18\x04 \x03(\t\"M\n\x10PublicSourceConf\x12\x39\n\x02S3\x18\x01 \x01(\x0b\x32-.Byteplus.Vod.Models.Business.MirrorSrcS3Conf\"\xff\x01\n\x0fMirrorSrcS3Conf\x12.\n\x08\x45ndpoint\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06Region\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06\x42ucket\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tAccessKey\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tSecretKey\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf4\x02\n\rMirrorSrcRule\x12(\n\x02Id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x07\x45nabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12H\n\nOriginType\x18\x03 \x01(\x0e\x32\x34.Byteplus.Vod.Models.Business.VodMirrorSrcOriginType\x12\x43\n\tCondition\x18\x04 \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.MirrorSrcCondition\x12\x44\n\x0cPublicSource\x18\x05 \x01(\x0b\x32..Byteplus.Vod.Models.Business.PublicSourceConf\x12\x11\n\tCreatedAt\x18\x06 \x01(\x03\x12\x11\n\tUpdatedAt\x18\x07 \x01(\x03\x12\x11\n\tDeletedAt\x18\x08 \x01(\x03\"\'\n\x19VodSetMirrorSrcRuleResult\x12\n\n\x02Id\x18\x01 \x01(\t\"W\n\x1aVodListMirrorSrcRuleResult\x12\x39\n\x04Rule\x18\x01 \x03(\x0b\x32+.Byteplus.Vod.Models.Business.MirrorSrcRule*\xd6\x01\n\x17VodPlayInfoModelVersion\x12$\n UndefinedVodPlayInfoModelVersion\x10\x00\x12%\n!InternalV1VodPlayInfoModelVersion\x10\x01\x12%\n!InternalV2VodPlayInfoModelVersion\x10\x02\x12%\n!InternalV3VodPlayInfoModelVersion\x10\x03\x12 \n\x1cToBV1VodPlayInfoModelVersion\x10\x04*,\n\x16VodMirrorSrcOriginType\x12\n\n\x06NotSet\x10\x00\x12\x06\n\x02S3\x10\x01\x42\xd9\x01\n\'com.byteplus.service.vod.model.businessB\tVodCommonP\x01ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\xa0\x01\x01\xd8\x01\x01\xc2\x02\x00\xca\x02$Byteplus\\Service\\Vod\\Models\\Business\xe2\x02\'Byteplus\\Service\\Vod\\Models\\GPBMetadatab\x06proto3')
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&byteplus/vod/business/vod_common.proto\x12\x1c\x42yteplus.Vod.Models.Business\x1a\x1egoogle/protobuf/wrappers.proto\"\xdc\x03\n\rVodSourceInfo\x12\x0e\n\x06\x46ileId\x18\x01 \x01(\t\x12\x0b\n\x03Md5\x18\x02 \x01(\t\x12\x10\n\x08\x46ileType\x18\x03 \x01(\t\x12\r\n\x05\x43odec\x18\x04 \x01(\t\x12\x0e\n\x06Height\x18\x05 \x01(\x05\x12\r\n\x05Width\x18\x06 \x01(\x05\x12\x0e\n\x06\x46ormat\x18\x07 \x01(\t\x12\x10\n\x08\x44uration\x18\x08 \x01(\x02\x12\x0c\n\x04Size\x18\t \x01(\x01\x12\x10\n\x08StoreUri\x18\n \x01(\t\x12\x12\n\nDefinition\x18\x0b \x01(\t\x12\x0f\n\x07\x42itrate\x18\x0c \x01(\x05\x12\x0b\n\x03\x46ps\x18\r \x01(\x02\x12\x12\n\nCreateTime\x18\x0e \x01(\t\x12\x0f\n\x07Quality\x18\x0f \x01(\t\x12\x14\n\x0c\x44ynamicRange\x18\x10 \x01(\t\x12I\n\x0fVideoStreamMeta\x18\x11 \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodVideoStreamMeta\x12I\n\x0f\x41udioStreamMeta\x18\x12 \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodAudioStreamMeta\x12\x17\n\x0fTosStorageClass\x18\x13 \x01(\t\x12\x10\n\x08\x46ileName\x18\x14 \x01(\t\"\xc1\x01\n\x12VodAudioStreamMeta\x12\r\n\x05\x43odec\x18\x01 \x01(\t\x12\x10\n\x08\x44uration\x18\x02 \x01(\x02\x12\x12\n\nSampleRate\x18\x03 \x01(\x05\x12\x0f\n\x07\x42itrate\x18\x04 \x01(\x05\x12\x0f\n\x07Quality\x18\x05 \x01(\t\x12\x10\n\x08\x43hannels\x18\x06 \x01(\x05\x12\x42\n\rSubStreamInfo\x18\x07 \x03(\x0b\x32+.Byteplus.Vod.Models.Business.SubStreamInfo\"\xca\x01\n\x12VodVideoStreamMeta\x12\r\n\x05\x43odec\x18\x01 \x01(\t\x12\x0e\n\x06Height\x18\x02 \x01(\x05\x12\r\n\x05Width\x18\x03 \x01(\x05\x12\x10\n\x08\x44uration\x18\x04 \x01(\x02\x12\x12\n\nDefinition\x18\x05 \x01(\t\x12\x0f\n\x07\x42itrate\x18\x06 \x01(\x05\x12\x0b\n\x03\x46ps\x18\x07 \x01(\x02\x12\x42\n\rSubStreamInfo\x18\x08 \x03(\x0b\x32+.Byteplus.Vod.Models.Business.SubStreamInfo\"3\n\rSubStreamInfo\x12\x10\n\x08\x46ileType\x18\x01 \x01(\t\x12\x10\n\x08\x43hannels\x18\x02 \x01(\x05\"\xff\x02\n\x10VodTranscodeInfo\x12\x0e\n\x06\x46ileId\x18\x01 \x01(\t\x12\x0b\n\x03Md5\x18\x02 \x01(\t\x12\x10\n\x08\x46ileType\x18\x03 \x01(\t\x12\x10\n\x08LogoType\x18\x04 \x01(\t\x12\x0f\n\x07\x45ncrypt\x18\x05 \x01(\x08\x12\x0e\n\x06\x46ormat\x18\x06 \x01(\t\x12\x10\n\x08\x44uration\x18\x07 \x01(\x02\x12\x0c\n\x04Size\x18\x08 \x01(\x01\x12\x10\n\x08StoreUri\x18\t \x01(\t\x12I\n\x0fVideoStreamMeta\x18\n \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodVideoStreamMeta\x12I\n\x0f\x41udioStreamMeta\x18\x0b \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.VodAudioStreamMeta\x12\x12\n\nCreateTime\x18\x0c \x01(\t\x12\x14\n\x0c\x44ynamicRange\x18\r \x01(\t\x12\x17\n\x0fTosStorageClass\x18\x0e \x01(\t\"S\n\x0fVodAdaptiveInfo\x12\x13\n\x0bMainPlayUrl\x18\x01 \x01(\t\x12\x15\n\rBackupPlayUrl\x18\x02 \x01(\t\x12\x14\n\x0c\x41\x64\x61ptiveType\x18\x03 \x01(\t\"\xf3\x04\n\x0bVodPlayInfo\x12\x0e\n\x06\x46ileId\x18\x01 \x01(\t\x12\x0b\n\x03Md5\x18\x02 \x01(\t\x12\x10\n\x08\x46ileType\x18\x03 \x01(\t\x12\x0e\n\x06\x46ormat\x18\x04 \x01(\t\x12\r\n\x05\x43odec\x18\x05 \x01(\t\x12\x12\n\nDefinition\x18\x06 \x01(\t\x12\x13\n\x0bMainPlayUrl\x18\x07 \x01(\t\x12\x15\n\rBackupPlayUrl\x18\x08 \x01(\t\x12\x0f\n\x07\x42itrate\x18\t \x01(\x05\x12\r\n\x05Width\x18\n \x01(\x05\x12\x0e\n\x06Height\x18\x0b \x01(\x05\x12\x0c\n\x04Size\x18\x0c \x01(\x01\x12\x11\n\tCheckInfo\x18\r \x01(\t\x12\x12\n\nIndexRange\x18\x0e \x01(\t\x12\x11\n\tInitRange\x18\x0f \x01(\t\x12\x10\n\x08PlayAuth\x18\x10 \x01(\t\x12\x12\n\nPlayAuthId\x18\x11 \x01(\t\x12\x10\n\x08LogoType\x18\x12 \x01(\t\x12\x0f\n\x07Quality\x18\x13 \x01(\t\x12\x19\n\x11\x42\x61rrageMaskOffset\x18\x14 \x01(\t\x12\x10\n\x08\x44uration\x18\x15 \x01(\x02\x12\x19\n\x11KeyFrameAlignment\x18\x16 \x01(\t\x12;\n\x06Volume\x18\x17 \x01(\x0b\x32+.Byteplus.Vod.Models.Business.VodVolumeInfo\x12\x0f\n\x07\x44rmType\x18\x18 \x01(\t\x12=\n\x0e\x45ncryptionPssh\x18\x19 \x01(\x0b\x32%.Byteplus.Vod.Models.Business.DrmPssh\x12\x15\n\rMainUrlExpire\x18\x1a \x01(\t\x12\x17\n\x0f\x42\x61\x63kupUrlExpire\x18\x1b \x01(\t\x12\x10\n\x08\x43hannels\x18\x1c \x01(\x05\"L\n\x07\x44rmPssh\x12\x14\n\x0cWidevinePssh\x18\x01 \x01(\t\x12\x15\n\rPlayReadyPssh\x18\x02 \x01(\t\x12\x14\n\x0c\x46\x61irPlayPssh\x18\x03 \x01(\t\"/\n\rVodVolumeInfo\x12\x10\n\x08Loudness\x18\x01 \x01(\x01\x12\x0c\n\x04Peak\x18\x02 \x01(\x01\"\xa3\x01\n\x0f\x42\x61rrageMaskInfo\x12\x0f\n\x07Version\x18\x01 \x01(\t\x12\x16\n\x0e\x42\x61rrageMaskUrl\x18\x02 \x01(\t\x12\x0e\n\x06\x46ileId\x18\x03 \x01(\t\x12\x10\n\x08\x46ileSize\x18\x04 \x01(\x01\x12\x10\n\x08\x46ileHash\x18\x05 \x01(\t\x12\x11\n\tUpdatedAt\x18\x06 \x01(\t\x12\x0f\n\x07\x42itrate\x18\x07 \x01(\x05\x12\x0f\n\x07HeadLen\x18\x08 \x01(\x01\"\xa0\x01\n\x0cVodThumbInfo\x12\x12\n\nCaptureNum\x18\x01 \x01(\x05\x12\x11\n\tStoreUrls\x18\x02 \x03(\t\x12\x11\n\tCellWidth\x18\x03 \x01(\x05\x12\x12\n\nCellHeight\x18\x04 \x01(\x05\x12\x0f\n\x07ImgXLen\x18\x05 \x01(\x05\x12\x0f\n\x07ImgYLen\x18\x06 \x01(\x05\x12\x10\n\x08Interval\x18\x07 \x01(\x01\x12\x0e\n\x06\x46ormat\x18\x08 \x01(\t\"\x80\x02\n\x0fVodSubtitleInfo\x12\x0b\n\x03Vid\x18\x01 \x01(\t\x12\x0e\n\x06\x46ileId\x18\x02 \x01(\t\x12\x10\n\x08Language\x18\x03 \x01(\t\x12\x12\n\nLanguageId\x18\x04 \x01(\x05\x12\x0e\n\x06\x46ormat\x18\x05 \x01(\t\x12\x12\n\nSubtitleId\x18\x06 \x01(\t\x12\r\n\x05Title\x18\x07 \x01(\t\x12\x0b\n\x03Tag\x18\x08 \x01(\t\x12\x0e\n\x06Status\x18\t \x01(\t\x12\x0e\n\x06Source\x18\n \x01(\t\x12\x10\n\x08StoreUri\x18\x0b \x01(\t\x12\x13\n\x0bSubtitleUrl\x18\x0c \x01(\t\x12\x12\n\nCreateTime\x18\r \x01(\t\x12\x0f\n\x07Version\x18\x0e \x01(\t\"A\n\x13VodCommonConfigInfo\x12\x0e\n\x06Module\x18\x01 \x01(\t\x12\x0b\n\x03Key\x18\x02 \x01(\t\x12\r\n\x05Value\x18\x03 \x01(\t\"\xae\x05\n\x10VodPlayInfoModel\x12\x46\n\x07Version\x18\n \x01(\x0e\x32\x35.Byteplus.Vod.Models.Business.VodPlayInfoModelVersion\x12\x0b\n\x03Vid\x18\x01 \x01(\t\x12\x0e\n\x06Status\x18\x02 \x01(\x05\x12\x11\n\tPosterUrl\x18\x03 \x01(\t\x12\x10\n\x08\x44uration\x18\x04 \x01(\x02\x12\x10\n\x08\x46ileType\x18\x05 \x01(\t\x12\x16\n\x0e\x45nableAdaptive\x18\x06 \x01(\x08\x12\x12\n\nTotalCount\x18\x07 \x01(\x05\x12\x43\n\x0c\x41\x64\x61ptiveInfo\x18\x08 \x01(\x0b\x32-.Byteplus.Vod.Models.Business.VodAdaptiveInfo\x12?\n\x0cPlayInfoList\x18\t \x03(\x0b\x32).Byteplus.Vod.Models.Business.VodPlayInfo\x12\x41\n\rThumbInfoList\x18\x0b \x03(\x0b\x32*.Byteplus.Vod.Models.Business.VodThumbInfo\x12\x16\n\x0e\x42\x61rrageMaskUrl\x18\x0c \x01(\t\x12G\n\x10SubtitleInfoList\x18\r \x03(\x0b\x32-.Byteplus.Vod.Models.Business.VodSubtitleInfo\x12\x46\n\x0f\x42\x61rrageMaskInfo\x18\x0e \x01(\x0b\x32-.Byteplus.Vod.Models.Business.BarrageMaskInfo\x12`\n\x1c\x41\x64\x61ptiveBitrateStreamingInfo\x18\x0f \x01(\x0b\x32:.Byteplus.Vod.Models.Business.AdaptiveBitrateStreamingInfo\"\x83\x01\n\x1c\x41\x64\x61ptiveBitrateStreamingInfo\x12\x13\n\x0bMainPlayUrl\x18\x01 \x01(\t\x12\x15\n\rBackupPlayUrl\x18\x02 \x01(\t\x12\x11\n\tAbrFormat\x18\x03 \x01(\t\x12\x10\n\x08PlayAuth\x18\x04 \x01(\t\x12\x12\n\nPlayAuthId\x18\x05 \x01(\t\",\n\x08VodPoint\x12\x11\n\tTimestamp\x18\x01 \x01(\x01\x12\r\n\x05Value\x18\x02 \x01(\x01\"\x94\x01\n\x14VodAllPlayInfoResult\x12R\n\x17VodAllPlayInfoModelList\x18\x01 \x03(\x0b\x32\x31.Byteplus.Vod.Models.Business.VodAllPlayInfoModel\x12\x12\n\nTotalCount\x18\x02 \x01(\x05\x12\x14\n\x0cNotFoundVids\x18\x03 \x03(\t\"\xb4\x04\n\x13VodAllPlayInfoModel\x12\x0b\n\x03Vid\x18\x01 \x01(\t\x12\x0e\n\x06Status\x18\x02 \x01(\x05\x12\x11\n\tPosterUrl\x18\x03 \x01(\t\x12\x12\n\nTotalCount\x18\x04 \x01(\x05\x12\x16\n\x0e\x45nableAdaptive\x18\x05 \x01(\x08\x12G\n\x14VodTranscodePlayInfo\x18\x06 \x03(\x0b\x32).Byteplus.Vod.Models.Business.VodPlayInfo\x12\x44\n\x11VodSourcePlayInfo\x18\x07 \x01(\x0b\x32).Byteplus.Vod.Models.Business.VodPlayInfo\x12\x46\n\x07Version\x18\x08 \x01(\x0e\x32\x35.Byteplus.Vod.Models.Business.VodPlayInfoModelVersion\x12\x41\n\rThumbInfoList\x18\t \x03(\x0b\x32*.Byteplus.Vod.Models.Business.VodThumbInfo\x12\x16\n\x0e\x42\x61rrageMaskUrl\x18\n \x01(\t\x12G\n\x10SubtitleInfoList\x18\x0b \x03(\x0b\x32-.Byteplus.Vod.Models.Business.VodSubtitleInfo\x12\x46\n\x0f\x42\x61rrageMaskInfo\x18\x0c \x01(\x0b\x32-.Byteplus.Vod.Models.Business.BarrageMaskInfo\".\n\x1cVodGetIntertrustApiKeyResult\x12\x0e\n\x06\x41piKey\x18\x01 \x01(\t\".\n\x1cVodSetFairPlayCertInfoResult\x12\x0e\n\x06\x43\x65rtId\x18\x01 \x01(\t\"\x8b\x01\n\x1cVodGetFairPlayCertInfoResult\x12\x0e\n\x06\x43\x65rtId\x18\x01 \x01(\t\x12\x10\n\x08\x43\x65rtName\x18\x02 \x01(\t\x12\x14\n\x0c\x43\x65rtFileName\x18\x03 \x01(\t\x12\x12\n\nPkFileName\x18\x04 \x01(\t\x12\x12\n\nPkPassword\x18\x05 \x01(\t\x12\x0b\n\x03\x41sk\x18\x06 \x01(\t\"(\n\x18VodGetFairPlayCertResult\x12\x0c\n\x04\x43\x65rt\x18\x01 \x01(\x0c\")\n\x13VodDrmLicenseResult\x12\x12\n\nDrmLicense\x18\x01 \x01(\x0c\"\x9b\x01\n\x12MirrorSrcCondition\x12\x10\n\x08HttpCode\x18\x01 \x03(\x03\x12/\n\tKeyPrefix\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tKeySuffix\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x11\n\tAllowHost\x18\x04 \x03(\t\"M\n\x10PublicSourceConf\x12\x39\n\x02S3\x18\x01 \x01(\x0b\x32-.Byteplus.Vod.Models.Business.MirrorSrcS3Conf\"\xff\x01\n\x0fMirrorSrcS3Conf\x12.\n\x08\x45ndpoint\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06Region\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06\x42ucket\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tAccessKey\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tSecretKey\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf4\x02\n\rMirrorSrcRule\x12(\n\x02Id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x07\x45nabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12H\n\nOriginType\x18\x03 \x01(\x0e\x32\x34.Byteplus.Vod.Models.Business.VodMirrorSrcOriginType\x12\x43\n\tCondition\x18\x04 \x01(\x0b\x32\x30.Byteplus.Vod.Models.Business.MirrorSrcCondition\x12\x44\n\x0cPublicSource\x18\x05 \x01(\x0b\x32..Byteplus.Vod.Models.Business.PublicSourceConf\x12\x11\n\tCreatedAt\x18\x06 \x01(\x03\x12\x11\n\tUpdatedAt\x18\x07 \x01(\x03\x12\x11\n\tDeletedAt\x18\x08 \x01(\x03\"\'\n\x19VodSetMirrorSrcRuleResult\x12\n\n\x02Id\x18\x01 \x01(\t\"W\n\x1aVodListMirrorSrcRuleResult\x12\x39\n\x04Rule\x18\x01 \x03(\x0b\x32+.Byteplus.Vod.Models.Business.MirrorSrcRule*\xd6\x01\n\x17VodPlayInfoModelVersion\x12$\n UndefinedVodPlayInfoModelVersion\x10\x00\x12%\n!InternalV1VodPlayInfoModelVersion\x10\x01\x12%\n!InternalV2VodPlayInfoModelVersion\x10\x02\x12%\n!InternalV3VodPlayInfoModelVersion\x10\x03\x12 \n\x1cToBV1VodPlayInfoModelVersion\x10\x04*,\n\x16VodMirrorSrcOriginType\x12\n\n\x06NotSet\x10\x00\x12\x06\n\x02S3\x10\x01\x42\xd9\x01\n\'com.byteplus.service.vod.model.businessB\tVodCommonP\x01ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\xa0\x01\x01\xd8\x01\x01\xc2\x02\x00\xca\x02$Byteplus\\Service\\Vod\\Models\\Business\xe2\x02\'Byteplus\\Service\\Vod\\Models\\GPBMetadatab\x06proto3')
20
20
 
21
21
  _VODPLAYINFOMODELVERSION = DESCRIPTOR.enum_types_by_name['VodPlayInfoModelVersion']
22
22
  VodPlayInfoModelVersion = enum_type_wrapper.EnumTypeWrapper(_VODPLAYINFOMODELVERSION)
@@ -34,6 +34,7 @@ S3 = 1
34
34
  _VODSOURCEINFO = DESCRIPTOR.message_types_by_name['VodSourceInfo']
35
35
  _VODAUDIOSTREAMMETA = DESCRIPTOR.message_types_by_name['VodAudioStreamMeta']
36
36
  _VODVIDEOSTREAMMETA = DESCRIPTOR.message_types_by_name['VodVideoStreamMeta']
37
+ _SUBSTREAMINFO = DESCRIPTOR.message_types_by_name['SubStreamInfo']
37
38
  _VODTRANSCODEINFO = DESCRIPTOR.message_types_by_name['VodTranscodeInfo']
38
39
  _VODADAPTIVEINFO = DESCRIPTOR.message_types_by_name['VodAdaptiveInfo']
39
40
  _VODPLAYINFO = DESCRIPTOR.message_types_by_name['VodPlayInfo']
@@ -80,6 +81,13 @@ VodVideoStreamMeta = _reflection.GeneratedProtocolMessageType('VodVideoStreamMet
80
81
  })
81
82
  _sym_db.RegisterMessage(VodVideoStreamMeta)
82
83
 
84
+ SubStreamInfo = _reflection.GeneratedProtocolMessageType('SubStreamInfo', (_message.Message,), {
85
+ 'DESCRIPTOR' : _SUBSTREAMINFO,
86
+ '__module__' : 'byteplus.vod.business.vod_common_pb2'
87
+ # @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.SubStreamInfo)
88
+ })
89
+ _sym_db.RegisterMessage(SubStreamInfo)
90
+
83
91
  VodTranscodeInfo = _reflection.GeneratedProtocolMessageType('VodTranscodeInfo', (_message.Message,), {
84
92
  'DESCRIPTOR' : _VODTRANSCODEINFO,
85
93
  '__module__' : 'byteplus.vod.business.vod_common_pb2'
@@ -259,64 +267,66 @@ if _descriptor._USE_C_DESCRIPTORS == False:
259
267
 
260
268
  DESCRIPTOR._options = None
261
269
  DESCRIPTOR._serialized_options = b'\n\'com.byteplus.service.vod.model.businessB\tVodCommonP\001ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\240\001\001\330\001\001\302\002\000\312\002$Byteplus\\Service\\Vod\\Models\\Business\342\002\'Byteplus\\Service\\Vod\\Models\\GPBMetadata'
262
- _VODPLAYINFOMODELVERSION._serialized_start=5605
263
- _VODPLAYINFOMODELVERSION._serialized_end=5819
264
- _VODMIRRORSRCORIGINTYPE._serialized_start=5821
265
- _VODMIRRORSRCORIGINTYPE._serialized_end=5865
270
+ _VODPLAYINFOMODELVERSION._serialized_start=5831
271
+ _VODPLAYINFOMODELVERSION._serialized_end=6045
272
+ _VODMIRRORSRCORIGINTYPE._serialized_start=6047
273
+ _VODMIRRORSRCORIGINTYPE._serialized_end=6091
266
274
  _VODSOURCEINFO._serialized_start=105
267
275
  _VODSOURCEINFO._serialized_end=581
268
- _VODAUDIOSTREAMMETA._serialized_start=583
269
- _VODAUDIOSTREAMMETA._serialized_end=690
270
- _VODVIDEOSTREAMMETA._serialized_start=693
271
- _VODVIDEOSTREAMMETA._serialized_end=827
272
- _VODTRANSCODEINFO._serialized_start=830
273
- _VODTRANSCODEINFO._serialized_end=1213
274
- _VODADAPTIVEINFO._serialized_start=1215
275
- _VODADAPTIVEINFO._serialized_end=1298
276
- _VODPLAYINFO._serialized_start=1301
277
- _VODPLAYINFO._serialized_end=1910
278
- _DRMPSSH._serialized_start=1912
279
- _DRMPSSH._serialized_end=1988
280
- _VODVOLUMEINFO._serialized_start=1990
281
- _VODVOLUMEINFO._serialized_end=2037
282
- _BARRAGEMASKINFO._serialized_start=2040
283
- _BARRAGEMASKINFO._serialized_end=2203
284
- _VODTHUMBINFO._serialized_start=2206
285
- _VODTHUMBINFO._serialized_end=2366
286
- _VODSUBTITLEINFO._serialized_start=2369
287
- _VODSUBTITLEINFO._serialized_end=2625
288
- _VODCOMMONCONFIGINFO._serialized_start=2627
289
- _VODCOMMONCONFIGINFO._serialized_end=2692
290
- _VODPLAYINFOMODEL._serialized_start=2695
291
- _VODPLAYINFOMODEL._serialized_end=3381
292
- _ADAPTIVEBITRATESTREAMINGINFO._serialized_start=3384
293
- _ADAPTIVEBITRATESTREAMINGINFO._serialized_end=3515
294
- _VODPOINT._serialized_start=3517
295
- _VODPOINT._serialized_end=3561
296
- _VODALLPLAYINFORESULT._serialized_start=3564
297
- _VODALLPLAYINFORESULT._serialized_end=3712
298
- _VODALLPLAYINFOMODEL._serialized_start=3715
299
- _VODALLPLAYINFOMODEL._serialized_end=4279
300
- _VODGETINTERTRUSTAPIKEYRESULT._serialized_start=4281
301
- _VODGETINTERTRUSTAPIKEYRESULT._serialized_end=4327
302
- _VODSETFAIRPLAYCERTINFORESULT._serialized_start=4329
303
- _VODSETFAIRPLAYCERTINFORESULT._serialized_end=4375
304
- _VODGETFAIRPLAYCERTINFORESULT._serialized_start=4378
305
- _VODGETFAIRPLAYCERTINFORESULT._serialized_end=4517
306
- _VODGETFAIRPLAYCERTRESULT._serialized_start=4519
307
- _VODGETFAIRPLAYCERTRESULT._serialized_end=4559
308
- _VODDRMLICENSERESULT._serialized_start=4561
309
- _VODDRMLICENSERESULT._serialized_end=4602
310
- _MIRRORSRCCONDITION._serialized_start=4605
311
- _MIRRORSRCCONDITION._serialized_end=4760
312
- _PUBLICSOURCECONF._serialized_start=4762
313
- _PUBLICSOURCECONF._serialized_end=4839
314
- _MIRRORSRCS3CONF._serialized_start=4842
315
- _MIRRORSRCS3CONF._serialized_end=5097
316
- _MIRRORSRCRULE._serialized_start=5100
317
- _MIRRORSRCRULE._serialized_end=5472
318
- _VODSETMIRRORSRCRULERESULT._serialized_start=5474
319
- _VODSETMIRRORSRCRULERESULT._serialized_end=5513
320
- _VODLISTMIRRORSRCRULERESULT._serialized_start=5515
321
- _VODLISTMIRRORSRCRULERESULT._serialized_end=5602
276
+ _VODAUDIOSTREAMMETA._serialized_start=584
277
+ _VODAUDIOSTREAMMETA._serialized_end=777
278
+ _VODVIDEOSTREAMMETA._serialized_start=780
279
+ _VODVIDEOSTREAMMETA._serialized_end=982
280
+ _SUBSTREAMINFO._serialized_start=984
281
+ _SUBSTREAMINFO._serialized_end=1035
282
+ _VODTRANSCODEINFO._serialized_start=1038
283
+ _VODTRANSCODEINFO._serialized_end=1421
284
+ _VODADAPTIVEINFO._serialized_start=1423
285
+ _VODADAPTIVEINFO._serialized_end=1506
286
+ _VODPLAYINFO._serialized_start=1509
287
+ _VODPLAYINFO._serialized_end=2136
288
+ _DRMPSSH._serialized_start=2138
289
+ _DRMPSSH._serialized_end=2214
290
+ _VODVOLUMEINFO._serialized_start=2216
291
+ _VODVOLUMEINFO._serialized_end=2263
292
+ _BARRAGEMASKINFO._serialized_start=2266
293
+ _BARRAGEMASKINFO._serialized_end=2429
294
+ _VODTHUMBINFO._serialized_start=2432
295
+ _VODTHUMBINFO._serialized_end=2592
296
+ _VODSUBTITLEINFO._serialized_start=2595
297
+ _VODSUBTITLEINFO._serialized_end=2851
298
+ _VODCOMMONCONFIGINFO._serialized_start=2853
299
+ _VODCOMMONCONFIGINFO._serialized_end=2918
300
+ _VODPLAYINFOMODEL._serialized_start=2921
301
+ _VODPLAYINFOMODEL._serialized_end=3607
302
+ _ADAPTIVEBITRATESTREAMINGINFO._serialized_start=3610
303
+ _ADAPTIVEBITRATESTREAMINGINFO._serialized_end=3741
304
+ _VODPOINT._serialized_start=3743
305
+ _VODPOINT._serialized_end=3787
306
+ _VODALLPLAYINFORESULT._serialized_start=3790
307
+ _VODALLPLAYINFORESULT._serialized_end=3938
308
+ _VODALLPLAYINFOMODEL._serialized_start=3941
309
+ _VODALLPLAYINFOMODEL._serialized_end=4505
310
+ _VODGETINTERTRUSTAPIKEYRESULT._serialized_start=4507
311
+ _VODGETINTERTRUSTAPIKEYRESULT._serialized_end=4553
312
+ _VODSETFAIRPLAYCERTINFORESULT._serialized_start=4555
313
+ _VODSETFAIRPLAYCERTINFORESULT._serialized_end=4601
314
+ _VODGETFAIRPLAYCERTINFORESULT._serialized_start=4604
315
+ _VODGETFAIRPLAYCERTINFORESULT._serialized_end=4743
316
+ _VODGETFAIRPLAYCERTRESULT._serialized_start=4745
317
+ _VODGETFAIRPLAYCERTRESULT._serialized_end=4785
318
+ _VODDRMLICENSERESULT._serialized_start=4787
319
+ _VODDRMLICENSERESULT._serialized_end=4828
320
+ _MIRRORSRCCONDITION._serialized_start=4831
321
+ _MIRRORSRCCONDITION._serialized_end=4986
322
+ _PUBLICSOURCECONF._serialized_start=4988
323
+ _PUBLICSOURCECONF._serialized_end=5065
324
+ _MIRRORSRCS3CONF._serialized_start=5068
325
+ _MIRRORSRCS3CONF._serialized_end=5323
326
+ _MIRRORSRCRULE._serialized_start=5326
327
+ _MIRRORSRCRULE._serialized_end=5698
328
+ _VODSETMIRRORSRCRULERESULT._serialized_start=5700
329
+ _VODSETMIRRORSRCRULERESULT._serialized_end=5739
330
+ _VODLISTMIRRORSRCRULERESULT._serialized_start=5741
331
+ _VODLISTMIRRORSRCRULERESULT._serialized_end=5828
322
332
  # @@protoc_insertion_point(module_scope)
@@ -15,7 +15,7 @@ _sym_db = _symbol_database.Default()
15
15
  from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
16
16
 
17
17
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0byteplus/vod/business/vod_quality_platform.proto\x12\x1c\x42yteplus.Vod.Models.Business\x1a\x1cgoogle/protobuf/struct.proto\"\xa0\x01\n\x19GetVodMediaPlayDataResult\x12\x12\n\nTotalPoint\x18\x01 \x01(\x02\x12H\n\x07\x43olumns\x18\x02 \x03(\x0b\x32\x37.Byteplus.Vod.Models.Business.GetVodMediaPlayDataColumn\x12%\n\x04\x44\x61ta\x18\x03 \x03(\x0b\x32\x17.google.protobuf.Struct\"Z\n\x19GetVodMediaPlayDataColumn\x12\x0c\n\x04Name\x18\x01 \x01(\t\x12\r\n\x05\x41lias\x18\x02 \x01(\t\x12\x0c\n\x04Type\x18\x03 \x01(\t\x12\x12\n\nValueAlias\x18\x04 \x01(\tB\xd6\x01\n\'com.byteplus.service.vod.model.businessB\x06VodCdnP\x01ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\xa0\x01\x01\xd8\x01\x01\xc2\x02\x00\xca\x02$Byteplus\\Service\\Vod\\Models\\Business\xe2\x02\'Byteplus\\Service\\Vod\\Models\\GPBMetadatab\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0byteplus/vod/business/vod_quality_platform.proto\x12\x1c\x42yteplus.Vod.Models.Business\x1a\x1cgoogle/protobuf/struct.proto\"\xa0\x01\n\x19GetVodMediaPlayDataResult\x12\x12\n\nTotalPoint\x18\x01 \x01(\x02\x12H\n\x07\x43olumns\x18\x02 \x03(\x0b\x32\x37.Byteplus.Vod.Models.Business.GetVodMediaPlayDataColumn\x12%\n\x04\x44\x61ta\x18\x03 \x03(\x0b\x32\x17.google.protobuf.Struct\"Z\n\x19GetVodMediaPlayDataColumn\x12\x0c\n\x04Name\x18\x01 \x01(\t\x12\r\n\x05\x41lias\x18\x02 \x01(\t\x12\x0c\n\x04Type\x18\x03 \x01(\t\x12\x12\n\nValueAlias\x18\x04 \x01(\tB\xe2\x01\n\'com.byteplus.service.vod.model.businessB\x12VodQualityPlatformP\x01ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\xa0\x01\x01\xd8\x01\x01\xc2\x02\x00\xca\x02$Byteplus\\Service\\Vod\\Models\\Business\xe2\x02\'Byteplus\\Service\\Vod\\Models\\GPBMetadatab\x06proto3')
19
19
 
20
20
 
21
21
 
@@ -38,7 +38,7 @@ _sym_db.RegisterMessage(GetVodMediaPlayDataColumn)
38
38
  if _descriptor._USE_C_DESCRIPTORS == False:
39
39
 
40
40
  DESCRIPTOR._options = None
41
- DESCRIPTOR._serialized_options = b'\n\'com.byteplus.service.vod.model.businessB\006VodCdnP\001ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\240\001\001\330\001\001\302\002\000\312\002$Byteplus\\Service\\Vod\\Models\\Business\342\002\'Byteplus\\Service\\Vod\\Models\\GPBMetadata'
41
+ DESCRIPTOR._serialized_options = b'\n\'com.byteplus.service.vod.model.businessB\022VodQualityPlatformP\001ZGgithub.com/byteplus-sdk/byteplus-sdk-golang/service/vod/models/business\240\001\001\330\001\001\302\002\000\312\002$Byteplus\\Service\\Vod\\Models\\Business\342\002\'Byteplus\\Service\\Vod\\Models\\GPBMetadata'
42
42
  _GETVODMEDIAPLAYDATARESULT._serialized_start=113
43
43
  _GETVODMEDIAPLAYDATARESULT._serialized_end=273
44
44
  _GETVODMEDIAPLAYDATACOLUMN._serialized_start=275
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: byteplus-sdk
3
- Version: 1.0.50
3
+ Version: 1.0.53
4
4
  Summary: The BytePlus SDK for Python
5
5
  Home-page: https://github.com/byteplus-sdk/byteplus-sdk-python
6
6
  Author: BytePlus SDK
@@ -86,6 +86,7 @@ byteplus_sdk/example/rtc/__init__.py
86
86
  byteplus_sdk/example/rtc/example_get_record_task.py
87
87
  byteplus_sdk/example/rtc/example_start_record.py
88
88
  byteplus_sdk/example/visual/__init__.py
89
+ byteplus_sdk/example/visual/cv_cancel_task.py
89
90
  byteplus_sdk/example/visual/cv_get_result.py
90
91
  byteplus_sdk/example/visual/cv_process.py
91
92
  byteplus_sdk/example/visual/cv_submit_task.py
@@ -1,2 +0,0 @@
1
- # coding:utf-8
2
- VERSION = 'v1.0.50'
File without changes
File without changes
File without changes
File without changes