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
@@ -19,7 +19,7 @@ class GetSubtitleRequest(google.protobuf.message.Message):
19
19
 
20
20
  SUBTITLE_ID_FIELD_NUMBER: builtins.int
21
21
  subtitle_id: builtins.str
22
- """ID of the subtitle."""
22
+ """ID of the subtitle to retrieve."""
23
23
  def __init__(
24
24
  self,
25
25
  *,
@@ -37,13 +37,13 @@ class ListSubtitlesRequest(google.protobuf.message.Message):
37
37
  PAGE_TOKEN_FIELD_NUMBER: builtins.int
38
38
  VIDEO_ID_FIELD_NUMBER: builtins.int
39
39
  page_size: builtins.int
40
- """The maximum number of the results per page to return.
41
- Default value: 100.
42
- """
40
+ """The maximum number of subtitles to return per page."""
43
41
  page_token: builtins.str
44
- """Page token for getting the next page of the result."""
42
+ """Page token for retrieving the next page of results.
43
+ This token is obtained from the next_page_token field in the previous ListSubtitlesResponse.
44
+ """
45
45
  video_id: builtins.str
46
- """ID of the video."""
46
+ """ID of the video containing the subtitles to list."""
47
47
  def __init__(
48
48
  self,
49
49
  *,
@@ -64,9 +64,15 @@ class ListSubtitlesResponse(google.protobuf.message.Message):
64
64
  SUBTITLES_FIELD_NUMBER: builtins.int
65
65
  NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
66
66
  next_page_token: builtins.str
67
- """Token for getting the next page."""
67
+ """Token for retrieving the next page of results.
68
+ Empty if there are no more results available.
69
+ """
68
70
  @property
69
- def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.subtitle_pb2.Subtitle]: ...
71
+ def subtitles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.subtitle_pb2.Subtitle]:
72
+ """List of subtitles matching the request criteria.
73
+ May be empty if no subtitles match the criteria or if the video has no subtitles.
74
+ """
75
+
70
76
  def __init__(
71
77
  self,
72
78
  *,
@@ -121,6 +127,7 @@ class SubtitleUploadParams(google.protobuf.message.Message):
121
127
 
122
128
  FILENAME_FIELD_NUMBER: builtins.int
123
129
  filename: builtins.str
130
+ """Original filename of the subtitle file being uploaded."""
124
131
  def __init__(
125
132
  self,
126
133
  *,
@@ -136,7 +143,7 @@ class CreateSubtitleMetadata(google.protobuf.message.Message):
136
143
 
137
144
  SUBTITLE_ID_FIELD_NUMBER: builtins.int
138
145
  subtitle_id: builtins.str
139
- """ID of the subtitle."""
146
+ """ID of the subtitle being created."""
140
147
  def __init__(
141
148
  self,
142
149
  *,
@@ -152,7 +159,7 @@ class GenerateSubtitleUploadURLRequest(google.protobuf.message.Message):
152
159
 
153
160
  SUBTITLE_ID_FIELD_NUMBER: builtins.int
154
161
  subtitle_id: builtins.str
155
- """ID of the subtitle."""
162
+ """ID of the subtitle for which to generate an upload URL."""
156
163
  def __init__(
157
164
  self,
158
165
  *,
@@ -168,7 +175,10 @@ class GenerateSubtitleUploadURLResponse(google.protobuf.message.Message):
168
175
 
169
176
  UPLOAD_URL_FIELD_NUMBER: builtins.int
170
177
  upload_url: builtins.str
171
- """Upload url."""
178
+ """Pre-signed URL for uploading the subtitle file.
179
+ This URL can be used with an HTTP PUT request to upload the subtitle file.
180
+ The URL has a limited validity period and will expire after a certain time.
181
+ """
172
182
  def __init__(
173
183
  self,
174
184
  *,
@@ -184,7 +194,7 @@ class DeleteSubtitleRequest(google.protobuf.message.Message):
184
194
 
185
195
  SUBTITLE_ID_FIELD_NUMBER: builtins.int
186
196
  subtitle_id: builtins.str
187
- """ID of the subtitle."""
197
+ """ID of the subtitle to delete."""
188
198
  def __init__(
189
199
  self,
190
200
  *,
@@ -200,7 +210,9 @@ class DeleteSubtitleMetadata(google.protobuf.message.Message):
200
210
 
201
211
  SUBTITLE_ID_FIELD_NUMBER: builtins.int
202
212
  subtitle_id: builtins.str
203
- """ID of the subtitle."""
213
+ """ID of the subtitle being deleted.
214
+ This identifier can be used to track the subtitle deletion operation.
215
+ """
204
216
  def __init__(
205
217
  self,
206
218
  *,
@@ -29,6 +29,8 @@ if _version_not_supported:
29
29
 
30
30
  class SubtitleServiceStub(object):
31
31
  """Subtitle management service.
32
+ Provides methods for creating, retrieving, updating, and deleting subtitles,
33
+ which provide text translations or transcriptions of video content in various languages.
32
34
  """
33
35
 
34
36
  def __init__(self, channel):
@@ -66,38 +68,47 @@ class SubtitleServiceStub(object):
66
68
 
67
69
  class SubtitleServiceServicer(object):
68
70
  """Subtitle management service.
71
+ Provides methods for creating, retrieving, updating, and deleting subtitles,
72
+ which provide text translations or transcriptions of video content in various languages.
69
73
  """
70
74
 
71
75
  def Get(self, request, context):
72
- """Get a specific subtitle.
76
+ """Retrieves detailed information about a specific subtitle by its ID.
77
+ Returns all subtitle metadata and related information.
73
78
  """
74
79
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
75
80
  context.set_details('Method not implemented!')
76
81
  raise NotImplementedError('Method not implemented!')
77
82
 
78
83
  def List(self, request, context):
79
- """List subtitles.
84
+ """Lists all subtitles associated with a specific video with pagination support.
85
+ Results can be filtered and sorted using the provided parameters.
80
86
  """
81
87
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
82
88
  context.set_details('Method not implemented!')
83
89
  raise NotImplementedError('Method not implemented!')
84
90
 
85
91
  def Create(self, request, context):
86
- """Create a new subtitle.
92
+ """Creates a new subtitle record for a specific video.
93
+ This method only creates the metadata record; the actual subtitle file must be uploaded
94
+ using the URL obtained from the GenerateUploadURL method.
87
95
  """
88
96
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
89
97
  context.set_details('Method not implemented!')
90
98
  raise NotImplementedError('Method not implemented!')
91
99
 
92
100
  def GenerateUploadURL(self, request, context):
93
- """Generate an upload URL to add a new subtitle file.
101
+ """Generates a URL for uploading a subtitle file to an existing subtitle record.
102
+ This URL can be used to upload the actual subtitle file using an HTTP PUT request.
103
+ The URL is pre-signed and has a limited validity period.
94
104
  """
95
105
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
96
106
  context.set_details('Method not implemented!')
97
107
  raise NotImplementedError('Method not implemented!')
98
108
 
99
109
  def Delete(self, request, context):
100
- """Delete a specific subtitle.
110
+ """Deletes a specific subtitle by its ID.
111
+ This removes both the metadata record and the associated subtitle file.
101
112
  """
102
113
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
103
114
  context.set_details('Method not implemented!')
@@ -141,6 +152,8 @@ def add_SubtitleServiceServicer_to_server(servicer, server):
141
152
  # This class is part of an EXPERIMENTAL API.
142
153
  class SubtitleService(object):
143
154
  """Subtitle management service.
155
+ Provides methods for creating, retrieving, updating, and deleting subtitles,
156
+ which provide text translations or transcriptions of video content in various languages.
144
157
  """
145
158
 
146
159
  @staticmethod
@@ -20,74 +20,107 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
20
20
  ...
21
21
 
22
22
  class SubtitleServiceStub:
23
- """Subtitle management service."""
23
+ """Subtitle management service.
24
+ Provides methods for creating, retrieving, updating, and deleting subtitles,
25
+ which provide text translations or transcriptions of video content in various languages.
26
+ """
24
27
 
25
28
  def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
29
  Get: grpc.UnaryUnaryMultiCallable[
27
30
  yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
28
31
  yandex.cloud.video.v1.subtitle_pb2.Subtitle,
29
32
  ]
30
- """Get a specific subtitle."""
33
+ """Retrieves detailed information about a specific subtitle by its ID.
34
+ Returns all subtitle metadata and related information.
35
+ """
31
36
 
32
37
  List: grpc.UnaryUnaryMultiCallable[
33
38
  yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
34
39
  yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse,
35
40
  ]
36
- """List subtitles."""
41
+ """Lists all subtitles associated with a specific video with pagination support.
42
+ Results can be filtered and sorted using the provided parameters.
43
+ """
37
44
 
38
45
  Create: grpc.UnaryUnaryMultiCallable[
39
46
  yandex.cloud.video.v1.subtitle_service_pb2.CreateSubtitleRequest,
40
47
  yandex.cloud.operation.operation_pb2.Operation,
41
48
  ]
42
- """Create a new subtitle."""
49
+ """Creates a new subtitle record for a specific video.
50
+ This method only creates the metadata record; the actual subtitle file must be uploaded
51
+ using the URL obtained from the GenerateUploadURL method.
52
+ """
43
53
 
44
54
  GenerateUploadURL: grpc.UnaryUnaryMultiCallable[
45
55
  yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLRequest,
46
56
  yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse,
47
57
  ]
48
- """Generate an upload URL to add a new subtitle file."""
58
+ """Generates a URL for uploading a subtitle file to an existing subtitle record.
59
+ This URL can be used to upload the actual subtitle file using an HTTP PUT request.
60
+ The URL is pre-signed and has a limited validity period.
61
+ """
49
62
 
50
63
  Delete: grpc.UnaryUnaryMultiCallable[
51
64
  yandex.cloud.video.v1.subtitle_service_pb2.DeleteSubtitleRequest,
52
65
  yandex.cloud.operation.operation_pb2.Operation,
53
66
  ]
54
- """Delete a specific subtitle."""
67
+ """Deletes a specific subtitle by its ID.
68
+ This removes both the metadata record and the associated subtitle file.
69
+ """
55
70
 
56
71
  class SubtitleServiceAsyncStub:
57
- """Subtitle management service."""
72
+ """Subtitle management service.
73
+ Provides methods for creating, retrieving, updating, and deleting subtitles,
74
+ which provide text translations or transcriptions of video content in various languages.
75
+ """
58
76
 
59
77
  Get: grpc.aio.UnaryUnaryMultiCallable[
60
78
  yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
61
79
  yandex.cloud.video.v1.subtitle_pb2.Subtitle,
62
80
  ]
63
- """Get a specific subtitle."""
81
+ """Retrieves detailed information about a specific subtitle by its ID.
82
+ Returns all subtitle metadata and related information.
83
+ """
64
84
 
65
85
  List: grpc.aio.UnaryUnaryMultiCallable[
66
86
  yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
67
87
  yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse,
68
88
  ]
69
- """List subtitles."""
89
+ """Lists all subtitles associated with a specific video with pagination support.
90
+ Results can be filtered and sorted using the provided parameters.
91
+ """
70
92
 
71
93
  Create: grpc.aio.UnaryUnaryMultiCallable[
72
94
  yandex.cloud.video.v1.subtitle_service_pb2.CreateSubtitleRequest,
73
95
  yandex.cloud.operation.operation_pb2.Operation,
74
96
  ]
75
- """Create a new subtitle."""
97
+ """Creates a new subtitle record for a specific video.
98
+ This method only creates the metadata record; the actual subtitle file must be uploaded
99
+ using the URL obtained from the GenerateUploadURL method.
100
+ """
76
101
 
77
102
  GenerateUploadURL: grpc.aio.UnaryUnaryMultiCallable[
78
103
  yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLRequest,
79
104
  yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse,
80
105
  ]
81
- """Generate an upload URL to add a new subtitle file."""
106
+ """Generates a URL for uploading a subtitle file to an existing subtitle record.
107
+ This URL can be used to upload the actual subtitle file using an HTTP PUT request.
108
+ The URL is pre-signed and has a limited validity period.
109
+ """
82
110
 
83
111
  Delete: grpc.aio.UnaryUnaryMultiCallable[
84
112
  yandex.cloud.video.v1.subtitle_service_pb2.DeleteSubtitleRequest,
85
113
  yandex.cloud.operation.operation_pb2.Operation,
86
114
  ]
87
- """Delete a specific subtitle."""
115
+ """Deletes a specific subtitle by its ID.
116
+ This removes both the metadata record and the associated subtitle file.
117
+ """
88
118
 
89
119
  class SubtitleServiceServicer(metaclass=abc.ABCMeta):
90
- """Subtitle management service."""
120
+ """Subtitle management service.
121
+ Provides methods for creating, retrieving, updating, and deleting subtitles,
122
+ which provide text translations or transcriptions of video content in various languages.
123
+ """
91
124
 
92
125
  @abc.abstractmethod
93
126
  def Get(
@@ -95,7 +128,9 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
95
128
  request: yandex.cloud.video.v1.subtitle_service_pb2.GetSubtitleRequest,
96
129
  context: _ServicerContext,
97
130
  ) -> typing.Union[yandex.cloud.video.v1.subtitle_pb2.Subtitle, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_pb2.Subtitle]]:
98
- """Get a specific subtitle."""
131
+ """Retrieves detailed information about a specific subtitle by its ID.
132
+ Returns all subtitle metadata and related information.
133
+ """
99
134
 
100
135
  @abc.abstractmethod
101
136
  def List(
@@ -103,7 +138,9 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
103
138
  request: yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesRequest,
104
139
  context: _ServicerContext,
105
140
  ) -> typing.Union[yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_service_pb2.ListSubtitlesResponse]]:
106
- """List subtitles."""
141
+ """Lists all subtitles associated with a specific video with pagination support.
142
+ Results can be filtered and sorted using the provided parameters.
143
+ """
107
144
 
108
145
  @abc.abstractmethod
109
146
  def Create(
@@ -111,7 +148,10 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
111
148
  request: yandex.cloud.video.v1.subtitle_service_pb2.CreateSubtitleRequest,
112
149
  context: _ServicerContext,
113
150
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
114
- """Create a new subtitle."""
151
+ """Creates a new subtitle record for a specific video.
152
+ This method only creates the metadata record; the actual subtitle file must be uploaded
153
+ using the URL obtained from the GenerateUploadURL method.
154
+ """
115
155
 
116
156
  @abc.abstractmethod
117
157
  def GenerateUploadURL(
@@ -119,7 +159,10 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
119
159
  request: yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLRequest,
120
160
  context: _ServicerContext,
121
161
  ) -> typing.Union[yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.subtitle_service_pb2.GenerateSubtitleUploadURLResponse]]:
122
- """Generate an upload URL to add a new subtitle file."""
162
+ """Generates a URL for uploading a subtitle file to an existing subtitle record.
163
+ This URL can be used to upload the actual subtitle file using an HTTP PUT request.
164
+ The URL is pre-signed and has a limited validity period.
165
+ """
123
166
 
124
167
  @abc.abstractmethod
125
168
  def Delete(
@@ -127,6 +170,8 @@ class SubtitleServiceServicer(metaclass=abc.ABCMeta):
127
170
  request: yandex.cloud.video.v1.subtitle_service_pb2.DeleteSubtitleRequest,
128
171
  context: _ServicerContext,
129
172
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
130
- """Delete a specific subtitle."""
173
+ """Deletes a specific subtitle by its ID.
174
+ This removes both the metadata record and the associated subtitle file.
175
+ """
131
176
 
132
177
  def add_SubtitleServiceServicer_to_server(servicer: SubtitleServiceServicer, 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/thumbnail.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\tThumbnail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x03\x10\x64\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/thumbnail.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x01\n\tThumbnail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nchannel_id\x18\x02 \x01(\t\x12\x15\n\nepisode_id\x18\xeb\x07 \x01(\tH\x00\x12\x13\n\x08video_id\x18\xec\x07 \x01(\tH\x00\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0b\n\tparent_idJ\x04\x08\x03\x10\x64J\x05\x08\x65\x10\xeb\x07\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)
@@ -33,6 +33,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.thumb
33
33
  if not _descriptor._USE_C_DESCRIPTORS:
34
34
  _globals['DESCRIPTOR']._loaded_options = None
35
35
  _globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
36
- _globals['_THUMBNAIL']._serialized_start=97
37
- _globals['_THUMBNAIL']._serialized_end=194
36
+ _globals['_THUMBNAIL']._serialized_start=98
37
+ _globals['_THUMBNAIL']._serialized_end=259
38
38
  # @@protoc_insertion_point(module_scope)
@@ -13,27 +13,40 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
13
13
 
14
14
  @typing.final
15
15
  class Thumbnail(google.protobuf.message.Message):
16
+ """Entity representing an image used as a visual representation for various content entities.
17
+ Thumbnails provide preview images for channels, streams, episodes, videos, and stream lines.
18
+ """
19
+
16
20
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
17
21
 
18
22
  ID_FIELD_NUMBER: builtins.int
19
23
  CHANNEL_ID_FIELD_NUMBER: builtins.int
24
+ EPISODE_ID_FIELD_NUMBER: builtins.int
25
+ VIDEO_ID_FIELD_NUMBER: builtins.int
20
26
  CREATED_AT_FIELD_NUMBER: builtins.int
21
27
  id: builtins.str
22
- """ID of the thumbnail."""
28
+ """Unique identifier of the thumbnail."""
23
29
  channel_id: builtins.str
24
- """ID of the channel where the thumbnail was created."""
30
+ """Identifier of the channel where the thumbnail is created and managed."""
31
+ episode_id: builtins.str
32
+ """ID of the episode which the thumbnail is associated with."""
33
+ video_id: builtins.str
34
+ """ID of the video which the thumbnail is associated with."""
25
35
  @property
26
36
  def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
27
- """Time when thumbnail was created."""
37
+ """Timestamp when the thumbnail was initially created in the system."""
28
38
 
29
39
  def __init__(
30
40
  self,
31
41
  *,
32
42
  id: builtins.str = ...,
33
43
  channel_id: builtins.str = ...,
44
+ episode_id: builtins.str = ...,
45
+ video_id: builtins.str = ...,
34
46
  created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
35
47
  ) -> None: ...
36
- def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
37
- def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "id", b"id"]) -> None: ...
48
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "episode_id", b"episode_id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> builtins.bool: ...
49
+ def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "created_at", b"created_at", "episode_id", b"episode_id", "id", b"id", "parent_id", b"parent_id", "video_id", b"video_id"]) -> None: ...
50
+ def WhichOneof(self, oneof_group: typing.Literal["parent_id", b"parent_id"]) -> typing.Literal["episode_id", "video_id"] | None: ...
38
51
 
39
52
  global___Thumbnail = Thumbnail
@@ -29,7 +29,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
29
29
  from yandex.cloud.video.v1 import thumbnail_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_thumbnail__pb2
30
30
 
31
31
 
32
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"y\n\x14ListThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\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<=15000J\x04\x08\x02\x10\x64\"l\n\x15ListThumbnailResponse\x12\x34\n\nthumbnails\x18\x01 \x03(\x0b\x32 .yandex.cloud.video.v1.Thumbnail\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"7\n\x16\x43reateThumbnailRequest\x12\x1d\n\nchannel_id\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=200\"/\n\x17\x43reateThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\"o\n BatchGenerateDownloadURLsRequest\x12!\n\nchannel_id\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=200\x12(\n\rthumbnail_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"g\n!BatchGenerateDownloadURLsResponse\x12\x42\n\rdownload_urls\x18\x01 \x03(\x0b\x32+.yandex.cloud.video.v1.ThumbnailDownloadURL\"\xe0\x02\n\x14ThumbnailDownloadURL\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\x12\x14\n\x0coriginal_url\x18\x02 \x01(\t\x12J\n\x0bscaled_urls\x18\x03 \x03(\x0b\x32\x35.yandex.cloud.video.v1.ThumbnailDownloadURL.ScaledURL\x1a\x8e\x01\n\tScaledURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tmax_width\x18\x02 \x01(\x03\x12\x12\n\nmax_height\x18\x03 \x01(\x03\x12M\n\x0cimage_format\x18\x04 \x01(\x0e\x32\x37.yandex.cloud.video.v1.ThumbnailDownloadURL.ImageFormat\"?\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JPEG\x10\x01\x12\x08\n\x04WEBP\x10\x02\"G\n!GenerateThumbnailUploadURLRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"8\n\"GenerateThumbnailUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\"<\n\x16\x44\x65leteThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"/\n\x17\x44\x65leteThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t2\x93\x08\n\x10ThumbnailService\x12\x80\x01\n\x03Get\x12*.yandex.cloud.video.v1.GetThumbnailRequest\x1a .yandex.cloud.video.v1.Thumbnail\"+\x82\xd3\xe4\x93\x02%\x12#/video/v1/thumbnails/{thumbnail_id}\x12\x7f\n\x04List\x12+.yandex.cloud.video.v1.ListThumbnailRequest\x1a,.yandex.cloud.video.v1.ListThumbnailResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/video/v1/thumbnails\x12\xa3\x01\n\x06\x43reate\x12-.yandex.cloud.video.v1.CreateThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*$\n\x17\x43reateThumbnailMetadata\x12\tThumbnail\x82\xd3\xe4\x93\x02\x19\"\x14/video/v1/thumbnails:\x01*\x12\xc9\x01\n\x19\x42\x61tchGenerateDownloadURLs\x12\x37.yandex.cloud.video.v1.BatchGenerateDownloadURLsRequest\x1a\x38.yandex.cloud.video.v1.BatchGenerateDownloadURLsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./video/v1/thumbnails:batchGenerateDownloadURLs:\x01*\x12\xca\x01\n\x11GenerateUploadURL\x12\x38.yandex.cloud.video.v1.GenerateThumbnailUploadURLRequest\x1a\x39.yandex.cloud.video.v1.GenerateThumbnailUploadURLResponse\"@\x82\xd3\xe4\x93\x02:\"5/video/v1/thumbnails/{thumbnail_id}:generateUploadURL:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12-.yandex.cloud.video.v1.DeleteThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x17\x44\x65leteThumbnailMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/video/v1/thumbnails/{thumbnail_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/video/v1/thumbnail_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a%yandex/cloud/video/v1/thumbnail.proto\"9\n\x13GetThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xcd\x01\n\x14ListThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1f\n\nepisode_id\x18\xeb\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\x08video_id\x18\xec\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\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<=15000B\x0b\n\tparent_idJ\x04\x08\x02\x10\x64J\x05\x08\x66\x10\xeb\x07\"l\n\x15ListThumbnailResponse\x12\x34\n\nthumbnails\x18\x01 \x03(\x0b\x32 .yandex.cloud.video.v1.Thumbnail\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\x8a\x01\n\x16\x43reateThumbnailRequest\x12\x1c\n\nchannel_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1f\n\nepisode_id\x18\xeb\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\x08video_id\x18\xec\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x42\x0b\n\tparent_idJ\x05\x08\x02\x10\xeb\x07\"/\n\x17\x43reateThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\"n\n BatchGenerateDownloadURLsRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12(\n\rthumbnail_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"g\n!BatchGenerateDownloadURLsResponse\x12\x42\n\rdownload_urls\x18\x01 \x03(\x0b\x32+.yandex.cloud.video.v1.ThumbnailDownloadURL\"\xe0\x02\n\x14ThumbnailDownloadURL\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t\x12\x14\n\x0coriginal_url\x18\x02 \x01(\t\x12J\n\x0bscaled_urls\x18\x03 \x03(\x0b\x32\x35.yandex.cloud.video.v1.ThumbnailDownloadURL.ScaledURL\x1a\x8e\x01\n\tScaledURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x11\n\tmax_width\x18\x02 \x01(\x03\x12\x12\n\nmax_height\x18\x03 \x01(\x03\x12M\n\x0cimage_format\x18\x04 \x01(\x0e\x32\x37.yandex.cloud.video.v1.ThumbnailDownloadURL.ImageFormat\"?\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JPEG\x10\x01\x12\x08\n\x04WEBP\x10\x02\"G\n!GenerateThumbnailUploadURLRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"8\n\"GenerateThumbnailUploadURLResponse\x12\x12\n\nupload_url\x18\x01 \x01(\t\"<\n\x16\x44\x65leteThumbnailRequest\x12\"\n\x0cthumbnail_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"/\n\x17\x44\x65leteThumbnailMetadata\x12\x14\n\x0cthumbnail_id\x18\x01 \x01(\t2\x93\x08\n\x10ThumbnailService\x12\x80\x01\n\x03Get\x12*.yandex.cloud.video.v1.GetThumbnailRequest\x1a .yandex.cloud.video.v1.Thumbnail\"+\x82\xd3\xe4\x93\x02%\x12#/video/v1/thumbnails/{thumbnail_id}\x12\x7f\n\x04List\x12+.yandex.cloud.video.v1.ListThumbnailRequest\x1a,.yandex.cloud.video.v1.ListThumbnailResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/video/v1/thumbnails\x12\xa3\x01\n\x06\x43reate\x12-.yandex.cloud.video.v1.CreateThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*$\n\x17\x43reateThumbnailMetadata\x12\tThumbnail\x82\xd3\xe4\x93\x02\x19\"\x14/video/v1/thumbnails:\x01*\x12\xc9\x01\n\x19\x42\x61tchGenerateDownloadURLs\x12\x37.yandex.cloud.video.v1.BatchGenerateDownloadURLsRequest\x1a\x38.yandex.cloud.video.v1.BatchGenerateDownloadURLsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./video/v1/thumbnails:batchGenerateDownloadURLs:\x01*\x12\xca\x01\n\x11GenerateUploadURL\x12\x38.yandex.cloud.video.v1.GenerateThumbnailUploadURLRequest\x1a\x39.yandex.cloud.video.v1.GenerateThumbnailUploadURLResponse\"@\x82\xd3\xe4\x93\x02:\"5/video/v1/thumbnails/{thumbnail_id}:generateUploadURL:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12-.yandex.cloud.video.v1.DeleteThumbnailRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x17\x44\x65leteThumbnailMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/video/v1/thumbnails/{thumbnail_id}B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
33
33
 
34
34
  _globals = globals()
35
35
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -41,14 +41,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
41
41
  _globals['_GETTHUMBNAILREQUEST'].fields_by_name['thumbnail_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
42
42
  _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
43
43
  _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\004<=50'
44
+ _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['episode_id']._loaded_options = None
45
+ _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['episode_id']._serialized_options = b'\212\3101\004<=50'
46
+ _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['video_id']._loaded_options = None
47
+ _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
44
48
  _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._loaded_options = None
45
49
  _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
46
50
  _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._loaded_options = None
47
51
  _globals['_LISTTHUMBNAILREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\007<=15000'
48
52
  _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._loaded_options = None
49
- _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\005<=200'
53
+ _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['channel_id']._serialized_options = b'\212\3101\004<=50'
54
+ _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['episode_id']._loaded_options = None
55
+ _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['episode_id']._serialized_options = b'\212\3101\004<=50'
56
+ _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['video_id']._loaded_options = None
57
+ _globals['_CREATETHUMBNAILREQUEST'].fields_by_name['video_id']._serialized_options = b'\212\3101\004<=50'
50
58
  _globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._loaded_options = None
51
- _globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\005<=200'
59
+ _globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
52
60
  _globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._loaded_options = None
53
61
  _globals['_BATCHGENERATEDOWNLOADURLSREQUEST'].fields_by_name['thumbnail_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
54
62
  _globals['_GENERATETHUMBNAILUPLOADURLREQUEST'].fields_by_name['thumbnail_id']._loaded_options = None
@@ -69,32 +77,32 @@ if not _descriptor._USE_C_DESCRIPTORS:
69
77
  _globals['_THUMBNAILSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*0\n\027DeleteThumbnailMetadata\022\025google.protobuf.Empty\202\323\344\223\002%*#/video/v1/thumbnails/{thumbnail_id}'
70
78
  _globals['_GETTHUMBNAILREQUEST']._serialized_start=246
71
79
  _globals['_GETTHUMBNAILREQUEST']._serialized_end=303
72
- _globals['_LISTTHUMBNAILREQUEST']._serialized_start=305
73
- _globals['_LISTTHUMBNAILREQUEST']._serialized_end=426
74
- _globals['_LISTTHUMBNAILRESPONSE']._serialized_start=428
75
- _globals['_LISTTHUMBNAILRESPONSE']._serialized_end=536
76
- _globals['_CREATETHUMBNAILREQUEST']._serialized_start=538
77
- _globals['_CREATETHUMBNAILREQUEST']._serialized_end=593
78
- _globals['_CREATETHUMBNAILMETADATA']._serialized_start=595
79
- _globals['_CREATETHUMBNAILMETADATA']._serialized_end=642
80
- _globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=644
81
- _globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=755
82
- _globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=757
83
- _globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=860
84
- _globals['_THUMBNAILDOWNLOADURL']._serialized_start=863
85
- _globals['_THUMBNAILDOWNLOADURL']._serialized_end=1215
86
- _globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_start=1008
87
- _globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_end=1150
88
- _globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_start=1152
89
- _globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_end=1215
90
- _globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_start=1217
91
- _globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_end=1288
92
- _globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_start=1290
93
- _globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_end=1346
94
- _globals['_DELETETHUMBNAILREQUEST']._serialized_start=1348
95
- _globals['_DELETETHUMBNAILREQUEST']._serialized_end=1408
96
- _globals['_DELETETHUMBNAILMETADATA']._serialized_start=1410
97
- _globals['_DELETETHUMBNAILMETADATA']._serialized_end=1457
98
- _globals['_THUMBNAILSERVICE']._serialized_start=1460
99
- _globals['_THUMBNAILSERVICE']._serialized_end=2503
80
+ _globals['_LISTTHUMBNAILREQUEST']._serialized_start=306
81
+ _globals['_LISTTHUMBNAILREQUEST']._serialized_end=511
82
+ _globals['_LISTTHUMBNAILRESPONSE']._serialized_start=513
83
+ _globals['_LISTTHUMBNAILRESPONSE']._serialized_end=621
84
+ _globals['_CREATETHUMBNAILREQUEST']._serialized_start=624
85
+ _globals['_CREATETHUMBNAILREQUEST']._serialized_end=762
86
+ _globals['_CREATETHUMBNAILMETADATA']._serialized_start=764
87
+ _globals['_CREATETHUMBNAILMETADATA']._serialized_end=811
88
+ _globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_start=813
89
+ _globals['_BATCHGENERATEDOWNLOADURLSREQUEST']._serialized_end=923
90
+ _globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_start=925
91
+ _globals['_BATCHGENERATEDOWNLOADURLSRESPONSE']._serialized_end=1028
92
+ _globals['_THUMBNAILDOWNLOADURL']._serialized_start=1031
93
+ _globals['_THUMBNAILDOWNLOADURL']._serialized_end=1383
94
+ _globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_start=1176
95
+ _globals['_THUMBNAILDOWNLOADURL_SCALEDURL']._serialized_end=1318
96
+ _globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_start=1320
97
+ _globals['_THUMBNAILDOWNLOADURL_IMAGEFORMAT']._serialized_end=1383
98
+ _globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_start=1385
99
+ _globals['_GENERATETHUMBNAILUPLOADURLREQUEST']._serialized_end=1456
100
+ _globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_start=1458
101
+ _globals['_GENERATETHUMBNAILUPLOADURLRESPONSE']._serialized_end=1514
102
+ _globals['_DELETETHUMBNAILREQUEST']._serialized_start=1516
103
+ _globals['_DELETETHUMBNAILREQUEST']._serialized_end=1576
104
+ _globals['_DELETETHUMBNAILMETADATA']._serialized_start=1578
105
+ _globals['_DELETETHUMBNAILMETADATA']._serialized_end=1625
106
+ _globals['_THUMBNAILSERVICE']._serialized_start=1628
107
+ _globals['_THUMBNAILSERVICE']._serialized_end=2671
100
108
  # @@protoc_insertion_point(module_scope)