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.
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
- yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
- yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
- yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +4 -4
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +3 -9
- yandex/cloud/cic/v1/trunk_connection_pb2.py +5 -5
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +2 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +36 -35
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +9 -1
- yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
- yandex/cloud/iot/devices/v1/device_pb2.pyi +29 -3
- yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +56 -56
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +10 -2
- yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -50
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +74 -70
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +151 -5
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -28
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +198 -10
- yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/mdb/spqr/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
- yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +17 -7
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +46 -2
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +22 -22
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +24 -3
- yandex/cloud/storage/v1/s3api_pb2.py +7 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
- yandex/cloud/video/v1/channel_pb2.py +16 -5
- yandex/cloud/video/v1/channel_pb2.pyi +103 -2
- yandex/cloud/video/v1/channel_service_pb2.py +34 -30
- yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/episode_pb2.pyi +5 -4
- yandex/cloud/video/v1/episode_service_pb2.py +56 -52
- yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
- yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_line_pb2.py +16 -24
- yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
- yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_pb2.py +12 -11
- yandex/cloud/video/v1/stream_pb2.pyi +19 -6
- yandex/cloud/video/v1/stream_service_pb2.py +54 -49
- yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
- yandex/cloud/video/v1/subtitle_pb2.py +6 -4
- yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
- yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/video_pb2.py +26 -19
- yandex/cloud/video/v1/video_pb2.pyi +139 -37
- yandex/cloud/video/v1/video_service_pb2.py +118 -69
- yandex/cloud/video/v1/video_service_pb2.pyi +297 -39
- yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
- yandex/cloud/ydb/v1/database_pb2.py +46 -46
- yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
- yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
- yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +196 -118
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
- {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.
|
|
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 "
|
|
53
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Supported
|
|
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
|
-
"""
|
|
189
|
-
|
|
190
|
-
|
|
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", "
|
|
213
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "
|
|
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", "
|
|
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
|
-
|
|
338
|
-
|
|
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", "
|
|
356
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "
|
|
357
|
-
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "
|
|
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
|
-
"""
|
|
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
|
|
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
|
|
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
|
|
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
|
-
"""
|
|
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
|
-
"""
|
|
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,
|