yandexcloud 0.336.0__py3-none-any.whl → 0.338.0__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.
Files changed (193) hide show
  1. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
  2. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
  3. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
  4. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
  5. yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
  6. yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
  7. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
  8. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
  9. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
  10. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
  11. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
  12. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
  13. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
  14. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
  15. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
  16. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
  17. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
  18. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
  19. yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
  20. yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
  21. yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
  22. yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
  23. yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
  24. yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
  25. yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
  26. yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
  27. yandex/cloud/backup/v1/backup_service_pb2.py +44 -40
  28. yandex/cloud/backup/v1/backup_service_pb2.pyi +14 -2
  29. yandex/cloud/iam/v1/key_service_pb2.pyi +0 -2
  30. yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
  31. yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
  32. yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
  33. yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
  34. yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
  35. yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
  36. yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
  37. yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
  38. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
  39. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
  40. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
  41. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
  42. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
  43. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
  44. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
  45. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
  46. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  47. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
  48. yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
  49. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
  50. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +21 -3
  51. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +86 -0
  52. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +89 -0
  53. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +49 -3
  54. yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
  55. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
  56. yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
  57. yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
  58. yandex/cloud/mdb/spqr/__init__.py +0 -0
  59. yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
  60. yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
  61. yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
  62. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
  63. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
  64. yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
  65. yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
  66. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
  67. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
  68. yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
  69. yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
  70. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
  71. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
  72. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
  73. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
  74. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
  75. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
  76. yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
  77. yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
  78. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
  79. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
  80. yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
  81. yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
  82. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
  83. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
  84. yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
  85. yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
  86. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
  87. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
  88. yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
  89. yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
  90. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
  91. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
  92. yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
  93. yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
  94. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
  95. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
  96. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
  97. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
  98. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
  99. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
  100. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
  101. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
  102. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
  103. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
  104. yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
  105. yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
  106. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
  107. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
  108. yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
  109. yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
  110. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
  111. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
  112. yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
  113. yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
  114. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
  115. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
  116. yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
  117. yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
  118. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
  119. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
  120. yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
  121. yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
  122. yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
  123. yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
  124. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
  125. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
  126. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
  127. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
  128. yandex/cloud/searchapi/v2/search_query_pb2.py +8 -8
  129. yandex/cloud/searchapi/v2/search_query_pb2.pyi +8 -0
  130. yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
  131. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +11 -3
  132. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +24 -0
  133. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +44 -0
  134. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +20 -0
  135. yandex/cloud/storage/v1/s3api_pb2.py +7 -1
  136. yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
  137. yandex/cloud/video/v1/channel_pb2.py +16 -11
  138. yandex/cloud/video/v1/channel_pb2.pyi +32 -2
  139. yandex/cloud/video/v1/channel_service_pb2.py +34 -30
  140. yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
  141. yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
  142. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
  143. yandex/cloud/video/v1/episode_pb2.pyi +5 -4
  144. yandex/cloud/video/v1/episode_service_pb2.py +56 -52
  145. yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
  146. yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
  147. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
  148. yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
  149. yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
  150. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
  151. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
  152. yandex/cloud/video/v1/stream_line_pb2.py +16 -24
  153. yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
  154. yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
  155. yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
  156. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
  157. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
  158. yandex/cloud/video/v1/stream_pb2.py +12 -11
  159. yandex/cloud/video/v1/stream_pb2.pyi +19 -6
  160. yandex/cloud/video/v1/stream_service_pb2.py +54 -49
  161. yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
  162. yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
  163. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
  164. yandex/cloud/video/v1/subtitle_pb2.py +6 -4
  165. yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
  166. yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
  167. yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
  168. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
  169. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
  170. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
  171. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
  172. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
  173. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
  174. yandex/cloud/video/v1/video_pb2.py +24 -18
  175. yandex/cloud/video/v1/video_pb2.pyi +130 -38
  176. yandex/cloud/video/v1/video_service_pb2.py +114 -66
  177. yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
  178. yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
  179. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
  180. yandex/cloud/ydb/v1/database_pb2.py +46 -46
  181. yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
  182. yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
  183. yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
  184. yandexcloud/__init__.py +2 -2
  185. yandexcloud/_operation_waiter.py +17 -19
  186. yandexcloud/_retry_policy.py +17 -3
  187. yandexcloud/_wrappers/dataproc/__init__.py +39 -0
  188. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/METADATA +9 -9
  189. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/RECORD +193 -115
  190. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/AUTHORS +0 -0
  191. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/LICENSE +0 -0
  192. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/WHEEL +0 -0
  193. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/top_level.txt +0 -0
@@ -30,7 +30,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
30
30
  from yandex.cloud.video.v1 import playlist_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_playlist__pb2
31
31
 
