yandexcloud 0.335.0__py3-none-any.whl → 0.337.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.

Potentially problematic release.


This version of yandexcloud might be problematic. Click here for more details.

Files changed (196) 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/cic/v1/common/lag_allocation_settings_pb2.py +4 -4
  28. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +3 -9
  29. yandex/cloud/cic/v1/trunk_connection_pb2.py +5 -5
  30. yandex/cloud/cic/v1/trunk_connection_pb2.pyi +2 -0
  31. yandex/cloud/cic/v1/trunk_connection_service_pb2.py +36 -35
  32. yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +9 -1
  33. yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
  34. yandex/cloud/iot/devices/v1/device_pb2.pyi +29 -3
  35. yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
  36. yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
  37. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +22 -22
  38. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
  39. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +56 -56
  40. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +10 -2
  41. yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
  42. yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
  43. yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
  44. yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
  45. yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -50
  46. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
  47. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
  48. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
  49. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
  50. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
  51. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
  52. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
  53. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
  54. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  55. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
  56. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +74 -70
  57. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +151 -5
  58. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -28
  59. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +198 -10
  60. yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
  61. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
  62. yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
  63. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
  64. yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
  65. yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
  66. yandex/cloud/mdb/spqr/__init__.py +0 -0
  67. yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
  68. yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
  69. yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
  70. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
  71. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
  72. yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
  73. yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
  74. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
  75. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
  76. yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
  77. yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
  78. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
  79. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
  80. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
  81. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
  82. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
  83. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
  84. yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
  85. yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
  86. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
  87. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
  88. yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
  89. yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
  90. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
  91. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
  92. yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
  93. yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
  94. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
  95. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
  96. yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
  97. yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
  98. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
  99. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
  100. yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
  101. yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
  102. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
  103. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
  104. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
  105. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
  106. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
  107. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
  108. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
  109. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
  110. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
  111. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
  112. yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
  113. yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
  114. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
  115. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
  116. yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
  117. yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
  118. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
  119. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
  120. yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
  121. yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
  122. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
  123. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
  124. yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
  125. yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
  126. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
  127. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
  128. yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
  129. yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
  130. yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
  131. yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
  132. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
  133. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
  134. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
  135. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
  136. yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
  137. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +17 -7
  138. yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +46 -2
  139. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +22 -22
  140. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +24 -3
  141. yandex/cloud/storage/v1/s3api_pb2.py +7 -1
  142. yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
  143. yandex/cloud/video/v1/channel_pb2.py +16 -5
  144. yandex/cloud/video/v1/channel_pb2.pyi +103 -2
  145. yandex/cloud/video/v1/channel_service_pb2.py +34 -30
  146. yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
  147. yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
  148. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
  149. yandex/cloud/video/v1/episode_pb2.pyi +5 -4
  150. yandex/cloud/video/v1/episode_service_pb2.py +56 -52
  151. yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
  152. yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
  153. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
  154. yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
  155. yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
  156. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
  157. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
  158. yandex/cloud/video/v1/stream_line_pb2.py +16 -24
  159. yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
  160. yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
  161. yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
  162. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
  163. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
  164. yandex/cloud/video/v1/stream_pb2.py +12 -11
  165. yandex/cloud/video/v1/stream_pb2.pyi +19 -6
  166. yandex/cloud/video/v1/stream_service_pb2.py +54 -49
  167. yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
  168. yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
  169. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
  170. yandex/cloud/video/v1/subtitle_pb2.py +6 -4
  171. yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
  172. yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
  173. yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
  174. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
  175. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
  176. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
  177. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
  178. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
  179. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
  180. yandex/cloud/video/v1/video_pb2.py +26 -19
  181. yandex/cloud/video/v1/video_pb2.pyi +139 -37
  182. yandex/cloud/video/v1/video_service_pb2.py +118 -69
  183. yandex/cloud/video/v1/video_service_pb2.pyi +297 -39
  184. yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
  185. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
  186. yandex/cloud/ydb/v1/database_pb2.py +46 -46
  187. yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
  188. yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
  189. yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
  190. yandexcloud/__init__.py +1 -1
  191. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
  192. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +196 -118
  193. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
  194. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
  195. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
  196. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/top_level.txt +0 -0
