yandexcloud 0.351.0__py3-none-any.whl → 0.353.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 (163) hide show
  1. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
  2. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
  3. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
  4. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
  5. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
  6. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
  7. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
  8. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
  9. yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
  10. yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
  11. yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
  12. yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
  13. yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
  14. yandex/cloud/cdn/v1/origin_pb2.py +10 -10
  15. yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
  16. yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
  17. yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
  18. yandex/cloud/cdn/v1/resource_pb2.py +64 -64
  19. yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
  20. yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
  21. yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
  22. yandex/cloud/connectionmanager/__init__.py +0 -0
  23. yandex/cloud/connectionmanager/v1/__init__.py +0 -0
  24. yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
  25. yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
  26. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
  27. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
  28. yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
  29. yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
  30. yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
  32. yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
  33. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
  34. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
  35. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
  36. yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
  37. yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
  38. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
  39. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
  40. yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
  41. yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
  42. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
  43. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
  44. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
  45. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
  46. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
  47. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
  48. yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
  49. yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
  50. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
  51. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
  52. yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
  53. yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
  54. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
  55. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
  56. yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
  57. yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
  58. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
  59. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
  60. yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
  61. yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
  62. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
  63. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
  64. yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
  65. yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
  66. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
  67. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
  68. yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
  69. yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
  70. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
  71. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
  72. yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
  73. yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
  74. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
  75. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
  76. yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
  77. yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
  78. yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
  79. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
  80. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
  81. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
  82. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
  83. yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
  84. yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
  85. yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
  86. yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
  87. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
  88. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
  89. yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
  90. yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
  91. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
  92. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
  93. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
  94. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
  95. yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
  96. yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
  97. yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
  98. yandex/cloud/video/v1/channel_pb2.py +12 -12
  99. yandex/cloud/video/v1/channel_pb2.pyi +88 -22
  100. yandex/cloud/video/v1/channel_service_pb2.py +14 -14
  101. yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
  102. yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
  103. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
  104. yandex/cloud/video/v1/episode_pb2.py +8 -10
  105. yandex/cloud/video/v1/episode_pb2.pyi +52 -36
  106. yandex/cloud/video/v1/episode_service_pb2.py +44 -42
  107. yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
  108. yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
  109. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
  110. yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
  111. yandex/cloud/video/v1/playlist_pb2.py +4 -6
  112. yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
  113. yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
  114. yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
  115. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
  116. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
  117. yandex/cloud/video/v1/stream_line_pb2.py +16 -16
  118. yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
  119. yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
  120. yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
  121. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
  122. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
  123. yandex/cloud/video/v1/stream_pb2.pyi +49 -36
  124. yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
  125. yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
  126. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
  127. yandex/cloud/video/v1/style_preset_pb2.py +49 -0
  128. yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
  129. yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
  130. yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
  131. yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
  132. yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
  133. yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
  134. yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
  135. yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
  136. yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
  137. yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
  138. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
  139. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
  140. yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
  141. yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
  142. yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
  143. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
  144. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
  145. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
  146. yandex/cloud/video/v1/video_pb2.py +24 -24
  147. yandex/cloud/video/v1/video_pb2.pyi +105 -64
  148. yandex/cloud/video/v1/video_service_pb2.py +80 -74
  149. yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
  150. yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
  151. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
  152. yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
  153. yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
  154. yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
  155. yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
  156. yandexcloud/__init__.py +1 -1
  157. yandexcloud/_wrappers/dataproc/__init__.py +4 -0
  158. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/METADATA +1 -1
  159. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +163 -97
  160. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
  161. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
  162. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
  163. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
@@ -29,6 +29,9 @@ if _version_not_supported:
29
29
 
30
30
  class VideoServiceStub(object):
31
31
  """Video management service.
32
+ Provides methods for creating, retrieving, updating, and deleting videos,
33
+ as well as managing video-related operations such as transcoding, publishing,
34
+ and generating playback URLs.
32
35
  """
33
36
 
34
37
  def __init__(self, channel):
@@ -101,87 +104,104 @@ class VideoServiceStub(object):
101
104
 
102
105
  class VideoServiceServicer(object):
103
106
  """Video management service.
107
+ Provides methods for creating, retrieving, updating, and deleting videos,
108
+ as well as managing video-related operations such as transcoding, publishing,
109
+ and generating playback URLs.
104
110
  """
105
111
 
106
112
  def Get(self, request, context):
