yandexcloud 0.350.0__py3-none-any.whl → 0.352.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/tuning/v1/tuning_service_pb2.py +23 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +80 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +86 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +34 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +39 -37
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +110 -87
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +96 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +4 -4
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_pb2.py +10 -10
- yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
- yandex/cloud/cdn/v1/resource_pb2.py +64 -64
- yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.py +20 -14
- yandex/cloud/clouddesktop/v1/desktop_group_pb2.pyi +31 -2
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +11 -2
- yandex/cloud/dataproc/v1/cluster_pb2.py +20 -20
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/dataproc/v1/cluster_service_pb2.py +40 -40
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +10 -2
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +1 -5
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/endpoint/mongo_pb2.pyi +26 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +1 -1
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +26 -26
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +15 -15
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +25 -25
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +16 -16
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.py +22 -22
- yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2_grpc.pyi +18 -18
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +132 -132
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/clickhouse/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/clickhouse/v1/database_pb2.pyi +35 -3
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.pyi +4 -0
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -38
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +48 -4
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +12 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -24
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +12 -2
- yandex/cloud/mdb/postgresql/v1/database_pb2.py +6 -4
- yandex/cloud/mdb/postgresql/v1/database_pb2.pyi +1 -1
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -23
- yandex/cloud/metastore/v1/cluster_pb2.pyi +40 -63
- yandex/cloud/metastore/v1/cluster_service_pb2.py +54 -60
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +92 -125
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +151 -6
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +36 -34
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +13 -7
- yandex/cloud/monitoring/v3/link_pb2.py +8 -4
- yandex/cloud/monitoring/v3/link_pb2.pyi +27 -1
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +60 -44
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +151 -6
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +26 -31
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +6 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -8
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +5 -1
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- yandex/cloud/spark/v1/cluster_pb2.py +29 -25
- yandex/cloud/spark/v1/cluster_pb2.pyi +53 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +54 -31
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +93 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/channel_pb2.py +12 -12
- yandex/cloud/video/v1/channel_pb2.pyi +88 -22
- yandex/cloud/video/v1/channel_service_pb2.py +14 -14
- yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
- yandex/cloud/video/v1/episode_pb2.py +8 -10
- yandex/cloud/video/v1/episode_pb2.pyi +52 -36
- yandex/cloud/video/v1/episode_service_pb2.py +44 -42
- yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
- yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
- yandex/cloud/video/v1/playlist_pb2.py +4 -6
- yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
- yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
- yandex/cloud/video/v1/stream_line_pb2.py +16 -16
- yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
- yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
- yandex/cloud/video/v1/stream_pb2.pyi +49 -36
- yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
- yandex/cloud/video/v1/style_preset_pb2.py +49 -0
- yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
- yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
- yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
- yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +32 -26
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +26 -17
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
- yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
- yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
- yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
- yandex/cloud/video/v1/video_pb2.py +24 -24
- yandex/cloud/video/v1/video_pb2.pyi +105 -64
- yandex/cloud/video/v1/video_service_pb2.py +80 -74
- yandex/cloud/video/v1/video_service_pb2.pyi +197 -102
- yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
- yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- yandexcloud/_wrappers/dataproc/__init__.py +4 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/RECORD +157 -145
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.350.0.dist-info → yandexcloud-0.352.0.dist-info}/top_level.txt +0 -0
|
@@ -29,24 +29,27 @@ class _AutoTranscode:
|
|
|
29
29
|
class _AutoTranscodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AutoTranscode.ValueType], builtins.type):
|
|
30
30
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
31
31
|
AUTO_TRANSCODE_UNSPECIFIED: _AutoTranscode.ValueType # 0
|
|
32
|
-
"""
|
|
32
|
+
"""The auto-transcoding setting is not specified."""
|
|
33
33
|
ENABLE: _AutoTranscode.ValueType # 1
|
|
34
|
-
"""
|
|
34
|
+
"""Automatically start transcoding after the video upload is complete."""
|
|
35
35
|
DISABLE: _AutoTranscode.ValueType # 2
|
|
36
|
-
"""
|
|
36
|
+
"""Do not automatically transcode; requires manual initiation via the Transcode() method."""
|
|
37
37
|
|
|
38
|
-
class AutoTranscode(_AutoTranscode, metaclass=_AutoTranscodeEnumTypeWrapper):
|
|
38
|
+
class AutoTranscode(_AutoTranscode, metaclass=_AutoTranscodeEnumTypeWrapper):
|
|
39
|
+
"""Enum controlling whether videos are automatically transcoded after upload."""
|
|
39
40
|
|
|
40
41
|
AUTO_TRANSCODE_UNSPECIFIED: AutoTranscode.ValueType # 0
|
|
41
|
-
"""
|
|
42
|
+
"""The auto-transcoding setting is not specified."""
|
|
42
43
|
ENABLE: AutoTranscode.ValueType # 1
|
|
43
|
-
"""
|
|
44
|
+
"""Automatically start transcoding after the video upload is complete."""
|
|
44
45
|
DISABLE: AutoTranscode.ValueType # 2
|
|
45
|
-
"""
|
|
46
|
+
"""Do not automatically transcode; requires manual initiation via the Transcode() method."""
|
|
46
47
|
global___AutoTranscode = AutoTranscode
|
|
47
48
|
|
|
48
49
|
@typing.final
|
|
49
50
|
class Video(google.protobuf.message.Message):
|
|
51
|
+
"""Main entity representing a video in the platform."""
|
|
52
|
+
|
|
50
53
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
51
54
|
|
|
52
55
|
class _VideoStatus:
|
|
@@ -56,31 +59,33 @@ class Video(google.protobuf.message.Message):
|
|
|
56
59
|
class _VideoStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Video._VideoStatus.ValueType], builtins.type):
|
|
57
60
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
58
61
|
VIDEO_STATUS_UNSPECIFIED: Video._VideoStatus.ValueType # 0
|
|
59
|
-
"""
|
|
62
|
+
"""The video status is not specified."""
|
|
60
63
|
WAIT_UPLOADING: Video._VideoStatus.ValueType # 1
|
|
61
|
-
"""
|
|
64
|
+
"""The video upload is in progress, waiting for all bytes to be received."""
|
|
62
65
|
UPLOADED: Video._VideoStatus.ValueType # 2
|
|
63
|
-
"""
|
|
66
|
+
"""The video has been fully uploaded and is ready for transcoding."""
|
|
64
67
|
PROCESSING: Video._VideoStatus.ValueType # 4
|
|
65
|
-
"""
|
|
68
|
+
"""The video is currently being processed."""
|
|
66
69
|
READY: Video._VideoStatus.ValueType # 5
|
|
67
|
-
"""
|
|
70
|
+
"""The video has been successfully processed and is ready for watching."""
|
|
68
71
|
ERROR: Video._VideoStatus.ValueType # 7
|
|
69
|
-
"""
|
|
72
|
+
"""An error occurred during video processing."""
|
|
73
|
+
|
|
74
|
+
class VideoStatus(_VideoStatus, metaclass=_VideoStatusEnumTypeWrapper):
|
|
75
|
+
"""Current processing status of the video."""
|
|
70
76
|
|
|
71
|
-
class VideoStatus(_VideoStatus, metaclass=_VideoStatusEnumTypeWrapper): ...
|
|
72
77
|
VIDEO_STATUS_UNSPECIFIED: Video.VideoStatus.ValueType # 0
|
|
73
|
-
"""
|
|
78
|
+
"""The video status is not specified."""
|
|
74
79
|
WAIT_UPLOADING: Video.VideoStatus.ValueType # 1
|
|
75
|
-
"""
|
|
80
|
+
"""The video upload is in progress, waiting for all bytes to be received."""
|
|
76
81
|
UPLOADED: Video.VideoStatus.ValueType # 2
|
|
77
|
-
"""
|
|
82
|
+
"""The video has been fully uploaded and is ready for transcoding."""
|
|
78
83
|
PROCESSING: Video.VideoStatus.ValueType # 4
|
|
79
|
-
"""
|
|
84
|
+
"""The video is currently being processed."""
|
|
80
85
|
READY: Video.VideoStatus.ValueType # 5
|
|
81
|
-
"""
|
|
86
|
+
"""The video has been successfully processed and is ready for watching."""
|
|
82
87
|
ERROR: Video.VideoStatus.ValueType # 7
|
|
83
|
-
"""
|
|
88
|
+
"""An error occurred during video processing."""
|
|
84
89
|
|
|
85
90
|
class _VisibilityStatus:
|
|
86
91
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -89,19 +94,21 @@ class Video(google.protobuf.message.Message):
|
|
|
89
94
|
class _VisibilityStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Video._VisibilityStatus.ValueType], builtins.type):
|
|
90
95
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
91
96
|
VISIBILITY_STATUS_UNSPECIFIED: Video._VisibilityStatus.ValueType # 0
|
|
92
|
-
"""
|
|
97
|
+
"""The visibility status is not specified."""
|
|
93
98
|
PUBLISHED: Video._VisibilityStatus.ValueType # 1
|
|
94
|
-
"""
|
|
99
|
+
"""The video is publicly available, subject to its access permission settings."""
|
|
95
100
|
UNPUBLISHED: Video._VisibilityStatus.ValueType # 2
|
|
96
|
-
"""
|
|
101
|
+
"""The video is available only to administrators."""
|
|
102
|
+
|
|
103
|
+
class VisibilityStatus(_VisibilityStatus, metaclass=_VisibilityStatusEnumTypeWrapper):
|
|
104
|
+
"""Visibility status of the video."""
|
|
97
105
|
|
|
98
|
-
class VisibilityStatus(_VisibilityStatus, metaclass=_VisibilityStatusEnumTypeWrapper): ...
|
|
99
106
|
VISIBILITY_STATUS_UNSPECIFIED: Video.VisibilityStatus.ValueType # 0
|
|
100
|
-
"""
|
|
107
|
+
"""The visibility status is not specified."""
|
|
101
108
|
PUBLISHED: Video.VisibilityStatus.ValueType # 1
|
|
102
|
-
"""
|
|
109
|
+
"""The video is publicly available, subject to its access permission settings."""
|
|
103
110
|
UNPUBLISHED: Video.VisibilityStatus.ValueType # 2
|
|
104
|
-
"""
|
|
111
|
+
"""The video is available only to administrators."""
|
|
105
112
|
|
|
106
113
|
@typing.final
|
|
107
114
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -129,6 +136,7 @@ class Video(google.protobuf.message.Message):
|
|
|
129
136
|
VISIBILITY_STATUS_FIELD_NUMBER: builtins.int
|
|
130
137
|
DURATION_FIELD_NUMBER: builtins.int
|
|
131
138
|
AUTO_TRANSCODE_FIELD_NUMBER: builtins.int
|
|
139
|
+
STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
|
|
132
140
|
ENABLE_AD_FIELD_NUMBER: builtins.int
|
|
133
141
|
SUBTITLE_IDS_FIELD_NUMBER: builtins.int
|
|
134
142
|
FEATURES_FIELD_NUMBER: builtins.int
|
|
@@ -139,70 +147,79 @@ class Video(google.protobuf.message.Message):
|
|
|
139
147
|
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
140
148
|
LABELS_FIELD_NUMBER: builtins.int
|
|
141
149
|
id: builtins.str
|
|
142
|
-
"""
|
|
150
|
+
"""Unique identifier of the video."""
|
|
143
151
|
channel_id: builtins.str
|
|
144
|
-
"""
|
|
152
|
+
"""Identifier of the channel where the video is created and managed."""
|
|
145
153
|
title: builtins.str
|
|
146
|
-
"""
|
|
154
|
+
"""Title of the video displayed to users in interfaces and players."""
|
|
147
155
|
description: builtins.str
|
|
148
|
-
"""Detailed description of the video."""
|
|
156
|
+
"""Detailed description of the video content and context."""
|
|
149
157
|
thumbnail_id: builtins.str
|
|
150
|
-
"""
|
|
158
|
+
"""Identifier of the thumbnail image used to represent the video visually."""
|
|
151
159
|
status: global___Video.VideoStatus.ValueType
|
|
152
|
-
"""
|
|
160
|
+
"""Current processing status of the video."""
|
|
153
161
|
error_message: builtins.str
|
|
154
162
|
"""Error message describing the reason for video processing failure, if any."""
|
|
155
163
|
visibility_status: global___Video.VisibilityStatus.ValueType
|
|
156
|
-
"""
|
|
164
|
+
"""Current visibility status controlling whether the video is publicly available."""
|
|
157
165
|
auto_transcode: global___AutoTranscode.ValueType
|
|
158
|
-
"""Auto-transcoding setting.
|
|
166
|
+
"""Auto-transcoding setting that controls the video processing workflow.
|
|
159
167
|
Set ENABLE to automatically initiate transcoding after upload,
|
|
160
168
|
or DISABLE for manual initiation via the Transcode() method.
|
|
161
169
|
"""
|
|
170
|
+
style_preset_id: builtins.str
|
|
171
|
+
"""Identifier of the style preset applied to the video during processing."""
|
|
162
172
|
@property
|
|
163
173
|
def duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
164
|
-
"""
|
|
174
|
+
"""Total duration of the video.
|
|
175
|
+
Optional, may be empty until the transcoding result is ready.
|
|
176
|
+
"""
|
|
165
177
|
|
|
166
178
|
@property
|
|
167
179
|
def enable_ad(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
168
|
-
"""
|
|
180
|
+
"""Controls the ability to display advertisements for this video.
|
|
169
181
|
Default: true.
|
|
170
182
|
Set explicitly to false to disable advertisements for a specific video.
|
|
171
183
|
"""
|
|
172
184
|
|
|
173
185
|
@property
|
|
174
186
|
def subtitle_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
175
|
-
"""List of
|
|
187
|
+
"""List of identifiers defining the active subtitles available for the video."""
|
|
176
188
|
|
|
177
189
|
@property
|
|
178
190
|
def features(self) -> global___VideoFeatures:
|
|
179
|
-
"""Additional video processing features and their results."""
|
|
191
|
+
"""Additional video processing features and their results, such as summarization."""
|
|
180
192
|
|
|
181
193
|
@property
|
|
182
194
|
def tusd(self) -> global___VideoTUSDSource:
|
|
183
|
-
"""Upload video using the
|
|
195
|
+
"""Upload video using the TUS (Tus Resumable Upload Protocol) protocol.
|
|
196
|
+
@see https://tus.io/
|
|
197
|
+
"""
|
|
184
198
|
|
|
185
199
|
@property
|
|
186
200
|
def public_access(self) -> global___VideoPublicAccessRights:
|
|
187
|
-
"""
|
|
201
|
+
"""Allows unrestricted public access to the video via direct link.
|
|
188
202
|
No additional authorization or access control is applied.
|
|
189
203
|
"""
|
|
190
204
|
|
|
191
205
|
@property
|
|
192
206
|
def sign_url_access(self) -> global___VideoSignURLAccessRights:
|
|
193
|
-
"""
|
|
207
|
+
"""Restricts video access using URL signatures for secure time-limited access."""
|
|
194
208
|
|
|
195
209
|
@property
|
|
196
210
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
197
|
-
"""
|
|
211
|
+
"""Timestamp when the video was initially created in the system."""
|
|
198
212
|
|
|
199
213
|
@property
|
|
200
214
|
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
201
|
-
"""
|
|
215
|
+
"""Timestamp of the last modification to the video or its metadata."""
|
|
202
216
|
|
|
203
217
|
@property
|
|
204
218
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
205
|
-
"""Custom labels as
|
|
219
|
+
"""Custom user-defined labels as `key:value` pairs.
|
|
220
|
+
Maximum 64 labels per video.
|
|
221
|
+
Labels can be used for organization, filtering, and metadata purposes.
|
|
222
|
+
"""
|
|
206
223
|
|
|
207
224
|
def __init__(
|
|
208
225
|
self,
|
|
@@ -217,6 +234,7 @@ class Video(google.protobuf.message.Message):
|
|
|
217
234
|
visibility_status: global___Video.VisibilityStatus.ValueType = ...,
|
|
218
235
|
duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
219
236
|
auto_transcode: global___AutoTranscode.ValueType = ...,
|
|
237
|
+
style_preset_id: builtins.str = ...,
|
|
220
238
|
enable_ad: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
221
239
|
subtitle_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
222
240
|
features: global___VideoFeatures | None = ...,
|
|
@@ -228,7 +246,7 @@ class Video(google.protobuf.message.Message):
|
|
|
228
246
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
229
247
|
) -> None: ...
|
|
230
248
|
def HasField(self, field_name: typing.Literal["access_rights", b"access_rights", "created_at", b"created_at", "duration", b"duration", "enable_ad", b"enable_ad", "features", b"features", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "tusd", b"tusd", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
231
|
-
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "duration", b"duration", "enable_ad", b"enable_ad", "error_message", b"error_message", "features", b"features", "id", b"id", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "status", b"status", "subtitle_ids", b"subtitle_ids", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
249
|
+
def ClearField(self, field_name: typing.Literal["access_rights", b"access_rights", "auto_transcode", b"auto_transcode", "channel_id", b"channel_id", "created_at", b"created_at", "description", b"description", "duration", b"duration", "enable_ad", b"enable_ad", "error_message", b"error_message", "features", b"features", "id", b"id", "labels", b"labels", "public_access", b"public_access", "sign_url_access", b"sign_url_access", "source", b"source", "status", b"status", "style_preset_id", b"style_preset_id", "subtitle_ids", b"subtitle_ids", "thumbnail_id", b"thumbnail_id", "title", b"title", "tusd", b"tusd", "updated_at", b"updated_at", "visibility_status", b"visibility_status"]) -> None: ...
|
|
232
250
|
@typing.overload
|
|
233
251
|
def WhichOneof(self, oneof_group: typing.Literal["access_rights", b"access_rights"]) -> typing.Literal["public_access", "sign_url_access"] | None: ...
|
|
234
252
|
@typing.overload
|
|
@@ -238,16 +256,19 @@ global___Video = Video
|
|
|
238
256
|
|
|
239
257
|
@typing.final
|
|
240
258
|
class VideoTUSDSource(google.protobuf.message.Message):
|
|
241
|
-
"""
|
|
259
|
+
"""Represents a video upload source using the TUS (Tus Resumable Upload Protocol) protocol.
|
|
260
|
+
This is a push-based upload method where the client pushes data to the server.
|
|
261
|
+
@see https://tus.io/
|
|
262
|
+
"""
|
|
242
263
|
|
|
243
264
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
244
265
|
|
|
245
266
|
URL_FIELD_NUMBER: builtins.int
|
|
246
267
|
FILE_SIZE_FIELD_NUMBER: builtins.int
|
|
247
268
|
url: builtins.str
|
|
248
|
-
"""URL for uploading video via the
|
|
269
|
+
"""URL endpoint for uploading the video via the TUS protocol."""
|
|
249
270
|
file_size: builtins.int
|
|
250
|
-
"""
|
|
271
|
+
"""Total size of the uploaded file, in bytes."""
|
|
251
272
|
def __init__(
|
|
252
273
|
self,
|
|
253
274
|
*,
|
|
@@ -260,6 +281,10 @@ global___VideoTUSDSource = VideoTUSDSource
|
|
|
260
281
|
|
|
261
282
|
@typing.final
|
|
262
283
|
class VideoPublicAccessRights(google.protobuf.message.Message):
|
|
284
|
+
"""Represents public access rights for a video.
|
|
285
|
+
When this access type is set, the video is publicly accessible via direct link.
|
|
286
|
+
"""
|
|
287
|
+
|
|
263
288
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
264
289
|
|
|
265
290
|
def __init__(
|
|
@@ -270,6 +295,10 @@ global___VideoPublicAccessRights = VideoPublicAccessRights
|
|
|
270
295
|
|
|
271
296
|
@typing.final
|
|
272
297
|
class VideoSignURLAccessRights(google.protobuf.message.Message):
|
|
298
|
+
"""Represents access rights controlled by URL signatures.
|
|
299
|
+
When this access type is set, the video is accessible only via properly signed temporary link.
|
|
300
|
+
"""
|
|
301
|
+
|
|
273
302
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
274
303
|
|
|
275
304
|
def __init__(
|
|
@@ -280,6 +309,8 @@ global___VideoSignURLAccessRights = VideoSignURLAccessRights
|
|
|
280
309
|
|
|
281
310
|
@typing.final
|
|
282
311
|
class VideoFeatures(google.protobuf.message.Message):
|
|
312
|
+
"""Contains additional processing features and their results for the video."""
|
|
313
|
+
|
|
283
314
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
284
315
|
|
|
285
316
|
class _FeatureResult:
|
|
@@ -289,44 +320,51 @@ class VideoFeatures(google.protobuf.message.Message):
|
|
|
289
320
|
class _FeatureResultEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[VideoFeatures._FeatureResult.ValueType], builtins.type):
|
|
290
321
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
291
322
|
FEATURE_RESULT_UNSPECIFIED: VideoFeatures._FeatureResult.ValueType # 0
|
|
323
|
+
"""The feature result status is not specified."""
|
|
292
324
|
NOT_REQUESTED: VideoFeatures._FeatureResult.ValueType # 1
|
|
293
|
-
"""
|
|
325
|
+
"""The feature processing has not been requested."""
|
|
294
326
|
PROCESSING: VideoFeatures._FeatureResult.ValueType # 2
|
|
295
|
-
"""
|
|
327
|
+
"""The feature is currently being processed."""
|
|
296
328
|
SUCCESS: VideoFeatures._FeatureResult.ValueType # 3
|
|
297
|
-
"""
|
|
329
|
+
"""The feature processing has completed successfully."""
|
|
298
330
|
FAILED: VideoFeatures._FeatureResult.ValueType # 4
|
|
299
|
-
"""
|
|
331
|
+
"""The feature processing has failed."""
|
|
332
|
+
|
|
333
|
+
class FeatureResult(_FeatureResult, metaclass=_FeatureResultEnumTypeWrapper):
|
|
334
|
+
"""Status of a feature processing request."""
|
|
300
335
|
|
|
301
|
-
class FeatureResult(_FeatureResult, metaclass=_FeatureResultEnumTypeWrapper): ...
|
|
302
336
|
FEATURE_RESULT_UNSPECIFIED: VideoFeatures.FeatureResult.ValueType # 0
|
|
337
|
+
"""The feature result status is not specified."""
|
|
303
338
|
NOT_REQUESTED: VideoFeatures.FeatureResult.ValueType # 1
|
|
304
|
-
"""
|
|
339
|
+
"""The feature processing has not been requested."""
|
|
305
340
|
PROCESSING: VideoFeatures.FeatureResult.ValueType # 2
|
|
306
|
-
"""
|
|
341
|
+
"""The feature is currently being processed."""
|
|
307
342
|
SUCCESS: VideoFeatures.FeatureResult.ValueType # 3
|
|
308
|
-
"""
|
|
343
|
+
"""The feature processing has completed successfully."""
|
|
309
344
|
FAILED: VideoFeatures.FeatureResult.ValueType # 4
|
|
310
|
-
"""
|
|
345
|
+
"""The feature processing has failed."""
|
|
311
346
|
|
|
312
347
|
@typing.final
|
|
313
348
|
class Summary(google.protobuf.message.Message):
|
|
349
|
+
"""Contains the results of video summarization."""
|
|
350
|
+
|
|
314
351
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
315
352
|
|
|
316
353
|
@typing.final
|
|
317
354
|
class SummaryURL(google.protobuf.message.Message):
|
|
355
|
+
"""Contains a URL to a summarization result for a specific audio track."""
|
|
356
|
+
|
|
318
357
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
319
358
|
|
|
320
359
|
URL_FIELD_NUMBER: builtins.int
|
|
321
360
|
TRACK_INDEX_FIELD_NUMBER: builtins.int
|
|
322
361
|
SRC_LANG_FIELD_NUMBER: builtins.int
|
|
323
362
|
url: builtins.str
|
|
363
|
+
"""URL to the summarization result file."""
|
|
324
364
|
track_index: builtins.int
|
|
325
|
-
"""Input audio track index (one-based)."""
|
|
365
|
+
"""Input audio track index (one-based) that was summarized."""
|
|
326
366
|
src_lang: builtins.str
|
|
327
|
-
"""Source track language
|
|
328
|
-
Either provided in transcoding settings earlier or automatically deduced.
|
|
329
|
-
"""
|
|
367
|
+
"""Source track language represented as a three-letter code according to ISO 639-2/T."""
|
|
330
368
|
def __init__(
|
|
331
369
|
self,
|
|
332
370
|
*,
|
|
@@ -339,8 +377,11 @@ class VideoFeatures(google.protobuf.message.Message):
|
|
|
339
377
|
RESULT_FIELD_NUMBER: builtins.int
|
|
340
378
|
URLS_FIELD_NUMBER: builtins.int
|
|
341
379
|
result: global___VideoFeatures.FeatureResult.ValueType
|
|
380
|
+
"""Current status of the summarization process."""
|
|
342
381
|
@property
|
|
343
|
-
def urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoFeatures.Summary.SummaryURL]:
|
|
382
|
+
def urls(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VideoFeatures.Summary.SummaryURL]:
|
|
383
|
+
"""List of URLs to summarization results for different audio tracks."""
|
|
384
|
+
|
|
344
385
|
def __init__(
|
|
345
386
|
self,
|
|
346
387
|
*,
|
|
@@ -352,7 +393,7 @@ class VideoFeatures(google.protobuf.message.Message):
|
|
|
352
393
|
SUMMARY_FIELD_NUMBER: builtins.int
|
|
353
394
|
@property
|
|
354
395
|
def summary(self) -> global___VideoFeatures.Summary:
|
|
355
|
-
"""
|
|
396
|
+
"""Results of the video content summarization process."""
|
|
356
397
|
|
|
357
398
|
def __init__(
|
|
358
399
|
self,
|