@@ -10,6 +10,7 @@ import google.protobuf.duration_pb2
10
10
  import google.protobuf.field_mask_pb2
11
11
  import google.protobuf.internal.containers
12
12
  import google.protobuf.message
13
+ import google.protobuf.wrappers_pb2
13
14
  import typing
14
15
  import yandex.cloud.video.v1.manifest_pb2
15
16
  import yandex.cloud.video.v1.video_pb2
@@ -44,22 +45,26 @@ class ListVideoRequest(google.protobuf.message.Message):
44
45
  channel_id: builtins.str
45
46
  """ID of the channel."""
46
47
  page_size: builtins.int
47
- """The maximum number of the results per page to return. Default value: 100."""
48
+ """The maximum number of the results per page to return.
49
+ Default value: 100.
50
+ """
48
51
  page_token: builtins.str
49
52
  """Page token for getting the next page of the result."""
50
53
  order_by: builtins.str
51
54
  """By which column the listing should be ordered and in which direction,
52
- format is "createdAt desc". "id asc" if omitted.
53
- Possible fields: ["id", "createdAt", "updatedAt"]
55
+ format is "<field> <order>" (e.g. "createdAt desc").
56
+ Default: "id asc".
57
+ Possible fields: ["id", "title", "createdAt", "updatedAt"].
54
58
  Both snake_case and camelCase are supported for fields.
55
59
  """
56
60
  filter: builtins.str
57
61
  """Filter expression that filters resources listed in the response.
58
62
  Expressions are composed of terms connected by logic operators.
59
- Value in quotes: `'` or `"`
60
- Example: "key1='value' AND key2='value'"
61
- Supported operators: ["AND"].
62
- Supported fields: ["title", "status", "visibility_status"]
63
+ If value contains spaces or quotes,
64
+ it should be in quotes (`'` or `"`) with the inner quotes being backslash escaped.
65
+ Example: "key1='value' AND key2='value'".
66
+ Supported operators: ["AND", "OR"].
67
+ Supported fields: ["id", "title", "status", "visibilityStatus"].
63
68
  Both snake_case and camelCase are supported for fields.
64
69
  """
