yandexcloud 0.336.0__py3-none-any.whl → 0.338.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.
Files changed (193) hide show
  1. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
  2. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
  3. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
  4. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
  5. yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
  6. yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
  7. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
  8. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
  9. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
  10. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
  11. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
  12. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
  13. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
  14. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
  15. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
  16. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
  17. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
  18. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
  19. yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
  20. yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
  21. yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
  22. yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
  23. yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
  24. yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
  25. yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
  26. yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
  27. yandex/cloud/backup/v1/backup_service_pb2.py +44 -40
  28. yandex/cloud/backup/v1/backup_service_pb2.pyi +14 -2
  29. yandex/cloud/iam/v1/key_service_pb2.pyi +0 -2
  30. yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
  31. yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
  32. yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
  33. yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
  34. yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
  35. yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
  36. yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
  37. yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
  38. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
  39. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
  40. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
  41. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
  42. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
  43. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
  44. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
  45. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
  46. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  47. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
  48. yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
  49. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
  50. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +21 -3
  51. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +86 -0
  52. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +89 -0
  53. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +49 -3
  54. yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
  55. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
  56. yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
  57. yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
  58. yandex/cloud/mdb/spqr/__init__.py +0 -0
  59. yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
  60. yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
  61. yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
  62. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
  63. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
  64. yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
  65. yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
  66. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
  67. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
  68. yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
  69. yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
  70. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
  71. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
  72. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
  73. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
  74. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
  75. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
  76. yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
  77. yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
  78. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
  79. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
  80. yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
  81. yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
  82. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
  83. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
  84. yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
  85. yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
  86. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
  87. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
  88. yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
  89. yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
  90. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
  91. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
  92. yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
  93. yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
  94. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
  95. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
  96. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
  97. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
  98. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
  99. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
  100. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
  101. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
  102. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
  103. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
  104. yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
  105. yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
  106. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
  107. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
  108. yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
  109. yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
  110. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
  111. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
  112. yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
  113. yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
  114. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
  115. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
  116. yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
  117. yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
  118. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
  119. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
  120. yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
  121. yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
  122. yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
  123. yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
  124. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
  125. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
  126. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
  127. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
  128. yandex/cloud/searchapi/v2/search_query_pb2.py +8 -8
  129. yandex/cloud/searchapi/v2/search_query_pb2.pyi +8 -0
  130. yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
  131. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +11 -3
  132. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +24 -0
  133. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +44 -0
  134. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +20 -0
  135. yandex/cloud/storage/v1/s3api_pb2.py +7 -1
  136. yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
  137. yandex/cloud/video/v1/channel_pb2.py +16 -11
  138. yandex/cloud/video/v1/channel_pb2.pyi +32 -2
  139. yandex/cloud/video/v1/channel_service_pb2.py +34 -30
  140. yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
  141. yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
  142. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
  143. yandex/cloud/video/v1/episode_pb2.pyi +5 -4
  144. yandex/cloud/video/v1/episode_service_pb2.py +56 -52
  145. yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
  146. yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
  147. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
  148. yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
  149. yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
  150. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
  151. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
  152. yandex/cloud/video/v1/stream_line_pb2.py +16 -24
  153. yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
  154. yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
  155. yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
  156. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
  157. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
  158. yandex/cloud/video/v1/stream_pb2.py +12 -11
  159. yandex/cloud/video/v1/stream_pb2.pyi +19 -6
  160. yandex/cloud/video/v1/stream_service_pb2.py +54 -49
  161. yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
  162. yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
  163. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
  164. yandex/cloud/video/v1/subtitle_pb2.py +6 -4
  165. yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
  166. yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
  167. yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
  168. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
  169. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
  170. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
  171. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
  172. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
  173. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
  174. yandex/cloud/video/v1/video_pb2.py +24 -18
  175. yandex/cloud/video/v1/video_pb2.pyi +130 -38
  176. yandex/cloud/video/v1/video_service_pb2.py +114 -66
  177. yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
  178. yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
  179. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
  180. yandex/cloud/ydb/v1/database_pb2.py +46 -46
  181. yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
  182. yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
  183. yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
  184. yandexcloud/__init__.py +2 -2
  185. yandexcloud/_operation_waiter.py +17 -19
  186. yandexcloud/_retry_policy.py +17 -3
  187. yandexcloud/_wrappers/dataproc/__init__.py +39 -0
  188. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/METADATA +9 -9
  189. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/RECORD +193 -115
  190. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/AUTHORS +0 -0
  191. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/LICENSE +0 -0
  192. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/WHEEL +0 -0
  193. {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class VideoServiceStub:
27
27
  yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
28
28
  yandex.cloud.video.v1.video_pb2.Video,
29
29
  ]
30
- """Returns the specific video."""
30
+ """Get the specific video."""
31
31
 
32
32
  List: grpc.UnaryUnaryMultiCallable[
33
33
  yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
@@ -39,7 +39,7 @@ class VideoServiceStub:
39
39
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
40
40
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
41
41
  ]
42
- """Batch get video in specific channel."""
42
+ """Batch get videos in specific channel."""
43
43
 
44
44
  Create: grpc.UnaryUnaryMultiCallable[
45
45
  yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
@@ -69,25 +69,31 @@ class VideoServiceStub:
69
69
  yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
70
70
  yandex.cloud.operation.operation_pb2.Operation,
71
71
  ]
72
- """Batch delete video."""
72
+ """Batch delete videos."""
73
73
 
74
74
  PerformAction: grpc.UnaryUnaryMultiCallable[
75
75
  yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
76
76
  yandex.cloud.operation.operation_pb2.Operation,
77
77
  ]
78
- """Perform an action on the episode."""
78
+ """Perform an action on the video."""
79
79
 
80
80
  GetPlayerURL: grpc.UnaryUnaryMultiCallable[
81
81
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
82
82
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse,
83
83
  ]
84
- """Returns url to the player."""
84
+ """Get player url."""
85
+
86
+ BatchGetPlayerURLs: grpc.UnaryUnaryMultiCallable[
87
+ yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
88
+ yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse,
89
+ ]
90
+ """Batch get player urls."""
85
91
 
86
92
  GetManifests: grpc.UnaryUnaryMultiCallable[
87
93
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
88
94
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
89
95
  ]
90
- """Returns manifest urls."""
96
+ """Get manifest urls."""
91
97
 
92
98
  class VideoServiceAsyncStub:
93
99
  """Video management service."""
@@ -96,7 +102,7 @@ class VideoServiceAsyncStub:
96
102
  yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
97
103
  yandex.cloud.video.v1.video_pb2.Video,
98
104
  ]
99
- """Returns the specific video."""
105
+ """Get the specific video."""
100
106
 
101
107
  List: grpc.aio.UnaryUnaryMultiCallable[
102
108
  yandex.cloud.video.v1.video_service_pb2.ListVideoRequest,
@@ -108,7 +114,7 @@ class VideoServiceAsyncStub:
108
114
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
109
115
  yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse,
110
116
  ]
111
- """Batch get video in specific channel."""
117
+ """Batch get videos in specific channel."""
112
118
 
113
119
  Create: grpc.aio.UnaryUnaryMultiCallable[
114
120
  yandex.cloud.video.v1.video_service_pb2.CreateVideoRequest,
@@ -138,25 +144,31 @@ class VideoServiceAsyncStub:
138
144
  yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
139
145
  yandex.cloud.operation.operation_pb2.Operation,
140
146
  ]
141
- """Batch delete video."""
147
+ """Batch delete videos."""
142
148
 
143
149
  PerformAction: grpc.aio.UnaryUnaryMultiCallable[
144
150
  yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
145
151
  yandex.cloud.operation.operation_pb2.Operation,
146
152
  ]
147
- """Perform an action on the episode."""
153
+ """Perform an action on the video."""
148
154
 
149
155
  GetPlayerURL: grpc.aio.UnaryUnaryMultiCallable[
150
156
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
151
157
  yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse,
152
158
  ]
153
- """Returns url to the player."""
159
+ """Get player url."""
160
+
161
+ BatchGetPlayerURLs: grpc.aio.UnaryUnaryMultiCallable[
162
+ yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
163
+ yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse,
164
+ ]
165
+ """Batch get player urls."""
154
166
 
