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.
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
- 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/connectionmanager/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/__init__.py +0 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
- yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
- yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
- 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/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
- yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
- yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
- yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
- yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
- yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
- yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
- yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
- yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
- 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 -23
- yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
- 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 +193 -90
- 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.351.0.dist-info → yandexcloud-0.353.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +163 -97
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,7 @@ class GetStreamRequest(google.protobuf.message.Message):
|
|
|
22
22
|
|
|
23
23
|
STREAM_ID_FIELD_NUMBER: builtins.int
|
|
24
24
|
stream_id: builtins.str
|
|
25
|
-
"""ID of the stream."""
|
|
25
|
+
"""ID of the stream to retrieve."""
|
|
26
26
|
def __init__(
|
|
27
27
|
self,
|
|
28
28
|
*,
|
|
@@ -42,32 +42,34 @@ class ListStreamsRequest(google.protobuf.message.Message):
|
|
|
42
42
|
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
43
43
|
FILTER_FIELD_NUMBER: builtins.int
|
|
44
44
|
channel_id: builtins.str
|
|
45
|
-
"""ID of the channel."""
|
|
45
|
+
"""ID of the channel containing the streams to list."""
|
|
46
46
|
page_size: builtins.int
|
|
47
|
-
"""The maximum number of
|
|
48
|
-
Default value: 100.
|
|
49
|
-
"""
|
|
47
|
+
"""The maximum number of streams to return per page."""
|
|
50
48
|
page_token: builtins.str
|
|
51
|
-
"""Page token for
|
|
49
|
+
"""Page token for retrieving the next page of results.
|
|
50
|
+
This token is obtained from the next_page_token field in the previous ListStreamsResponse.
|
|
51
|
+
"""
|
|
52
52
|
order_by: builtins.str
|
|
53
|
-
"""
|
|
54
|
-
|
|
53
|
+
"""Specifies the ordering of results.
|
|
54
|
+
Format is "<field> <order>" (e.g., "startTime desc").
|
|
55
55
|
Default: "id asc".
|
|
56
|
-
|
|
57
|
-
Both snake_case and camelCase are supported
|
|
56
|
+
Supported fields: ["id", "title", "startTime", "finishTime", "createdAt", "updatedAt"].
|
|
57
|
+
Both snake_case and camelCase field names are supported.
|
|
58
58
|
"""
|
|
59
59
|
filter: builtins.str
|
|
60
|
-
"""Filter expression
|
|
61
|
-
Expressions
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
"""Filter expression to narrow down the list of returned streams.
|
|
61
|
+
Expressions consist of terms connected by logical operators.
|
|
62
|
+
Values containing spaces or quotes must be enclosed in quotes (`'` or `"`)
|
|
63
|
+
with inner quotes being backslash-escaped.
|
|
64
|
+
|
|
64
65
|
Supported logical operators: ["AND", "OR"].
|
|
65
|
-
Supported
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Example: `
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
|
|
67
|
+
Parentheses can be used to group logical expressions.
|
|
68
|
+
|
|
69
|
+
Example: `title:'live' AND (status='READY' OR status='ONAIR')`
|
|
70
|
+
|
|
71
|
+
Filterable fields: ["id", "title", "lineId", "status"].
|
|
72
|
+
Both snake_case and camelCase field names are supported.
|
|
71
73
|
"""
|
|
72
74
|
def __init__(
|
|
73
75
|
self,
|
|
@@ -89,10 +91,14 @@ class ListStreamsResponse(google.protobuf.message.Message):
|
|
|
89
91
|
STREAMS_FIELD_NUMBER: builtins.int
|
|
90
92
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
91
93
|
next_page_token: builtins.str
|
|
92
|
-
"""Token for
|
|
94
|
+
"""Token for retrieving the next page of results.
|
|
95
|
+
Empty if there are no more results available.
|
|
96
|
+
"""
|
|
93
97
|
@property
|
|
94
98
|
def streams(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.stream_pb2.Stream]:
|
|
95
|
-
"""List of streams
|
|
99
|
+
"""List of streams matching the request criteria.
|
|
100
|
+
May be empty if no streams match the criteria or if the channel has no streams.
|
|
101
|
+
"""
|
|
96
102
|
|
|
97
103
|
def __init__(
|
|
98
104
|
self,
|
|
@@ -111,10 +117,10 @@ class BatchGetStreamsRequest(google.protobuf.message.Message):
|
|
|
111
117
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
112
118
|
STREAM_IDS_FIELD_NUMBER: builtins.int
|
|
113
119
|
channel_id: builtins.str
|
|
114
|
-
"""ID of the channel."""
|
|
120
|
+
"""ID of the channel containing the streams to retrieve."""
|
|
115
121
|
@property
|
|
116
122
|
def stream_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
117
|
-
"""List of
|
|
123
|
+
"""List of stream IDs to retrieve."""
|
|
118
124
|
|
|
119
125
|
def __init__(
|
|
120
126
|
self,
|
|
@@ -133,7 +139,7 @@ class BatchGetStreamsResponse(google.protobuf.message.Message):
|
|
|
133
139
|
STREAMS_FIELD_NUMBER: builtins.int
|
|
134
140
|
@property
|
|
135
141
|
def streams(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.stream_pb2.Stream]:
|
|
136
|
-
"""List of streams
|
|
142
|
+
"""List of streams matching the requested IDs."""
|
|
137
143
|
|
|
138
144
|
def __init__(
|
|
139
145
|
self,
|
|
@@ -174,32 +180,46 @@ class CreateStreamRequest(google.protobuf.message.Message):
|
|
|
174
180
|
ON_DEMAND_FIELD_NUMBER: builtins.int
|
|
175
181
|
SCHEDULE_FIELD_NUMBER: builtins.int
|
|
176
182
|
channel_id: builtins.str
|
|
177
|
-
"""ID of the channel."""
|
|
183
|
+
"""ID of the channel where the stream will be created."""
|
|
178
184
|
line_id: builtins.str
|
|
179
|
-
"""ID of the line.
|
|
185
|
+
"""ID of the stream line to which this stream will be linked.
|
|
186
|
+
Stream lines define the technical configuration for streaming.
|
|
187
|
+
"""
|
|
180
188
|
title: builtins.str
|
|
181
|
-
"""
|
|
189
|
+
"""Title of the stream to be displayed in interfaces and players."""
|
|
182
190
|
description: builtins.str
|
|
183
|
-
"""
|
|
191
|
+
"""Detailed description of the stream content and context.
|
|
192
|
+
Optional field that can provide additional information about the stream.
|
|
193
|
+
"""
|
|
184
194
|
thumbnail_id: builtins.str
|
|
185
|
-
"""ID of the thumbnail."""
|
|
195
|
+
"""ID of the thumbnail image to be used for the stream."""
|
|
186
196
|
@property
|
|
187
197
|
def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
188
|
-
"""
|
|
189
|
-
|
|
198
|
+
"""Controls whether the stream is automatically published when ready.
|
|
199
|
+
When set to true, the stream's status will automatically change from
|
|
200
|
+
READY to ONAIR when the streaming infrastructure is prepared,
|
|
201
|
+
making it available for viewing without manual intervention.
|
|
190
202
|
"""
|
|
191
203
|
|
|
192
204
|
@property
|
|
193
205
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
194
|
-
"""Custom labels as
|
|
206
|
+
"""Custom user-defined labels as `key:value` pairs.
|
|
207
|
+
Maximum 64 labels per stream.
|
|
208
|
+
Keys must be lowercase alphanumeric strings with optional hyphens/underscores.
|
|
209
|
+
Values can contain alphanumeric characters and various symbols.
|
|
210
|
+
"""
|
|
195
211
|
|
|
196
212
|
@property
|
|
197
213
|
def on_demand(self) -> global___OnDemandParams:
|
|
198
|
-
"""On-demand stream
|
|
214
|
+
"""On-demand stream that starts immediately when a video signal appears.
|
|
215
|
+
This type of stream has no predetermined start or end time.
|
|
216
|
+
"""
|
|
199
217
|
|
|
200
218
|
@property
|
|
201
219
|
def schedule(self) -> global___ScheduleParams:
|
|
202
|
-
"""
|
|
220
|
+
"""Scheduled stream that starts and finishes at specified time.
|
|
221
|
+
This type of stream has predetermined start and end time.
|
|
222
|
+
"""
|
|
203
223
|
|
|
204
224
|
def __init__(
|
|
205
225
|
self,
|
|
@@ -222,6 +242,10 @@ global___CreateStreamRequest = CreateStreamRequest
|
|
|
222
242
|
|
|
223
243
|
@typing.final
|
|
224
244
|
class OnDemandParams(google.protobuf.message.Message):
|
|
245
|
+
"""On-demand streams start automatically when a video signal is detected
|
|
246
|
+
and must be manually stopped when no longer needed.
|
|
247
|
+
"""
|
|
248
|
+
|
|
225
249
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
226
250
|
|
|
227
251
|
def __init__(
|
|
@@ -237,9 +261,19 @@ class ScheduleParams(google.protobuf.message.Message):
|
|
|
237
261
|
START_TIME_FIELD_NUMBER: builtins.int
|
|
238
262
|
FINISH_TIME_FIELD_NUMBER: builtins.int
|
|
239
263
|
@property
|
|
240
|
-
def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
264
|
+
def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
265
|
+
"""Scheduled time when the stream should automatically start.
|
|
266
|
+
The streaming infrastructure will be prepared at this time
|
|
267
|
+
and will begin accepting the video signal.
|
|
268
|
+
"""
|
|
269
|
+
|
|
241
270
|
@property
|
|
242
|
-
def finish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
271
|
+
def finish_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
272
|
+
"""Scheduled time when the stream should automatically finish.
|
|
273
|
+
The streaming infrastructure will be shut down at this time
|
|
274
|
+
and the stream will be marked as FINISHED.
|
|
275
|
+
"""
|
|
276
|
+
|
|
243
277
|
def __init__(
|
|
244
278
|
self,
|
|
245
279
|
*,
|
|
@@ -257,7 +291,7 @@ class CreateStreamMetadata(google.protobuf.message.Message):
|
|
|
257
291
|
|
|
258
292
|
STREAM_ID_FIELD_NUMBER: builtins.int
|
|
259
293
|
stream_id: builtins.str
|
|
260
|
-
"""ID of the stream."""
|
|
294
|
+
"""ID of the stream being created."""
|
|
261
295
|
def __init__(
|
|
262
296
|
self,
|
|
263
297
|
*,
|
|
@@ -300,7 +334,7 @@ class UpdateStreamRequest(google.protobuf.message.Message):
|
|
|
300
334
|
stream_id: builtins.str
|
|
301
335
|
"""ID of the stream."""
|
|
302
336
|
line_id: builtins.str
|
|
303
|
-
"""
|
|
337
|
+
"""DEPRECATED."""
|
|
304
338
|
title: builtins.str
|
|
305
339
|
"""Stream title."""
|
|
306
340
|
description: builtins.str
|
|
@@ -309,7 +343,11 @@ class UpdateStreamRequest(google.protobuf.message.Message):
|
|
|
309
343
|
"""ID of the thumbnail."""
|
|
310
344
|
@property
|
|
311
345
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
312
|
-
"""Field mask
|
|
346
|
+
"""Field mask specifying which fields of the stream should be updated.
|
|
347
|
+
Only fields specified in this mask will be modified;
|
|
348
|
+
all other fields will retain their current values.
|
|
349
|
+
This allows for partial updates.
|
|
350
|
+
"""
|
|
313
351
|
|
|
314
352
|
@property
|
|
315
353
|
def auto_publish(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
@@ -319,15 +357,22 @@ class UpdateStreamRequest(google.protobuf.message.Message):
|
|
|
319
357
|
|
|
320
358
|
@property
|
|
321
359
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
322
|
-
"""
|
|
360
|
+
"""New custom labels for the stream as `key:value` pairs.
|
|
361
|
+
Maximum 64 labels per stream.
|
|
362
|
+
If provided, replaces all existing labels.
|
|
363
|
+
"""
|
|
323
364
|
|
|
324
365
|
@property
|
|
325
366
|
def on_demand(self) -> global___OnDemandParams:
|
|
326
|
-
"""On demand stream.
|
|
367
|
+
"""On demand stream.
|
|
368
|
+
It starts immediately when a signal appears.
|
|
369
|
+
"""
|
|
327
370
|
|
|
328
371
|
@property
|
|
329
372
|
def schedule(self) -> global___ScheduleParams:
|
|
330
|
-
"""
|
|
373
|
+
"""Scheduled stream.
|
|
374
|
+
It starts and finishes at specified time.
|
|
375
|
+
"""
|
|
331
376
|
|
|
332
377
|
def __init__(
|
|
333
378
|
self,
|
|
@@ -371,7 +416,7 @@ class DeleteStreamRequest(google.protobuf.message.Message):
|
|
|
371
416
|
|
|
372
417
|
STREAM_ID_FIELD_NUMBER: builtins.int
|
|
373
418
|
stream_id: builtins.str
|
|
374
|
-
"""ID of the stream."""
|
|
419
|
+
"""ID of the stream to delete."""
|
|
375
420
|
def __init__(
|
|
376
421
|
self,
|
|
377
422
|
*,
|
|
@@ -387,7 +432,9 @@ class DeleteStreamMetadata(google.protobuf.message.Message):
|
|
|
387
432
|
|
|
388
433
|
STREAM_ID_FIELD_NUMBER: builtins.int
|
|
389
434
|
stream_id: builtins.str
|
|
390
|
-
"""ID of the stream.
|
|
435
|
+
"""ID of the stream.
|
|
436
|
+
This identifier can be used to track the stream deletion operation.
|
|
437
|
+
"""
|
|
391
438
|
def __init__(
|
|
392
439
|
self,
|
|
393
440
|
*,
|
|
@@ -404,10 +451,12 @@ class BatchDeleteStreamsRequest(google.protobuf.message.Message):
|
|
|
404
451
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
405
452
|
STREAM_IDS_FIELD_NUMBER: builtins.int
|
|
406
453
|
channel_id: builtins.str
|
|
407
|
-
"""ID of the channel."""
|
|
454
|
+
"""ID of the channel containing the streams to delete."""
|
|
408
455
|
@property
|
|
409
456
|
def stream_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
410
|
-
"""List of stream IDs.
|
|
457
|
+
"""List of stream IDs to delete.
|
|
458
|
+
All streams must exist in the specified channel.
|
|
459
|
+
"""
|
|
411
460
|
|
|
412
461
|
def __init__(
|
|
413
462
|
self,
|
|
@@ -426,7 +475,10 @@ class BatchDeleteStreamsMetadata(google.protobuf.message.Message):
|
|
|
426
475
|
STREAM_IDS_FIELD_NUMBER: builtins.int
|
|
427
476
|
@property
|
|
428
477
|
def stream_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
429
|
-
"""List of stream IDs.
|
|
478
|
+
"""List of stream IDs being deleted.
|
|
479
|
+
This list can be used to track which streams are included
|
|
480
|
+
in the batch deletion operation.
|
|
481
|
+
"""
|
|
430
482
|
|
|
431
483
|
def __init__(
|
|
432
484
|
self,
|
|
@@ -445,11 +497,19 @@ class PerformStreamActionRequest(google.protobuf.message.Message):
|
|
|
445
497
|
PUBLISH_FIELD_NUMBER: builtins.int
|
|
446
498
|
STOP_FIELD_NUMBER: builtins.int
|
|
447
499
|
stream_id: builtins.str
|
|
448
|
-
"""ID of the stream."""
|
|
500
|
+
"""ID of the stream on which to perform the action."""
|
|
449
501
|
@property
|
|
450
|
-
def publish(self) -> global___PublishAction:
|
|
502
|
+
def publish(self) -> global___PublishAction:
|
|
503
|
+
"""Publish the stream, changing its status from READY to ONAIR.
|
|
504
|
+
This makes the stream available for watching.
|
|
505
|
+
"""
|
|
506
|
+
|
|
451
507
|
@property
|
|
452
|
-
def stop(self) -> global___StopAction:
|
|
508
|
+
def stop(self) -> global___StopAction:
|
|
509
|
+
"""Stop the stream, changing its status to FINISHED.
|
|
510
|
+
This terminates the streaming session and releases resources.
|
|
511
|
+
"""
|
|
512
|
+
|
|
453
513
|
def __init__(
|
|
454
514
|
self,
|
|
455
515
|
*,
|
|
@@ -465,6 +525,10 @@ global___PerformStreamActionRequest = PerformStreamActionRequest
|
|
|
465
525
|
|
|
466
526
|
@typing.final
|
|
467
527
|
class PublishAction(google.protobuf.message.Message):
|
|
528
|
+
"""Parameters for the publish action.
|
|
529
|
+
The action changes the stream's status from READY to ONAIR.
|
|
530
|
+
"""
|
|
531
|
+
|
|
468
532
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
469
533
|
|
|
470
534
|
def __init__(
|
|
@@ -475,6 +539,10 @@ global___PublishAction = PublishAction
|
|
|
475
539
|
|
|
476
540
|
@typing.final
|
|
477
541
|
class StopAction(google.protobuf.message.Message):
|
|
542
|
+
"""Parameters for the stop action.
|
|
543
|
+
The action changes the stream's status to FINISHED.
|
|
544
|
+
"""
|
|
545
|
+
|
|
478
546
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
479
547
|
|
|
480
548
|
def __init__(
|
|
@@ -489,7 +557,10 @@ class PerformStreamActionMetadata(google.protobuf.message.Message):
|
|
|
489
557
|
|
|
490
558
|
STREAM_ID_FIELD_NUMBER: builtins.int
|
|
491
559
|
stream_id: builtins.str
|
|
492
|
-
"""ID of the stream.
|
|
560
|
+
"""ID of the stream on which the action is being performed.
|
|
561
|
+
This identifier can be used to track the action operation
|
|
562
|
+
and to verify that the action is being applied to the correct stream.
|
|
563
|
+
"""
|
|
493
564
|
def __init__(
|
|
494
565
|
self,
|
|
495
566
|
*,
|
|
@@ -29,6 +29,9 @@ if _version_not_supported:
|
|
|
29
29
|
|
|
30
30
|
class StreamServiceStub(object):
|
|
31
31
|
"""Stream management service.
|
|
32
|
+
Provides methods for creating, retrieving, updating, and deleting live streams,
|
|
33
|
+
as well as managing stream-related operations
|
|
34
|
+
such as publishing, stopping, and generating playback URLs.
|
|
32
35
|
"""
|
|
33
36
|
|
|
34
37
|
def __init__(self, channel):
|
|
@@ -81,59 +84,70 @@ class StreamServiceStub(object):
|
|
|
81
84
|
|
|
82
85
|
class StreamServiceServicer(object):
|
|
83
86
|
"""Stream management service.
|
|
87
|
+
Provides methods for creating, retrieving, updating, and deleting live streams,
|
|
88
|
+
as well as managing stream-related operations
|
|
89
|
+
such as publishing, stopping, and generating playback URLs.
|
|
84
90
|
"""
|
|
85
91
|
|
|
86
92
|
def Get(self, request, context):
|
|
87
|
-
"""
|
|
93
|
+
"""Retrieves detailed information about a specific stream by its ID.
|
|
94
|
+
Returns all stream metadata, status, and related information.
|
|
88
95
|
"""
|
|
89
96
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
90
97
|
context.set_details('Method not implemented!')
|
|
91
98
|
raise NotImplementedError('Method not implemented!')
|
|
92
99
|
|
|
93
100
|
def List(self, request, context):
|
|
94
|
-
"""
|
|
101
|
+
"""Lists all streams in a specific channel with pagination support.
|
|
102
|
+
Results can be filtered and sorted using the provided parameters.
|
|
95
103
|
"""
|
|
96
104
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
97
105
|
context.set_details('Method not implemented!')
|
|
98
106
|
raise NotImplementedError('Method not implemented!')
|
|
99
107
|
|
|
100
108
|
def BatchGet(self, request, context):
|
|
101
|
-
"""
|
|
109
|
+
"""Retrieves multiple streams by their IDs in a specific channel in a single request.
|
|
110
|
+
This is more efficient than making multiple Get requests when retrieving several streams.
|
|
102
111
|
"""
|
|
103
112
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
104
113
|
context.set_details('Method not implemented!')
|
|
105
114
|
raise NotImplementedError('Method not implemented!')
|
|
106
115
|
|
|
107
116
|
def Create(self, request, context):
|
|
108
|
-
"""
|
|
117
|
+
"""Creates a new stream in the specified channel.
|
|
118
|
+
Streams can be created as on-demand (starting when a signal appears)
|
|
119
|
+
or scheduled (starting and finishing at specified time).
|
|
109
120
|
"""
|
|
110
121
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
111
122
|
context.set_details('Method not implemented!')
|
|
112
123
|
raise NotImplementedError('Method not implemented!')
|
|
113
124
|
|
|
114
125
|
def Update(self, request, context):
|
|
115
|
-
"""
|
|
126
|
+
"""Updates an existing stream's metadata and settings.
|
|
127
|
+
Only fields specified in the field_mask will be updated.
|
|
116
128
|
"""
|
|
117
129
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
130
|
context.set_details('Method not implemented!')
|
|
119
131
|
raise NotImplementedError('Method not implemented!')
|
|
120
132
|
|
|
121
133
|
def Delete(self, request, context):
|
|
122
|
-
"""
|
|
134
|
+
"""Deletes a specific stream by its ID.
|
|
123
135
|
"""
|
|
124
136
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
125
137
|
context.set_details('Method not implemented!')
|
|
126
138
|
raise NotImplementedError('Method not implemented!')
|
|
127
139
|
|
|
128
140
|
def BatchDelete(self, request, context):
|
|
129
|
-
"""
|
|
141
|
+
"""Deletes multiple streams in a specific channel in a single request.
|
|
142
|
+
This is more efficient than making multiple Delete requests when removing several streams.
|
|
130
143
|
"""
|
|
131
144
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
132
145
|
context.set_details('Method not implemented!')
|
|
133
146
|
raise NotImplementedError('Method not implemented!')
|
|
134
147
|
|
|
135
148
|
def PerformAction(self, request, context):
|
|
136
|
-
"""
|
|
149
|
+
"""Performs a specific action on a stream, such as publishing or stopping.
|
|
150
|
+
Actions change the stream's state without modifying its content or metadata.
|
|
137
151
|
"""
|
|
138
152
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
139
153
|
context.set_details('Method not implemented!')
|
|
@@ -192,6 +206,9 @@ def add_StreamServiceServicer_to_server(servicer, server):
|
|
|
192
206
|
# This class is part of an EXPERIMENTAL API.
|
|
193
207
|
class StreamService(object):
|
|
194
208
|
"""Stream management service.
|
|
209
|
+
Provides methods for creating, retrieving, updating, and deleting live streams,
|
|
210
|
+
as well as managing stream-related operations
|
|
211
|
+
such as publishing, stopping, and generating playback URLs.
|
|
195
212
|
"""
|
|
196
213
|
|
|
197
214
|
@staticmethod
|