107
- """Get the specific video.
113
+ """Retrieves detailed information about a specific video by its ID.
114
+ Returns all video metadata, status, and related information.
108
115
  """
109
116
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
110
117
  context.set_details('Method not implemented!')
111
118
  raise NotImplementedError('Method not implemented!')
112
119
 
113
120
  def List(self, request, context):
114
- """List videos for channel.
121
+ """Lists all videos in a specific channel with pagination support.
122
+ Results can be filtered and sorted using the provided parameters.
115
123
  """
116
124
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
117
125
  context.set_details('Method not implemented!')
118
126
  raise NotImplementedError('Method not implemented!')
119
127
 
120
128
  def BatchGet(self, request, context):
121
- """Batch get videos in specific channel.
129
+ """Retrieves multiple videos by their IDs in a specific channel in a single request.
130
+ This is more efficient than making multiple Get requests when retrieving several videos.
122
131
  """
123
132
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
124
133
  context.set_details('Method not implemented!')
125
134
  raise NotImplementedError('Method not implemented!')
126
135
 
127
136
  def Create(self, request, context):
128
- """Create video.
137
+ """Creates a new video in the specified channel.
138
+ The video can be created from different sources: TUS upload, direct link, or S3 storage.
129
139
  """
130
140
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
131
141
  context.set_details('Method not implemented!')
132
142
  raise NotImplementedError('Method not implemented!')
133
143
 
134
144
  def Update(self, request, context):
135
- """Update video.
145
+ """Updates an existing video's metadata and settings.
146
+ Only fields specified in the field_mask will be updated.
136
147
  """
137
148
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
138
149
  context.set_details('Method not implemented!')
139
150
  raise NotImplementedError('Method not implemented!')
140
151
 
141
152
  def Transcode(self, request, context):
142
- """Transcode video.
153
+ """Initiates or updates video transcoding with specified parameters.
154
+ Can be used to start transcoding for videos with auto_transcode=DISABLE,
155
+ or to re-process a completed video with new transcoding settings.
156
+ Supports additional features like subtitle processing, translation, and summarization.
143
157
  """
144
158
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
145
159
  context.set_details('Method not implemented!')
146
160
  raise NotImplementedError('Method not implemented!')
147
161
 
148
162
  def Delete(self, request, context):
149
- """Delete video.
163
+ """Deletes a specific video by its ID.
150
164
  """
151
165
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
152
166
  context.set_details('Method not implemented!')
153
167
  raise NotImplementedError('Method not implemented!')
154
168
 
155
169
  def BatchDelete(self, request, context):
156
- """Batch delete videos.
170
+ """Deletes multiple videos in a specific channel in a single request.
171
+ This is more efficient than making multiple Delete requests when removing several videos.
157
172
  """
158
173
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
159
174
  context.set_details('Method not implemented!')
160
175
  raise NotImplementedError('Method not implemented!')
161
176
 
162
177
  def PerformAction(self, request, context):
163
- """Perform an action on the video.
178
+ """Performs a specific action on a video, such as publishing or unpublishing.
164
179
  """
165
180
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
166
181
  context.set_details('Method not implemented!')
167
182
  raise NotImplementedError('Method not implemented!')
168
183
 
169
184
  def GetPlayerURL(self, request, context):
170
- """Get player url.
185
+ """Generates a standard player URL for watching the video.
186
+ The URL respects the video's access rights and can include custom player parameters.
187
+ For videos with signed URL access, an expiration duration can be specified.
171
188
  """
172
189
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
173
190
  context.set_details('Method not implemented!')
174
191
  raise NotImplementedError('Method not implemented!')
175
192
 
176
193
  def BatchGetPlayerURLs(self, request, context):
177
- """Batch get player urls.
194
+ """Generates multiple player URLs for a list of videos in a specific channel in a single request.
195
+ This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
178
196
  """
179
197
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
180
198
  context.set_details('Method not implemented!')
181
199
  raise NotImplementedError('Method not implemented!')
182
200
 
183
201
  def GetManifests(self, request, context):
184
- """Get manifest urls.
202
+ """Retrieves the manifest URLs for a specific video.
203
+ Manifests are used by video players to access the video content with adaptive bitrate streaming.
204
+ Supports different manifest types (HLS, DASH) and configuration parameters.
185
205
  """
186
206
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
187
207
  context.set_details('Method not implemented!')
@@ -260,6 +280,9 @@ def add_VideoServiceServicer_to_server(servicer, server):
260
280
  # This class is part of an EXPERIMENTAL API.