155
167
  GetManifests: grpc.aio.UnaryUnaryMultiCallable[
156
168
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
157
169
  yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse,
158
170
  ]
159
- """Returns manifest urls."""
171
+ """Get manifest urls."""
160
172
 
161
173
  class VideoServiceServicer(metaclass=abc.ABCMeta):
162
174
  """Video management service."""
@@ -167,7 +179,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
167
179
  request: yandex.cloud.video.v1.video_service_pb2.GetVideoRequest,
168
180
  context: _ServicerContext,
169
181
  ) -> typing.Union[yandex.cloud.video.v1.video_pb2.Video, collections.abc.Awaitable[yandex.cloud.video.v1.video_pb2.Video]]:
170
- """Returns the specific video."""
182
+ """Get the specific video."""
171
183
 
172
184
  @abc.abstractmethod
173
185
  def List(
@@ -183,7 +195,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
183
195
  request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideosRequest,
184
196
  context: _ServicerContext,
185
197
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideosResponse]]:
186
- """Batch get video in specific channel."""
198
+ """Batch get videos in specific channel."""
187
199
 
188
200
  @abc.abstractmethod
189
201
  def Create(
@@ -223,7 +235,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
223
235
  request: yandex.cloud.video.v1.video_service_pb2.BatchDeleteVideosRequest,
224
236
  context: _ServicerContext,
225
237
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
226
- """Batch delete video."""
238
+ """Batch delete videos."""
227
239
 
228
240
  @abc.abstractmethod
229
241
  def PerformAction(
@@ -231,7 +243,7 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
231
243
  request: yandex.cloud.video.v1.video_service_pb2.PerformVideoActionRequest,
232
244
  context: _ServicerContext,
233
245
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
234
- """Perform an action on the episode."""
246
+ """Perform an action on the video."""
235
247
 
236
248
  @abc.abstractmethod
237
249
  def GetPlayerURL(
@@ -239,7 +251,15 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
239
251
  request: yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLRequest,
240
252
  context: _ServicerContext,
241
253
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoPlayerURLResponse]]:
242
- """Returns url to the player."""
254
+ """Get player url."""
255
+
256
+ @abc.abstractmethod
257
+ def BatchGetPlayerURLs(
258
+ self,
259
+ request: yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsRequest,
260
+ context: _ServicerContext,
261
+ ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.BatchGetVideoPlayerURLsResponse]]:
262
+ """Batch get player urls."""
243
263
 
244
264
  @abc.abstractmethod
245
265
  def GetManifests(
@@ -247,6 +267,6 @@ class VideoServiceServicer(metaclass=abc.ABCMeta):
247
267
  request: yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsRequest,
248
268
  context: _ServicerContext,
249
269
  ) -> typing.Union[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse, collections.abc.Awaitable[yandex.cloud.video.v1.video_service_pb2.GetVideoManifestsResponse]]:
250
- """Returns manifest urls."""
270
+ """Get manifest urls."""
251
271
 