65
70
  def __init__(
@@ -160,10 +165,11 @@ class CreateVideoRequest(google.protobuf.message.Message):
160
165
  DESCRIPTION_FIELD_NUMBER: builtins.int
161
166
  THUMBNAIL_ID_FIELD_NUMBER: builtins.int
162
167
  AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
168
+ AUTO_PUBLISH_FIELD_NUMBER: builtins.int
169
+ ENABLE_AD_FIELD_NUMBER: builtins.int
163
170
  LABELS_FIELD_NUMBER: builtins.int
164
171
  TUSD_FIELD_NUMBER: builtins.int
165
172
  PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
166
- AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
167
173
  SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
168
174
  channel_id: builtins.str
169
175
  """ID of the channel."""
@@ -175,6 +181,19 @@ class CreateVideoRequest(google.protobuf.message.Message):
175
181
  """ID of the thumbnail."""
176
182
  auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType
177
183
  """Auto start transcoding."""
184
+ @property
185
+ def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
186
+ """Automatically publish video after transcoding.
187
+ Switches visibility status to PUBLISHED.
188
+ """
189
+
190
+ @property
191
+ def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
192
+ """Enable advertisement for this video.
193
+ Default: true.
194
+ Set explicitly to false to disable advertisements for a specific video.
195
+ """
196
+
178
197
  @property
179
198
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
180
199
  """Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
@@ -185,11 +204,9 @@ class CreateVideoRequest(google.protobuf.message.Message):
185
204
 
186
205
  @property
187
206
  def public_access(self) -> global___VideoPublicAccessParams:
188
- """Video is available to everyone."""
189
-
190
- @property
191
- def auth_system_access(self) -> global___VideoAuthSystemAccessParams:
192
- """Checking access rights using the authorization system."""
207
+ """Publicly accessible video available for viewing by anyone with the direct link.
208
+ No additional authorization or access control is applied.
209
+ """
193
210
 
194
211
  @property
195
212
  def sign_url_access(self) -> global___VideoSignURLAccessParams:
@@ -203,16 +220,17 @@ class CreateVideoRequest(google.protobuf.message.Message):
203
220
  description: builtins.str = ...,
204
221
  thumbnail_id: builtins.str = ...,
205
222
  auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType = ...,
223
+ auto_publish: google.protobuf.wrappers_pb2.BoolValue | None = ...,
224
+ enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
206
225
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
207
226
  tusd: global___VideoTUSDParams | None = ...,
208
227
  public_access: global___VideoPublicAccessParams | None = ...,
209
- auth_system_access: global___VideoAuthSystemAccessParams | None = ...,
210
228
  sign_url_access: global___VideoSignURLAccessParams | None = ...,
211
229
  ) -> None: ...
212
- def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd"]) -> builtins.bool: ...
213
- def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "description", b"description", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd"]) -> None: ...
230
+ def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_publish", b"auto_publish", "enable_ad", b"enable_ad", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd"]) -> builtins.bool: ...
231
+ def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_publish", b"auto_publish", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "description", b"description", "enable_ad", b"enable_ad", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd"]) -> None: ...
214
232
  @typing.overload
215
- def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
233
+ def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "sign_url_access"] | None: ...
216
234
  @typing.overload
217
235
  def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["tusd"] | None: ...
218
236
 
@@ -248,16 +266,6 @@ class VideoPublicAccessParams(google.protobuf.message.Message):
248
266
 
249
267
  global___VideoPublicAccessParams = VideoPublicAccessParams
250
268
 
251
- @typing.final
252
- class VideoAuthSystemAccessParams(google.protobuf.message.Message):
253
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
254
-
255
- def __init__(
256
- self,
257
- ) -> None: ...
258
-
259
- global___VideoAuthSystemAccessParams = VideoAuthSystemAccessParams
260
-
261
269
  @typing.final
262
270
  class VideoSignURLAccessParams(google.protobuf.message.Message):
263
271
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -310,9 +318,9 @@ class UpdateVideoRequest(google.protobuf.message.Message):
310
318
  DESCRIPTION_FIELD_NUMBER: builtins.int
311
319
  THUMBNAIL_ID_FIELD_NUMBER: builtins.int
312
320
  AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
321
+ ENABLE_AD_FIELD_NUMBER: builtins.int
313
322
  LABELS_FIELD_NUMBER: builtins.int
314
323
  PUBLIC_ACCESS_FIELD_NUMBER: builtins.int
315
- AUTH_SYSTEM_ACCESS_FIELD_NUMBER: builtins.int
316
324
  SIGN_URL_ACCESS_FIELD_NUMBER: builtins.int
317
325
  video_id: builtins.str
318
326
  """ID of the video."""
@@ -328,16 +336,27 @@ class UpdateVideoRequest(google.protobuf.message.Message):
328
336
  def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
329
337
  """Field mask that specifies which fields of the video are going to be updated."""
330
338
 
339
+ @property
340
+ def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
341
+ """Enable advertisement for this video.
342
+ Default: true.
343
+ Use this to disable advertisement for a specific video.
344
+ """
345
+
331
346
  @property
332
347
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
333
348
  """Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
334
349
 
335
350
  @property
336
- def public_access(self) -> global___VideoPublicAccessParams: ...
337
- @property
338
- def auth_system_access(self) -> global___VideoAuthSystemAccessParams: ...
351
+ def public_access(self) -> global___VideoPublicAccessParams:
352
+ """Publicly accessible video available for viewing by anyone with the direct link.
353
+ No additional authorization or access control is applied.
354
+ """
355
+
339
356
  @property
340
- def sign_url_access(self) -> global___VideoSignURLAccessParams: ...
357
+ def sign_url_access(self) -> global___VideoSignURLAccessParams:
358
+ """Checking access rights using url's signature."""
359
+
341
360
  def __init__(
342
361
  self,
343
362
  *,
@@ -347,14 +366,14 @@ class UpdateVideoRequest(google.protobuf.message.Message):
347
366
  description: builtins.str = ...,
348
367
  thumbnail_id: builtins.str = ...,
349
368
  auto_transcode: yandex.cloud.video.v1.video_pb2.AutoTranscode.ValueType = ...,
369
+ enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
350
370
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
351
371
  public_access: global___VideoPublicAccessParams | None = ...,
352
- auth_system_access: global___VideoAuthSystemAccessParams | None = ...,
353
372
  sign_url_access: global___VideoSignURLAccessParams | None = ...,
354
373
  ) -> None: ...
355
- def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "field_mask", b"field_mask", "public_access", b"public_access", "sign_url_access", b"sign_url_access"]) -> builtins.bool: ...
356
- def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auth_system_access", b"auth_system_access", "auto_transcode", b"auto_transcode", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "thumbnail_id", b"thumbnail_id", "title", b"title", "video_id", b"video_id"]) -> None: ...
357
- def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "auth_system_access", "sign_url_access"] | None: ...
374
+ def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "enable_ad", b"enable_ad", "field_mask", b"field_mask", "public_access", b"public_access", "sign_url_access", b"sign_url_access"]) -> builtins.bool: ...
375
+ def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_transcode", b"auto_transcode", "description", b"description", "enable_ad", b"enable_ad", "field_mask", b"field_mask", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "thumbnail_id", b"thumbnail_id", "title", b"title", "video_id", b"video_id"]) -> None: ...
376
+ def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "sign_url_access"] | None: ...
358
377
 