261
281
  class VideoService(object):
262
282
  """Video management service.
283
+ Provides methods for creating, retrieving, updating, and deleting videos,
284
+ as well as managing video-related operations such as transcoding, publishing,
285
+ and generating playback URLs.
263
286
  """
264
287
 
265
288
  @staticmethod
@@ -20,158 +20,218 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
20
20
  ...
21
21
 
22
22
  class VideoServiceStub:
23
- """Video management service."""
23
+ """Video management service.
24
+ Provides methods for creating, retrieving, updating, and deleting videos,
25
+ as well as managing video-related operations such as transcoding, publishing,
26
+ and generating playback URLs.
27
+ """
24
28
 
25
29
  def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
30
  Get: grpc.UnaryUnaryMultiCallable[
27
31
  yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
28
32
  yandex.cloud.video.v1.video_pb2.Video,
29
33
  ]
30
- """Get the specific video."""
34
+ """Retrieves detailed information about a specific video by its ID.
35
+ Returns all video metadata, status, and related information.
36
+ """
31
37
 
32
38
  List: grpc.UnaryUnaryMultiCallable[
33
39
  yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
34
40
  yandex.cloud.video.v1.video_service_pb2.ListVideoResponse,
35
41
  ]
36
- """List videos for channel."""
42
+ """Lists all videos in a specific channel with pagination support.
43
+ Results can be filtered and sorted using the provided parameters.
44
+ """
37
45
 
38
46
  BatchGet: grpc.UnaryUnaryMultiCallable[
39
47
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
40
48
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
41
49
  ]
42
- """Batch get videos in specific channel."""
50
+ """Retrieves multiple videos by their IDs in a specific channel in a single request.
51
+ This is more efficient than making multiple Get requests when retrieving several videos.
52
+ """
43
53
 
44
54
  Create: grpc.UnaryUnaryMultiCallable[
45
55
  yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
46
56
  yandex.cloud.operation.operation_pb2.Operation,
47
57
  ]
48
- """Create video."""
58
+ """Creates a new video in the specified channel.
59
+ The video can be created from different sources: TUS upload, direct link, or S3 storage.
60
+ """
49
61
 
50
62
  Update: grpc.UnaryUnaryMultiCallable[
51
63
  yandex.cloud.video.v1.video_service_pb2.UpdateVideoRequest,
52
64
  yandex.cloud.operation.operation_pb2.Operation,
53
65
  ]
54
- """Update video."""
66
+ """Updates an existing video's metadata and settings.
67
+ Only fields specified in the field_mask will be updated.
68
+ """
55
69
 
56
70
  Transcode: grpc.UnaryUnaryMultiCallable[
57
71
  yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
58
72
  yandex.cloud.operation.operation_pb2.Operation,
59
73
  ]
60
- """Transcode video."""
74
+ """Initiates or updates video transcoding with specified parameters.
75
+ Can be used to start transcoding for videos with auto_transcode=DISABLE,
76
+ or to re-process a completed video with new transcoding settings.
77
+ Supports additional features like subtitle processing, translation, and summarization.
78
+ """
61
79
 
62
80
  Delete: grpc.UnaryUnaryMultiCallable[
63
81
  yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
64
82
  yandex.cloud.operation.operation_pb2.Operation,
65
83
  ]
66
- """Delete video."""
84
+ """Deletes a specific video by its ID."""
67
85
 
68
86
  BatchDelete: grpc.UnaryUnaryMultiCallable[
69
87
  yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
70
88
  yandex.cloud.operation.operation_pb2.Operation,
71
89
  ]
72
- """Batch delete videos."""
90
+ """Deletes multiple videos in a specific channel in a single request.
91
+ This is more efficient than making multiple Delete requests when removing several videos.
92
+ """
73
93
 
74
94
  PerformAction: grpc.UnaryUnaryMultiCallable[
75
95
  yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
76
96
  yandex.cloud.operation.operation_pb2.Operation,
77
97
  ]
78
- """Perform an action on the video."""
98
+ """Performs a specific action on a video, such as publishing or unpublishing."""
79
99
 
80
100
  GetPlayerURL: grpc.UnaryUnaryMultiCallable[
81
101
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
82
102
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse,
83
103
  ]
84
- """Get player url."""
104
+ """Generates a standard player URL for watching the video.
105
+ The URL respects the video's access rights and can include custom player parameters.
106
+ For videos with signed URL access, an expiration duration can be specified.
107
+ """
85
108
 
