yandexcloud 0.351.0__py3-none-any.whl → 0.353.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of yandexcloud might be problematic. Click here for more details.

Files changed (163) hide show
  1. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +18 -18
  2. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +18 -2
  3. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +13 -3
  4. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +40 -0
  5. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
  6. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
  7. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
  8. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
  9. yandex/cloud/baremetal/v1alpha/server_pb2.py +13 -11
  10. yandex/cloud/cdn/v1/origin_group_pb2.py +3 -3
  11. yandex/cloud/cdn/v1/origin_group_pb2.pyi +5 -1
  12. yandex/cloud/cdn/v1/origin_group_service_pb2.py +14 -14
  13. yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +5 -1
  14. yandex/cloud/cdn/v1/origin_pb2.py +10 -10
  15. yandex/cloud/cdn/v1/origin_pb2.pyi +5 -1
  16. yandex/cloud/cdn/v1/origin_service_pb2.py +14 -14
  17. yandex/cloud/cdn/v1/origin_service_pb2.pyi +5 -1
  18. yandex/cloud/cdn/v1/resource_pb2.py +64 -64
  19. yandex/cloud/cdn/v1/resource_pb2.pyi +9 -1
  20. yandex/cloud/cdn/v1/resource_service_pb2.py +26 -26
  21. yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
  22. yandex/cloud/connectionmanager/__init__.py +0 -0
  23. yandex/cloud/connectionmanager/v1/__init__.py +0 -0
  24. yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +46 -0
  25. yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +138 -0
  26. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.py +24 -0
  27. yandex/cloud/connectionmanager/v1/clickhouse_pb2_grpc.pyi +17 -0
  28. yandex/cloud/connectionmanager/v1/common_pb2.py +49 -0
  29. yandex/cloud/connectionmanager/v1/common_pb2.pyi +187 -0
  30. yandex/cloud/connectionmanager/v1/common_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/common_pb2_grpc.pyi +17 -0
  32. yandex/cloud/connectionmanager/v1/connection_pb2.py +58 -0
  33. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +205 -0
  34. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.py +24 -0
  35. yandex/cloud/connectionmanager/v1/connection_pb2_grpc.pyi +17 -0
  36. yandex/cloud/connectionmanager/v1/connection_service_pb2.py +91 -0
  37. yandex/cloud/connectionmanager/v1/connection_service_pb2.pyi +320 -0
  38. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.py +362 -0
  39. yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +163 -0
  40. yandex/cloud/connectionmanager/v1/greenplum_pb2.py +48 -0
  41. yandex/cloud/connectionmanager/v1/greenplum_pb2.pyi +151 -0
  42. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.py +24 -0
  43. yandex/cloud/connectionmanager/v1/greenplum_pb2_grpc.pyi +17 -0
  44. yandex/cloud/connectionmanager/v1/mongodb_pb2.py +50 -0
  45. yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +169 -0
  46. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.py +24 -0
  47. yandex/cloud/connectionmanager/v1/mongodb_pb2_grpc.pyi +17 -0
  48. yandex/cloud/connectionmanager/v1/mysql_pb2.py +48 -0
  49. yandex/cloud/connectionmanager/v1/mysql_pb2.pyi +151 -0
  50. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.py +24 -0
  51. yandex/cloud/connectionmanager/v1/mysql_pb2_grpc.pyi +17 -0
  52. yandex/cloud/connectionmanager/v1/opensearch_pb2.py +48 -0
  53. yandex/cloud/connectionmanager/v1/opensearch_pb2.pyi +148 -0
  54. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.py +24 -0
  55. yandex/cloud/connectionmanager/v1/opensearch_pb2_grpc.pyi +17 -0
  56. yandex/cloud/connectionmanager/v1/package_options_pb2.py +35 -0
  57. yandex/cloud/connectionmanager/v1/package_options_pb2.pyi +8 -0
  58. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.py +24 -0
  59. yandex/cloud/connectionmanager/v1/package_options_pb2_grpc.pyi +17 -0
  60. yandex/cloud/connectionmanager/v1/postgresql_pb2.py +50 -0
  61. yandex/cloud/connectionmanager/v1/postgresql_pb2.pyi +171 -0
  62. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.py +24 -0
  63. yandex/cloud/connectionmanager/v1/postgresql_pb2_grpc.pyi +17 -0
  64. yandex/cloud/connectionmanager/v1/redis_pb2.py +50 -0
  65. yandex/cloud/connectionmanager/v1/redis_pb2.pyi +163 -0
  66. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.py +24 -0
  67. yandex/cloud/connectionmanager/v1/redis_pb2_grpc.pyi +17 -0
  68. yandex/cloud/connectionmanager/v1/trino_pb2.py +44 -0
  69. yandex/cloud/connectionmanager/v1/trino_pb2.pyi +88 -0
  70. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.py +24 -0
  71. yandex/cloud/connectionmanager/v1/trino_pb2_grpc.pyi +17 -0
  72. yandex/cloud/connectionmanager/v1/valkey_pb2.py +50 -0
  73. yandex/cloud/connectionmanager/v1/valkey_pb2.pyi +173 -0
  74. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.py +24 -0
  75. yandex/cloud/connectionmanager/v1/valkey_pb2_grpc.pyi +17 -0
  76. yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
  77. yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
  78. yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
  79. yandex/cloud/mdb/greenplum/v1/hba_rule_pb2.py +9 -5
  80. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +94 -76
  81. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +239 -14
  82. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -76
  83. yandex/cloud/metastore/v1/cluster_pb2.py +19 -19
  84. yandex/cloud/metastore/v1/cluster_pb2.pyi +39 -32
  85. yandex/cloud/metastore/v1/cluster_service_pb2.py +47 -47
  86. yandex/cloud/metastore/v1/cluster_service_pb2.pyi +90 -91
  87. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.py +63 -66
  88. yandex/cloud/metastore/v1/cluster_service_pb2_grpc.pyi +62 -77
  89. yandex/cloud/organizationmanager/v1/saml/federation_pb2.py +17 -3
  90. yandex/cloud/organizationmanager/v1/saml/federation_pb2.pyi +209 -0
  91. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +55 -3
  92. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +231 -0
  93. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +222 -0
  94. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +109 -0
  95. yandex/cloud/quotamanager/v1/quota_request_service_pb2.py +3 -3
  96. yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +12 -10
  97. yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
  98. yandex/cloud/video/v1/channel_pb2.py +12 -12
  99. yandex/cloud/video/v1/channel_pb2.pyi +88 -22
  100. yandex/cloud/video/v1/channel_service_pb2.py +14 -14
  101. yandex/cloud/video/v1/channel_service_pb2.pyi +77 -41
  102. yandex/cloud/video/v1/channel_service_pb2_grpc.py +26 -9
  103. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +87 -30
  104. yandex/cloud/video/v1/episode_pb2.py +8 -10
  105. yandex/cloud/video/v1/episode_pb2.pyi +52 -36
  106. yandex/cloud/video/v1/episode_service_pb2.py +44 -42
  107. yandex/cloud/video/v1/episode_service_pb2.pyi +131 -82
  108. yandex/cloud/video/v1/episode_service_pb2_grpc.py +30 -10
  109. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +102 -33
  110. yandex/cloud/video/v1/manifest_pb2.pyi +24 -1
  111. yandex/cloud/video/v1/playlist_pb2.py +4 -6
  112. yandex/cloud/video/v1/playlist_pb2.pyi +24 -12
  113. yandex/cloud/video/v1/playlist_service_pb2.py +28 -24
  114. yandex/cloud/video/v1/playlist_service_pb2.pyi +99 -47
  115. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +20 -7
  116. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +75 -24
  117. yandex/cloud/video/v1/stream_line_pb2.py +16 -16
  118. yandex/cloud/video/v1/stream_line_pb2.pyi +11 -12
  119. yandex/cloud/video/v1/stream_line_service_pb2.py +54 -56
  120. yandex/cloud/video/v1/stream_line_service_pb2.pyi +110 -65
  121. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +25 -10
  122. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +96 -33
  123. yandex/cloud/video/v1/stream_pb2.pyi +49 -36
  124. yandex/cloud/video/v1/stream_service_pb2.pyi +123 -52
  125. yandex/cloud/video/v1/stream_service_pb2_grpc.py +25 -8
  126. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +84 -27
  127. yandex/cloud/video/v1/style_preset_pb2.py +49 -0
  128. yandex/cloud/video/v1/style_preset_pb2.pyi +200 -0
  129. yandex/cloud/video/v1/style_preset_pb2_grpc.py +24 -0
  130. yandex/cloud/video/v1/style_preset_pb2_grpc.pyi +17 -0
  131. yandex/cloud/video/v1/style_preset_service_pb2.py +141 -0
  132. yandex/cloud/video/v1/style_preset_service_pb2.pyi +348 -0
  133. yandex/cloud/video/v1/style_preset_service_pb2_grpc.py +290 -0
  134. yandex/cloud/video/v1/style_preset_service_pb2_grpc.pyi +171 -0
  135. yandex/cloud/video/v1/subtitle_pb2.pyi +32 -23
  136. yandex/cloud/video/v1/subtitle_service_pb2.py +17 -17
  137. yandex/cloud/video/v1/subtitle_service_pb2.pyi +25 -13
  138. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +18 -5
  139. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +63 -18
  140. yandex/cloud/video/v1/thumbnail_pb2.py +3 -3
  141. yandex/cloud/video/v1/thumbnail_pb2.pyi +18 -5
  142. yandex/cloud/video/v1/thumbnail_service_pb2.py +39 -31
  143. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +94 -33
  144. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +21 -6
  145. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +75 -21
  146. yandex/cloud/video/v1/video_pb2.py +24 -24
  147. yandex/cloud/video/v1/video_pb2.pyi +105 -64
  148. yandex/cloud/video/v1/video_service_pb2.py +80 -74
  149. yandex/cloud/video/v1/video_service_pb2.pyi +193 -90
  150. yandex/cloud/video/v1/video_service_pb2_grpc.py +35 -12
  151. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +123 -39
  152. yandex/cloud/ytsaurus/v1/package_options_pb2.py +35 -0
  153. yandex/cloud/ytsaurus/v1/package_options_pb2.pyi +8 -0
  154. yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.py +24 -0
  155. yandex/cloud/ytsaurus/v1/package_options_pb2_grpc.pyi +17 -0
  156. yandexcloud/__init__.py +1 -1
  157. yandexcloud/_wrappers/dataproc/__init__.py +4 -0
  158. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/METADATA +1 -1
  159. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/RECORD +163 -97
  160. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/AUTHORS +0 -0
  161. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/LICENSE +0 -0
  162. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/WHEEL +0 -0
  163. {yandexcloud-0.351.0.dist-info → yandexcloud-0.353.0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,12 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
15
 
16
16
  @typing.final
17
17
  class Channel(google.protobuf.message.Message):
18
- """Root entity for content separation."""
18
+ """Root entity for content organization and separation within the video platform.
19
+ A channel serves as a container for videos and streams, providing a way to
20
+ group related content and apply common settings and access controls.
21
+ Each channel belongs to a specific organization and can have its own
22
+ configuration for advertisements, content cleanup, and embedding restrictions.
23
+ """
19
24
 
20
25
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
26
 
@@ -39,33 +44,57 @@ class Channel(google.protobuf.message.Message):
39
44
  ORGANIZATION_ID_FIELD_NUMBER: builtins.int
40
45
  TITLE_FIELD_NUMBER: builtins.int
41
46
  DESCRIPTION_FIELD_NUMBER: builtins.int
47
+ DEFAULT_STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
42
48
  CREATED_AT_FIELD_NUMBER: builtins.int
43
49
  UPDATED_AT_FIELD_NUMBER: builtins.int
44
50
  LABELS_FIELD_NUMBER: builtins.int
45
51
  SETTINGS_FIELD_NUMBER: builtins.int
46
52
  id: builtins.str
47
- """ID of the channel."""
53
+ """Unique identifier of the channel.
54
+ This ID is used to reference the channel in API calls and URLs.
55
+ """
48
56
  organization_id: builtins.str
49
- """ID of the organization where channel should be created."""
57
+ """Identifier of the organization to which this channel belongs.
58
+ Each channel must be associated with exactly one organization.
59
+ """
50
60
  title: builtins.str
51
- """Channel title."""
61
+ """Title of the channel displayed in interfaces.
62
+ This is the primary display name shown to users.
63
+ """
52
64
  description: builtins.str
53
- """Channel description."""
65
+ """Detailed description of the channel's purpose and content.
66
+ This optional field provides additional context about the channel.
67
+ """
68
+ default_style_preset_id: builtins.str
69
+ """Identifier of the default style preset applied to videos in this channel.
70
+ Videos, episodes, and playlists created in this channel
71
+ inherit this preset unless explicitly overridden.
72
+ """
54
73
  @property
55
74
  def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
56
- """Time when channel was created."""
75
+ """Timestamp when the channel was initially created.
76
+ This value is set automatically by the system and cannot be modified.
77
+ """
57
78
 
58
79
  @property
59
80
  def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
60
- """Time of last channel update."""
81
+ """Timestamp of the last modification to the channel or its settings.
82
+ This value is updated automatically whenever the channel is modified.
83
+ """
61
84
 
62
85
  @property
63
86
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
64
- """Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
87
+ """Custom user-defined labels as `key:value` pairs.
88
+ Maximum 64 labels per channel.
89
+ Labels can be used for organization, filtering, and metadata purposes.
90
+ """
65
91
 
66
92
  @property
67
93
  def settings(self) -> global___ChannelSettings:
68
- """Channel settings."""
94
+ """Configuration settings for the channel's behavior and features.
95
+ These settings control advertisements, content cleanup policies,
96
+ and embedding restrictions for all content in the channel.
97
+ """
69
98
 
70
99
  def __init__(
71
100
  self,
@@ -74,19 +103,23 @@ class Channel(google.protobuf.message.Message):
74
103
  organization_id: builtins.str = ...,
75
104
  title: builtins.str = ...,
76
105
  description: builtins.str = ...,
106
+ default_style_preset_id: builtins.str = ...,
77
107
  created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
78
108
  updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
79
109
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
80
110
  settings: global___ChannelSettings | None = ...,
81
111
  ) -> None: ...
82
112
  def HasField(self, field_name: typing.Literal["created_at", b"created_at", "settings", b"settings", "updated_at", b"updated_at"]) -> builtins.bool: ...
83
- def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "id", b"id", "labels", b"labels", "organization_id", b"organization_id", "settings", b"settings", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
113
+ def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "default_style_preset_id", b"default_style_preset_id", "description", b"description", "id", b"id", "labels", b"labels", "organization_id", b"organization_id", "settings", b"settings", "title", b"title", "updated_at", b"updated_at"]) -> None: ...
84
114
 
85
115
  global___Channel = Channel
86
116
 
87
117
  @typing.final
88
118
  class ChannelSettings(google.protobuf.message.Message):
89
- """Channel settings."""
119
+ """Configuration settings for the channel's behavior and features.
120
+ These settings apply to all content in the channel and control
121
+ various aspects of how the channel and its content behave.
122
+ """
90
123
 
91
124
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
92
125
 
@@ -94,11 +127,17 @@ class ChannelSettings(google.protobuf.message.Message):
94
127
  REFERER_VERIFICATION_FIELD_NUMBER: builtins.int
95
128
  @property
96
129
  def advertisement(self) -> global___AdvertisementSettings:
97
- """Advertisement settings."""
130
+ """Settings for advertisement display and behavior.
131
+ Controls whether and how advertisements are shown with content in this channel.
132
+ If not specified, default advertisement settings are applied.
133
+ """
98
134
 
99
135
  @property
100
136
  def referer_verification(self) -> global___RefererVerificationSettings:
101
- """Referer verification settings"""
137
+ """Settings for HTTP Referer verification to control content embedding.
138
+ Restricts which domains can embed content from this channel.
139
+ If not specified or disabled, content can be embedded on any domain.
140
+ """
102
141
 
103
142
  def __init__(
104
143
  self,
@@ -113,13 +152,18 @@ global___ChannelSettings = ChannelSettings
113
152
 
114
153
  @typing.final
115
154
  class AdvertisementSettings(google.protobuf.message.Message):
116
- """Advertisement settings."""
155
+ """Settings for advertisement display and behavior in the channel.
156
+ These settings control whether and how advertisements are shown
157
+ with content in this channel, including both videos and streams.
158
+ """
117
159
 
118
160
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
119
161
 
120
162
  @typing.final
121
163
  class YandexDirect(google.protobuf.message.Message):
122
- """YandexDirect provider settings."""
164
+ """Configuration for the Yandex.Direct advertisement provider.
165
+ These settings are specific to the Yandex.Direct advertising platform.
166
+ """
123
167
 
124
168
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
125
169
 
@@ -127,11 +171,20 @@ class AdvertisementSettings(google.protobuf.message.Message):
127
171
  PAGE_ID_FIELD_NUMBER: builtins.int
128
172
  CATEGORY_FIELD_NUMBER: builtins.int
129
173
  enable: builtins.bool
130
- """Enable Partner Ad for Live and VOD content."""
174
+ """Enables or disables Partner Ad for both Live and VOD content.
175
+ When set to true, advertisements will be shown with content.
176
+ When set to false, no advertisements will be shown.
177
+ """
131
178
  page_id: builtins.int
132
- """Advertisement page ID."""
179
+ """Yandex.Direct page identifier.
180
+ This ID is used to associate the channel with a specific page
181
+ in the Yandex.Direct system for targeting and reporting.
182
+ """
133
183
  category: builtins.int
134
- """Advertisement category."""
184
+ """Yandex.Direct category identifier.
185
+ This ID is used to categorize the channel's content for
186
+ appropriate advertisement targeting and compliance.
187
+ """
135
188
  def __init__(
136
189
  self,
137
190
  *,
@@ -143,7 +196,11 @@ class AdvertisementSettings(google.protobuf.message.Message):
143
196
 
144
197
  YANDEX_DIRECT_FIELD_NUMBER: builtins.int
145
198
  @property
146
- def yandex_direct(self) -> global___AdvertisementSettings.YandexDirect: ...
199
+ def yandex_direct(self) -> global___AdvertisementSettings.YandexDirect:
200
+ """Yandex.Direct advertisement provider settings.
201
+ When specified, advertisements will be served through Yandex.Direct.
202
+ """
203
+
147
204
  def __init__(
148
205
  self,
149
206
  *,
@@ -157,17 +214,26 @@ global___AdvertisementSettings = AdvertisementSettings
157
214
 
158
215
  @typing.final
159
216
  class RefererVerificationSettings(google.protobuf.message.Message):
160
- """Referer verification settings."""
217
+ """Settings for HTTP Referer verification to control where content can be embedded.
218
+ When enabled, the system checks the HTTP Referer request header to ensure
219
+ that content is only embedded on allowed domains.
220
+ """
161
221
 
162
222
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
163
223
 
164
224
  ENABLE_FIELD_NUMBER: builtins.int
165
225
  ALLOWED_DOMAINS_FIELD_NUMBER: builtins.int
166
226
  enable: builtins.bool
167
- """Enable verification"""
227
+ """Enables or disables Referer verification for this channel.
228
+ When set to true, only requests from allowed domains will be permitted.
229
+ When set to false, content can be embedded on any domain.
230
+ """
168
231
  @property
169
232
  def allowed_domains(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
170
- """List of available domains"""
233
+ """List of domains allowed to embed content from this channel.
234
+ Only relevant when enable is set to true.
235
+ Supports wildcard notation (e.g., "*.example.com") to allow all subdomains.
236
+ """
171
237
 
172
238
  def __init__(
173
239
  self,
@@ -31,7 +31,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
31
31
  from yandex.cloud.video.v1 import channel_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_channel__pb2
32
32
 
33
33
 
34
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/channel.proto\"5\n\x11GetChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xb9\x01\n\x13ListChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000\x12\x1a\n\x08order_by\x18\x66 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"g\n\x14ListChannelsResponse\x12\x30\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xfc\x02\n\x14\x43reateChannelRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x05title\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=300\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=4000\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.CreateChannelRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-Z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x39\n\x08settings\x18\xc9\x01 \x01(\x0b\x32&.yandex.cloud.video.v1.ChannelSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x04\x10\xc8\x01\"+\n\x15\x43reateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"\xa9\x03\n\x14UpdateChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x18\n\x05title\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=300\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=4000\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.UpdateChannelRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-Z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x39\n\x08settings\x18\xc9\x01 \x01(\x0b\x32&.yandex.cloud.video.v1.ChannelSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x05\x10\xc8\x01\"+\n\x15UpdateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"k\n\x1a\x42\x61tchDeleteChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0b\x63hannel_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"2\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x13\n\x0b\x63hannel_ids\x18\x01 \x03(\t2\xf8\x0c\n\x0e\x43hannelService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetChannelRequest\x1a\x1e.yandex.cloud.video.v1.Channel\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/channels/{channel_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListChannelsRequest\x1a+.yandex.cloud.video.v1.ListChannelsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/channels\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateChannelRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/channels:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateChannelRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02$2\x1f/video/v1/channels/{channel_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteChannelRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteChannelMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/channels/{channel_id}\x12\xc6\x01\n\x0b\x42\x61tchDelete\x12\x31.yandex.cloud.video.v1.BatchDeleteChannelsRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*4\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#\"\x1e/video/v1/channels:batchDelete:\x01*\x12\xb2\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/video/v1/channels/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02\x37\"2/video/v1/channels/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:25/video/v1/channels/{resource_id}:updateAccessBindings:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
34
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/channel.proto\"5\n\x11GetChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xb9\x01\n\x13ListChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1f\n\npage_token\x18\x65 \x01(\tB\x0b\x8a\xc8\x31\x07<=15000\x12\x1a\n\x08order_by\x18\x66 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"g\n\x14ListChannelsResponse\x12\x30\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xfc\x02\n\x14\x43reateChannelRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1c\n\x05title\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=300\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=4000\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.CreateChannelRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-Z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x39\n\x08settings\x18\xc9\x01 \x01(\x0b\x32&.yandex.cloud.video.v1.ChannelSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x04\x10\xc8\x01\"+\n\x15\x43reateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"\xca\x03\n\x14UpdateChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x18\n\x05title\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=300\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=4000\x12\x1f\n\x17\x64\x65\x66\x61ult_style_preset_id\x18\x05 \x01(\t\x12\x8c\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.UpdateChannelRequest.LabelsEntryBB\xf2\xc7\x31\x12[-_.@:/0-9a-zA-Z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x39\n\x08settings\x18\xc9\x01 \x01(\x0b\x32&.yandex.cloud.video.v1.ChannelSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x06\x10\xc8\x01\"+\n\x15UpdateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"k\n\x1a\x42\x61tchDeleteChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0b\x63hannel_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"2\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x13\n\x0b\x63hannel_ids\x18\x01 \x03(\t2\xf8\x0c\n\x0e\x43hannelService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetChannelRequest\x1a\x1e.yandex.cloud.video.v1.Channel\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/channels/{channel_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListChannelsRequest\x1a+.yandex.cloud.video.v1.ListChannelsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/channels\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateChannelRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/channels:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateChannelRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02$2\x1f/video/v1/channels/{channel_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteChannelRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteChannelMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/channels/{channel_id}\x12\xc6\x01\n\x0b\x42\x61tchDelete\x12\x31.yandex.cloud.video.v1.BatchDeleteChannelsRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*4\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#\"\x1e/video/v1/channels:batchDelete:\x01*\x12\xb2\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/video/v1/channels/{resource_id}:listAccessBindings\x12\xf1\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*H\n access.SetAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02\x37\"2/video/v1/channels/{resource_id}:setAccessBindings:\x01*\x12\xfd\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x8f\x01\xb2\xd2*K\n#access.UpdateAccessBindingsMetadata\x12$access.AccessBindingsOperationResult\x82\xd3\xe4\x93\x02:25/video/v1/channels/{resource_id}:updateAccessBindings:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
35
35
 
36
36
  _globals = globals()
37
37
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -110,19 +110,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
110
110
  _globals['_CREATECHANNELMETADATA']._serialized_start=1041
111
111
  _globals['_CREATECHANNELMETADATA']._serialized_end=1084
112
112
  _globals['_UPDATECHANNELREQUEST']._serialized_start=1087
113
- _globals['_UPDATECHANNELREQUEST']._serialized_end=1512
113
+ _globals['_UPDATECHANNELREQUEST']._serialized_end=1545
114
114
  _globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=987
115
115
  _globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=1032
116
- _globals['_UPDATECHANNELMETADATA']._serialized_start=1514
117
- _globals['_UPDATECHANNELMETADATA']._serialized_end=1557
118
- _globals['_DELETECHANNELREQUEST']._serialized_start=1559
119
- _globals['_DELETECHANNELREQUEST']._serialized_end=1615
120
- _globals['_DELETECHANNELMETADATA']._serialized_start=1617
121
- _globals['_DELETECHANNELMETADATA']._serialized_end=1660
122
- _globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=1662
123
- _globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=1769
124
- _globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=1771
125
- _globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=1821
126
- _globals['_CHANNELSERVICE']._serialized_start=1824
127
- _globals['_CHANNELSERVICE']._serialized_end=3480
116
+ _globals['_UPDATECHANNELMETADATA']._serialized_start=1547
117
+ _globals['_UPDATECHANNELMETADATA']._serialized_end=1590
118
+ _globals['_DELETECHANNELREQUEST']._serialized_start=1592
119
+ _globals['_DELETECHANNELREQUEST']._serialized_end=1648
120
+ _globals['_DELETECHANNELMETADATA']._serialized_start=1650
121
+ _globals['_DELETECHANNELMETADATA']._serialized_end=1693
122
+ _globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=1695
123
+ _globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=1802
124
+ _globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=1804
125
+ _globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=1854
126
+ _globals['_CHANNELSERVICE']._serialized_start=1857
127
+ _globals['_CHANNELSERVICE']._serialized_end=3513
128
128
  # @@protoc_insertion_point(module_scope)
@@ -20,7 +20,7 @@ class GetChannelRequest(google.protobuf.message.Message):
20
20
 
21
21
  CHANNEL_ID_FIELD_NUMBER: builtins.int
22
22
  channel_id: builtins.str
23
- """ID of the channel."""
23
+ """ID of the channel to retrieve."""
24
24
  def __init__(
25
25
  self,
26
26
  *,
@@ -40,32 +40,34 @@ class ListChannelsRequest(google.protobuf.message.Message):
40
40
  ORDER_BY_FIELD_NUMBER: builtins.int
41
41
  FILTER_FIELD_NUMBER: builtins.int
42
42
  organization_id: builtins.str
43
- """ID of the organization."""
43
+ """ID of the organization containing the channels to list."""
44
44
  page_size: builtins.int
45
- """The maximum number of the results per page to return.
46
- Default value: 100.
47
- """
45
+ """The maximum number of channels to return per page."""
48
46
  page_token: builtins.str
49
- """Page token for getting the next page of the result."""
47
+ """Page token for retrieving the next page of results.
48
+ This token is obtained from the next_page_token field in the previous ListChannelsResponse.
49
+ """
50
50
  order_by: builtins.str
51
- """By which column the listing should be ordered and in which direction,
52
- format is "<field> <order>" (e.g. "createdAt desc").
51
+ """Specifies the ordering of results.
52
+ Format is "<field> <order>" (e.g., "createdAt desc").
53
53
  Default: "id asc".
54
- Possible fields: ["id", "title", "createdAt", "updatedAt"].
55
- Both snake_case and camelCase are supported for fields.
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 that filters resources listed in the response.
59
- Expressions are composed of terms connected by logic operators.
60
- If value contains spaces or quotes,
61
- it should be in quotes (`'` or `"`) with the inner quotes being backslash escaped.
58
+ """Filter expression to narrow down the list of returned channels.
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 string match operators: ["=", "!=", ":"].
64
- Operator ":" stands for substring matching.
65
- Filter expressions may also contain parentheses to group logical operands.
66
- Example: `key1='value' AND (key2!='\\'value\\'' OR key2:"\\"value\\"")`
67
- Supported fields: ["id", "title"].
68
- Both snake_case and camelCase are supported for fields.
64
+ Supported comparison operators: ["=", "!=", ":"] where ":" enables substring matching.
65
+ Parentheses can be used to group logical expressions.
66
+
67
+ Example: `title:'news' AND id!='channel-123'`
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 ListChannelsResponse(google.protobuf.message.Message):
87
89
  CHANNELS_FIELD_NUMBER: builtins.int
88
90
  NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
89
91
  next_page_token: builtins.str
90
- """Token for getting the next page."""
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 channels(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.video.v1.channel_pb2.Channel]:
93
- """List of channels for specific organization."""
97
+ """List of channels matching the request criteria.
98
+ May be empty if no channels match the criteria or if the organization has no channels.
99
+ """
94
100
 
95
101
  def __init__(
96
102
  self,
@@ -128,18 +134,24 @@ class CreateChannelRequest(google.protobuf.message.Message):
128
134
  LABELS_FIELD_NUMBER: builtins.int
129
135
  SETTINGS_FIELD_NUMBER: builtins.int
130
136
  organization_id: builtins.str
131
- """ID of the organization."""
137
+ """ID of the organization where the channel will be created."""
132
138
  title: builtins.str
133
- """Channel title."""
139
+ """Title of the channel to be displayed in interfaces."""
134
140
  description: builtins.str
135
- """Channel description."""
141
+ """Detailed description of the channel's purpose and content."""
136
142
  @property
137
143
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
138
- """Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
144
+ """Custom user-defined labels as key:value pairs.
145
+ Maximum 64 labels per channel.
146
+ Keys must be lowercase alphanumeric strings with optional hyphens/underscores.
147
+ Values can contain alphanumeric characters and various symbols.
148
+ """
139
149
 
140
150
  @property
141
151
  def settings(self) -> yandex.cloud.video.v1.channel_pb2.ChannelSettings:
142
- """Channel settings."""
152
+ """Configuration settings for the channel's behavior and features.
153
+ Includes settings for advertisements, content cleanup, and Referer verification.
154
+ """
143
155
 
144
156
  def __init__(
145
157
  self,
@@ -161,7 +173,7 @@ class CreateChannelMetadata(google.protobuf.message.Message):
161
173
 
162
174
  CHANNEL_ID_FIELD_NUMBER: builtins.int
163
175
  channel_id: builtins.str
164
- """ID of the channel."""
176
+ """ID of the channel being created."""
165
177
  def __init__(
166
178
  self,
167
179
  *,
@@ -195,25 +207,37 @@ class UpdateChannelRequest(google.protobuf.message.Message):
195
207
  FIELD_MASK_FIELD_NUMBER: builtins.int
196
208
  TITLE_FIELD_NUMBER: builtins.int
197
209
  DESCRIPTION_FIELD_NUMBER: builtins.int
210
+ DEFAULT_STYLE_PRESET_ID_FIELD_NUMBER: builtins.int
198
211
  LABELS_FIELD_NUMBER: builtins.int
199
212
  SETTINGS_FIELD_NUMBER: builtins.int
200
213
  channel_id: builtins.str
201
- """ID of the channel."""
214
+ """ID of the channel to update."""
202
215
  title: builtins.str
203
- """Channel title."""
216
+ """New title for the channel."""
204
217
  description: builtins.str
205
- """Channel description."""
218
+ """New description for the channel."""
219
+ default_style_preset_id: builtins.str
220
+ """New default style preset ID for the channel.
221
+ This preset will be applied to new videos created in this channel unless explicitly overridden.
222
+ """
206
223
  @property
207
224
  def field_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
208
- """Field mask that specifies which fields of the channel are going to be updated."""
225
+ """Field mask specifying which fields of the channel should be updated.
226
+ Only fields specified in this mask will be modified;
227
+ all other fields will retain their current values.
228
+ This allows for partial updates.
229
+ """
209
230
 
210
231
  @property
211
232
  def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
212
- """Custom labels as `` key:value `` pairs. Maximum 64 per resource."""
233
+ """New custom labels for the channel as `key:value` pairs.
234
+ Maximum 64 labels per channel.
235
+ If provided, replaces all existing labels.
236
+ """
213
237
 
214
238
  @property
215
239
  def settings(self) -> yandex.cloud.video.v1.channel_pb2.ChannelSettings:
216
- """Channel settings."""
240
+ """New configuration settings for the channel's behavior and features."""
217
241
 
218
242
  def __init__(
219
243
  self,
@@ -222,11 +246,12 @@ class UpdateChannelRequest(google.protobuf.message.Message):
222
246
  field_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
223
247
  title: builtins.str = ...,
224
248
  description: builtins.str = ...,
249
+ default_style_preset_id: builtins.str = ...,
225
250
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
226
251
  settings: yandex.cloud.video.v1.channel_pb2.ChannelSettings | None = ...,
227
252
  ) -> None: ...
228
253
  def HasField(self, field_name: typing.Literal["field_mask", b"field_mask", "settings", b"settings"]) -> builtins.bool: ...
229
- def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "settings", b"settings", "title", b"title"]) -> None: ...
254
+ def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id", "default_style_preset_id", b"default_style_preset_id", "description", b"description", "field_mask", b"field_mask", "labels", b"labels", "settings", b"settings", "title", b"title"]) -> None: ...
230
255
 