359
378
  global___UpdateVideoRequest = UpdateVideoRequest
360
379
 
@@ -381,6 +400,8 @@ class TranscodeVideoRequest(google.protobuf.message.Message):
381
400
  VIDEO_ID_FIELD_NUMBER: builtins.int
382
401
  FIELD_MASK_FIELD_NUMBER: builtins.int
383
402
  SUBTITLE_IDS_FIELD_NUMBER: builtins.int
403
+ TRANSLATION_SETTINGS_FIELD_NUMBER: builtins.int
404
+ SUMMARIZATION_SETTINGS_FIELD_NUMBER: builtins.int
384
405
  video_id: builtins.str
385
406
  """ID of the video."""
386
407
  @property
@@ -391,7 +412,15 @@ class TranscodeVideoRequest(google.protobuf.message.Message):
391
412
 
392
413
  @property
393
414
  def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
394
- """IDs of active video subtitles."""
415
+ """IDs of active manually uploaded video subtitles."""
416
+
417
+ @property
418
+ def translation_settings(self) -> global___VideoTranslationSettings:
419
+ """Video translation settings."""
420
+
421
+ @property
422
+ def summarization_settings(self) -> global___VideoSummarizationSettings:
423
+ """Video summarization settings."""
395
424
 
396
425
  def __init__(
397
426
  self,
@@ -399,12 +428,192 @@ class TranscodeVideoRequest(google.protobuf.message.Message):
399
428
  video_id: builtins.str = ...,
400
429
  field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
401
430
  subtitle_ids: collections.abc.Iterable[builtins.str] | None = ...,
431
+ translation_settings: global___VideoTranslationSettings | None = ...,
432
+ summarization_settings: global___VideoSummarizationSettings | None = ...,
402
433
  ) -> None: ...