252
272
  def add_VideoServiceServicer_to_server(servicer: VideoServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -27,7 +27,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
27
27
  from yandex.cloud.ydb.v1 import backup_pb2 as yandex_dot_cloud_dot_ydb_dot_v1_dot_backup__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"yandex/cloud/ydb/v1/database.proto\x12\x13yandex.cloud.ydb.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/ydb/v1/backup.proto\"\xb3\t\n\x08\x44\x61tabase\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x34\n\x06status\x18\x06 \x01(\x0e\x32$.yandex.cloud.ydb.v1.Database.Status\x12\x10\n\x08\x65ndpoint\x18\x08 \x01(\t\x12\x1a\n\x12resource_preset_id\x18\t \x01(\t\x12:\n\x0estorage_config\x18\n \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x0b \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\x0c \x01(\t\x12\x12\n\nsubnet_ids\x18\r \x03(\t\x12<\n\x0ezonal_database\x18\x0e \x01(\x0b\x32\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00\x12\x42\n\x11regional_database\x18\x0f \x01(\x0b\x32%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00\x12\x44\n\x12\x64\x65\x64icated_database\x18\x12 \x01(\x0b\x32&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00\x12\x46\n\x13serverless_database\x18\x13 \x01(\x0b\x32\'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00\x12\x19\n\x11\x61ssign_public_ips\x18\x10 \x01(\x08\x12\x13\n\x0blocation_id\x18\x11 \x01(\t\x12\x39\n\x06labels\x18\x14 \x03(\x0b\x32).yandex.cloud.ydb.v1.Database.LabelsEntry\x12\x38\n\rbackup_config\x18\x15 \x01(\x0b\x32!.yandex.cloud.ydb.v1.BackupConfig\x12\x1d\n\x15\x64ocument_api_endpoint\x18\x16 \x01(\t\x12\x1c\n\x14kinesis_api_endpoint\x18\x17 \x01(\t\x12\x1a\n\x12kafka_api_endpoint\x18\x1a \x01(\t\x12@\n\x11monitoring_config\x18\x18 \x01(\x0b\x32%.yandex.cloud.ydb.v1.MonitoringConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x19 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\x0c\n\x08STARTING\x10\x07\x12\x0b\n\x07STOPPED\x10\x08\x42\x0f\n\rdatabase_typeJ\x04\x08\x07\x10\x08\"\x82\x06\n\x0e\x41lertParameter\x12Z\n\x16\x64ouble_parameter_value\x18\x01 \x01(\x0b\x32\x38.yandex.cloud.ydb.v1.AlertParameter.DoubleParameterValueH\x00\x12\\\n\x17integer_parameter_value\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.ydb.v1.AlertParameter.IntegerParameterValueH\x00\x12V\n\x14text_parameter_value\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.ydb.v1.AlertParameter.TextParameterValueH\x00\x12_\n\x19text_list_parameter_value\x18\x04 \x01(\x0b\x32:.yandex.cloud.ydb.v1.AlertParameter.TextListParameterValueH\x00\x12\x61\n\x1alabel_list_parameter_value\x18\x05 \x01(\x0b\x32;.yandex.cloud.ydb.v1.AlertParameter.LabelListParameterValueH\x00\x1a\x33\n\x14\x44oubleParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\x1a\x34\n\x15IntegerParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03\x1a\x31\n\x12TextParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1a\x36\n\x16TextListParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06values\x18\x02 \x03(\t\x1a\x37\n\x17LabelListParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06values\x18\x02 \x03(\tB\x0b\n\tparameter\"\xa2\x01\n\x13NotificationChannel\x12\x1f\n\x17notification_channel_id\x18\x01 \x01(\t\x12I\n\x15notify_about_statuses\x18\x02 \x03(\x0e\x32*.yandex.cloud.ydb.v1.AlertEvaluationStatus\x12\x1f\n\x17repeate_notify_delay_ms\x18\x03 \x01(\x03\"\x9e\x02\n\x05\x41lert\x12\x10\n\x08\x61lert_id\x18\x01 \x01(\t\x12\x19\n\x11\x61lert_template_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12G\n\x15notification_channels\x18\x05 \x03(\x0b\x32(.yandex.cloud.ydb.v1.NotificationChannel\x12=\n\x10\x61lert_parameters\x18\x06 \x03(\x0b\x32#.yandex.cloud.ydb.v1.AlertParameter\x12=\n\x10\x61lert_thresholds\x18\x07 \x03(\x0b\x32#.yandex.cloud.ydb.v1.AlertParameter\">\n\x10MonitoringConfig\x12*\n\x06\x61lerts\x18\x01 \x03(\x0b\x32\x1a.yandex.cloud.ydb.v1.Alert\"\xe6\x01\n\x11\x44\x65\x64icatedDatabase\x12\x1a\n\x12resource_preset_id\x18\x01 \x01(\t\x12:\n\x0estorage_config\x18\x02 \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x03 \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\x04 \x01(\t\x12\x12\n\nsubnet_ids\x18\x05 \x03(\t\x12\x19\n\x11\x61ssign_public_ips\x18\x06 \x01(\x08\"\xad\x01\n\x12ServerlessDatabase\x12\x1c\n\x14throttling_rcu_limit\x18\x01 \x01(\x03\x12\x1a\n\x12storage_size_limit\x18\x02 \x01(\x03\x12#\n\x1b\x65nable_throttling_rcu_limit\x18\x03 \x01(\x08\x12\x1d\n\x15provisioned_rcu_limit\x18\x04 \x01(\x03\x12\x19\n\x11topic_write_quota\x18\x05 \x01(\x03\"&\n\rZonalDatabase\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"+\n\x10RegionalDatabase\x12\x17\n\tregion_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xcf\x03\n\x0bScalePolicy\x12\x42\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32+.yandex.cloud.ydb.v1.ScalePolicy.FixedScaleH\x00\x12@\n\nauto_scale\x18\x02 \x01(\x0b\x32*.yandex.cloud.ydb.v1.ScalePolicy.AutoScaleH\x00\x1a#\n\nFixedScale\x12\x15\n\x04size\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x1a\x80\x02\n\tAutoScale\x12\x19\n\x08min_size\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x19\n\x08max_size\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12T\n\x0ftarget_tracking\x18\x03 \x01(\x0b\x32\x39.yandex.cloud.ydb.v1.ScalePolicy.AutoScale.TargetTrackingH\x00\x1aN\n\x0eTargetTracking\x12,\n\x17\x63pu_utilization_percent\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31\x30-90H\x00\x42\x0e\n\x06target\x12\x04\xc0\xc1\x31\x01\x42\x17\n\x0f\x61uto_scale_type\x12\x04\xc0\xc1\x31\x01\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"q\n\rStorageConfig\x12\x44\n\x0fstorage_options\x18\x01 \x03(\x0b\x32\".yandex.cloud.ydb.v1.StorageOptionB\x07\x82\xc8\x31\x03>=1\x12\x1a\n\x12storage_size_limit\x18\x02 \x01(\x03\"=\n\rStorageOption\x12\x17\n\x0fstorage_type_id\x18\x01 \x01(\t\x12\x13\n\x0bgroup_count\x18\x02 \x01(\x03*\xed\x01\n\x15\x41lertEvaluationStatus\x12\'\n#ALERT_EVALUATION_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x41LERT_EVALUATION_STATUS_OK\x10\x01\x12#\n\x1f\x41LERT_EVALUATION_STATUS_NO_DATA\x10\x02\x12!\n\x1d\x41LERT_EVALUATION_STATUS_ERROR\x10\x03\x12!\n\x1d\x41LERT_EVALUATION_STATUS_ALARM\x10\x04\x12 \n\x1c\x41LERT_EVALUATION_STATUS_WARN\x10\x05\x42V\n\x17yandex.cloud.api.ydb.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/ydb/v1;ydbb\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"yandex/cloud/ydb/v1/database.proto\x12\x13yandex.cloud.ydb.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/ydb/v1/backup.proto\"\xcf\t\n\x08\x44\x61tabase\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x34\n\x06status\x18\x06 \x01(\x0e\x32$.yandex.cloud.ydb.v1.Database.Status\x12\x10\n\x08\x65ndpoint\x18\x08 \x01(\t\x12\x1a\n\x12resource_preset_id\x18\t \x01(\t\x12:\n\x0estorage_config\x18\n \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x0b \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\x0c \x01(\t\x12\x12\n\nsubnet_ids\x18\r \x03(\t\x12<\n\x0ezonal_database\x18\x0e \x01(\x0b\x32\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00\x12\x42\n\x11regional_database\x18\x0f \x01(\x0b\x32%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00\x12\x44\n\x12\x64\x65\x64icated_database\x18\x12 \x01(\x0b\x32&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00\x12\x46\n\x13serverless_database\x18\x13 \x01(\x0b\x32\'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00\x12\x19\n\x11\x61ssign_public_ips\x18\x10 \x01(\x08\x12\x13\n\x0blocation_id\x18\x11 \x01(\t\x12\x39\n\x06labels\x18\x14 \x03(\x0b\x32).yandex.cloud.ydb.v1.Database.LabelsEntry\x12\x38\n\rbackup_config\x18\x15 \x01(\x0b\x32!.yandex.cloud.ydb.v1.BackupConfig\x12\x1d\n\x15\x64ocument_api_endpoint\x18\x16 \x01(\t\x12\x1c\n\x14kinesis_api_endpoint\x18\x17 \x01(\t\x12\x1a\n\x12kafka_api_endpoint\x18\x1a \x01(\t\x12@\n\x11monitoring_config\x18\x18 \x01(\x0b\x32%.yandex.cloud.ydb.v1.MonitoringConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x19 \x01(\x08\x12\x1a\n\x12security_group_ids\x18\x1b \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x81\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\x0c\n\x08STARTING\x10\x07\x12\x0b\n\x07STOPPED\x10\x08\x42\x0f\n\rdatabase_typeJ\x04\x08\x07\x10\x08\"\x82\x06\n\x0e\x41lertParameter\x12Z\n\x16\x64ouble_parameter_value\x18\x01 \x01(\x0b\x32\x38.yandex.cloud.ydb.v1.AlertParameter.DoubleParameterValueH\x00\x12\\\n\x17integer_parameter_value\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.ydb.v1.AlertParameter.IntegerParameterValueH\x00\x12V\n\x14text_parameter_value\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.ydb.v1.AlertParameter.TextParameterValueH\x00\x12_\n\x19text_list_parameter_value\x18\x04 \x01(\x0b\x32:.yandex.cloud.ydb.v1.AlertParameter.TextListParameterValueH\x00\x12\x61\n\x1alabel_list_parameter_value\x18\x05 \x01(\x0b\x32;.yandex.cloud.ydb.v1.AlertParameter.LabelListParameterValueH\x00\x1a\x33\n\x14\x44oubleParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\x1a\x34\n\x15IntegerParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03\x1a\x31\n\x12TextParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1a\x36\n\x16TextListParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06values\x18\x02 \x03(\t\x1a\x37\n\x17LabelListParameterValue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06values\x18\x02 \x03(\tB\x0b\n\tparameter\"\xa2\x01\n\x13NotificationChannel\x12\x1f\n\x17notification_channel_id\x18\x01 \x01(\t\x12I\n\x15notify_about_statuses\x18\x02 \x03(\x0e\x32*.yandex.cloud.ydb.v1.AlertEvaluationStatus\x12\x1f\n\x17repeate_notify_delay_ms\x18\x03 \x01(\x03\"\x9e\x02\n\x05\x41lert\x12\x10\n\x08\x61lert_id\x18\x01 \x01(\t\x12\x19\n\x11\x61lert_template_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12G\n\x15notification_channels\x18\x05 \x03(\x0b\x32(.yandex.cloud.ydb.v1.NotificationChannel\x12=\n\x10\x61lert_parameters\x18\x06 \x03(\x0b\x32#.yandex.cloud.ydb.v1.AlertParameter\x12=\n\x10\x61lert_thresholds\x18\x07 \x03(\x0b\x32#.yandex.cloud.ydb.v1.AlertParameter\">\n\x10MonitoringConfig\x12*\n\x06\x61lerts\x18\x01 \x03(\x0b\x32\x1a.yandex.cloud.ydb.v1.Alert\"\x82\x02\n\x11\x44\x65\x64icatedDatabase\x12\x1a\n\x12resource_preset_id\x18\x01 \x01(\t\x12:\n\x0estorage_config\x18\x02 \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x03 \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\x04 \x01(\t\x12\x12\n\nsubnet_ids\x18\x05 \x03(\t\x12\x19\n\x11\x61ssign_public_ips\x18\x06 \x01(\x08\x12\x1a\n\x12security_group_ids\x18\x07 \x03(\t\"\xad\x01\n\x12ServerlessDatabase\x12\x1c\n\x14throttling_rcu_limit\x18\x01 \x01(\x03\x12\x1a\n\x12storage_size_limit\x18\x02 \x01(\x03\x12#\n\x1b\x65nable_throttling_rcu_limit\x18\x03 \x01(\x08\x12\x1d\n\x15provisioned_rcu_limit\x18\x04 \x01(\x03\x12\x19\n\x11topic_write_quota\x18\x05 \x01(\x03\"&\n\rZonalDatabase\x12\x15\n\x07zone_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"+\n\x10RegionalDatabase\x12\x17\n\tregion_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xcf\x03\n\x0bScalePolicy\x12\x42\n\x0b\x66ixed_scale\x18\x01 \x01(\x0b\x32+.yandex.cloud.ydb.v1.ScalePolicy.FixedScaleH\x00\x12@\n\nauto_scale\x18\x02 \x01(\x0b\x32*.yandex.cloud.ydb.v1.ScalePolicy.AutoScaleH\x00\x1a#\n\nFixedScale\x12\x15\n\x04size\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x1a\x80\x02\n\tAutoScale\x12\x19\n\x08min_size\x18\x01 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12\x19\n\x08max_size\x18\x02 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=1\x12T\n\x0ftarget_tracking\x18\x03 \x01(\x0b\x32\x39.yandex.cloud.ydb.v1.ScalePolicy.AutoScale.TargetTrackingH\x00\x1aN\n\x0eTargetTracking\x12,\n\x17\x63pu_utilization_percent\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31\x30-90H\x00\x42\x0e\n\x06target\x12\x04\xc0\xc1\x31\x01\x42\x17\n\x0f\x61uto_scale_type\x12\x04\xc0\xc1\x31\x01\x42\x12\n\nscale_type\x12\x04\xc0\xc1\x31\x01\"q\n\rStorageConfig\x12\x44\n\x0fstorage_options\x18\x01 \x03(\x0b\x32\".yandex.cloud.ydb.v1.StorageOptionB\x07\x82\xc8\x31\x03>=1\x12\x1a\n\x12storage_size_limit\x18\x02 \x01(\x03\"=\n\rStorageOption\x12\x17\n\x0fstorage_type_id\x18\x01 \x01(\t\x12\x13\n\x0bgroup_count\x18\x02 \x01(\x03*\xed\x01\n\x15\x41lertEvaluationStatus\x12\'\n#ALERT_EVALUATION_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x41LERT_EVALUATION_STATUS_OK\x10\x01\x12#\n\x1f\x41LERT_EVALUATION_STATUS_NO_DATA\x10\x02\x12!\n\x1d\x41LERT_EVALUATION_STATUS_ERROR\x10\x03\x12!\n\x1d\x41LERT_EVALUATION_STATUS_ALARM\x10\x04\x12 \n\x1c\x41LERT_EVALUATION_STATUS_WARN\x10\x05\x42V\n\x17yandex.cloud.api.ydb.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/ydb/v1;ydbb\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -57,50 +57,50 @@ if not _descriptor._USE_C_DESCRIPTORS:
57
57
  _globals['_SCALEPOLICY'].oneofs_by_name['scale_type']._serialized_options = b'\300\3011\001'
58
58
  _globals['_STORAGECONFIG'].fields_by_name['storage_options']._loaded_options = None
59
59
  _globals['_STORAGECONFIG'].fields_by_name['storage_options']._serialized_options = b'\202\3101\003>=1'
60
- _globals['_ALERTEVALUATIONSTATUS']._serialized_start=3793
61
- _globals['_ALERTEVALUATIONSTATUS']._serialized_end=4030
60
+ _globals['_ALERTEVALUATIONSTATUS']._serialized_start=3849
61
+ _globals['_ALERTEVALUATIONSTATUS']._serialized_end=4086
62
62
  _globals['_DATABASE']._serialized_start=158
63
- _globals['_DATABASE']._serialized_end=1361
64
- _globals['_DATABASE_LABELSENTRY']._serialized_start=1161
65
- _globals['_DATABASE_LABELSENTRY']._serialized_end=1206
66
- _globals['_DATABASE_STATUS']._serialized_start=1209
67
- _globals['_DATABASE_STATUS']._serialized_end=1338
68
- _globals['_ALERTPARAMETER']._serialized_start=1364
69
- _globals['_ALERTPARAMETER']._serialized_end=2134
70
- _globals['_ALERTPARAMETER_DOUBLEPARAMETERVALUE']._serialized_start=1852
71
- _globals['_ALERTPARAMETER_DOUBLEPARAMETERVALUE']._serialized_end=1903
72
- _globals['_ALERTPARAMETER_INTEGERPARAMETERVALUE']._serialized_start=1905
73
- _globals['_ALERTPARAMETER_INTEGERPARAMETERVALUE']._serialized_end=1957
74
- _globals['_ALERTPARAMETER_TEXTPARAMETERVALUE']._serialized_start=1959
75
- _globals['_ALERTPARAMETER_TEXTPARAMETERVALUE']._serialized_end=2008
76
- _globals['_ALERTPARAMETER_TEXTLISTPARAMETERVALUE']._serialized_start=2010
77
- _globals['_ALERTPARAMETER_TEXTLISTPARAMETERVALUE']._serialized_end=2064
78
- _globals['_ALERTPARAMETER_LABELLISTPARAMETERVALUE']._serialized_start=2066
79
- _globals['_ALERTPARAMETER_LABELLISTPARAMETERVALUE']._serialized_end=2121
80
- _globals['_NOTIFICATIONCHANNEL']._serialized_start=2137
81
- _globals['_NOTIFICATIONCHANNEL']._serialized_end=2299
82
- _globals['_ALERT']._serialized_start=2302
83
- _globals['_ALERT']._serialized_end=2588
84
- _globals['_MONITORINGCONFIG']._serialized_start=2590
85
- _globals['_MONITORINGCONFIG']._serialized_end=2652
86
- _globals['_DEDICATEDDATABASE']._serialized_start=2655
87
- _globals['_DEDICATEDDATABASE']._serialized_end=2885
88
- _globals['_SERVERLESSDATABASE']._serialized_start=2888
89
- _globals['_SERVERLESSDATABASE']._serialized_end=3061
90
- _globals['_ZONALDATABASE']._serialized_start=3063
91
- _globals['_ZONALDATABASE']._serialized_end=3101
92
- _globals['_REGIONALDATABASE']._serialized_start=3103
93
- _globals['_REGIONALDATABASE']._serialized_end=3146
94
- _globals['_SCALEPOLICY']._serialized_start=3149
95
- _globals['_SCALEPOLICY']._serialized_end=3612
96
- _globals['_SCALEPOLICY_FIXEDSCALE']._serialized_start=3298
97
- _globals['_SCALEPOLICY_FIXEDSCALE']._serialized_end=3333
98
- _globals['_SCALEPOLICY_AUTOSCALE']._serialized_start=3336
99
- _globals['_SCALEPOLICY_AUTOSCALE']._serialized_end=3592
100
- _globals['_SCALEPOLICY_AUTOSCALE_TARGETTRACKING']._serialized_start=3489
101
- _globals['_SCALEPOLICY_AUTOSCALE_TARGETTRACKING']._serialized_end=3567
102
- _globals['_STORAGECONFIG']._serialized_start=3614
103
- _globals['_STORAGECONFIG']._serialized_end=3727
104
- _globals['_STORAGEOPTION']._serialized_start=3729
105
- _globals['_STORAGEOPTION']._serialized_end=3790
63
+ _globals['_DATABASE']._serialized_end=1389
64
+ _globals['_DATABASE_LABELSENTRY']._serialized_start=1189
65
+ _globals['_DATABASE_LABELSENTRY']._serialized_end=1234
66
+ _globals['_DATABASE_STATUS']._serialized_start=1237
67
+ _globals['_DATABASE_STATUS']._serialized_end=1366
68
+ _globals['_ALERTPARAMETER']._serialized_start=1392
69
+ _globals['_ALERTPARAMETER']._serialized_end=2162
70
+ _globals['_ALERTPARAMETER_DOUBLEPARAMETERVALUE']._serialized_start=1880
71
+ _globals['_ALERTPARAMETER_DOUBLEPARAMETERVALUE']._serialized_end=1931
72
+ _globals['_ALERTPARAMETER_INTEGERPARAMETERVALUE']._serialized_start=1933
73
+ _globals['_ALERTPARAMETER_INTEGERPARAMETERVALUE']._serialized_end=1985
74
+ _globals['_ALERTPARAMETER_TEXTPARAMETERVALUE']._serialized_start=1987
75
+ _globals['_ALERTPARAMETER_TEXTPARAMETERVALUE']._serialized_end=2036
76
+ _globals['_ALERTPARAMETER_TEXTLISTPARAMETERVALUE']._serialized_start=2038
77
+ _globals['_ALERTPARAMETER_TEXTLISTPARAMETERVALUE']._serialized_end=2092
78
+ _globals['_ALERTPARAMETER_LABELLISTPARAMETERVALUE']._serialized_start=2094
79
+ _globals['_ALERTPARAMETER_LABELLISTPARAMETERVALUE']._serialized_end=2149
80
+ _globals['_NOTIFICATIONCHANNEL']._serialized_start=2165
81
+ _globals['_NOTIFICATIONCHANNEL']._serialized_end=2327
82
+ _globals['_ALERT']._serialized_start=2330
83
+ _globals['_ALERT']._serialized_end=2616
84
+ _globals['_MONITORINGCONFIG']._serialized_start=2618
85
+ _globals['_MONITORINGCONFIG']._serialized_end=2680
86
+ _globals['_DEDICATEDDATABASE']._serialized_start=2683
87
+ _globals['_DEDICATEDDATABASE']._serialized_end=2941
88
+ _globals['_SERVERLESSDATABASE']._serialized_start=2944
89
+ _globals['_SERVERLESSDATABASE']._serialized_end=3117
90
+ _globals['_ZONALDATABASE']._serialized_start=3119
91
+ _globals['_ZONALDATABASE']._serialized_end=3157
92
+ _globals['_REGIONALDATABASE']._serialized_start=3159
93
+ _globals['_REGIONALDATABASE']._serialized_end=3202
94
+ _globals['_SCALEPOLICY']._serialized_start=3205
95
+ _globals['_SCALEPOLICY']._serialized_end=3668
96
+ _globals['_SCALEPOLICY_FIXEDSCALE']._serialized_start=3354
97
+ _globals['_SCALEPOLICY_FIXEDSCALE']._serialized_end=3389
98
+ _globals['_SCALEPOLICY_AUTOSCALE']._serialized_start=3392
99
+ _globals['_SCALEPOLICY_AUTOSCALE']._serialized_end=3648
100
+ _globals['_SCALEPOLICY_AUTOSCALE_TARGETTRACKING']._serialized_start=3545
101
+ _globals['_SCALEPOLICY_AUTOSCALE_TARGETTRACKING']._serialized_end=3623
102
+ _globals['_STORAGECONFIG']._serialized_start=3670
103
+ _globals['_STORAGECONFIG']._serialized_end=3783
104
+ _globals['_STORAGEOPTION']._serialized_start=3785
105
+ _globals['_STORAGEOPTION']._serialized_end=3846
106
106
  # @@protoc_insertion_point(module_scope)
@@ -116,6 +116,7 @@ class Database(google.protobuf.message.Message):
116
116
  KAFKA_API_ENDPOINT_FIELD_NUMBER: builtins.int
117
117
  MONITORING_CONFIG_FIELD_NUMBER: builtins.int
118
118
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
119
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
119
120
  id: builtins.str
120
121
  folder_id: builtins.str
121
122
  name: builtins.str
@@ -156,6 +157,8 @@ class Database(google.protobuf.message.Message):
156
157
  def backup_config(self) -> yandex.cloud.ydb.v1.backup_pb2.BackupConfig: ...
157
158
  @property
158
159
  def monitoring_config(self) -> global___MonitoringConfig: ...
160
+ @property
161
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
159
162
  def __init__(
160
163
  self,
161
164
  *,
@@ -184,9 +187,10 @@ class Database(google.protobuf.message.Message):
184
187
  kafka_api_endpoint: builtins.str = ...,
185
188
  monitoring_config: global___MonitoringConfig | None = ...,
186
189
  deletion_protection: builtins.bool = ...,
190
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
187
191
  ) -> None: ...
188
192
  def HasField(self, field_name: typing.Literal["backup_config", b"backup_config", "created_at", b"created_at", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "monitoring_config", b"monitoring_config", "regional_database", b"regional_database", "scale_policy", b"scale_policy", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "zonal_database", b"zonal_database"]) -> builtins.bool: ...
189
- def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "backup_config", b"backup_config", "created_at", b"created_at", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "deletion_protection", b"deletion_protection", "description", b"description", "document_api_endpoint", b"document_api_endpoint", "endpoint", b"endpoint", "folder_id", b"folder_id", "id", b"id", "kafka_api_endpoint", b"kafka_api_endpoint", "kinesis_api_endpoint", b"kinesis_api_endpoint", "labels", b"labels", "location_id", b"location_id", "monitoring_config", b"monitoring_config", "name", b"name", "network_id", b"network_id", "regional_database", b"regional_database", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "serverless_database", b"serverless_database", "status", b"status", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids", "zonal_database", b"zonal_database"]) -> None: ...
193
+ def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "backup_config", b"backup_config", "created_at", b"created_at", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "deletion_protection", b"deletion_protection", "description", b"description", "document_api_endpoint", b"document_api_endpoint", "endpoint", b"endpoint", "folder_id", b"folder_id", "id", b"id", "kafka_api_endpoint", b"kafka_api_endpoint", "kinesis_api_endpoint", b"kinesis_api_endpoint", "labels", b"labels", "location_id", b"location_id", "monitoring_config", b"monitoring_config", "name", b"name", "network_id", b"network_id", "regional_database", b"regional_database", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "security_group_ids", b"security_group_ids", "serverless_database", b"serverless_database", "status", b"status", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids", "zonal_database", b"zonal_database"]) -> None: ...
190
194
  def WhichOneof(self, oneof_group: typing.Literal["database_type", b"database_type"]) -> typing.Literal["zonal_database", "regional_database", "dedicated_database", "serverless_database"] | None: ...
191
195
 
192
196
  global___Database = Database
@@ -413,6 +417,7 @@ class DedicatedDatabase(google.protobuf.message.Message):
413
417
  NETWORK_ID_FIELD_NUMBER: builtins.int
414
418
  SUBNET_IDS_FIELD_NUMBER: builtins.int
415
419
  ASSIGN_PUBLIC_IPS_FIELD_NUMBER: builtins.int
420
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
416
421
  resource_preset_id: builtins.str
417
422
  network_id: builtins.str
418
423
  assign_public_ips: builtins.bool
@@ -422,6 +427,8 @@ class DedicatedDatabase(google.protobuf.message.Message):
422
427
  def scale_policy(self) -> global___ScalePolicy: ...
423
428
  @property
424
429
  def subnet_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
430
+ @property
431
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
425
432
  def __init__(
426
433
  self,
427
434
  *,
@@ -431,9 +438,10 @@ class DedicatedDatabase(google.protobuf.message.Message):
431
438
  network_id: builtins.str = ...,
432
439
  subnet_ids: collections.abc.Iterable[builtins.str] | None = ...,
433
440
  assign_public_ips: builtins.bool = ...,
441
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
434
442
  ) -> None: ...
435
443
  def HasField(self, field_name: typing.Literal["scale_policy", b"scale_policy", "storage_config", b"storage_config"]) -> builtins.bool: ...
436
- def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "network_id", b"network_id", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids"]) -> None: ...
444
+ def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "network_id", b"network_id", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "security_group_ids", b"security_group_ids", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids"]) -> None: ...
437
445
 
438
446
  global___DedicatedDatabase = DedicatedDatabase
439
447
 
@@ -32,7 +32,7 @@ from yandex.cloud.ydb.v1 import database_pb2 as yandex_dot_cloud_dot_ydb_dot_v1_
32
32
  from yandex.cloud.ydb.v1 import backup_pb2 as yandex_dot_cloud_dot_ydb_dot_v1_dot_backup__pb2
33
33
 
34
34
 
35
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/ydb/v1/database_service.proto\x12\x13yandex.cloud.ydb.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/ydb/v1/database.proto\x1a yandex/cloud/ydb/v1/backup.proto\"e\n\x13MoveDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12+\n\x15\x64\x65stination_folder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"B\n\x14MoveDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"\x89\x01\n\x14RestoreBackupRequest\x12\x1f\n\tbackup_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x18\n\x10paths_to_restore\x18\x03 \x03(\t\x12\x13\n\x0btarget_path\x18\x04 \x01(\t\"?\n\x15RestoreBackupMetadata\x12\x11\n\tbackup_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x02 \x01(\t\"j\n\x15\x42\x61\x63kupDatabaseRequest\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12<\n\x0f\x62\x61\x63kup_settings\x18\x02 \x01(\x0b\x32#.yandex.cloud.ydb.v1.BackupSettings\"@\n\x16\x42\x61\x63kupDatabaseMetadata\x12\x11\n\tbackup_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x02 \x01(\t\"9\n\x14StartDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"C\n\x15StartDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"8\n\x13StopDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"B\n\x14StopDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"7\n\x12GetDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"g\n\x14ListDatabasesRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"b\n\x15ListDatabasesResponse\x12\x30\n\tdatabases\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.ydb.v1.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe6\x06\n\x15\x43reateDatabaseRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1a\n\x12resource_preset_id\x18\x04 \x01(\t\x12:\n\x0estorage_config\x18\x05 \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x06 \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\x07 \x01(\t\x12\x12\n\nsubnet_ids\x18\x08 \x03(\t\x12<\n\x0ezonal_database\x18\t \x01(\x0b\x32\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00\x12\x42\n\x11regional_database\x18\n \x01(\x0b\x32%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00\x12\x44\n\x12\x64\x65\x64icated_database\x18\r \x01(\x0b\x32&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00\x12\x46\n\x13serverless_database\x18\x0e \x01(\x0b\x32\'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00\x12\x19\n\x11\x61ssign_public_ips\x18\x0b \x01(\x08\x12\x13\n\x0blocation_id\x18\x0c \x01(\t\x12\x46\n\x06labels\x18\x0f \x03(\x0b\x32\x36.yandex.cloud.ydb.v1.CreateDatabaseRequest.LabelsEntry\x12\x38\n\rbackup_config\x18\x10 \x01(\x0b\x32!.yandex.cloud.ydb.v1.BackupConfig\x12@\n\x11monitoring_config\x18\x11 \x01(\x0b\x32%.yandex.cloud.ydb.v1.MonitoringConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x12 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rdatabase_type\"D\n\x16\x43reateDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"\xac\x07\n\x15UpdateDatabaseRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x13\n\x0b\x64\x61tabase_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x1a\n\x12resource_preset_id\x18\x06 \x01(\t\x12:\n\x0estorage_config\x18\x07 \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x08 \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\t \x01(\t\x12\x12\n\nsubnet_ids\x18\n \x03(\t\x12<\n\x0ezonal_database\x18\x0b \x01(\x0b\x32\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00\x12\x42\n\x11regional_database\x18\x0c \x01(\x0b\x32%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00\x12\x44\n\x12\x64\x65\x64icated_database\x18\x0f \x01(\x0b\x32&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00\x12\x46\n\x13serverless_database\x18\x10 \x01(\x0b\x32\'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00\x12\x19\n\x11\x61ssign_public_ips\x18\r \x01(\x08\x12\x13\n\x0blocation_id\x18\x0e \x01(\t\x12\x46\n\x06labels\x18\x11 \x03(\x0b\x32\x36.yandex.cloud.ydb.v1.UpdateDatabaseRequest.LabelsEntry\x12\x38\n\rbackup_config\x18\x12 \x01(\x0b\x32!.yandex.cloud.ydb.v1.BackupConfig\x12@\n\x11monitoring_config\x18\x13 \x01(\x0b\x32%.yandex.cloud.ydb.v1.MonitoringConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x14 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rdatabase_type\"D\n\x16UpdateDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\",\n\x15\x44\x65leteDatabaseRequest\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\"D\n\x16\x44\x65leteDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t2\x9a\x10\n\x0f\x44\x61tabaseService\x12v\n\x03Get\x12\'.yandex.cloud.ydb.v1.GetDatabaseRequest\x1a\x1d.yandex.cloud.ydb.v1.Database\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/ydb/v1/databases/{database_id}\x12x\n\x04List\x12).yandex.cloud.ydb.v1.ListDatabasesRequest\x1a*.yandex.cloud.ydb.v1.ListDatabasesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/ydb/v1/databases\x12\x9b\x01\n\x06\x43reate\x12*.yandex.cloud.ydb.v1.CreateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"B\xb2\xd2*\"\n\x16\x43reateDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\x16\"\x11/ydb/v1/databases:\x01*\x12\xa9\x01\n\x06Update\x12*.yandex.cloud.ydb.v1.UpdateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\"\n\x16UpdateDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02$2\x1f/ydb/v1/databases/{database_id}:\x01*\x12\xa9\x01\n\x05Start\x12).yandex.cloud.ydb.v1.StartDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*!\n\x15StartDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\'\"%/ydb/v1/databases/{database_id}:start\x12\xa5\x01\n\x04Stop\x12(.yandex.cloud.ydb.v1.StopDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2* \n\x14StopDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02&\"$/ydb/v1/databases/{database_id}:stop\x12\xa8\x01\n\x04Move\x12(.yandex.cloud.ydb.v1.MoveDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2* \n\x14MoveDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02)\"$/ydb/v1/databases/{database_id}:move:\x01*\x12u\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\x12\xa4\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"=\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x12\xad\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"@\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x12\xb3\x01\n\x06\x44\x65lete\x12*.yandex.cloud.ydb.v1.DeleteDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*/\n\x16\x44\x65leteDatabaseMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/ydb/v1/databases/{database_id}\x12\xa2\x01\n\x07Restore\x12).yandex.cloud.ydb.v1.RestoreBackupRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*!\n\x15RestoreBackupMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\x1e\"\x19/ydb/v1/databases:restore:\x01*\x12\xa2\x01\n\x06\x42\x61\x63kup\x12*.yandex.cloud.ydb.v1.BackupDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*\"\n\x16\x42\x61\x63kupDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\x1d\"\x18/ydb/v1/databases:backup:\x01*BV\n\x17yandex.cloud.api.ydb.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/ydb/v1;ydbb\x06proto3')
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/ydb/v1/database_service.proto\x12\x13yandex.cloud.ydb.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/ydb/v1/database.proto\x1a yandex/cloud/ydb/v1/backup.proto\"e\n\x13MoveDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12+\n\x15\x64\x65stination_folder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"B\n\x14MoveDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"\x89\x01\n\x14RestoreBackupRequest\x12\x1f\n\tbackup_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x64\x61tabase_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x18\n\x10paths_to_restore\x18\x03 \x03(\t\x12\x13\n\x0btarget_path\x18\x04 \x01(\t\"?\n\x15RestoreBackupMetadata\x12\x11\n\tbackup_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x02 \x01(\t\"j\n\x15\x42\x61\x63kupDatabaseRequest\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12<\n\x0f\x62\x61\x63kup_settings\x18\x02 \x01(\x0b\x32#.yandex.cloud.ydb.v1.BackupSettings\"@\n\x16\x42\x61\x63kupDatabaseMetadata\x12\x11\n\tbackup_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x02 \x01(\t\"9\n\x14StartDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"C\n\x15StartDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"8\n\x13StopDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"B\n\x14StopDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"7\n\x12GetDatabaseRequest\x12!\n\x0b\x64\x61tabase_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"g\n\x14ListDatabasesRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"b\n\x15ListDatabasesResponse\x12\x30\n\tdatabases\x18\x01 \x03(\x0b\x32\x1d.yandex.cloud.ydb.v1.Database\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x82\x07\n\x15\x43reateDatabaseRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1a\n\x12resource_preset_id\x18\x04 \x01(\t\x12:\n\x0estorage_config\x18\x05 \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x06 \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\x07 \x01(\t\x12\x12\n\nsubnet_ids\x18\x08 \x03(\t\x12<\n\x0ezonal_database\x18\t \x01(\x0b\x32\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00\x12\x42\n\x11regional_database\x18\n \x01(\x0b\x32%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00\x12\x44\n\x12\x64\x65\x64icated_database\x18\r \x01(\x0b\x32&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00\x12\x46\n\x13serverless_database\x18\x0e \x01(\x0b\x32\'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00\x12\x19\n\x11\x61ssign_public_ips\x18\x0b \x01(\x08\x12\x13\n\x0blocation_id\x18\x0c \x01(\t\x12\x46\n\x06labels\x18\x0f \x03(\x0b\x32\x36.yandex.cloud.ydb.v1.CreateDatabaseRequest.LabelsEntry\x12\x38\n\rbackup_config\x18\x10 \x01(\x0b\x32!.yandex.cloud.ydb.v1.BackupConfig\x12@\n\x11monitoring_config\x18\x11 \x01(\x0b\x32%.yandex.cloud.ydb.v1.MonitoringConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x12 \x01(\x08\x12\x1a\n\x12security_group_ids\x18\x13 \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rdatabase_type\"D\n\x16\x43reateDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\"\xc8\x07\n\x15UpdateDatabaseRequest\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x13\n\x0b\x64\x61tabase_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x1a\n\x12resource_preset_id\x18\x06 \x01(\t\x12:\n\x0estorage_config\x18\x07 \x01(\x0b\x32\".yandex.cloud.ydb.v1.StorageConfig\x12\x36\n\x0cscale_policy\x18\x08 \x01(\x0b\x32 .yandex.cloud.ydb.v1.ScalePolicy\x12\x12\n\nnetwork_id\x18\t \x01(\t\x12\x12\n\nsubnet_ids\x18\n \x03(\t\x12<\n\x0ezonal_database\x18\x0b \x01(\x0b\x32\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00\x12\x42\n\x11regional_database\x18\x0c \x01(\x0b\x32%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00\x12\x44\n\x12\x64\x65\x64icated_database\x18\x0f \x01(\x0b\x32&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00\x12\x46\n\x13serverless_database\x18\x10 \x01(\x0b\x32\'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00\x12\x19\n\x11\x61ssign_public_ips\x18\r \x01(\x08\x12\x13\n\x0blocation_id\x18\x0e \x01(\t\x12\x46\n\x06labels\x18\x11 \x03(\x0b\x32\x36.yandex.cloud.ydb.v1.UpdateDatabaseRequest.LabelsEntry\x12\x38\n\rbackup_config\x18\x12 \x01(\x0b\x32!.yandex.cloud.ydb.v1.BackupConfig\x12@\n\x11monitoring_config\x18\x13 \x01(\x0b\x32%.yandex.cloud.ydb.v1.MonitoringConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x14 \x01(\x08\x12\x1a\n\x12security_group_ids\x18\x15 \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rdatabase_type\"D\n\x16UpdateDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t\",\n\x15\x44\x65leteDatabaseRequest\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\"D\n\x16\x44\x65leteDatabaseMetadata\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x15\n\rdatabase_name\x18\x02 \x01(\t2\x9a\x10\n\x0f\x44\x61tabaseService\x12v\n\x03Get\x12\'.yandex.cloud.ydb.v1.GetDatabaseRequest\x1a\x1d.yandex.cloud.ydb.v1.Database\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/ydb/v1/databases/{database_id}\x12x\n\x04List\x12).yandex.cloud.ydb.v1.ListDatabasesRequest\x1a*.yandex.cloud.ydb.v1.ListDatabasesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/ydb/v1/databases\x12\x9b\x01\n\x06\x43reate\x12*.yandex.cloud.ydb.v1.CreateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"B\xb2\xd2*\"\n\x16\x43reateDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\x16\"\x11/ydb/v1/databases:\x01*\x12\xa9\x01\n\x06Update\x12*.yandex.cloud.ydb.v1.UpdateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\"\n\x16UpdateDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02$2\x1f/ydb/v1/databases/{database_id}:\x01*\x12\xa9\x01\n\x05Start\x12).yandex.cloud.ydb.v1.StartDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*!\n\x15StartDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\'\"%/ydb/v1/databases/{database_id}:start\x12\xa5\x01\n\x04Stop\x12(.yandex.cloud.ydb.v1.StopDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2* \n\x14StopDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02&\"$/ydb/v1/databases/{database_id}:stop\x12\xa8\x01\n\x04Move\x12(.yandex.cloud.ydb.v1.MoveDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2* \n\x14MoveDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02)\"$/ydb/v1/databases/{database_id}:move:\x01*\x12u\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\x12\xa4\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"=\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x12\xad\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"@\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x12\xb3\x01\n\x06\x44\x65lete\x12*.yandex.cloud.ydb.v1.DeleteDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*/\n\x16\x44\x65leteDatabaseMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/ydb/v1/databases/{database_id}\x12\xa2\x01\n\x07Restore\x12).yandex.cloud.ydb.v1.RestoreBackupRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*!\n\x15RestoreBackupMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\x1e\"\x19/ydb/v1/databases:restore:\x01*\x12\xa2\x01\n\x06\x42\x61\x63kup\x12*.yandex.cloud.ydb.v1.BackupDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*\"\n\x16\x42\x61\x63kupDatabaseMetadata\x12\x08\x44\x61tabase\x82\xd3\xe4\x93\x02\x1d\"\x18/ydb/v1/databases:backup:\x01*BV\n\x17yandex.cloud.api.ydb.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/ydb/v1;ydbb\x06proto3')
36
36
 
37
37
  _globals = globals()
38
38
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -113,21 +113,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
113
113
  _globals['_LISTDATABASESRESPONSE']._serialized_start=1306
114
114
  _globals['_LISTDATABASESRESPONSE']._serialized_end=1404
115
115
  _globals['_CREATEDATABASEREQUEST']._serialized_start=1407
116
- _globals['_CREATEDATABASEREQUEST']._serialized_end=2277
117
- _globals['_CREATEDATABASEREQUEST_LABELSENTRY']._serialized_start=2215
118
- _globals['_CREATEDATABASEREQUEST_LABELSENTRY']._serialized_end=2260
119
- _globals['_CREATEDATABASEMETADATA']._serialized_start=2279
120
- _globals['_CREATEDATABASEMETADATA']._serialized_end=2347
121
- _globals['_UPDATEDATABASEREQUEST']._serialized_start=2350
122
- _globals['_UPDATEDATABASEREQUEST']._serialized_end=3290
123
- _globals['_UPDATEDATABASEREQUEST_LABELSENTRY']._serialized_start=2215
124
- _globals['_UPDATEDATABASEREQUEST_LABELSENTRY']._serialized_end=2260
125
- _globals['_UPDATEDATABASEMETADATA']._serialized_start=3292
126
- _globals['_UPDATEDATABASEMETADATA']._serialized_end=3360
127
- _globals['_DELETEDATABASEREQUEST']._serialized_start=3362
128
- _globals['_DELETEDATABASEREQUEST']._serialized_end=3406
129
- _globals['_DELETEDATABASEMETADATA']._serialized_start=3408
130
- _globals['_DELETEDATABASEMETADATA']._serialized_end=3476
131
- _globals['_DATABASESERVICE']._serialized_start=3479
132
- _globals['_DATABASESERVICE']._serialized_end=5553
116
+ _globals['_CREATEDATABASEREQUEST']._serialized_end=2305
117
+ _globals['_CREATEDATABASEREQUEST_LABELSENTRY']._serialized_start=2243
118
+ _globals['_CREATEDATABASEREQUEST_LABELSENTRY']._serialized_end=2288
119
+ _globals['_CREATEDATABASEMETADATA']._serialized_start=2307
120
+ _globals['_CREATEDATABASEMETADATA']._serialized_end=2375
121
+ _globals['_UPDATEDATABASEREQUEST']._serialized_start=2378
122
+ _globals['_UPDATEDATABASEREQUEST']._serialized_end=3346
123
+ _globals['_UPDATEDATABASEREQUEST_LABELSENTRY']._serialized_start=2243
124
+ _globals['_UPDATEDATABASEREQUEST_LABELSENTRY']._serialized_end=2288
125
+ _globals['_UPDATEDATABASEMETADATA']._serialized_start=3348
126
+ _globals['_UPDATEDATABASEMETADATA']._serialized_end=3416
127
+ _globals['_DELETEDATABASEREQUEST']._serialized_start=3418
128
+ _globals['_DELETEDATABASEREQUEST']._serialized_end=3462
129
+ _globals['_DELETEDATABASEMETADATA']._serialized_start=3464
130
+ _globals['_DELETEDATABASEMETADATA']._serialized_end=3532
131
+ _globals['_DATABASESERVICE']._serialized_start=3535
132
+ _globals['_DATABASESERVICE']._serialized_end=5609
133
133
  # @@protoc_insertion_point(module_scope)
@@ -317,6 +317,7 @@ class CreateDatabaseRequest(google.protobuf.message.Message):
317
317
  BACKUP_CONFIG_FIELD_NUMBER: builtins.int
318
318
  MONITORING_CONFIG_FIELD_NUMBER: builtins.int
319
319
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
320
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
320
321
  folder_id: builtins.str
321
322
  name: builtins.str
322
323
  description: builtins.str
@@ -349,6 +350,8 @@ class CreateDatabaseRequest(google.protobuf.message.Message):
349
350
  def backup_config(self) -> yandex.cloud.ydb.v1.backup_pb2.BackupConfig: ...
350
351
  @property
351
352
  def monitoring_config(self) -> yandex.cloud.ydb.v1.database_pb2.MonitoringConfig: ...
353
+ @property
354
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
352
355
  def __init__(
353
356
  self,
354
357
  *,
@@ -370,9 +373,10 @@ class CreateDatabaseRequest(google.protobuf.message.Message):
370
373
  backup_config: yandex.cloud.ydb.v1.backup_pb2.BackupConfig | None = ...,
371
374
  monitoring_config: yandex.cloud.ydb.v1.database_pb2.MonitoringConfig | None = ...,
372
375
  deletion_protection: builtins.bool = ...,
376
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
373
377
  ) -> None: ...
374
378
  def HasField(self, field_name: typing.Literal["backup_config", b"backup_config", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "monitoring_config", b"monitoring_config", "regional_database", b"regional_database", "scale_policy", b"scale_policy", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "zonal_database", b"zonal_database"]) -> builtins.bool: ...
375
- def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "backup_config", b"backup_config", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "location_id", b"location_id", "monitoring_config", b"monitoring_config", "name", b"name", "network_id", b"network_id", "regional_database", b"regional_database", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids", "zonal_database", b"zonal_database"]) -> None: ...
379
+ def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "backup_config", b"backup_config", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "location_id", b"location_id", "monitoring_config", b"monitoring_config", "name", b"name", "network_id", b"network_id", "regional_database", b"regional_database", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "security_group_ids", b"security_group_ids", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids", "zonal_database", b"zonal_database"]) -> None: ...
376
380
  def WhichOneof(self, oneof_group: typing.Literal["database_type", b"database_type"]) -> typing.Literal["zonal_database", "regional_database", "dedicated_database", "serverless_database"] | None: ...
377
381
 
378
382
  global___CreateDatabaseRequest = CreateDatabaseRequest
@@ -437,6 +441,7 @@ class UpdateDatabaseRequest(google.protobuf.message.Message):
437
441
  BACKUP_CONFIG_FIELD_NUMBER: builtins.int
438
442
  MONITORING_CONFIG_FIELD_NUMBER: builtins.int
439
443
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
444
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
440
445
  folder_id: builtins.str
441
446
  database_id: builtins.str
442
447
  name: builtins.str
@@ -468,6 +473,8 @@ class UpdateDatabaseRequest(google.protobuf.message.Message):
468
473
  def backup_config(self) -> yandex.cloud.ydb.v1.backup_pb2.BackupConfig: ...
469
474
  @property
470
475
  def monitoring_config(self) -> yandex.cloud.ydb.v1.database_pb2.MonitoringConfig: ...
476
+ @property
477
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
471
478
  def __init__(
472
479
  self,
473
480
  *,
@@ -491,9 +498,10 @@ class UpdateDatabaseRequest(google.protobuf.message.Message):
491
498
  backup_config: yandex.cloud.ydb.v1.backup_pb2.BackupConfig | None = ...,
492
499
  monitoring_config: yandex.cloud.ydb.v1.database_pb2.MonitoringConfig | None = ...,
493
500
  deletion_protection: builtins.bool = ...,
501
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
494
502
  ) -> None: ...
495
503
  def HasField(self, field_name: typing.Literal["backup_config", b"backup_config", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "monitoring_config", b"monitoring_config", "regional_database", b"regional_database", "scale_policy", b"scale_policy", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "update_mask", b"update_mask", "zonal_database", b"zonal_database"]) -> builtins.bool: ...
496
- def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "backup_config", b"backup_config", "database_id", b"database_id", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "location_id", b"location_id", "monitoring_config", b"monitoring_config", "name", b"name", "network_id", b"network_id", "regional_database", b"regional_database", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids", "update_mask", b"update_mask", "zonal_database", b"zonal_database"]) -> None: ...
504
+ def ClearField(self, field_name: typing.Literal["assign_public_ips", b"assign_public_ips", "backup_config", b"backup_config", "database_id", b"database_id", "database_type", b"database_type", "dedicated_database", b"dedicated_database", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "location_id", b"location_id", "monitoring_config", b"monitoring_config", "name", b"name", "network_id", b"network_id", "regional_database", b"regional_database", "resource_preset_id", b"resource_preset_id", "scale_policy", b"scale_policy", "security_group_ids", b"security_group_ids", "serverless_database", b"serverless_database", "storage_config", b"storage_config", "subnet_ids", b"subnet_ids", "update_mask", b"update_mask", "zonal_database", b"zonal_database"]) -> None: ...
497
505
  def WhichOneof(self, oneof_group: typing.Literal["database_type", b"database_type"]) -> typing.Literal["zonal_database", "regional_database", "dedicated_database", "serverless_database"] | None: ...
498
506
 
499
507
  global___UpdateDatabaseRequest = UpdateDatabaseRequest
yandexcloud/__init__.py CHANGED
@@ -8,7 +8,7 @@ from yandexcloud._backoff import (
8
8
  default_backoff,
9
9
  )
10
10
  from yandexcloud._retry_interceptor import RetryInterceptor
11
- from yandexcloud._retry_policy import RetryPolicy
11
+ from yandexcloud._retry_policy import RetryPolicy, ThrottlingMode
12
12
  from yandexcloud._sdk import SDK
13
13
 
14
- __version__ = "0.336.0"
14
+ __version__ = "0.338.0"
@@ -63,44 +63,42 @@ def get_operation_result(
63
63
  operation_result: OperationResult[ResponseType, MetaType] = OperationResult(operation)
64
64
  created_at = datetime.fromtimestamp(operation.created_at.seconds)
65
65
  message = (
66
- "Running Yandex.Cloud operation. ID: {id}. "
67
- "Description: {description}. Created at: {created_at}. "
68
- "Created by: {created_by}."
69
- )
70
- message = message.format(
71
- id=operation.id,
72
- description=operation.description,
73
- created_at=created_at,
74
- created_by=operation.created_by,
66
+ f"Running Yandex.Cloud operation. ID: {operation.id}. "
67
+ f"Description: {operation.description}. Created at: {created_at}. "
68
+ f"Created by: {operation.created_by}."
75
69
  )
70
+
76
71
  if meta_type and meta_type is not Empty:
77
72
  unpacked_meta = meta_type()
78
73
  operation.metadata.Unpack(unpacked_meta)
79
74
  operation_result.meta = unpacked_meta
80
75
  message += f" Meta: {unpacked_meta}."
76
+
81
77
  logger.info(message)
78
+
82
79
  result = wait_for_operation(sdk, operation.id, timeout=timeout)
83
80
  if result is None:
84
- return OperationError(message="Unexpected operation result", operation_result=OperationResult(operation))
81
+ raise OperationError(message="Unexpected operation result", operation_result=operation_result)
82
+
85
83
  if result.error and result.error.code:
86
84
  error_message = (
87
- "Error Yandex.Cloud operation. ID: {id}. Error code: {code}. Details: {details}. Message: {message}."
88
- )
89
- error_message = error_message.format(
90
- id=result.id,
91
- code=result.error.code,
92
- details=result.error.details,
93
- message=result.error.message,
85
+ f"Error Yandex.Cloud operation. ID: {result.id}. "
86
+ f"Error code: {result.error.code}. "
87
+ f"Details: {result.error.details}. "
88
+ f"Message: {result.error.message}. "
89
+ f"Meta: {operation_result.meta}."
94
90
  )
95
91
  logger.error(error_message)
96
- raise OperationError(message=error_message, operation_result=OperationResult(operation))
92
+ raise OperationError(message=error_message, operation_result=operation_result)
97
93
 
98
94
  log_message = f"Done Yandex.Cloud operation. ID: {operation.id}."
99
95
  if response_type and response_type is not Empty:
100
96
  unpacked_response = response_type()
101
97
  result.response.Unpack(unpacked_response)
102
98
  operation_result.response = unpacked_response
103
- log_message += f" Response: {unpacked_response}."
99
+ log_message += f" Response: {operation_result.response}."
100
+ log_message += f" Meta: {operation_result.meta}."
101
+
104
102
  logger.info(log_message)
105
103
  return operation_result
106
104