231
256
  global___UpdateChannelRequest = UpdateChannelRequest
232
257
 
@@ -236,7 +261,7 @@ class UpdateChannelMetadata(google.protobuf.message.Message):
236
261
 
237
262
  CHANNEL_ID_FIELD_NUMBER: builtins.int
238
263
  channel_id: builtins.str
239
- """ID of the channel."""
264
+ """ID of the channel being updated."""
240
265
  def __init__(
241
266
  self,
242
267
  *,
@@ -252,7 +277,10 @@ class DeleteChannelRequest(google.protobuf.message.Message):
252
277
 
253
278
  CHANNEL_ID_FIELD_NUMBER: builtins.int
254
279
  channel_id: builtins.str
255
- """ID of the channel."""
280
+ """ID of the channel to delete.
281
+ Deleting a channel will also delete all its content,
282
+ including videos, streams, and related resources.
283
+ """
256
284
  def __init__(
257
285
  self,
258
286
  *,
@@ -268,7 +296,9 @@ class DeleteChannelMetadata(google.protobuf.message.Message):
268
296
 
269
297
  CHANNEL_ID_FIELD_NUMBER: builtins.int
270
298
  channel_id: builtins.str
271
- """ID of the channel."""
299
+ """ID of the channel being deleted.
300
+ This identifier can be used to track the channel deletion operation.
301
+ """
272
302
  def __init__(
273
303
  self,
274
304
  *,
@@ -285,10 +315,13 @@ class BatchDeleteChannelsRequest(google.protobuf.message.Message):
285
315
  ORGANIZATION_ID_FIELD_NUMBER: builtins.int
286
316
  CHANNEL_IDS_FIELD_NUMBER: builtins.int
287
317
  organization_id: builtins.str
288
- """ID of the organization."""
318
+ """ID of the organization containing the channels to delete."""
289
319
  @property
290
320
  def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
291
- """List of channel IDs."""
321
+ """List of channel IDs to delete.
322
+ Deleting channels will also delete all their content,
323
+ including videos, streams, and related resources.
324
+ """
292
325
 
293
326
  def __init__(
294
327
  self,
@@ -307,7 +340,10 @@ class BatchDeleteChannelsMetadata(google.protobuf.message.Message):
307
340
  CHANNEL_IDS_FIELD_NUMBER: builtins.int
308
341
  @property
309
342
  def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
310
- """List of channel IDs."""
343
+ """List of channel IDs being deleted.
344
+ This list can be used to track which channels are included
345
+ in the batch deletion operation.
346
+ """
311
347
 
312
348
  def __init__(
313
349
  self,
@@ -30,6 +30,9 @@ if _version_not_supported:
30
30
 
31
31
  class ChannelServiceStub(object):
32
32
  """Channel management service.
33
+ Provides methods for creating, retrieving, updating, and deleting channels,
34
+ as well as managing channel-related operations such as access control.
35
+ Channels serve as containers for videos and streams in an organization.
33
36
  """
34
37
 
35
38
  def __init__(self, channel):
@@ -87,66 +90,77 @@ class ChannelServiceStub(object):
87
90
 
88
91
  class ChannelServiceServicer(object):
89
92
  """Channel management service.
93
+ Provides methods for creating, retrieving, updating, and deleting channels,
94
+ as well as managing channel-related operations such as access control.
95
+ Channels serve as containers for videos and streams in an organization.
90
96
  """
91
97
 
92
98
  def Get(self, request, context):
93
- """Get the specific channel.
99
+ """Retrieves detailed information about a specific channel by its ID.
100
+ Returns all channel metadata, settings, and related information.
94
101
  """
95
102
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
96
103
  context.set_details('Method not implemented!')
97
104
  raise NotImplementedError('Method not implemented!')
98
105
 
99
106
  def List(self, request, context):
100
- """List channels for organization.
107
+ """Lists all channels in a specific organization with pagination support.
108
+ Results can be filtered and sorted using the provided parameters.
101
109
  """
102
110
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
103
111
  context.set_details('Method not implemented!')
104
112
  raise NotImplementedError('Method not implemented!')
105
113
 
106
114
  def Create(self, request, context):
107
- """Create channel.
115
+ """Creates a new channel in the specified organization.
108
116
  """
109
117
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
110
118
  context.set_details('Method not implemented!')
111
119
  raise NotImplementedError('Method not implemented!')
112
120
 
113
121
  def Update(self, request, context):
114
- """Update channel.
122
+ """Updates an existing channel's metadata and settings.
123
+ Only fields specified in the field_mask will be updated.
115
124
  """
116
125
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
117
126
  context.set_details('Method not implemented!')
118
127
  raise NotImplementedError('Method not implemented!')
119
128
 
120
129
  def Delete(self, request, context):
121
- """Delete channel.
130
+ """Deletes a specific channel by its ID.
122
131
  """
123
132
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
124
133
  context.set_details('Method not implemented!')
125
134
  raise NotImplementedError('Method not implemented!')
126
135
 
127
136
  def BatchDelete(self, request, context):
128
- """Batch delete channels.
137
+ """Deletes multiple channels in a specific organization in a single request.
138
+ This is more efficient than making multiple Delete requests when removing several channels.
129
139
  """
130
140
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
131
141
  context.set_details('Method not implemented!')
132
142
  raise NotImplementedError('Method not implemented!')
133
143
 
134
144
  def ListAccessBindings(self, request, context):
135
- """List existing access bindings for the specified channel.
145
+ """Lists all access bindings for a specific channel.
146
+ Access bindings define which users or service accounts have access to the channel
147
+ and what actions they can perform.
136
148
  """
137
149
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
138
150
  context.set_details('Method not implemented!')
139
151
  raise NotImplementedError('Method not implemented!')
140
152
 
141
153
  def SetAccessBindings(self, request, context):
142
- """Set access bindings for the channel.
154
+ """Sets all access bindings for a specific channel.
155
+ This operation completely replaces any existing access bindings.
143
156
  """
144
157
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
145
158
  context.set_details('Method not implemented!')
146
159
  raise NotImplementedError('Method not implemented!')
147
160
 
148
161
  def UpdateAccessBindings(self, request, context):
149
- """Update access bindings for the specified channel.
162
+ """Updates access bindings for a specific channel by adding or removing individual bindings.
163
+ This operation modifies existing access bindings without replacing them completely.
150
164
  """
151
165
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
152
166
  context.set_details('Method not implemented!')
@@ -210,6 +224,9 @@ def add_ChannelServiceServicer_to_server(servicer, server):
210
224
  # This class is part of an EXPERIMENTAL API.
211
225
  class ChannelService(object):
212
226
  """Channel management service.
227
+ Provides methods for creating, retrieving, updating, and deleting channels,
228
+ as well as managing channel-related operations such as access control.
229
+ Channels serve as containers for videos and streams in an organization.
213
230
  """
214
231
 
215
232
  @staticmethod