403
- def HasField(self, field_name: typing.Literal["field_mask", b"field_mask"]) -> builtins.bool: ...
404
- def ClearField(self, field_name: typing.Literal["field_mask", b"field_mask", "subtitle_ids", b"subtitle_ids", "video_id", b"video_id"]) -> None: ...
434
+ def HasField(self, field_name: typing.Literal["field_mask", b"field_mask", "summarization_settings", b"summarization_settings", "translation_settings", b"translation_settings"]) -> builtins.bool: ...
435
+ def ClearField(self, field_name: typing.Literal["field_mask", b"field_mask", "subtitle_ids", b"subtitle_ids", "summarization_settings", b"summarization_settings", "translation_settings", b"translation_settings", "video_id", b"video_id"]) -> None: ...
405
436
 
406
437
  global___TranscodeVideoRequest = TranscodeVideoRequest
407
438
 
439
+ @typing.final
440
+ class VideoTranslationSettings(google.protobuf.message.Message):
441
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
442
+
443
+ @typing.final
444
+ class TranslationTrack(google.protobuf.message.Message):
445
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
446
+
447
+ INPUT_TRACK_FIELD_NUMBER: builtins.int
448
+ SUBTITLES_FIELD_NUMBER: builtins.int
449
+ AUDIO_FIELD_NUMBER: builtins.int
450
+ @property
451
+ def input_track(self) -> global___VideoTranslationSettings.InputTrack:
452
+ """Input track settings."""
453
+
454
+ @property
455
+ def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoTranslationSettings.SubtitleTrack]:
456
+ """Settings for target subtitle tracks."""
457
+
458
+ @property
459
+ def audio(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoTranslationSettings.AudioTrack]:
460
+ """Settings for target audio tracks."""
461
+
462
+ def __init__(
463
+ self,
464
+ *,
465
+ input_track: global___VideoTranslationSettings.InputTrack | None = ...,
466
+ subtitles: collections.abc.Iterable[global___VideoTranslationSettings.SubtitleTrack] | None = ...,
467
+ audio: collections.abc.Iterable[global___VideoTranslationSettings.AudioTrack] | None = ...,
468
+ ) -> None: ...
469
+ def HasField(self, field_name: typing.Literal["input_track", b"input_track"]) -> builtins.bool: ...
470
+ def ClearField(self, field_name: typing.Literal["audio", b"audio", "input_track", b"input_track", "subtitles", b"subtitles"]) -> None: ...
471
+
472
+ @typing.final
473
+ class InputTrack(google.protobuf.message.Message):
474
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
475
+
476
+ TRACK_INDEX_FIELD_NUMBER: builtins.int
477
+ SRC_LANG_FIELD_NUMBER: builtins.int
478
+ track_index: builtins.int
479
+ """Input audio track index (one-based)."""
480
+ src_lang: builtins.str
481
+ """Source track language in any of the following formats:
482
+ * three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
483
+ * two-letter code according to ISO 639-1
484
+ Track language will be deduced automatically if not provided.
485
+ In the latter case the deduction accuracy is not guaranteed.
486
+ For better performance please do specify the source track language when possible.
487
+ """
488
+ def __init__(
489
+ self,
490
+ *,
491
+ track_index: builtins.int = ...,
492
+ src_lang: builtins.str = ...,
493
+ ) -> None: ...
494
+ def ClearField(self, field_name: typing.Literal["src_lang", b"src_lang", "track_index", b"track_index"]) -> None: ...
495
+
496
+ @typing.final
497
+ class SubtitleTrack(google.protobuf.message.Message):
498
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
499
+
500
+ DST_LANG_FIELD_NUMBER: builtins.int
501
+ LABEL_FIELD_NUMBER: builtins.int
502
+ dst_lang: builtins.str
503
+ """Target language in any of the following formats:
504
+ * three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
505
+ * two-letter code according to ISO 639-1
506
+ """
507
+ label: builtins.str
508
+ """Track label to be displayed on the screen during video playback."""
509
+ def __init__(
510
+ self,
511
+ *,
512
+ dst_lang: builtins.str = ...,
513
+ label: builtins.str = ...,
514
+ ) -> None: ...
515
+ def ClearField(self, field_name: typing.Literal["dst_lang", b"dst_lang", "label", b"label"]) -> None: ...
516
+
517
+ @typing.final
518
+ class AudioTrack(google.protobuf.message.Message):
519
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
520
+
521
+ DST_LANG_FIELD_NUMBER: builtins.int
522
+ LABEL_FIELD_NUMBER: builtins.int
523
+ dst_lang: builtins.str
524
+ """Target language in any of the following formats:
525
+ * three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3
526
+ * two-letter code according to ISO 639-1
527
+ """
528
+ label: builtins.str
529
+ """Track label to be displayed on the screen during video playback."""
530
+ def __init__(
531
+ self,
532
+ *,
533
+ dst_lang: builtins.str = ...,
534
+ label: builtins.str = ...,
535
+ ) -> None: ...
536
+ def ClearField(self, field_name: typing.Literal["dst_lang", b"dst_lang", "label", b"label"]) -> None: ...
537
+
538
+ TRACKS_FIELD_NUMBER: builtins.int
539
+ @property
540
+ def tracks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoTranslationSettings.TranslationTrack]:
541
+ """Translation settings for each track."""
542
+
543
+ def __init__(
544
+ self,
545
+ *,
546
+ tracks: collections.abc.Iterable[global___VideoTranslationSettings.TranslationTrack] | None = ...,
547
+ ) -> None: ...
548
+ def ClearField(self, field_name: typing.Literal["tracks", b"tracks"]) -> None: ...
549
+
550
+ global___VideoTranslationSettings = VideoTranslationSettings
551
+
552
+ @typing.final
553
+ class VideoSummarizationSettings(google.protobuf.message.Message):
554
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
555
+
556
+ @typing.final
557
+ class SummarizationTrack(google.protobuf.message.Message):
558
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
559
+
560
+ INPUT_TRACK_FIELD_NUMBER: builtins.int
561
+ @property
562
+ def input_track(self) -> global___VideoSummarizationSettings.InputTrack:
563
+ """Input track settings."""
564
+
565
+ def __init__(
566
+ self,
567
+ *,
568
+ input_track: global___VideoSummarizationSettings.InputTrack | None = ...,
569
+ ) -> None: ...
570
+ def HasField(self, field_name: typing.Literal["input_track", b"input_track"]) -> builtins.bool: ...
571
+ def ClearField(self, field_name: typing.Literal["input_track", b"input_track"]) -> None: ...
572
+
573
+ @typing.final
574
+ class InputTrack(google.protobuf.message.Message):
575
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
576
+
577
+ TRACK_INDEX_FIELD_NUMBER: builtins.int
578
+ SRC_LANG_FIELD_NUMBER: builtins.int
579
+ track_index: builtins.int
580
+ """Input audio track index (one-based)."""
581
+ src_lang: builtins.str
582
+ """Source track language (three-letter code according to ISO 639-2/T, ISO 639-2/B, or ISO 639-3).
583
+ It will be deduced automatically if not provided.
584
+ In the latter case the deduction accuracy is not guaranteed.
585
+ For better performance please do specify the source track language when possible.
586
+ """
587
+ def __init__(
588
+ self,
589
+ *,
590
+ track_index: builtins.int = ...,
591
+ src_lang: builtins.str = ...,
592
+ ) -> None: ...
593
+ def ClearField(self, field_name: typing.Literal["src_lang", b"src_lang", "track_index", b"track_index"]) -> None: ...
594
+
595
+ TRACKS_FIELD_NUMBER: builtins.int
596
+ PROCESS_ALL_TRACKS_FIELD_NUMBER: builtins.int
597
+ process_all_tracks: builtins.bool
598
+ """Summarize all available tracks.
599
+ If enabled, `tracks` parameter is ignored.
600
+ Enables automatic source language deduction for each track
601
+ and thus may lead to performance degradation.
602
+ """
603
+ @property
604
+ def tracks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoSummarizationSettings.SummarizationTrack]:
605
+ """Summarization settings for each track."""
606
+
607
+ def __init__(
608
+ self,
609
+ *,
610
+ tracks: collections.abc.Iterable[global___VideoSummarizationSettings.SummarizationTrack] | None = ...,
611
+ process_all_tracks: builtins.bool = ...,
612
+ ) -> None: ...
613
+ def ClearField(self, field_name: typing.Literal["process_all_tracks", b"process_all_tracks", "tracks", b"tracks"]) -> None: ...
614
+
615
+ global___VideoSummarizationSettings = VideoSummarizationSettings
616
+
408
617
  @typing.final