86
109
  BatchGetPlayerURLs: grpc.UnaryUnaryMultiCallable[
87
110
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
88
111
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse,
89
112
  ]
90
- """Batch get player urls."""
113
+ """Generates multiple player URLs for a list of videos in a specific channel in a single request.
114
+ This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
115
+ """
91
116
 
92
117
  GetManifests: grpc.UnaryUnaryMultiCallable[
93
118
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
94
119
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
95
120
  ]
96
- """Get manifest urls."""
121
+ """Retrieves the manifest URLs for a specific video.
122
+ Manifests are used by video players to access the video content with adaptive bitrate streaming.
123
+ Supports different manifest types (HLS, DASH) and configuration parameters.
124
+ """
97
125
 
98
126
  class VideoServiceAsyncStub:
99
- """Video management service."""
127
+ """Video management service.
128
+ Provides methods for creating, retrieving, updating, and deleting videos,
129
+ as well as managing video-related operations such as transcoding, publishing,
130
+ and generating playback URLs.
131
+ """
100
132
 
101
133
  Get: grpc.aio.UnaryUnaryMultiCallable[
102
134
  yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
103
135
  yandex.cloud.video.v1.video_pb2.Video,
104
136
  ]
105
- """Get the specific video."""
137
+ """Retrieves detailed information about a specific video by its ID.
138
+ Returns all video metadata, status, and related information.
139
+ """
106
140
 
107
141
  List: grpc.aio.UnaryUnaryMultiCallable[
108
142
  yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
109
143
  yandex.cloud.video.v1.video_service_pb2.ListVideoResponse,
110
144
  ]
111
- """List videos for channel."""
145
+ """Lists all videos in a specific channel with pagination support.
146
+ Results can be filtered and sorted using the provided parameters.
147
+ """
112
148
 
113
149
  BatchGet: grpc.aio.UnaryUnaryMultiCallable[
114
150
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
115
151
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
116
152
  ]
117
- """Batch get videos in specific channel."""
153
+ """Retrieves multiple videos by their IDs in a specific channel in a single request.
154
+ This is more efficient than making multiple Get requests when retrieving several videos.
155
+ """
118
156
 
119
157
  Create: grpc.aio.UnaryUnaryMultiCallable[
120
158
  yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
121
159
  yandex.cloud.operation.operation_pb2.Operation,
122
160
  ]
123
- """Create video."""
161
+ """Creates a new video in the specified channel.
162
+ The video can be created from different sources: TUS upload, direct link, or S3 storage.
163
+ """
124
164
 
125
165
  Update: grpc.aio.UnaryUnaryMultiCallable[
126
166
  yandex.cloud.video.v1.video_service_pb2.UpdateVideoRequest,
127
167
  yandex.cloud.operation.operation_pb2.Operation,
128
168
  ]
129
- """Update video."""
169
+ """Updates an existing video's metadata and settings.
170
+ Only fields specified in the field_mask will be updated.
171
+ """
130
172
 
131
173
  Transcode: grpc.aio.UnaryUnaryMultiCallable[
132
174
  yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
133
175
  yandex.cloud.operation.operation_pb2.Operation,
134
176
  ]
135
- """Transcode video."""
177
+ """Initiates or updates video transcoding with specified parameters.
178
+ Can be used to start transcoding for videos with auto_transcode=DISABLE,
179
+ or to re-process a completed video with new transcoding settings.
180
+ Supports additional features like subtitle processing, translation, and summarization.
181
+ """
136
182
 
137
183
  Delete: grpc.aio.UnaryUnaryMultiCallable[
138
184
  yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
139
185
  yandex.cloud.operation.operation_pb2.Operation,
140
186
  ]
141
- """Delete video."""
187
+ """Deletes a specific video by its ID."""
142
188
 
143
189
  BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
144
190
  yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
145
191
  yandex.cloud.operation.operation_pb2.Operation,
146
192
  ]
147
- """Batch delete videos."""
193
+ """Deletes multiple videos in a specific channel in a single request.
194
+ This is more efficient than making multiple Delete requests when removing several videos.
195
+ """
148
196
 
149
197
  PerformAction: grpc.aio.UnaryUnaryMultiCallable[
150
198
  yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
151
199
  yandex.cloud.operation.operation_pb2.Operation,
152
200
  ]
153
- """Perform an action on the video."""
201
+ """Performs a specific action on a video, such as publishing or unpublishing."""
154
202
 