32
32
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/video/v1/playlist_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/playlist.proto\"7\n\x12GetPlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xa9\x01\n\x14ListPlaylistsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"j\n\x15ListPlaylistsResponse\x12\x32\n\tplaylists\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Playlist\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xa2\x01\n\x15\x43reatePlaylistRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x05items\x18\x04 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItemB\t\x82\xc8\x31\x05<=100\"-\n\x16\x43reatePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\"\xcd\x01\n\x15UpdatePlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12=\n\x05items\x18\x05 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItemB\t\x82\xc8\x31\x05<=100\"-\n\x16UpdatePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\":\n\x15\x44\x65letePlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65letePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\"h\n\x1b\x42\x61tchDeletePlaylistsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\'\n\x0cplaylist_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"4\n\x1c\x42\x61tchDeletePlaylistsMetadata\x12\x14\n\x0cplaylist_ids\x18\x01 \x03(\t\"}\n\x1bGetPlaylistPlayerURLRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12;\n\x06params\x18\x02 \x01(\x0b\x32+.yandex.cloud.video.v1.PlaylistPlayerParams\"F\n\x14PlaylistPlayerParams\x12\x0c\n\x04mute\x18\x01 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x02 \x01(\x08\x12\x0e\n\x06hidden\x18\x03 \x01(\x08\"@\n\x1cGetPlaylistPlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t2\x99\t\n\x0fPlaylistService\x12|\n\x03Get\x12).yandex.cloud.video.v1.GetPlaylistRequest\x1a\x1f.yandex.cloud.video.v1.Playlist\")\x82\xd3\xe4\x93\x02#\x12!/video/v1/playlists/{playlist_id}\x12~\n\x04List\x12+.yandex.cloud.video.v1.ListPlaylistsRequest\x1a,.yandex.cloud.video.v1.ListPlaylistsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/video/v1/playlists\x12\x9f\x01\n\x06\x43reate\x12,.yandex.cloud.video.v1.CreatePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\"\n\x16\x43reatePlaylistMetadata\x12\x08Playlist\x82\xd3\xe4\x93\x02\x18\"\x13/video/v1/playlists:\x01*\x12\xad\x01\n\x06Update\x12,.yandex.cloud.video.v1.UpdatePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*\"\n\x16UpdatePlaylistMetadata\x12\x08Playlist\x82\xd3\xe4\x93\x02&2!/video/v1/playlists/{playlist_id}:\x01*\x12\xb7\x01\n\x06\x44\x65lete\x12,.yandex.cloud.video.v1.DeletePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*/\n\x16\x44\x65letePlaylistMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#*!/video/v1/playlists/{playlist_id}\x12\xc9\x01\n\x0b\x42\x61tchDelete\x12\x32.yandex.cloud.video.v1.BatchDeletePlaylistsRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*5\n\x1c\x42\x61tchDeletePlaylistsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02$\"\x1f/video/v1/playlists:batchDelete:\x01*\x12\xaf\x01\n\x0cGetPlayerURL\x12\x32.yandex.cloud.video.v1.GetPlaylistPlayerURLRequest\x1a\x33.yandex.cloud.video.v1.GetPlaylistPlayerURLResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./video/v1/playlists/{playlist_id}:getPlayerURLB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/video/v1/playlist_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a$yandex/cloud/video/v1/playlist.proto\"7\n\x12GetPlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xab\x01\n\x14ListPlaylistsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"j\n\x15ListPlaylistsResponse\x12\x32\n\tplaylists\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Playlist\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xac\x01\n\x15\x43reatePlaylistRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x05title\x18\x02 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=2500\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x05items\x18\x04 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItemB\t\x82\xc8\x31\x05<=100\"-\n\x16\x43reatePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\"\xdf\x01\n\x15UpdatePlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x19\n\x05title\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2500\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12=\n\x05items\x18\x05 \x03(\x0b\x32#.yandex.cloud.video.v1.PlaylistItemB\t\x82\xc8\x31\x05<=100\"-\n\x16UpdatePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\":\n\x15\x44\x65letePlaylistRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65letePlaylistMetadata\x12\x13\n\x0bplaylist_id\x18\x01 \x01(\t\"h\n\x1b\x42\x61tchDeletePlaylistsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\'\n\x0cplaylist_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"4\n\x1c\x42\x61tchDeletePlaylistsMetadata\x12\x14\n\x0cplaylist_ids\x18\x01 \x03(\t\"}\n\x1bGetPlaylistPlayerURLRequest\x12!\n\x0bplaylist_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12;\n\x06params\x18\x02 \x01(\x0b\x32+.yandex.cloud.video.v1.PlaylistPlayerParams\"F\n\x14PlaylistPlayerParams\x12\x0c\n\x04mute\x18\x01 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x02 \x01(\x08\x12\x0e\n\x06hidden\x18\x03 \x01(\x08\"@\n\x1cGetPlaylistPlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t2\x99\t\n\x0fPlaylistService\x12|\n\x03Get\x12).yandex.cloud.video.v1.GetPlaylistRequest\x1a\x1f.yandex.cloud.video.v1.Playlist\")\x82\xd3\xe4\x93\x02#\x12!/video/v1/playlists/{playlist_id}\x12~\n\x04List\x12+.yandex.cloud.video.v1.ListPlaylistsRequest\x1a,.yandex.cloud.video.v1.ListPlaylistsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/video/v1/playlists\x12\x9f\x01\n\x06\x43reate\x12,.yandex.cloud.video.v1.CreatePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\"\n\x16\x43reatePlaylistMetadata\x12\x08Playlist\x82\xd3\xe4\x93\x02\x18\"\x13/video/v1/playlists:\x01*\x12\xad\x01\n\x06Update\x12,.yandex.cloud.video.v1.UpdatePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*\"\n\x16UpdatePlaylistMetadata\x12\x08Playlist\x82\xd3\xe4\x93\x02&2!/video/v1/playlists/{playlist_id}:\x01*\x12\xb7\x01\n\x06\x44\x65lete\x12,.yandex.cloud.video.v1.DeletePlaylistRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*/\n\x16\x44\x65letePlaylistMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#*!/video/v1/playlists/{playlist_id}\x12\xc9\x01\n\x0b\x42\x61tchDelete\x12\x32.yandex.cloud.video.v1.BatchDeletePlaylistsRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*5\n\x1c\x42\x61tchDeletePlaylistsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02$\"\x1f/video/v1/playlists:batchDelete:\x01*\x12\xaf\x01\n\x0cGetPlayerURL\x12\x32.yandex.cloud.video.v1.GetPlaylistPlayerURLRequest\x1a\x33.yandex.cloud.video.v1.GetPlaylistPlayerURLResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./video/v1/playlists/{playlist_id}:getPlayerURLB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
34
34
 
35
35
  _globals = globals()
36
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -45,17 +45,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
45
45
  _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['page_size']._loaded_options = None
46
46
  _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
47
47
  _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['page_token']._loaded_options = None
48
- _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
48
+ _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
49
49
  _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['filter']._loaded_options = None
50
50
  _globals['_LISTPLAYLISTSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
51
51
  _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['channel_id']._loaded_options = None
52
52
  _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
53
53
  _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['title']._loaded_options = None
54
- _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001'
54
+ _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['title']._serialized_options = b'\350\3071\001\212\3101\006<=2500'
55
55
  _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['items']._loaded_options = None
56
56
  _globals['_CREATEPLAYLISTREQUEST'].fields_by_name['items']._serialized_options = b'\202\3101\005<=100'
57
57
  _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['playlist_id']._loaded_options = None
58
58
  _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['playlist_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
59
+ _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['field_mask']._loaded_options = None
60
+ _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['field_mask']._serialized_options = b'\350\3071\001'
61
+ _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['title']._loaded_options = None
62
+ _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['title']._serialized_options = b'\212\3101\006<=2500'
59
63
  _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['items']._loaded_options = None
60
64
  _globals['_UPDATEPLAYLISTREQUEST'].fields_by_name['items']._serialized_options = b'\202\3101\005<=100'
61
65
  _globals['_DELETEPLAYLISTREQUEST'].fields_by_name['playlist_id']._loaded_options = None
@@ -83,31 +87,31 @@ if not _descriptor._USE_C_DESCRIPTORS:
83
87
  _globals['_GETPLAYLISTREQUEST']._serialized_start=278
84
88
  _globals['_GETPLAYLISTREQUEST']._serialized_end=333
85
89
  _globals['_LISTPLAYLISTSREQUEST']._serialized_start=336
86
- _globals['_LISTPLAYLISTSREQUEST']._serialized_end=505
87
- _globals['_LISTPLAYLISTSRESPONSE']._serialized_start=507
88
- _globals['_LISTPLAYLISTSRESPONSE']._serialized_end=613
89
- _globals['_CREATEPLAYLISTREQUEST']._serialized_start=616
90
- _globals['_CREATEPLAYLISTREQUEST']._serialized_end=778
91
- _globals['_CREATEPLAYLISTMETADATA']._serialized_start=780
92
- _globals['_CREATEPLAYLISTMETADATA']._serialized_end=825
93
- _globals['_UPDATEPLAYLISTREQUEST']._serialized_start=828
94
- _globals['_UPDATEPLAYLISTREQUEST']._serialized_end=1033
95
- _globals['_UPDATEPLAYLISTMETADATA']._serialized_start=1035
96
- _globals['_UPDATEPLAYLISTMETADATA']._serialized_end=1080
97
- _globals['_DELETEPLAYLISTREQUEST']._serialized_start=1082
98
- _globals['_DELETEPLAYLISTREQUEST']._serialized_end=1140
99
- _globals['_DELETEPLAYLISTMETADATA']._serialized_start=1142
100
- _globals['_DELETEPLAYLISTMETADATA']._serialized_end=1187
101
- _globals['_BATCHDELETEPLAYLISTSREQUEST']._serialized_start=1189
102
- _globals['_BATCHDELETEPLAYLISTSREQUEST']._serialized_end=1293
103
- _globals['_BATCHDELETEPLAYLISTSMETADATA']._serialized_start=1295
104
- _globals['_BATCHDELETEPLAYLISTSMETADATA']._serialized_end=1347
105
- _globals['_GETPLAYLISTPLAYERURLREQUEST']._serialized_start=1349
106
- _globals['_GETPLAYLISTPLAYERURLREQUEST']._serialized_end=1474
107
- _globals['_PLAYLISTPLAYERPARAMS']._serialized_start=1476
108
- _globals['_PLAYLISTPLAYERPARAMS']._serialized_end=1546
109
- _globals['_GETPLAYLISTPLAYERURLRESPONSE']._serialized_start=1548
110
- _globals['_GETPLAYLISTPLAYERURLRESPONSE']._serialized_end=1612
111
- _globals['_PLAYLISTSERVICE']._serialized_start=1615
112
- _globals['_PLAYLISTSERVICE']._serialized_end=2792
90
+ _globals['_LISTPLAYLISTSREQUEST']._serialized_end=507
91
+ _globals['_LISTPLAYLISTSRESPONSE']._serialized_start=509
92
+ _globals['_LISTPLAYLISTSRESPONSE']._serialized_end=615
93
+ _globals['_CREATEPLAYLISTREQUEST']._serialized_start=618
94
+ _globals['_CREATEPLAYLISTREQUEST']._serialized_end=790
95
+ _globals['_CREATEPLAYLISTMETADATA']._serialized_start=792
96
+ _globals['_CREATEPLAYLISTMETADATA']._serialized_end=837
97
+ _globals['_UPDATEPLAYLISTREQUEST']._serialized_start=840
98
+ _globals['_UPDATEPLAYLISTREQUEST']._serialized_end=1063
99
+ _globals['_UPDATEPLAYLISTMETADATA']._serialized_start=1065
100
+ _globals['_UPDATEPLAYLISTMETADATA']._serialized_end=1110
101
+ _globals['_DELETEPLAYLISTREQUEST']._serialized_start=1112
102
+ _globals['_DELETEPLAYLISTREQUEST']._serialized_end=1170
103
+ _globals['_DELETEPLAYLISTMETADATA']._serialized_start=1172
104
+ _globals['_DELETEPLAYLISTMETADATA']._serialized_end=1217
105
+ _globals['_BATCHDELETEPLAYLISTSREQUEST']._serialized_start=1219
106
+ _globals['_BATCHDELETEPLAYLISTSREQUEST']._serialized_end=1323
107
+ _globals['_BATCHDELETEPLAYLISTSMETADATA']._serialized_start=1325
108
+ _globals['_BATCHDELETEPLAYLISTSMETADATA']._serialized_end=1377
109
+ _globals['_GETPLAYLISTPLAYERURLREQUEST']._serialized_start=1379
110
+ _globals['_GETPLAYLISTPLAYERURLREQUEST']._serialized_end=1504
111
+ _globals['_PLAYLISTPLAYERPARAMS']._serialized_start=1506
112
+ _globals['_PLAYLISTPLAYERPARAMS']._serialized_end=1576
113
+ _globals['_GETPLAYLISTPLAYERURLRESPONSE']._serialized_start=1578
114
+ _globals['_GETPLAYLISTPLAYERURLRESPONSE']._serialized_end=1642
115
+ _globals['_PLAYLISTSERVICE']._serialized_start=1645
116
+ _globals['_PLAYLISTSERVICE']._serialized_end=2822
113
117
  # @@protoc_insertion_point(module_scope)
@@ -42,21 +42,26 @@ class ListPlaylistsRequest(google.protobuf.message.Message):
42
42
  channel_id: builtins.str
43
43
  """ID of the channel."""
44
44
  page_size: builtins.int
45
- """The maximum number of the results per page to return."""
45
+ """The maximum number of the results per page to return.
46
+ Default value: 100.
47
+ """
46
48
  page_token: builtins.str
47
49
  """Page token for getting the next page of the result."""
48
50
  order_by: builtins.str
49
51
  """By which column the listing should be ordered and in which direction,
50
- format is "createdAt desc". "id asc" if omitted.
51
- Possible fields: ["id", "title", "createdAt", "updatedAt"]
52
+ format is "<field> <order>" (e.g. "createdAt desc").
53
+ Default: "id asc".
54
+ Possible fields: ["id", "title", "createdAt", "updatedAt"].
52
55
  Both snake_case and camelCase are supported for fields.
53
56
  """
54
57
  filter: builtins.str
55
58
  """Filter expression that filters resources listed in the response.
56
59
  Expressions are composed of terms connected by logic operators.
57
- Example: "key1=value AND key2=value"
58
- Supported operators: ["AND"].
59
- Supported fields: ["title"]
60
+ If value contains spaces or quotes,
61
+ it should be in quotes (`'` or `"`) with the inner quotes being backslash escaped.
62
+ Example: "key1='value' AND key2='value'".
63
+ Supported operators: ["AND", "OR"].
64
+ Supported fields: ["id", "title"].
60
65
  Both snake_case and camelCase are supported for fields.
61
66
  """
62
67
  def __init__(
@@ -79,7 +79,7 @@ class PlaylistServiceServicer(object):
79
79
  """
80
80
 
81
81
  def Get(self, request, context):
82
- """Returns the specific playlist.
82
+ """Get the specific playlist.
83
83
  """
84
84
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
85
85
  context.set_details('Method not implemented!')
@@ -114,14 +114,14 @@ class PlaylistServiceServicer(object):
114
114
  raise NotImplementedError('Method not implemented!')
115
115
 
116
116
  def BatchDelete(self, request, context):
117
- """Batch delete playlist.
117
+ """Batch delete playlists.
118
118
  """
119
119
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
120
120
  context.set_details('Method not implemented!')
121
121
  raise NotImplementedError('Method not implemented!')
122
122
 
123
123
  def GetPlayerURL(self, request, context):
124
- """Returns player's url.
124
+ """Get player url.
125
125
  """
126
126
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
127
127
  context.set_details('Method not implemented!')
@@ -27,7 +27,7 @@ class PlaylistServiceStub:
27
27
  yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistRequest,
28
28
  yandex.cloud.video.v1.playlist_pb2.Playlist,
29
29
  ]
30
- """Returns the specific playlist."""
30
+ """Get the specific playlist."""
31
31
 
32
32
  List: grpc.UnaryUnaryMultiCallable[
33
33
  yandex.cloud.video.v1.playlist_service_pb2.ListPlaylistsRequest,
@@ -57,13 +57,13 @@ class PlaylistServiceStub:
57
57
  yandex.cloud.video.v1.playlist_service_pb2.BatchDeletePlaylistsRequest,
58
58
  yandex.cloud.operation.operation_pb2.Operation,
59
59
  ]
60
- """Batch delete playlist."""
60
+ """Batch delete playlists."""
61
61
 
62
62
  GetPlayerURL: grpc.UnaryUnaryMultiCallable[
63
63
  yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLRequest,
64
64
  yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLResponse,
65
65
  ]
66
- """Returns player's url."""
66
+ """Get player url."""
67
67
 
68
68
  class PlaylistServiceAsyncStub:
69
69
  """Playlist management service."""
@@ -72,7 +72,7 @@ class PlaylistServiceAsyncStub:
72
72
  yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistRequest,
73
73
  yandex.cloud.video.v1.playlist_pb2.Playlist,
74
74
  ]
75
- """Returns the specific playlist."""
75
+ """Get the specific playlist."""
76
76
 
77
77
  List: grpc.aio.UnaryUnaryMultiCallable[
78
78
  yandex.cloud.video.v1.playlist_service_pb2.ListPlaylistsRequest,
@@ -102,13 +102,13 @@ class PlaylistServiceAsyncStub:
102
102
  yandex.cloud.video.v1.playlist_service_pb2.BatchDeletePlaylistsRequest,
103
103
  yandex.cloud.operation.operation_pb2.Operation,
104
104
  ]
105
- """Batch delete playlist."""
105
+ """Batch delete playlists."""
106
106
 
107
107
  GetPlayerURL: grpc.aio.UnaryUnaryMultiCallable[
108
108
  yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLRequest,
109
109
  yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLResponse,
110
110
  ]
111
- """Returns player's url."""
111
+ """Get player url."""
112
112
 
113
113
  class PlaylistServiceServicer(metaclass=abc.ABCMeta):
114
114
  """Playlist management service."""
@@ -119,7 +119,7 @@ class PlaylistServiceServicer(metaclass=abc.ABCMeta):
119
119
  request: yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistRequest,
120
120
  context: _ServicerContext,
121
121
  ) -> typing.Union[yandex.cloud.video.v1.playlist_pb2.Playlist, collections.abc.Awaitable[yandex.cloud.video.v1.playlist_pb2.Playlist]]:
122
- """Returns the specific playlist."""
122
+ """Get the specific playlist."""
123
123
 
124
124
  @abc.abstractmethod
125
125
  def List(
@@ -159,7 +159,7 @@ class PlaylistServiceServicer(metaclass=abc.ABCMeta):
159
159
  request: yandex.cloud.video.v1.playlist_service_pb2.BatchDeletePlaylistsRequest,
160
160
  context: _ServicerContext,
161
161
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
162
- """Batch delete playlist."""
162
+ """Batch delete playlists."""
163
163
 
164
164
  @abc.abstractmethod
165
165
  def GetPlayerURL(
@@ -167,6 +167,6 @@ class PlaylistServiceServicer(metaclass=abc.ABCMeta):
167
167
  request: yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLRequest,
168
168
  context: _ServicerContext,
169
169
  ) -> typing.Union[yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.playlist_service_pb2.GetPlaylistPlayerURLResponse]]:
170
- """Returns player's url."""
170
+ """Get player url."""
171
171
 
172
172
  def add_PlaylistServiceServicer_to_server(servicer: PlaylistServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/video/v1/stream_line.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb4\x06\n\nStreamLine\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x04 \x01(\t\x12:\n\trtmp_push\x18\xe8\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.RTMPPushInputH\x00\x12\x38\n\x08srt_push\x18\xe9\x07 \x01(\x0b\x32#.yandex.cloud.video.v1.SRTPushInputH\x00\x12:\n\trtmp_pull\x18\xea\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.RTMPPullInputH\x00\x12\x38\n\x08srt_pull\x18\xeb\x07 \x01(\x0b\x32#.yandex.cloud.video.v1.SRTPullInputH\x00\x12\x38\n\x08tcp_pull\x18\xec\x07 \x01(\x0b\x32#.yandex.cloud.video.v1.TCPPullInputH\x00\x12:\n\trtsp_pull\x18\xee\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.RTSPPullInputH\x00\x12\x39\n\x0bmanual_line\x18\xd0\x0f \x01(\x0b\x32!.yandex.cloud.video.v1.ManualLineH\x01\x12\x35\n\tauto_line\x18\xd1\x0f \x01(\x0b\x32\x1f.yandex.cloud.video.v1.AutoLineH\x01\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06labels\x18\xc8\x01 \x03(\x0b\x32-.yandex.cloud.video.v1.StreamLine.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\ninput_typeB\x0b\n\tline_typeJ\x04\x08\x05\x10\x64J\x05\x08\x66\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xed\x07\x10\xee\x07J\x06\x08\xef\x07\x10\xd0\x0f\"\x1c\n\rPushStreamKey\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x1c\n\rRTMPPushInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x1b\n\x0cSRTPushInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x1c\n\rRTMPPullInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x1b\n\x0cSRTPullInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x1b\n\x0cTCPPullInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x1c\n\rRTSPPullInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x0c\n\nManualLine\"\x9b\x01\n\x08\x41utoLine\x12>\n\x06status\x18\x01 \x01(\x0e\x32..yandex.cloud.video.v1.AutoLine.AutoLineStatus\"O\n\x0e\x41utoLineStatus\x12 \n\x1c\x41UTO_LINE_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/video/v1/stream_line.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xca\x04\n\nStreamLine\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x14\n\x0cthumbnail_id\x18\x04 \x01(\t\x12:\n\trtmp_push\x18\xe8\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.RTMPPushInputH\x00\x12:\n\trtmp_pull\x18\xea\x07 \x01(\x0b\x32$.yandex.cloud.video.v1.RTMPPullInputH\x00\x12\x39\n\x0bmanual_line\x18\xd0\x0f \x01(\x0b\x32!.yandex.cloud.video.v1.ManualLineH\x01\x12\x35\n\tauto_line\x18\xd1\x0f \x01(\x0b\x32\x1f.yandex.cloud.video.v1.AutoLineH\x01\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x06labels\x18\xc8\x01 \x03(\x0b\x32-.yandex.cloud.video.v1.StreamLine.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0c\n\ninput_typeB\x0b\n\tline_typeJ\x04\x08\x05\x10\x64J\x05\x08\x66\x10\xc8\x01J\x06\x08\xc9\x01\x10\xe8\x07J\x06\x08\xe9\x07\x10\xea\x07J\x06\x08\xeb\x07\x10\xd0\x0f\"\x1c\n\rPushStreamKey\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x1c\n\rRTMPPushInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x1c\n\rRTMPPullInput\x12\x0b\n\x03url\x18\x01 \x01(\t\"\x0c\n\nManualLine\"\x9b\x01\n\x08\x41utoLine\x12>\n\x06status\x18\x01 \x01(\x0e\x32..yandex.cloud.video.v1.AutoLine.AutoLineStatus\"O\n\x0e\x41utoLineStatus\x12 \n\x1c\x41UTO_LINE_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -36,27 +36,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
36
36
  _globals['_STREAMLINE_LABELSENTRY']._loaded_options = None
37
37
  _globals['_STREAMLINE_LABELSENTRY']._serialized_options = b'8\001'
38
38
  _globals['_STREAMLINE']._serialized_start=100
39
- _globals['_STREAMLINE']._serialized_end=920
40
- _globals['_STREAMLINE_LABELSENTRY']._serialized_start=811
41
- _globals['_STREAMLINE_LABELSENTRY']._serialized_end=856
42
- _globals['_PUSHSTREAMKEY']._serialized_start=922
43
- _globals['_PUSHSTREAMKEY']._serialized_end=950
44
- _globals['_RTMPPUSHINPUT']._serialized_start=952
45
- _globals['_RTMPPUSHINPUT']._serialized_end=980
46
- _globals['_SRTPUSHINPUT']._serialized_start=982
47
- _globals['_SRTPUSHINPUT']._serialized_end=1009
48
- _globals['_RTMPPULLINPUT']._serialized_start=1011
49
- _globals['_RTMPPULLINPUT']._serialized_end=1039
50
- _globals['_SRTPULLINPUT']._serialized_start=1041
51
- _globals['_SRTPULLINPUT']._serialized_end=1068
52
- _globals['_TCPPULLINPUT']._serialized_start=1070
53
- _globals['_TCPPULLINPUT']._serialized_end=1097
54
- _globals['_RTSPPULLINPUT']._serialized_start=1099
55
- _globals['_RTSPPULLINPUT']._serialized_end=1127
56
- _globals['_MANUALLINE']._serialized_start=1129
57
- _globals['_MANUALLINE']._serialized_end=1141
58
- _globals['_AUTOLINE']._serialized_start=1144
59
- _globals['_AUTOLINE']._serialized_end=1299
60
- _globals['_AUTOLINE_AUTOLINESTATUS']._serialized_start=1220
61
- _globals['_AUTOLINE_AUTOLINESTATUS']._serialized_end=1299
39
+ _globals['_STREAMLINE']._serialized_end=686
40
+ _globals['_STREAMLINE_LABELSENTRY']._serialized_start=577
41
+ _globals['_STREAMLINE_LABELSENTRY']._serialized_end=622
42
+ _globals['_PUSHSTREAMKEY']._serialized_start=688
43
+ _globals['_PUSHSTREAMKEY']._serialized_end=716
44
+ _globals['_RTMPPUSHINPUT']._serialized_start=718
45
+ _globals['_RTMPPUSHINPUT']._serialized_end=746
46
+ _globals['_RTMPPULLINPUT']._serialized_start=748
47
+ _globals['_RTMPPULLINPUT']._serialized_end=776
48
+ _globals['_MANUALLINE']._serialized_start=778
49
+ _globals['_MANUALLINE']._serialized_end=790
50
+ _globals['_AUTOLINE']._serialized_start=793
51
+ _globals['_AUTOLINE']._serialized_end=948
52
+ _globals['_AUTOLINE_AUTOLINESTATUS']._serialized_start=869
53
+ _globals['_AUTOLINE_AUTOLINESTATUS']._serialized_end=948
62
54
  # @@protoc_insertion_point(module_scope)
@@ -47,11 +47,7 @@ class StreamLine(google.protobuf.message.Message):
47
47
  TITLE_FIELD_NUMBER: builtins.int
48
48
  THUMBNAIL_ID_FIELD_NUMBER: builtins.int
49
49
  RTMP_PUSH_FIELD_NUMBER: builtins.int
50
- SRT_PUSH_FIELD_NUMBER: builtins.int
51
50
  RTMP_PULL_FIELD_NUMBER: builtins.int
52
- SRT_PULL_FIELD_NUMBER: builtins.int
53
- TCP_PULL_FIELD_NUMBER: builtins.int
54
- RTSP_PULL_FIELD_NUMBER: builtins.int
55
51
  MANUAL_LINE_FIELD_NUMBER: builtins.int
56
52
  AUTO_LINE_FIELD_NUMBER: builtins.int
57
53
  CREATED_AT_FIELD_NUMBER: builtins.int
@@ -60,34 +56,18 @@ class StreamLine(google.protobuf.message.Message):
60
56
  id: builtins.str
61
57
  """ID of the line."""
62
58
  channel_id: builtins.str
63
- """ID of the channel where the line was created."""
59
+ """ID of the channel to which this stream line belongs."""
64
60
  title: builtins.str
65
- """Line title."""
61
+ """Title of the stream line."""
66
62
  thumbnail_id: builtins.str
67
- """ID of the thumbnail."""
63
+ """ID of the thumbnail image associated with the stream line.."""
68
64
  @property
69
65
  def rtmp_push(self) -> global___RTMPPushInput:
70
- """RTMP push input type."""
71
-
72
- @property
73
- def srt_push(self) -> global___SRTPushInput:
74
- """SRT push input type."""
66
+ """Real-Time Messaging Protocol (RTMP) push input settings."""
75
67
 
76
68
  @property
77
69
  def rtmp_pull(self) -> global___RTMPPullInput:
78
- """RTMP pull input type."""
79
-
80
- @property
81
- def srt_pull(self) -> global___SRTPullInput:
82
- """SRT pull input type."""
83
-
84
- @property
85
- def tcp_pull(self) -> global___TCPPullInput:
86
- """TCP pull input type."""
87
-
88
- @property
89
- def rtsp_pull(self) -> global___RTSPPullInput:
90
- """RTSP pull input type."""
70
+ """Real-Time Messaging Protocol (RTMP) pull input type."""
91
71
 
92
72
  @property
93
73
  def manual_line(self) -> global___ManualLine:
@@ -99,11 +79,11 @@ class StreamLine(google.protobuf.message.Message):
99
79
 
100
80
  @property
101
81
  def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
102
- """Time when line was created."""
82
+ """Time when the stream line was created."""
103
83
 
104
84
  @property
105
85
  def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
106
- """Time of last line update."""
86
+ """Time when the stream line was last updated."""
107
87
 
108
88
  @property
109
89
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
@@ -117,21 +97,17 @@ class StreamLine(google.protobuf.message.Message):
117
97
  title: builtins.str = ...,
118
98
  thumbnail_id: builtins.str = ...,
119
99
  rtmp_push: global___RTMPPushInput | None = ...,
120
- srt_push: global___SRTPushInput | None = ...,
121
100
  rtmp_pull: global___RTMPPullInput | None = ...,
122
- srt_pull: global___SRTPullInput | None = ...,
123
- tcp_pull: global___TCPPullInput | None = ...,
124
- rtsp_pull: global___RTSPPullInput | None = ...,
125
101
  manual_line: global___ManualLine | None = ...,
126
102
  auto_line: global___AutoLine | None = ...,
127
103
  created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
128
104
  updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
129
105
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
130
106
  ) -> None: ...
131
- def HasField(self, field_name: typing.Literal["auto_line", b"auto_line", "created_at", b"created_at", "input_type", b"input_type", "line_type", b"line_type", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "rtsp_pull", b"rtsp_pull", "srt_pull", b"srt_pull", "srt_push", b"srt_push", "tcp_pull", b"tcp_pull", "updated_at", b"updated_at"]) -> builtins.bool: ...
132
- def ClearField(self, field_name: typing.Literal["auto_line", b"auto_line", "channel_id", b"channel_id", "created_at", b"created_at", "id", b"id", "input_type", b"input_type", "labels", b"labels", "line_type", b"line_type", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "rtsp_pull", b"rtsp_pull", "srt_pull", b"srt_pull", "srt_push", b"srt_push", "tcp_pull", b"tcp_pull", "thumbnail_id", b"thumbnail_id", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
107
+ def HasField(self, field_name: typing.Literal["auto_line", b"auto_line", "created_at", b"created_at", "input_type", b"input_type", "line_type", b"line_type", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "updated_at", b"updated_at"]) -> builtins.bool: ...
108
+ def ClearField(self, field_name: typing.Literal["auto_line", b"auto_line", "channel_id", b"channel_id", "created_at", b"created_at", "id", b"id", "input_type", b"input_type", "labels", b"labels", "line_type", b"line_type", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "thumbnail_id", b"thumbnail_id", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
133
109
  @typing.overload
134
- def WhichOneof(self, oneof_group: typing.Literal["input_type", b"input_type"]) -> typing.Literal["rtmp_push", "srt_push", "rtmp_pull", "srt_pull", "tcp_pull", "rtsp_pull"] | None: ...
110
+ def WhichOneof(self, oneof_group: typing.Literal["input_type", b"input_type"]) -> typing.Literal["rtmp_push", "rtmp_pull"] | None: ...
135
111
  @typing.overload
136
112
  def WhichOneof(self, oneof_group: typing.Literal["line_type", b"line_type"]) -> typing.Literal["manual_line", "auto_line"] | None: ...
137
113
 
@@ -139,13 +115,13 @@ global___StreamLine = StreamLine
139
115
 
140
116
  @typing.final
141
117
  class PushStreamKey(google.protobuf.message.Message):
142
- """Push stream key."""
118
+ """Represents the stream key used for pushing video streams."""
143
119
 
144
120
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
145
121
 
146
122
  KEY_FIELD_NUMBER: builtins.int
147
123
  key: builtins.str
148
- """Unique stream key."""
124
+ """The unique stream key."""
149
125
  def __init__(
150
126
  self,
151
127
  *,
@@ -157,6 +133,11 @@ global___PushStreamKey = PushStreamKey
157
133
 
158
134
  @typing.final
159
135
  class RTMPPushInput(google.protobuf.message.Message):
136
+ """Settings for an RTMP (Real-Time Messaging Protocol) push input.
137
+ Used when the video stream is pushed to an RTMP server.
138
+ @see https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol
139
+ """
140
+
160
141
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
161
142
 
162
143
  URL_FIELD_NUMBER: builtins.int
@@ -171,24 +152,13 @@ class RTMPPushInput(google.protobuf.message.Message):
171
152
 
172
153
  global___RTMPPushInput = RTMPPushInput
173
154
 
174
- @typing.final
175
- class SRTPushInput(google.protobuf.message.Message):
176
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
177
-
178
- URL_FIELD_NUMBER: builtins.int
179
- url: builtins.str
180
- """SRT server url."""
181
- def __init__(
182
- self,
183
- *,
184
- url: builtins.str = ...,
185
- ) -> None: ...
186
- def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
187
-
188
- global___SRTPushInput = SRTPushInput
189
-
190
155
  @typing.final
191
156
  class RTMPPullInput(google.protobuf.message.Message):
157
+ """Settings for an RTMP pull input.
158
+ Used when the service pulls the video stream from an RTMP source.
159
+ @see https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol
160
+ """
161
+
192
162
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
193
163
 
194
164
  URL_FIELD_NUMBER: builtins.int
@@ -203,57 +173,11 @@ class RTMPPullInput(google.protobuf.message.Message):
203
173
 
204
174
  global___RTMPPullInput = RTMPPullInput
205
175
 
206
- @typing.final
207
- class SRTPullInput(google.protobuf.message.Message):
208
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
209
-
210
- URL_FIELD_NUMBER: builtins.int
211
- url: builtins.str
212
- """SRT url for receiving video signal."""
213
- def __init__(
214
- self,
215
- *,
216
- url: builtins.str = ...,
217
- ) -> None: ...
218
- def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
219
-
220
- global___SRTPullInput = SRTPullInput
221
-
222
- @typing.final
223
- class TCPPullInput(google.protobuf.message.Message):
224
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
225
-
226
- URL_FIELD_NUMBER: builtins.int
227
- url: builtins.str
228
- """TCP url for receiving video signal."""
229
- def __init__(
230
- self,
231
- *,
232
- url: builtins.str = ...,
233
- ) -> None: ...
234
- def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
235
-
236
- global___TCPPullInput = TCPPullInput
237
-
238
- @typing.final
239
- class RTSPPullInput(google.protobuf.message.Message):
240
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
241
-
242
- URL_FIELD_NUMBER: builtins.int
243
- url: builtins.str
244
- """RTSP url for receiving video signal."""
245
- def __init__(
246
- self,
247
- *,
248
- url: builtins.str = ...,
249
- ) -> None: ...
250
- def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
251
-
252
- global___RTSPPullInput = RTSPPullInput
253
-
254
176
  @typing.final
255
177
  class ManualLine(google.protobuf.message.Message):
256
- """Manual line type."""
178
+ """Represents a manual line type where the stream control is handled manually.
179
+ This means that stream start/stop actions are performed by the user.
180
+ """
257
181
 
258
182
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
259
183
 
@@ -265,7 +189,7 @@ global___ManualLine = ManualLine
265
189
 
266
190
  @typing.final
267
191
  class AutoLine(google.protobuf.message.Message):
268
- """Auto line type."""
192
+ """Represents an automatic line type where the stream control is handled automatically."""
269
193
 
270
194
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
271
195
 
@@ -278,23 +202,25 @@ class AutoLine(google.protobuf.message.Message):
278
202
  AUTO_LINE_STATUS_UNSPECIFIED: AutoLine._AutoLineStatus.ValueType # 0
279
203
  """Auto line status unspecified."""
280
204
  DEACTIVATED: AutoLine._AutoLineStatus.ValueType # 1
281
- """Auto line deactivated."""
205
+ """The automatic line is deactivated and not currently active."""
282
206
  ACTIVE: AutoLine._AutoLineStatus.ValueType # 2
283
- """Auto line active."""
207
+ """The automatic line is active and operational."""
284
208
 
285
209
  class AutoLineStatus(_AutoLineStatus, metaclass=_AutoLineStatusEnumTypeWrapper):
286
- """Auto line status."""
210
+ """Enum representing the status of an automatic stream line.
211
+ Indicates whether the automatic line is active or deactivated.
212
+ """
287
213
 
288
214
  AUTO_LINE_STATUS_UNSPECIFIED: AutoLine.AutoLineStatus.ValueType # 0
289
215
  """Auto line status unspecified."""
290
216
  DEACTIVATED: AutoLine.AutoLineStatus.ValueType # 1
291
- """Auto line deactivated."""
217
+ """The automatic line is deactivated and not currently active."""
292
218
  ACTIVE: AutoLine.AutoLineStatus.ValueType # 2
293
- """Auto line active."""
219
+ """The automatic line is active and operational."""
294
220
 
295
221
  STATUS_FIELD_NUMBER: builtins.int
296
222
  status: global___AutoLine.AutoLineStatus.ValueType
297
- """Status of auto line."""
223
+ """The status of the automatic line."""
298
224
  def __init__(
299
225
  self,
300
226
  *,