409
618
  class TranscodeVideoMetadata(google.protobuf.message.Message):
410
619
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -626,6 +835,55 @@ class GetVideoPlayerURLResponse(google.protobuf.message.Message):
626
835
 
627
836
  global___GetVideoPlayerURLResponse = GetVideoPlayerURLResponse
628
837
 
838
+ @typing.final
839
+ class BatchGetVideoPlayerURLsRequest(google.protobuf.message.Message):
840
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
841
+
842
+ CHANNEL_ID_FIELD_NUMBER: builtins.int
843
+ VIDEO_IDS_FIELD_NUMBER: builtins.int
844
+ PARAMS_FIELD_NUMBER: builtins.int
845
+ SIGNED_URL_EXPIRATION_DURATION_FIELD_NUMBER: builtins.int
846
+ channel_id: builtins.str
847
+ """ID of the channel."""
848
+ @property
849
+ def video_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
850
+ """List of requested video IDs."""
851
+
852
+ @property
853
+ def params(self) -> global___VideoPlayerParams: ...
854
+ @property
855
+ def signed_url_expiration_duration(self) -> google.protobuf.duration_pb2.Duration:
856
+ """Optional field, used to set custom url expiration duration for videos with sign_url_access"""
857
+
858
+ def __init__(
859
+ self,
860
+ *,
861
+ channel_id: builtins.str = ...,
862
+ video_ids: collections.abc.Iterable[builtins.str] | None = ...,
863
+ params: global___VideoPlayerParams | None = ...,
864
+ signed_url_expiration_duration: google.protobuf.duration_pb2.Duration | None = ...,
865
+ ) -> None: ...
866
+ def HasField(self, field_name: typing.Literal["params", b"params", "signed_url_expiration_duration", b"signed_url_expiration_duration"]) -> builtins.bool: ...
867
+ def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "params", b"params", "signed_url_expiration_duration", b"signed_url_expiration_duration", "video_ids", b"video_ids"]) -> None: ...
868
+
869
+ global___BatchGetVideoPlayerURLsRequest = BatchGetVideoPlayerURLsRequest
870
+
871
+ @typing.final
872
+ class BatchGetVideoPlayerURLsResponse(google.protobuf.message.Message):
873
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
874
+
875
+ PLAYER_URLS_FIELD_NUMBER: builtins.int
876
+ @property
877
+ def player_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
878
+ def __init__(
879
+ self,
880
+ *,
881
+ player_urls: collections.abc.Iterable[builtins.str] | None = ...,
882
+ ) -> None: ...
883
+ def ClearField(self, field_name: typing.Literal["player_urls", b"player_urls"]) -> None: ...
884
+
885
+ global___BatchGetVideoPlayerURLsResponse = BatchGetVideoPlayerURLsResponse
886
+
629
887
  @typing.final
