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
|
@@ -20,7 +20,7 @@ class GetStreamLineRequest(google.protobuf.message.Message):
|
|
|
20
20
|
|
|
21
21
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
22
22
|
stream_line_id: builtins.str
|
|
23
|
-
"""ID of the line."""
|
|
23
|
+
"""ID of the stream line to retrieve."""
|
|
24
24
|
def __init__(
|
|
25
25
|
self,
|
|
26
26
|
*,
|
|
@@ -40,32 +40,34 @@ class ListStreamLinesRequest(google.protobuf.message.Message):
|
|
|
40
40
|
ORDER_BY_FIELD_NUMBER: builtins.int
|
|
41
41
|
FILTER_FIELD_NUMBER: builtins.int
|
|
42
42
|
channel_id: builtins.str
|
|
43
|
-
"""ID of the channel."""
|
|
43
|
+
"""ID of the channel containing the stream lines to list."""
|
|
44
44
|
page_size: builtins.int
|
|
45
|
-
"""The maximum number of
|
|
46
|
-
Default value: 100.
|
|
47
|
-
"""
|
|
45
|
+
"""The maximum number of stream lines to return per page."""
|
|
48
46
|
page_token: builtins.str
|
|
49
|
-
"""Page token for
|
|
47
|
+
"""Page token for retrieving the next page of results.
|
|
48
|
+
This token is obtained from the next_page_token field in the previous ListStreamLinesResponse.
|
|
49
|
+
"""
|
|
50
50
|
order_by: builtins.str
|
|
51
|
-
"""
|
|
52
|
-
|
|
51
|
+
"""Specifies the ordering of results.
|
|
52
|
+
Format is "<field> <order>" (e.g., "createdAt desc").
|
|
53
53
|
Default: "id asc".
|
|
54
|
-
|
|
55
|
-
Both snake_case and camelCase are supported
|
|
54
|
+
Supported fields: ["id", "title", "createdAt", "updatedAt"].
|
|
55
|
+
Both snake_case and camelCase field names are supported.
|
|
56
56
|
"""
|
|
57
57
|
filter: builtins.str
|
|
58
|
-
"""Filter expression
|
|
59
|
-
Expressions
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
"""Filter expression to narrow down the list of returned stream lines.
|
|
59
|
+
Expressions consist of terms connected by logical operators.
|
|
60
|
+
Values containing spaces or quotes must be enclosed in quotes (`'` or `"`)
|
|
61
|
+
with inner quotes being backslash-escaped.
|
|
62
|
+
|
|
62
63
|
Supported logical operators: ["AND", "OR"].
|
|
63
|
-
Supported
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Example: `
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
|
|
65
|
+
Parentheses can be used to group logical expressions.
|
|
66
|
+
|
|
67
|
+
Example: `title:'main' AND id='line-1'`
|
|
68
|
+
|
|
69
|
+
Filterable fields: ["id", "title"].
|
|
70
|
+
Both snake_case and camelCase field names are supported.
|
|
69
71
|
"""
|
|
70
72
|
def __init__(
|
|
71
73
|
self,
|
|
@@ -87,10 +89,14 @@ class ListStreamLinesResponse(google.protobuf.message.Message):
|
|
|
87
89
|
STREAM_LINES_FIELD_NUMBER: builtins.int
|
|
88
90
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
89
91
|
next_page_token: builtins.str
|
|
90
|
-
"""Token for
|
|
92
|
+
"""Token for retrieving the next page of results.
|
|
93
|
+
Empty if there are no more results available.
|
|
94
|
+
"""
|
|
91
95
|
@property
|
|
92
96
|
def stream_lines(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.stream_line_pb2.StreamLine]:
|
|
93
|
-
"""List of lines
|
|
97
|
+
"""List of stream lines matching the request criteria.
|
|
98
|
+
May be empty if no stream lines match the criteria or if the channel has no stream lines.
|
|
99
|
+
"""
|
|
94
100
|
|
|
95
101
|
def __init__(
|
|
96
102
|
self,
|
|
@@ -109,10 +115,10 @@ class BatchGetStreamLinesRequest(google.protobuf.message.Message):
|
|
|
109
115
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
110
116
|
STREAM_LINE_IDS_FIELD_NUMBER: builtins.int
|
|
111
117
|
channel_id: builtins.str
|
|
112
|
-
"""ID of the channel."""
|
|
118
|
+
"""ID of the channel containing the stream lines to retrieve."""
|
|
113
119
|
@property
|
|
114
120
|
def stream_line_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
115
|
-
"""List of
|
|
121
|
+
"""List of stream line IDs to retrieve."""
|
|
116
122
|
|
|
117
123
|
def __init__(
|
|
118
124
|
self,
|
|
@@ -131,7 +137,7 @@ class BatchGetStreamLinesResponse(google.protobuf.message.Message):
|
|
|
131
137
|
STREAM_LINES_FIELD_NUMBER: builtins.int
|
|
132
138
|
@property
|
|
133
139
|
def stream_lines(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.stream_line_pb2.StreamLine]:
|
|
134
|
-
"""List of lines
|
|
140
|
+
"""List of stream lines matching the requested IDs."""
|
|
135
141
|
|
|
136
142
|
def __init__(
|
|
137
143
|
self,
|
|
@@ -164,22 +170,15 @@ class CreateStreamLineRequest(google.protobuf.message.Message):
|
|
|
164
170
|
|
|
165
171
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
166
172
|
TITLE_FIELD_NUMBER: builtins.int
|
|
167
|
-
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
168
|
-
LABELS_FIELD_NUMBER: builtins.int
|
|
169
173
|
RTMP_PUSH_FIELD_NUMBER: builtins.int
|
|
170
174
|
RTMP_PULL_FIELD_NUMBER: builtins.int
|
|
171
175
|
MANUAL_LINE_FIELD_NUMBER: builtins.int
|
|
172
176
|
AUTO_LINE_FIELD_NUMBER: builtins.int
|
|
177
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
173
178
|
channel_id: builtins.str
|
|
174
179
|
"""ID of the channel."""
|
|
175
180
|
title: builtins.str
|
|
176
181
|
"""Line title."""
|
|
177
|
-
thumbnail_id: builtins.str
|
|
178
|
-
"""ID of the thumbnail."""
|
|
179
|
-
@property
|
|
180
|
-
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
181
|
-
"""Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
|
|
182
|
-
|
|
183
182
|
@property
|
|
184
183
|
def rtmp_push(self) -> global___RTMPPushParams:
|
|
185
184
|
"""RTMP push input type."""
|
|
@@ -190,26 +189,33 @@ class CreateStreamLineRequest(google.protobuf.message.Message):
|
|
|
190
189
|
|
|
191
190
|
@property
|
|
192
191
|
def manual_line(self) -> global___ManualLineParams:
|
|
193
|
-
"""Manual control
|
|
192
|
+
"""Manual stream control."""
|
|
194
193
|
|
|
195
194
|
@property
|
|
196
195
|
def auto_line(self) -> global___AutoLineParams:
|
|
197
|
-
"""Automatic control
|
|
196
|
+
"""Automatic stream control."""
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
200
|
+
"""Custom user-defined labels as key:value pairs.
|
|
201
|
+
Maximum 64 labels per stream line.
|
|
202
|
+
Keys must be lowercase alphanumeric strings with optional hyphens/underscores.
|
|
203
|
+
Values can contain alphanumeric characters and various symbols.
|
|
204
|
+
"""
|
|
198
205
|
|
|
199
206
|
def __init__(
|
|
200
207
|
self,
|
|
201
208
|
*,
|
|
202
209
|
channel_id: builtins.str = ...,
|
|
203
210
|
title: builtins.str = ...,
|
|
204
|
-
thumbnail_id: builtins.str = ...,
|
|
205
|
-
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
206
211
|
rtmp_push: global___RTMPPushParams | None = ...,
|
|
207
212
|
rtmp_pull: global___RTMPPullParams | None = ...,
|
|
208
213
|
manual_line: global___ManualLineParams | None = ...,
|
|
209
214
|
auto_line: global___AutoLineParams | None = ...,
|
|
215
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
210
216
|
) -> None: ...
|
|
211
217
|
def HasField(self, field_name: typing.Literal["auto_line", b"auto_line", "input_params", b"input_params", "line_type_params", b"line_type_params", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push"]) -> builtins.bool: ...
|
|
212
|
-
def ClearField(self, field_name: typing.Literal["auto_line", b"auto_line", "channel_id", b"channel_id", "input_params", b"input_params", "labels", b"labels", "line_type_params", b"line_type_params", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "
|
|
218
|
+
def ClearField(self, field_name: typing.Literal["auto_line", b"auto_line", "channel_id", b"channel_id", "input_params", b"input_params", "labels", b"labels", "line_type_params", b"line_type_params", "manual_line", b"manual_line", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "title", b"title"]) -> None: ...
|
|
213
219
|
@typing.overload
|
|
214
220
|
def WhichOneof(self, oneof_group: typing.Literal["input_params", b"input_params"]) -> typing.Literal["rtmp_push", "rtmp_pull"] | None: ...
|
|
215
221
|
@typing.overload
|
|
@@ -223,7 +229,7 @@ class CreateStreamLineMetadata(google.protobuf.message.Message):
|
|
|
223
229
|
|
|
224
230
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
225
231
|
stream_line_id: builtins.str
|
|
226
|
-
"""ID of the line."""
|
|
232
|
+
"""ID of the stream line."""
|
|
227
233
|
def __init__(
|
|
228
234
|
self,
|
|
229
235
|
*,
|
|
@@ -256,23 +262,20 @@ class UpdateStreamLineRequest(google.protobuf.message.Message):
|
|
|
256
262
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
257
263
|
FIELD_MASK_FIELD_NUMBER: builtins.int
|
|
258
264
|
TITLE_FIELD_NUMBER: builtins.int
|
|
259
|
-
THUMBNAIL_ID_FIELD_NUMBER: builtins.int
|
|
260
|
-
LABELS_FIELD_NUMBER: builtins.int
|
|
261
265
|
RTMP_PUSH_FIELD_NUMBER: builtins.int
|
|
262
266
|
RTMP_PULL_FIELD_NUMBER: builtins.int
|
|
267
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
263
268
|
stream_line_id: builtins.str
|
|
264
269
|
"""ID of the line."""
|
|
265
270
|
title: builtins.str
|
|
266
271
|
"""Line title."""
|
|
267
|
-
thumbnail_id: builtins.str
|
|
268
|
-
"""ID of the thumbnail."""
|
|
269
272
|
@property
|
|
270
273
|
def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
271
|
-
"""Field mask
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
"""
|
|
274
|
+
"""Field mask specifying which fields of the stream line should be updated.
|
|
275
|
+
Only fields specified in this mask will be modified;
|
|
276
|
+
all other fields will retain their current values.
|
|
277
|
+
This allows for partial updates.
|
|
278
|
+
"""
|
|
276
279
|
|
|
277
280
|
@property
|
|
278
281
|
def rtmp_push(self) -> global___RTMPPushParams:
|
|
@@ -282,19 +285,25 @@ class UpdateStreamLineRequest(google.protobuf.message.Message):
|
|
|
282
285
|
def rtmp_pull(self) -> global___RTMPPullParams:
|
|
283
286
|
"""RTMP pull input type."""
|
|
284
287
|
|
|
288
|
+
@property
|
|
289
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
290
|
+
"""New custom labels for the stream line as `key:value` pairs.
|
|
291
|
+
Maximum 64 labels per stream line.
|
|
292
|
+
If provided, replaces all existing labels.
|
|
293
|
+
"""
|
|
294
|
+
|
|
285
295
|
def __init__(
|
|
286
296
|
self,
|
|
287
297
|
*,
|
|
288
298
|
stream_line_id: builtins.str = ...,
|
|
289
299
|
field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
290
300
|
title: builtins.str = ...,
|
|
291
|
-
thumbnail_id: builtins.str = ...,
|
|
292
|
-
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
293
301
|
rtmp_push: global___RTMPPushParams | None = ...,
|
|
294
302
|
rtmp_pull: global___RTMPPullParams | None = ...,
|
|
303
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
295
304
|
) -> None: ...
|
|
296
305
|
def HasField(self, field_name: typing.Literal["field_mask", b"field_mask", "input_params", b"input_params", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push"]) -> builtins.bool: ...
|
|
297
|
-
def ClearField(self, field_name: typing.Literal["field_mask", b"field_mask", "input_params", b"input_params", "labels", b"labels", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "stream_line_id", b"stream_line_id", "
|
|
306
|
+
def ClearField(self, field_name: typing.Literal["field_mask", b"field_mask", "input_params", b"input_params", "labels", b"labels", "rtmp_pull", b"rtmp_pull", "rtmp_push", b"rtmp_push", "stream_line_id", b"stream_line_id", "title", b"title"]) -> None: ...
|
|
298
307
|
def WhichOneof(self, oneof_group: typing.Literal["input_params", b"input_params"]) -> typing.Literal["rtmp_push", "rtmp_pull"] | None: ...
|
|
299
308
|
|
|
300
309
|
global___UpdateStreamLineRequest = UpdateStreamLineRequest
|
|
@@ -305,7 +314,7 @@ class UpdateStreamLineMetadata(google.protobuf.message.Message):
|
|
|
305
314
|
|
|
306
315
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
307
316
|
stream_line_id: builtins.str
|
|
308
|
-
"""ID of the line."""
|
|
317
|
+
"""ID of the stream line."""
|
|
309
318
|
def __init__(
|
|
310
319
|
self,
|
|
311
320
|
*,
|
|
@@ -321,7 +330,7 @@ class DeleteStreamLineRequest(google.protobuf.message.Message):
|
|
|
321
330
|
|
|
322
331
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
323
332
|
stream_line_id: builtins.str
|
|
324
|
-
"""ID of the line."""
|
|
333
|
+
"""ID of the stream line to delete."""
|
|
325
334
|
def __init__(
|
|
326
335
|
self,
|
|
327
336
|
*,
|
|
@@ -337,7 +346,9 @@ class DeleteStreamLineMetadata(google.protobuf.message.Message):
|
|
|
337
346
|
|
|
338
347
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
339
348
|
stream_line_id: builtins.str
|
|
340
|
-
"""ID of the line.
|
|
349
|
+
"""ID of the stream line.
|
|
350
|
+
This identifier can be used to track the stream line deletion operation.
|
|
351
|
+
"""
|
|
341
352
|
def __init__(
|
|
342
353
|
self,
|
|
343
354
|
*,
|
|
@@ -354,10 +365,12 @@ class BatchDeleteStreamLinesRequest(google.protobuf.message.Message):
|
|
|
354
365
|
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
355
366
|
STREAM_LINE_IDS_FIELD_NUMBER: builtins.int
|
|
356
367
|
channel_id: builtins.str
|
|
357
|
-
"""ID of the channel."""
|
|
368
|
+
"""ID of the channel containing the stream lines to delete."""
|
|
358
369
|
@property
|
|
359
370
|
def stream_line_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
360
|
-
"""List of line IDs.
|
|
371
|
+
"""List of stream line IDs to delete.
|
|
372
|
+
All stream lines must exist in the specified channel.
|
|
373
|
+
"""
|
|
361
374
|
|
|
362
375
|
def __init__(
|
|
363
376
|
self,
|
|
@@ -376,7 +389,10 @@ class BatchDeleteStreamLinesMetadata(google.protobuf.message.Message):
|
|
|
376
389
|
STREAM_LINE_IDS_FIELD_NUMBER: builtins.int
|
|
377
390
|
@property
|
|
378
391
|
def stream_line_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
379
|
-
"""List of line IDs.
|
|
392
|
+
"""List of stream line IDs being deleted.
|
|
393
|
+
This list can be used to track which stream lines are included
|
|
394
|
+
in the batch deletion operation.
|
|
395
|
+
"""
|
|
380
396
|
|
|
381
397
|
def __init__(
|
|
382
398
|
self,
|
|
@@ -395,11 +411,19 @@ class PerformLineActionRequest(google.protobuf.message.Message):
|
|
|
395
411
|
ACTIVATE_FIELD_NUMBER: builtins.int
|
|
396
412
|
DEACTIVATE_FIELD_NUMBER: builtins.int
|
|
397
413
|
stream_line_id: builtins.str
|
|
398
|
-
"""ID of the line."""
|
|
414
|
+
"""ID of the stream line on which to perform the action."""
|
|
399
415
|
@property
|
|
400
|
-
def activate(self) -> global___ActivateAction:
|
|
416
|
+
def activate(self) -> global___ActivateAction:
|
|
417
|
+
"""Activate the stream line, enabling it to receive and process video signals.
|
|
418
|
+
This is typically used for automatic stream lines.
|
|
419
|
+
"""
|
|
420
|
+
|
|
401
421
|
@property
|
|
402
|
-
def deactivate(self) -> global___DeactivateAction:
|
|
422
|
+
def deactivate(self) -> global___DeactivateAction:
|
|
423
|
+
"""Deactivate the stream line, disabling it from receiving and processing video signals.
|
|
424
|
+
This is typically used for automatic stream lines.
|
|
425
|
+
"""
|
|
426
|
+
|
|
403
427
|
def __init__(
|
|
404
428
|
self,
|
|
405
429
|
*,
|
|
@@ -419,7 +443,10 @@ class PerformLineActionMetadata(google.protobuf.message.Message):
|
|
|
419
443
|
|
|
420
444
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
421
445
|
stream_line_id: builtins.str
|
|
422
|
-
"""ID of the line.
|
|
446
|
+
"""ID of the stream line on which the action is being performed.
|
|
447
|
+
This identifier can be used to track the action operation
|
|
448
|
+
and to verify that the action is being applied to the correct stream line.
|
|
449
|
+
"""
|
|
423
450
|
def __init__(
|
|
424
451
|
self,
|
|
425
452
|
*,
|
|
@@ -431,6 +458,8 @@ global___PerformLineActionMetadata = PerformLineActionMetadata
|
|
|
431
458
|
|
|
432
459
|
@typing.final
|
|
433
460
|
class RTMPPushParams(google.protobuf.message.Message):
|
|
461
|
+
"""Parameters for creating an RTMP push input type stream line."""
|
|
462
|
+
|
|
434
463
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
435
464
|
|
|
436
465
|
def __init__(
|
|
@@ -441,11 +470,15 @@ global___RTMPPushParams = RTMPPushParams
|
|
|
441
470
|
|
|
442
471
|
@typing.final
|
|
443
472
|
class RTMPPullParams(google.protobuf.message.Message):
|
|
473
|
+
"""Parameters for creating an RTMP pull input type stream line."""
|
|
474
|
+
|
|
444
475
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
445
476
|
|
|
446
477
|
URL_FIELD_NUMBER: builtins.int
|
|
447
478
|
url: builtins.str
|
|
448
|
-
"""URL
|
|
479
|
+
"""The RTMP URL from which to pull the video stream.
|
|
480
|
+
Must be a valid RTMP URL starting with "rtmp://".
|
|
481
|
+
"""
|
|
449
482
|
def __init__(
|
|
450
483
|
self,
|
|
451
484
|
*,
|
|
@@ -457,6 +490,8 @@ global___RTMPPullParams = RTMPPullParams
|
|
|
457
490
|
|
|
458
491
|
@typing.final
|
|
459
492
|
class ManualLineParams(google.protobuf.message.Message):
|
|
493
|
+
"""Parameters for manual stream line."""
|
|
494
|
+
|
|
460
495
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
461
496
|
|
|
462
497
|
def __init__(
|
|
@@ -467,6 +502,8 @@ global___ManualLineParams = ManualLineParams
|
|
|
467
502
|
|
|
468
503
|
@typing.final
|
|
469
504
|
class AutoLineParams(google.protobuf.message.Message):
|
|
505
|
+
"""Parameters for auto stream line."""
|
|
506
|
+
|
|
470
507
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
471
508
|
|
|
472
509
|
def __init__(
|
|
@@ -477,6 +514,8 @@ global___AutoLineParams = AutoLineParams
|
|
|
477
514
|
|
|
478
515
|
@typing.final
|
|
479
516
|
class ActivateAction(google.protobuf.message.Message):
|
|
517
|
+
"""Parameters for the activate action."""
|
|
518
|
+
|
|
480
519
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
481
520
|
|
|
482
521
|
def __init__(
|
|
@@ -487,6 +526,8 @@ global___ActivateAction = ActivateAction
|
|
|
487
526
|
|
|
488
527
|
@typing.final
|
|
489
528
|
class DeactivateAction(google.protobuf.message.Message):
|
|
529
|
+
"""Parameters for the deactivate action."""
|
|
530
|
+
|
|
490
531
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
491
532
|
|
|
492
533
|
def __init__(
|
|
@@ -501,7 +542,9 @@ class GetStreamKeyRequest(google.protobuf.message.Message):
|
|
|
501
542
|
|
|
502
543
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
503
544
|
stream_line_id: builtins.str
|
|
504
|
-
"""ID of the line.
|
|
545
|
+
"""ID of the stream line for which to retrieve the stream key.
|
|
546
|
+
The stream line must be a push-type input (RTMP push or SRT push).
|
|
547
|
+
"""
|
|
505
548
|
def __init__(
|
|
506
549
|
self,
|
|
507
550
|
*,
|
|
@@ -517,7 +560,9 @@ class UpdateStreamKeyRequest(google.protobuf.message.Message):
|
|
|
517
560
|
|
|
518
561
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
519
562
|
stream_line_id: builtins.str
|
|
520
|
-
"""ID of the line.
|
|
563
|
+
"""ID of the stream line for which to update the stream key.
|
|
564
|
+
The stream line must be a push-type input (RTMP push or SRT push).
|
|
565
|
+
"""
|
|
521
566
|
def __init__(
|
|
522
567
|
self,
|
|
523
568
|
*,
|
|
@@ -533,7 +578,7 @@ class UpdateStreamKeyMetadata(google.protobuf.message.Message):
|
|
|
533
578
|
|
|
534
579
|
STREAM_LINE_ID_FIELD_NUMBER: builtins.int
|
|
535
580
|
stream_line_id: builtins.str
|
|
536
|
-
"""ID of the line."""
|
|
581
|
+
"""ID of the stream line."""
|
|
537
582
|
def __init__(
|
|
538
583
|
self,
|
|
539
584
|
*,
|
|
@@ -29,6 +29,8 @@ if _version_not_supported:
|
|
|
29
29
|
|
|
30
30
|
class StreamLineServiceStub(object):
|
|
31
31
|
"""Stream line management service.
|
|
32
|
+
Provides methods for creating, retrieving, updating, and deleting stream lines,
|
|
33
|
+
which define the technical configuration for receiving and processing video signals.
|
|
32
34
|
"""
|
|
33
35
|
|
|
34
36
|
def __init__(self, channel):
|
|
@@ -91,73 +93,84 @@ class StreamLineServiceStub(object):
|
|
|
91
93
|
|
|
92
94
|
class StreamLineServiceServicer(object):
|
|
93
95
|
"""Stream line management service.
|
|
96
|
+
Provides methods for creating, retrieving, updating, and deleting stream lines,
|
|
97
|
+
which define the technical configuration for receiving and processing video signals.
|
|
94
98
|
"""
|
|
95
99
|
|
|
96
100
|
def Get(self, request, context):
|
|
97
|
-
"""
|
|
101
|
+
"""Retrieves detailed information about a specific stream line by its ID.
|
|
102
|
+
Returns all stream line metadata, configuration, and related information.
|
|
98
103
|
"""
|
|
99
104
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
100
105
|
context.set_details('Method not implemented!')
|
|
101
106
|
raise NotImplementedError('Method not implemented!')
|
|
102
107
|
|
|
103
108
|
def List(self, request, context):
|
|
104
|
-
"""
|
|
109
|
+
"""Lists all stream lines in a specific channel with pagination support.
|
|
110
|
+
Results can be filtered and sorted using the provided parameters.
|
|
105
111
|
"""
|
|
106
112
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
113
|
context.set_details('Method not implemented!')
|
|
108
114
|
raise NotImplementedError('Method not implemented!')
|
|
109
115
|
|
|
110
116
|
def BatchGet(self, request, context):
|
|
111
|
-
"""
|
|
117
|
+
"""Retrieves multiple stream lines by their IDs in a specific channel in a single request.
|
|
118
|
+
This is more efficient than making multiple Get requests when retrieving several stream lines.
|
|
112
119
|
"""
|
|
113
120
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
114
121
|
context.set_details('Method not implemented!')
|
|
115
122
|
raise NotImplementedError('Method not implemented!')
|
|
116
123
|
|
|
117
124
|
def Create(self, request, context):
|
|
118
|
-
"""
|
|
125
|
+
"""Creates a new stream line in the specified channel with the provided configuration.
|
|
126
|
+
Stream lines define the technical settings for receiving and processing video signals.
|
|
119
127
|
"""
|
|
120
128
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
121
129
|
context.set_details('Method not implemented!')
|
|
122
130
|
raise NotImplementedError('Method not implemented!')
|
|
123
131
|
|
|
124
132
|
def Update(self, request, context):
|
|
125
|
-
"""
|
|
133
|
+
"""Updates an existing stream line's metadata and configuration.
|
|
134
|
+
Only fields specified in the field_mask will be updated.
|
|
126
135
|
"""
|
|
127
136
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
128
137
|
context.set_details('Method not implemented!')
|
|
129
138
|
raise NotImplementedError('Method not implemented!')
|
|
130
139
|
|
|
131
140
|
def Delete(self, request, context):
|
|
132
|
-
"""
|
|
141
|
+
"""Deletes a specific stream line by its ID.
|
|
133
142
|
"""
|
|
134
143
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
135
144
|
context.set_details('Method not implemented!')
|
|
136
145
|
raise NotImplementedError('Method not implemented!')
|
|
137
146
|
|
|
138
147
|
def BatchDelete(self, request, context):
|
|
139
|
-
"""
|
|
148
|
+
"""Deletes multiple stream lines in a specific channel in a single request.
|
|
149
|
+
This is more efficient than making multiple Delete requests when removing several stream lines.
|
|
140
150
|
"""
|
|
141
151
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
142
152
|
context.set_details('Method not implemented!')
|
|
143
153
|
raise NotImplementedError('Method not implemented!')
|
|
144
154
|
|
|
145
155
|
def PerformAction(self, request, context):
|
|
146
|
-
"""
|
|
156
|
+
"""Performs a specific action on a stream line, such as activation or deactivation.
|
|
157
|
+
Actions change the stream line's state without modifying its configuration.
|
|
147
158
|
"""
|
|
148
159
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
149
160
|
context.set_details('Method not implemented!')
|
|
150
161
|
raise NotImplementedError('Method not implemented!')
|
|
151
162
|
|
|
152
163
|
def GetStreamKey(self, request, context):
|
|
153
|
-
"""
|
|
164
|
+
"""Retrieves the unique stream key for a push-type stream line.
|
|
165
|
+
This key is used to authenticate when pushing video streams to the platform.
|
|
154
166
|
"""
|
|
155
167
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
156
168
|
context.set_details('Method not implemented!')
|
|
157
169
|
raise NotImplementedError('Method not implemented!')
|
|
158
170
|
|
|
159
171
|
def UpdateStreamKey(self, request, context):
|
|
160
|
-
"""
|
|
172
|
+
"""Regenerates and updates the stream key for a push-type stream line.
|
|
173
|
+
This is useful for security purposes when the existing key may be compromised.
|
|
161
174
|
"""
|
|
162
175
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
163
176
|
context.set_details('Method not implemented!')
|
|
@@ -226,6 +239,8 @@ def add_StreamLineServiceServicer_to_server(servicer, server):
|
|
|
226
239
|
# This class is part of an EXPERIMENTAL API.
|
|
227
240
|
class StreamLineService(object):
|
|
228
241
|
"""Stream line management service.
|
|
242
|
+
Provides methods for creating, retrieving, updating, and deleting stream lines,
|
|
243
|
+
which define the technical configuration for receiving and processing video signals.
|
|
229
244
|
"""
|
|
230
245
|
|
|
231
246
|
@staticmethod
|