155
203
  GetPlayerURL: grpc.aio.UnaryUnaryMultiCallable[
156
204
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
157
205
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse,
158
206
  ]
159
- """Get player url."""
207
+ """Generates a standard player URL for watching the video.
208
+ The URL respects the video's access rights and can include custom player parameters.
209
+ For videos with signed URL access, an expiration duration can be specified.
210
+ """
160
211
 
161
212
  BatchGetPlayerURLs: grpc.aio.UnaryUnaryMultiCallable[
162
213
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
163
214
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse,
164
215
  ]
165
- """Batch get player urls."""
216
+ """Generates multiple player URLs for a list of videos in a specific channel in a single request.
217
+ This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
218
+ """
166
219
 
167
220
  GetManifests: grpc.aio.UnaryUnaryMultiCallable[
168
221
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
169
222
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
170
223
  ]
171
- """Get manifest urls."""
224
+ """Retrieves the manifest URLs for a specific video.
225
+ Manifests are used by video players to access the video content with adaptive bitrate streaming.
226
+ Supports different manifest types (HLS, DASH) and configuration parameters.
227
+ """
172
228
 
173
229
  class VideoServiceServicer(metaclass=abc.ABCMeta):
174
- """Video management service."""
230
+ """Video management service.
231
+ Provides methods for creating, retrieving, updating, and deleting videos,
232
+ as well as managing video-related operations such as transcoding, publishing,
233
+ and generating playback URLs.
234
+ """
175
235
 
176
236
  @abc.abstractmethod
177
237
  def Get(
@@ -179,7 +239,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
179
239
  request: yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
180
240
  context: _ServicerContext,
181
241
  ) -> typing.Union[yandex.cloud.video.v1.video_pb2.Video, collections.abc.Awaitable[yandex.cloud.video.v1.video_pb2.Video]]:
182
- """Get the specific video."""
242
+ """Retrieves detailed information about a specific video by its ID.
243
+ Returns all video metadata, status, and related information.
244
+ """
183
245
 
184
246
  @abc.abstractmethod
185
247
  def List(
@@ -187,7 +249,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
187
249
  request: yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
188
250
  context: _ServicerContext,
189
251
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.ListVideoResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.ListVideoResponse]]:
190
- """List videos for channel."""
252
+ """Lists all videos in a specific channel with pagination support.
253
+ Results can be filtered and sorted using the provided parameters.
254
+ """
191
255
 
192
256
  @abc.abstractmethod
193
257
  def BatchGet(
@@ -195,7 +259,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
195
259
  request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
196
260
  context: _ServicerContext,
197
261
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse]]:
198
- """Batch get videos in specific channel."""
262
+ """Retrieves multiple videos by their IDs in a specific channel in a single request.
263
+ This is more efficient than making multiple Get requests when retrieving several videos.
264
+ """
199
265
 
200
266
  @abc.abstractmethod