630
888
  class GetVideoManifestsRequest(google.protobuf.message.Message):
631
889
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -87,6 +87,11 @@ class VideoServiceStub(object):
87
87
  request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLRequest.SerializeToString,
88
88
  response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLResponse.FromString,
89
89
  _registered_method=True)
90
+ self.BatchGetPlayerURLs = channel.unary_unary(
91
+ '/yandex.cloud.video.v1.VideoService/BatchGetPlayerURLs',
92
+ request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideoPlayerURLsRequest.SerializeToString,
93
+ response_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideoPlayerURLsResponse.FromString,
94
+ _registered_method=True)
90
95
  self.GetManifests = channel.unary_unary(
91
96
  '/yandex.cloud.video.v1.VideoService/GetManifests',
92
97
  request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsRequest.SerializeToString,
@@ -99,7 +104,7 @@ class VideoServiceServicer(object):
99
104
  """
100
105
 
101
106
  def Get(self, request, context):
102
- """Returns the specific video.
107
+ """Get the specific video.
103
108
  """
104
109
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
105
110
  context.set_details('Method not implemented!')
@@ -113,7 +118,7 @@ class VideoServiceServicer(object):
113
118
  raise NotImplementedError('Method not implemented!')
114
119
 
115
120
  def BatchGet(self, request, context):
116
- """Batch get video in specific channel.
121
+ """Batch get videos in specific channel.
117
122
  """
118
123
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
119
124
  context.set_details('Method not implemented!')
@@ -148,28 +153,35 @@ class VideoServiceServicer(object):
148
153
  raise NotImplementedError('Method not implemented!')
149
154
 
150
155
  def BatchDelete(self, request, context):
151
- """Batch delete video.
156
+ """Batch delete videos.
152
157
  """
153
158
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
154
159
  context.set_details('Method not implemented!')
155
160
  raise NotImplementedError('Method not implemented!')
156
161
 
157
162
  def PerformAction(self, request, context):
158
- """Perform an action on the episode.
163
+ """Perform an action on the video.
159
164
  """
160
165
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
161
166
  context.set_details('Method not implemented!')
162
167
  raise NotImplementedError('Method not implemented!')
163
168
 
164
169
  def GetPlayerURL(self, request, context):
165
- """Returns url to the player.
170
+ """Get player url.
171
+ """
172
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
173
+ context.set_details('Method not implemented!')
174
+ raise NotImplementedError('Method not implemented!')
175
+
176
+ def BatchGetPlayerURLs(self, request, context):
177
+ """Batch get player urls.
166
178
  """
167
179
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
168
180
  context.set_details('Method not implemented!')
169
181
  raise NotImplementedError('Method not implemented!')
170
182
 
171
183
  def GetManifests(self, request, context):
172
- """Returns manifest urls.
184
+ """Get manifest urls.
173
185
  """
174
186
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
175
187
  context.set_details('Method not implemented!')
@@ -228,6 +240,11 @@ def add_VideoServiceServicer_to_server(servicer, server):
228
240
  request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLRequest.FromString,
229
241
  response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoPlayerURLResponse.SerializeToString,
230
242
  ),
243
+ 'BatchGetPlayerURLs': grpc.unary_unary_rpc_method_handler(
244
+ servicer.BatchGetPlayerURLs,
245
+ request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideoPlayerURLsRequest.FromString,
246
+ response_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideoPlayerURLsResponse.SerializeToString,
247
+ ),
231
248
  'GetManifests': grpc.unary_unary_rpc_method_handler(
232
249
  servicer.GetManifests,
233
250
  request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.GetVideoManifestsRequest.FromString,
@@ -515,6 +532,33 @@ class VideoService(object):
515
532
  metadata,
516
533
  _registered_method=True)
517
534
 
535
+ @staticmethod
536
+ def BatchGetPlayerURLs(request,
537
+ target,
538
+ options=(),
539
+ channel_credentials=None,
540
+ call_credentials=None,
541
+ insecure=False,
542
+ compression=None,
543
+ wait_for_ready=None,
544
+ timeout=None,
545
+ metadata=None):
546
+ return grpc.experimental.unary_unary(
547
+ request,
548
+ target,
549
+ '/yandex.cloud.video.v1.VideoService/BatchGetPlayerURLs',
550
+ yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideoPlayerURLsRequest.SerializeToString,
551
+ yandex_dot_cloud_dot_video_dot_v1_dot_video__service__pb2.BatchGetVideoPlayerURLsResponse.FromString,
552
+ options,
553
+ channel_credentials,
554
+ insecure,
555
+ call_credentials,
556
+ compression,
557
+ wait_for_ready,
558
+ timeout,
559
+ metadata,
560
+ _registered_method=True)
561
+
518
562
  @staticmethod
519
563
  def GetManifests(request,
520
564
  target,