201
267
  def Create(
@@ -203,7 +269,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
203
269
  request: yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
204
270
  context: _ServicerContext,
205
271
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
206
- """Create video."""
272
+ """Creates a new video in the specified channel.
273
+ The video can be created from different sources: TUS upload, direct link, or S3 storage.
274
+ """
207
275
 
208
276
  @abc.abstractmethod
209
277
  def Update(
@@ -211,7 +279,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
211
279
  request: yandex.cloud.video.v1.video_service_pb2.UpdateVideoRequest,
212
280
  context: _ServicerContext,
213
281
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
214
- """Update video."""
282
+ """Updates an existing video's metadata and settings.
283
+ Only fields specified in the field_mask will be updated.
284
+ """
215
285
 
216
286
  @abc.abstractmethod
217
287
  def Transcode(
@@ -219,7 +289,11 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
219
289
  request: yandex.cloud.video.v1.video_service_pb2.TranscodeVideoRequest,
220
290
  context: _ServicerContext,
221
291
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
222
- """Transcode video."""
292
+ """Initiates or updates video transcoding with specified parameters.
293
+ Can be used to start transcoding for videos with auto_transcode=DISABLE,
294
+ or to re-process a completed video with new transcoding settings.
295
+ Supports additional features like subtitle processing, translation, and summarization.
296
+ """
223
297
 
224
298
  @abc.abstractmethod
225
299
  def Delete(
@@ -227,7 +301,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
227
301
  request: yandex.cloud.video.v1.video_service_pb2.DeleteVideoRequest,
228
302
  context: _ServicerContext,
229
303
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
230
- """Delete video."""
304
+ """Deletes a specific video by its ID."""
231
305
 
232
306
  @abc.abstractmethod
233
307
  def BatchDelete(
@@ -235,7 +309,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
235
309
  request: yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
236
310
  context: _ServicerContext,
237
311
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
238
- """Batch delete videos."""
312
+ """Deletes multiple videos in a specific channel in a single request.
313
+ This is more efficient than making multiple Delete requests when removing several videos.
314
+ """
239
315
 
240
316
  @abc.abstractmethod
241
317
  def PerformAction(
@@ -243,7 +319,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
243
319
  request: yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
244
320
  context: _ServicerContext,
245
321
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
246
- """Perform an action on the video."""
322
+ """Performs a specific action on a video, such as publishing or unpublishing."""
247
323
 
248
324
  @abc.abstractmethod
249
325
  def GetPlayerURL(
@@ -251,7 +327,10 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
251
327
  request: yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
252
328
  context: _ServicerContext,
253
329
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse]]:
254
- """Get player url."""
330
+ """Generates a standard player URL for watching the video.
331
+ The URL respects the video's access rights and can include custom player parameters.
332
+ For videos with signed URL access, an expiration duration can be specified.
333
+ """
255
334
 
256
335
  @abc.abstractmethod
257
336
  def BatchGetPlayerURLs(
@@ -259,7 +338,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
259
338
  request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
260
339
  context: _ServicerContext,
261
340
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse]]:
262
- """Batch get player urls."""
341
+ """Generates multiple player URLs for a list of videos in a specific channel in a single request.
342
+ This is more efficient than making multiple GetPlayerURL requests when retrieving several URLs.
343
+ """
263
344
 
264
345
  @abc.abstractmethod
265
346
  def GetManifests(
@@ -267,6 +348,9 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
267
348
  request: yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
268
349
  context: _ServicerContext,
269
350
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse]]:
270
- """Get manifest urls."""
351
+ """Retrieves the manifest URLs for a specific video.
352
+ Manifests are used by video players to access the video content with adaptive bitrate streaming.
353
+ Supports different manifest types (HLS, DASH) and configuration parameters.
354
+ """
271
355
 
272
356
  def add_VideoServiceServicer_to_server(servicer: VideoServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/ytsaurus/v1/package_options.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/ytsaurus/v1/package_options.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/ytsaurus/v1/package_options.proto\x12\x18yandex.cloud.ytsaurus.v1BGZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/ytsaurus/v1;ytsaurusb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ytsaurus.v1.package_options_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'ZEgithub.com/yandex-cloud/go-genproto/yandex/cloud/ytsaurus/v1;ytsaurus'
35
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,8 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import google.protobuf.descriptor
7
+
8
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
yandexcloud/__init__.py CHANGED
@@ -11,4 +11,4 @@ from yandexcloud._retry_interceptor import RetryInterceptor
11
11
  from yandexcloud._retry_policy import RetryPolicy, ThrottlingMode
12
12
  from yandexcloud._sdk import SDK
13
13
 
14
- __version__ = "0.351.0"
14
+ __version__ = "0.353.0"
@@ -95,6 +95,7 @@ class Dataproc:
95
95
  initialization_actions=None,
96
96
  oslogin_enabled=False,
97
97
  labels=None,
98
+ autoscaling_service_account_id=None,
98
99
  ):
99
100
  """
100
101
  Create Yandex.Cloud Data Proc cluster.
@@ -190,6 +191,8 @@ class Dataproc:
190
191
  :type oslogin_enabled: bool
191
192
  :param labels: Cluster labels as key:value pairs. No more than 64 per resource.
192
193
  :type labels: Dict[str, str]
194
+ :param autoscaling_service_account_id: Service account to be used by the Instance Groups service.
195
+ :type autoscaling_service_account_id: str
193
196
 
194
197
  :return: Cluster ID
195
198
  :rtype: str
@@ -312,6 +315,7 @@ class Dataproc:
312
315
  security_group_ids=security_group_ids,
313
316
  log_group_id=log_group_id,
314
317
  labels=labels,
318
+ autoscaling_service_account_id=autoscaling_service_account_id,
315
319
  )
316
320
  result = self.sdk.create_operation_and_get_result(
317
321
  request,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: yandexcloud
3
- Version: 0.351.0
3
+ Version: 0.353.0
4
4
  Summary: The Yandex Cloud official SDK
5
5
  Author-email: Yandex LLC <cloud@support.yandex.ru>
6
6
  License: MIT