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
@@ -0,0 +1,1790 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.internal.enum_type_wrapper
12
+ import google.protobuf.message
13
+ import google.protobuf.timestamp_pb2
14
+ import google.protobuf.wrappers_pb2
15
+ import google.type.timeofday_pb2
16
+ import sys
17
+ import typing
18
+ import yandex.cloud.mdb.spqr.v1.backup_pb2
19
+ import yandex.cloud.mdb.spqr.v1.cluster_pb2
20
+ import yandex.cloud.mdb.spqr.v1.config_pb2
21
+ import yandex.cloud.mdb.spqr.v1.database_pb2
22
+ import yandex.cloud.mdb.spqr.v1.host_pb2
23
+ import yandex.cloud.mdb.spqr.v1.maintenance_pb2
24
+ import yandex.cloud.mdb.spqr.v1.shard_pb2
25
+ import yandex.cloud.mdb.spqr.v1.user_pb2
26
+ import yandex.cloud.operation.operation_pb2
27
+
28
+ if sys.version_info >= (3, 10):
29
+ import typing as typing_extensions
30
+ else:
31
+ import typing_extensions
32
+
33
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
34
+
35
+ @typing.final
36
+ class GetClusterRequest(google.protobuf.message.Message):
37
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
38
+
39
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
40
+ cluster_id: builtins.str
41
+ """ID of the SPQR Cluster resource to return.
42
+ To get the cluster ID, use a [ClusterService.List] request.
43
+ """
44
+ def __init__(
45
+ self,
46
+ *,
47
+ cluster_id: builtins.str = ...,
48
+ ) -> None: ...
49
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
50
+
51
+ global___GetClusterRequest = GetClusterRequest
52
+
53
+ @typing.final
54
+ class GetClusterAtRevisionRequest(google.protobuf.message.Message):
55
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
56
+
57
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
58
+ REVISION_FIELD_NUMBER: builtins.int
59
+ cluster_id: builtins.str
60
+ """ID of the SPQR Cluster resource to return.
61
+ To get the cluster ID, use a [ClusterService.List] request.
62
+ """
63
+ revision: builtins.int
64
+ """Cluster revision"""
65
+ def __init__(
66
+ self,
67
+ *,
68
+ cluster_id: builtins.str = ...,
69
+ revision: builtins.int = ...,
70
+ ) -> None: ...
71
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "revision", b"revision"]) -> None: ...
72
+
73
+ global___GetClusterAtRevisionRequest = GetClusterAtRevisionRequest
74
+
75
+ @typing.final
76
+ class ListClustersRequest(google.protobuf.message.Message):
77
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
78
+
79
+ FOLDER_ID_FIELD_NUMBER: builtins.int
80
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
81
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
82
+ FILTER_FIELD_NUMBER: builtins.int
83
+ folder_id: builtins.str
84
+ """ID of the folder to list SPQR clusters in.
85
+ To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
86
+ """
87
+ page_size: builtins.int
88
+ """The maximum number of results per page to return. If the number of available
89
+ results is larger than [page_size], the service returns a [ListClustersResponse.next_page_token]
90
+ that can be used to get the next page of results in subsequent list requests.
91
+ Acceptable values are 0 to 1000, inclusive. Default value: 100.
92
+ """
93
+ page_token: builtins.str
94
+ """Page token. To get the next page of results, set [page_token]
95
+ to the [ListClustersResponse.next_page_token] returned by the previous list request.
96
+ """
97
+ filter: builtins.str
98
+ """A filter expression that filters resources listed in the response.
99
+ The expression must specify:
100
+ 1. The field name. Currently you can only use filtering with the [Cluster.name] field.
101
+ 2. An `=` operator.
102
+ 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`.
103
+ """
104
+ def __init__(
105
+ self,
106
+ *,
107
+ folder_id: builtins.str = ...,
108
+ page_size: builtins.int = ...,
109
+ page_token: builtins.str = ...,
110
+ filter: builtins.str = ...,
111
+ ) -> None: ...
112
+ def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
113
+
114
+ global___ListClustersRequest = ListClustersRequest
115
+
116
+ @typing.final
117
+ class ListClustersResponse(google.protobuf.message.Message):
118
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
119
+
120
+ CLUSTERS_FIELD_NUMBER: builtins.int
121
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
122
+ next_page_token: builtins.str
123
+ """This token allows you to get the next page of results for list requests. If the number of results
124
+ is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value
125
+ for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent
126
+ list request will have its own [next_page_token] to continue paging through the results.
127
+ """
128
+ @property
129
+ def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.cluster_pb2.Cluster]:
130
+ """List of SPQR Cluster resources."""
131
+
132
+ def __init__(
133
+ self,
134
+ *,
135
+ clusters: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.cluster_pb2.Cluster] | None = ...,
136
+ next_page_token: builtins.str = ...,
137
+ ) -> None: ...
138
+ def ClearField(self, field_name: typing.Literal["clusters", b"clusters", "next_page_token", b"next_page_token"]) -> None: ...
139
+
140
+ global___ListClustersResponse = ListClustersResponse
141
+
142
+ @typing.final
143
+ class CreateClusterRequest(google.protobuf.message.Message):
144
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
145
+
146
+ @typing.final
147
+ class LabelsEntry(google.protobuf.message.Message):
148
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
149
+
150
+ KEY_FIELD_NUMBER: builtins.int
151
+ VALUE_FIELD_NUMBER: builtins.int
152
+ key: builtins.str
153
+ value: builtins.str
154
+ def __init__(
155
+ self,
156
+ *,
157
+ key: builtins.str = ...,
158
+ value: builtins.str = ...,
159
+ ) -> None: ...
160
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
161
+
162
+ FOLDER_ID_FIELD_NUMBER: builtins.int
163
+ NAME_FIELD_NUMBER: builtins.int
164
+ DESCRIPTION_FIELD_NUMBER: builtins.int
165
+ LABELS_FIELD_NUMBER: builtins.int
166
+ ENVIRONMENT_FIELD_NUMBER: builtins.int
167
+ CONFIG_SPEC_FIELD_NUMBER: builtins.int
168
+ DATABASE_SPECS_FIELD_NUMBER: builtins.int
169
+ USER_SPECS_FIELD_NUMBER: builtins.int
170
+ HOST_SPECS_FIELD_NUMBER: builtins.int
171
+ NETWORK_ID_FIELD_NUMBER: builtins.int
172
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
173
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
174
+ folder_id: builtins.str
175
+ """ID of the folder to create SPQR cluster in."""
176
+ name: builtins.str
177
+ """Name of the SPQR cluster. The name must be unique within the folder."""
178
+ description: builtins.str
179
+ """Description of the SPQR cluster."""
180
+ environment: yandex.cloud.mdb.spqr.v1.cluster_pb2.Cluster.Environment.ValueType
181
+ """Deployment environment of the SPQR cluster."""
182
+ network_id: builtins.str
183
+ """ID of the network to create the cluster in."""
184
+ deletion_protection: builtins.bool
185
+ """Deletion Protection inhibits deletion of the cluster"""
186
+ @property
187
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
188
+ """Custom labels for the SPQR cluster as `` key:value `` pairs. Maximum 64 per resource.
189
+ For example, "project": "mvp" or "source": "dictionary".
190
+ """
191
+
192
+ @property
193
+ def config_spec(self) -> global___ConfigSpec:
194
+ """Configuration and resources for hosts that should be created for the SPQR cluster."""
195
+
196
+ @property
197
+ def database_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.database_pb2.DatabaseSpec]:
198
+ """Descriptions of databases to be created in the SPQR cluster."""
199
+
200
+ @property
201
+ def user_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.user_pb2.UserSpec]:
202
+ """Descriptions of database users to be created in the SPQR cluster."""
203
+
204
+ @property
205
+ def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec]:
206
+ """Individual configurations for hosts that should be created for the SPQR cluster."""
207
+
208
+ @property
209
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
210
+ """User security groups"""
211
+
212
+ def __init__(
213
+ self,
214
+ *,
215
+ folder_id: builtins.str = ...,
216
+ name: builtins.str = ...,
217
+ description: builtins.str = ...,
218
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
219
+ environment: yandex.cloud.mdb.spqr.v1.cluster_pb2.Cluster.Environment.ValueType = ...,
220
+ config_spec: global___ConfigSpec | None = ...,
221
+ database_specs: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.database_pb2.DatabaseSpec] | None = ...,
222
+ user_specs: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.user_pb2.UserSpec] | None = ...,
223
+ host_specs: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec] | None = ...,
224
+ network_id: builtins.str = ...,
225
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
226
+ deletion_protection: builtins.bool = ...,
227
+ ) -> None: ...
228
+ def HasField(self, field_name: typing.Literal["config_spec", b"config_spec"]) -> builtins.bool: ...
229
+ def ClearField(self, field_name: typing.Literal["config_spec", b"config_spec", "database_specs", b"database_specs", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "user_specs", b"user_specs"]) -> None: ...
230
+
231
+ global___CreateClusterRequest = CreateClusterRequest
232
+
233
+ @typing.final
234
+ class CreateClusterMetadata(google.protobuf.message.Message):
235
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
236
+
237
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
238
+ cluster_id: builtins.str
239
+ """ID of the SPQR cluster that is being created."""
240
+ def __init__(
241
+ self,
242
+ *,
243
+ cluster_id: builtins.str = ...,
244
+ ) -> None: ...
245
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
246
+
247
+ global___CreateClusterMetadata = CreateClusterMetadata
248
+
249
+ @typing.final
250
+ class UpdateClusterRequest(google.protobuf.message.Message):
251
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
252
+
253
+ @typing.final
254
+ class LabelsEntry(google.protobuf.message.Message):
255
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
256
+
257
+ KEY_FIELD_NUMBER: builtins.int
258
+ VALUE_FIELD_NUMBER: builtins.int
259
+ key: builtins.str
260
+ value: builtins.str
261
+ def __init__(
262
+ self,
263
+ *,
264
+ key: builtins.str = ...,
265
+ value: builtins.str = ...,
266
+ ) -> None: ...
267
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
268
+
269
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
270
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
271
+ NAME_FIELD_NUMBER: builtins.int
272
+ DESCRIPTION_FIELD_NUMBER: builtins.int
273
+ LABELS_FIELD_NUMBER: builtins.int
274
+ CONFIG_SPEC_FIELD_NUMBER: builtins.int
275
+ MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
276
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
277
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
278
+ NETWORK_ID_FIELD_NUMBER: builtins.int
279
+ cluster_id: builtins.str
280
+ """ID of the SPQR Cluster resource to update.
281
+ To get the SPQR cluster ID use a [ClusterService.List] request.
282
+ """
283
+ name: builtins.str
284
+ """New name for the cluster."""
285
+ description: builtins.str
286
+ """New description of the SPQR cluster."""
287
+ deletion_protection: builtins.bool
288
+ """Deletion Protection inhibits deletion of the cluster"""
289
+ network_id: builtins.str
290
+ """ID of the network to move the cluster to."""
291
+ @property
292
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
293
+ """Field mask that specifies which fields of the SPQR Cluster resource should be updated."""
294
+
295
+ @property
296
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
297
+ """Custom labels for the SPQR cluster as `` key:value `` pairs. Maximum 64 per resource.
298
+ For example, "project": "mvp" or "source": "dictionary".
299
+
300
+ The new set of labels will completely replace the old ones. To add a label, request the current
301
+ set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set.
302
+ """
303
+
304
+ @property
305
+ def config_spec(self) -> global___ConfigSpec:
306
+ """New configuration and resources for hosts in the cluster."""
307
+
308
+ @property
309
+ def maintenance_window(self) -> yandex.cloud.mdb.spqr.v1.maintenance_pb2.MaintenanceWindow:
310
+ """New maintenance window settings for the cluster."""
311
+
312
+ @property
313
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
314
+ """User security groups"""
315
+
316
+ def __init__(
317
+ self,
318
+ *,
319
+ cluster_id: builtins.str = ...,
320
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
321
+ name: builtins.str = ...,
322
+ description: builtins.str = ...,
323
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
324
+ config_spec: global___ConfigSpec | None = ...,
325
+ maintenance_window: yandex.cloud.mdb.spqr.v1.maintenance_pb2.MaintenanceWindow | None = ...,
326
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
327
+ deletion_protection: builtins.bool = ...,
328
+ network_id: builtins.str = ...,
329
+ ) -> None: ...
330
+ def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "maintenance_window", b"maintenance_window", "update_mask", b"update_mask"]) -> builtins.bool: ...
331
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "maintenance_window", b"maintenance_window", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "update_mask", b"update_mask"]) -> None: ...
332
+
333
+ global___UpdateClusterRequest = UpdateClusterRequest
334
+
335
+ @typing.final
336
+ class UpdateClusterMetadata(google.protobuf.message.Message):
337
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
338
+
339
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
340
+ cluster_id: builtins.str
341
+ """ID of the SPQR Cluster resource that is being updated."""
342
+ def __init__(
343
+ self,
344
+ *,
345
+ cluster_id: builtins.str = ...,
346
+ ) -> None: ...
347
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
348
+
349
+ global___UpdateClusterMetadata = UpdateClusterMetadata
350
+
351
+ @typing.final
352
+ class DeleteClusterRequest(google.protobuf.message.Message):
353
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
354
+
355
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
356
+ cluster_id: builtins.str
357
+ """ID of the SPQR cluster to delete.
358
+ To get the SPQR cluster ID, use a [ClusterService.List] request.
359
+ """
360
+ def __init__(
361
+ self,
362
+ *,
363
+ cluster_id: builtins.str = ...,
364
+ ) -> None: ...
365
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
366
+
367
+ global___DeleteClusterRequest = DeleteClusterRequest
368
+
369
+ @typing.final
370
+ class DeleteClusterMetadata(google.protobuf.message.Message):
371
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
372
+
373
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
374
+ cluster_id: builtins.str
375
+ """ID of the SPQR cluster that is being deleted."""
376
+ def __init__(
377
+ self,
378
+ *,
379
+ cluster_id: builtins.str = ...,
380
+ ) -> None: ...
381
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
382
+
383
+ global___DeleteClusterMetadata = DeleteClusterMetadata
384
+
385
+ @typing.final
386
+ class StartClusterRequest(google.protobuf.message.Message):
387
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
388
+
389
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
390
+ cluster_id: builtins.str
391
+ """ID of the SPQR cluster to start."""
392
+ def __init__(
393
+ self,
394
+ *,
395
+ cluster_id: builtins.str = ...,
396
+ ) -> None: ...
397
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
398
+
399
+ global___StartClusterRequest = StartClusterRequest
400
+
401
+ @typing.final
402
+ class StartClusterMetadata(google.protobuf.message.Message):
403
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
404
+
405
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
406
+ cluster_id: builtins.str
407
+ """ID of the SPQR cluster."""
408
+ def __init__(
409
+ self,
410
+ *,
411
+ cluster_id: builtins.str = ...,
412
+ ) -> None: ...
413
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
414
+
415
+ global___StartClusterMetadata = StartClusterMetadata
416
+
417
+ @typing.final
418
+ class StopClusterRequest(google.protobuf.message.Message):
419
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
420
+
421
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
422
+ cluster_id: builtins.str
423
+ """ID of the SPQR cluster to stop."""
424
+ def __init__(
425
+ self,
426
+ *,
427
+ cluster_id: builtins.str = ...,
428
+ ) -> None: ...
429
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
430
+
431
+ global___StopClusterRequest = StopClusterRequest
432
+
433
+ @typing.final
434
+ class StopClusterMetadata(google.protobuf.message.Message):
435
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
436
+
437
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
438
+ cluster_id: builtins.str
439
+ """ID of the SPQR cluster."""
440
+ def __init__(
441
+ self,
442
+ *,
443
+ cluster_id: builtins.str = ...,
444
+ ) -> None: ...
445
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
446
+
447
+ global___StopClusterMetadata = StopClusterMetadata
448
+
449
+ @typing.final
450
+ class MoveClusterRequest(google.protobuf.message.Message):
451
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
452
+
453
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
454
+ DESTINATION_FOLDER_ID_FIELD_NUMBER: builtins.int
455
+ cluster_id: builtins.str
456
+ """ID of the SPQR cluster to move."""
457
+ destination_folder_id: builtins.str
458
+ """ID of the destination folder."""
459
+ def __init__(
460
+ self,
461
+ *,
462
+ cluster_id: builtins.str = ...,
463
+ destination_folder_id: builtins.str = ...,
464
+ ) -> None: ...
465
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "destination_folder_id", b"destination_folder_id"]) -> None: ...
466
+
467
+ global___MoveClusterRequest = MoveClusterRequest
468
+
469
+ @typing.final
470
+ class MoveClusterMetadata(google.protobuf.message.Message):
471
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
472
+
473
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
474
+ SOURCE_FOLDER_ID_FIELD_NUMBER: builtins.int
475
+ DESTINATION_FOLDER_ID_FIELD_NUMBER: builtins.int
476
+ cluster_id: builtins.str
477
+ """ID of the SPQR cluster being moved."""
478
+ source_folder_id: builtins.str
479
+ """ID of the source folder."""
480
+ destination_folder_id: builtins.str
481
+ """ID of the destnation folder."""
482
+ def __init__(
483
+ self,
484
+ *,
485
+ cluster_id: builtins.str = ...,
486
+ source_folder_id: builtins.str = ...,
487
+ destination_folder_id: builtins.str = ...,
488
+ ) -> None: ...
489
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "destination_folder_id", b"destination_folder_id", "source_folder_id", b"source_folder_id"]) -> None: ...
490
+
491
+ global___MoveClusterMetadata = MoveClusterMetadata
492
+
493
+ @typing.final
494
+ class BackupClusterRequest(google.protobuf.message.Message):
495
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
496
+
497
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
498
+ cluster_id: builtins.str
499
+ """ID of the SPQR cluster to back up.
500
+ To get the SPQR cluster ID, use a [ClusterService.List] request.
501
+ """
502
+ def __init__(
503
+ self,
504
+ *,
505
+ cluster_id: builtins.str = ...,
506
+ ) -> None: ...
507
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
508
+
509
+ global___BackupClusterRequest = BackupClusterRequest
510
+
511
+ @typing.final
512
+ class BackupClusterMetadata(google.protobuf.message.Message):
513
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
514
+
515
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
516
+ cluster_id: builtins.str
517
+ """ID of the SPQR cluster that is being backed up."""
518
+ def __init__(
519
+ self,
520
+ *,
521
+ cluster_id: builtins.str = ...,
522
+ ) -> None: ...
523
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
524
+
525
+ global___BackupClusterMetadata = BackupClusterMetadata
526
+
527
+ @typing.final
528
+ class RestoreClusterRequest(google.protobuf.message.Message):
529
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
530
+
531
+ @typing.final
532
+ class LabelsEntry(google.protobuf.message.Message):
533
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
534
+
535
+ KEY_FIELD_NUMBER: builtins.int
536
+ VALUE_FIELD_NUMBER: builtins.int
537
+ key: builtins.str
538
+ value: builtins.str
539
+ def __init__(
540
+ self,
541
+ *,
542
+ key: builtins.str = ...,
543
+ value: builtins.str = ...,
544
+ ) -> None: ...
545
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
546
+
547
+ BACKUP_ID_FIELD_NUMBER: builtins.int
548
+ NAME_FIELD_NUMBER: builtins.int
549
+ DESCRIPTION_FIELD_NUMBER: builtins.int
550
+ LABELS_FIELD_NUMBER: builtins.int
551
+ ENVIRONMENT_FIELD_NUMBER: builtins.int
552
+ CONFIG_SPEC_FIELD_NUMBER: builtins.int
553
+ HOST_SPECS_FIELD_NUMBER: builtins.int
554
+ NETWORK_ID_FIELD_NUMBER: builtins.int
555
+ FOLDER_ID_FIELD_NUMBER: builtins.int
556
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
557
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
558
+ TIME_FIELD_NUMBER: builtins.int
559
+ TIME_INCLUSIVE_FIELD_NUMBER: builtins.int
560
+ backup_id: builtins.str
561
+ """ID of the backup to create a cluster from.
562
+ To get the backup ID, use a [ClusterService.ListBackups] request.
563
+ """
564
+ name: builtins.str
565
+ """Name of the new SPQR cluster. The name must be unique within the folder.
566
+ The name can't be changed after the SPQR cluster is created.
567
+ """
568
+ description: builtins.str
569
+ """Description of the new SPQR cluster."""
570
+ environment: yandex.cloud.mdb.spqr.v1.cluster_pb2.Cluster.Environment.ValueType
571
+ """Deployment environment of the new SPQR cluster."""
572
+ network_id: builtins.str
573
+ """ID of the network to create the SPQR cluster in."""
574
+ folder_id: builtins.str
575
+ """Required. ID of the folder to create the SPQR cluster in."""
576
+ deletion_protection: builtins.bool
577
+ """Deletion Protection inhibits deletion of the cluster"""
578
+ time_inclusive: builtins.bool
579
+ """Flag that indicates whether a database should be restored to the first backup point
580
+ available just after the timestamp specified in the [time] field instead of just before.
581
+
582
+ Possible values:
583
+ * false (default) - the restore point refers to the first backup moment before [time].
584
+ * true - the restore point refers to the first backup point after [time].
585
+ """
586
+ @property
587
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
588
+ """Custom labels for the SPQR cluster as `` key:value `` pairs. Maximum 64 per resource.
589
+ For example, "project": "mvp" or "source": "dictionary".
590
+ """
591
+
592
+ @property
593
+ def config_spec(self) -> global___ConfigSpec:
594
+ """Configuration for the SPQR cluster to be created."""
595
+
596
+ @property
597
+ def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec]:
598
+ """Configurations for SPQR hosts that should be created for
599
+ the cluster that is being created from the backup.
600
+ """
601
+
602
+ @property
603
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
604
+ """User security groups"""
605
+
606
+ @property
607
+ def time(self) -> google.protobuf.timestamp_pb2.Timestamp:
608
+ """Timestamp of the moment to which the SPQR cluster should be restored."""
609
+
610
+ def __init__(
611
+ self,
612
+ *,
613
+ backup_id: builtins.str = ...,
614
+ name: builtins.str = ...,
615
+ description: builtins.str = ...,
616
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
617
+ environment: yandex.cloud.mdb.spqr.v1.cluster_pb2.Cluster.Environment.ValueType = ...,
618
+ config_spec: global___ConfigSpec | None = ...,
619
+ host_specs: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec] | None = ...,
620
+ network_id: builtins.str = ...,
621
+ folder_id: builtins.str = ...,
622
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
623
+ deletion_protection: builtins.bool = ...,
624
+ time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
625
+ time_inclusive: builtins.bool = ...,
626
+ ) -> None: ...
627
+ def HasField(self, field_name: typing.Literal["config_spec", b"config_spec", "time", b"time"]) -> builtins.bool: ...
628
+ def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "environment", b"environment", "folder_id", b"folder_id", "host_specs", b"host_specs", "labels", b"labels", "name", b"name", "network_id", b"network_id", "security_group_ids", b"security_group_ids", "time", b"time", "time_inclusive", b"time_inclusive"]) -> None: ...
629
+
630
+ global___RestoreClusterRequest = RestoreClusterRequest
631
+
632
+ @typing.final
633
+ class RestoreClusterMetadata(google.protobuf.message.Message):
634
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
635
+
636
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
637
+ BACKUP_ID_FIELD_NUMBER: builtins.int
638
+ cluster_id: builtins.str
639
+ """ID of the new SPQR cluster that is being created from a backup."""
640
+ backup_id: builtins.str
641
+ """ID of the backup that is being used for creating a cluster."""
642
+ def __init__(
643
+ self,
644
+ *,
645
+ cluster_id: builtins.str = ...,
646
+ backup_id: builtins.str = ...,
647
+ ) -> None: ...
648
+ def ClearField(self, field_name: typing.Literal["backup_id", b"backup_id", "cluster_id", b"cluster_id"]) -> None: ...
649
+
650
+ global___RestoreClusterMetadata = RestoreClusterMetadata
651
+
652
+ @typing.final
653
+ class RescheduleMaintenanceRequest(google.protobuf.message.Message):
654
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
655
+
656
+ class _RescheduleType:
657
+ ValueType = typing.NewType("ValueType", builtins.int)
658
+ V: typing_extensions.TypeAlias = ValueType
659
+
660
+ class _RescheduleTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RescheduleMaintenanceRequest._RescheduleType.ValueType], builtins.type):
661
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
662
+ RESCHEDULE_TYPE_UNSPECIFIED: RescheduleMaintenanceRequest._RescheduleType.ValueType # 0
663
+ IMMEDIATE: RescheduleMaintenanceRequest._RescheduleType.ValueType # 1
664
+ """Start the maintenance operation immediately."""
665
+ NEXT_AVAILABLE_WINDOW: RescheduleMaintenanceRequest._RescheduleType.ValueType # 2
666
+ """Start the maintenance operation within the next available maintenance window."""
667
+ SPECIFIC_TIME: RescheduleMaintenanceRequest._RescheduleType.ValueType # 3
668
+ """Start the maintenance operation at the specific time."""
669
+
670
+ class RescheduleType(_RescheduleType, metaclass=_RescheduleTypeEnumTypeWrapper): ...
671
+ RESCHEDULE_TYPE_UNSPECIFIED: RescheduleMaintenanceRequest.RescheduleType.ValueType # 0
672
+ IMMEDIATE: RescheduleMaintenanceRequest.RescheduleType.ValueType # 1
673
+ """Start the maintenance operation immediately."""
674
+ NEXT_AVAILABLE_WINDOW: RescheduleMaintenanceRequest.RescheduleType.ValueType # 2
675
+ """Start the maintenance operation within the next available maintenance window."""
676
+ SPECIFIC_TIME: RescheduleMaintenanceRequest.RescheduleType.ValueType # 3
677
+ """Start the maintenance operation at the specific time."""
678
+
679
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
680
+ RESCHEDULE_TYPE_FIELD_NUMBER: builtins.int
681
+ DELAYED_UNTIL_FIELD_NUMBER: builtins.int
682
+ cluster_id: builtins.str
683
+ """ID of the SPQR cluster to reschedule the maintenance operation for."""
684
+ reschedule_type: global___RescheduleMaintenanceRequest.RescheduleType.ValueType
685
+ """The type of reschedule request."""
686
+ @property
687
+ def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
688
+ """The time until which this maintenance operation should be delayed. The value should be ahead of the first time when the maintenance operation has been scheduled for no more than two weeks. The value can also point to the past moment of time if [reschedule_type.IMMEDIATE] reschedule type is chosen."""
689
+
690
+ def __init__(
691
+ self,
692
+ *,
693
+ cluster_id: builtins.str = ...,
694
+ reschedule_type: global___RescheduleMaintenanceRequest.RescheduleType.ValueType = ...,
695
+ delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
696
+ ) -> None: ...
697
+ def HasField(self, field_name: typing.Literal["delayed_until", b"delayed_until"]) -> builtins.bool: ...
698
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "delayed_until", b"delayed_until", "reschedule_type", b"reschedule_type"]) -> None: ...
699
+
700
+ global___RescheduleMaintenanceRequest = RescheduleMaintenanceRequest
701
+
702
+ @typing.final
703
+ class RescheduleMaintenanceMetadata(google.protobuf.message.Message):
704
+ """Rescheduled maintenance operation metadata."""
705
+
706
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
707
+
708
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
709
+ DELAYED_UNTIL_FIELD_NUMBER: builtins.int
710
+ cluster_id: builtins.str
711
+ """Required. ID of the SPQR cluster."""
712
+ @property
713
+ def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp:
714
+ """Required. The time until which this maintenance operation is to be delayed.
715
+ Can be in the past for rescheduled to "IMMEDIATE".
716
+ """
717
+
718
+ def __init__(
719
+ self,
720
+ *,
721
+ cluster_id: builtins.str = ...,
722
+ delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
723
+ ) -> None: ...
724
+ def HasField(self, field_name: typing.Literal["delayed_until", b"delayed_until"]) -> builtins.bool: ...
725
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "delayed_until", b"delayed_until"]) -> None: ...
726
+
727
+ global___RescheduleMaintenanceMetadata = RescheduleMaintenanceMetadata
728
+
729
+ @typing.final
730
+ class LogRecord(google.protobuf.message.Message):
731
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
732
+
733
+ @typing.final
734
+ class MessageEntry(google.protobuf.message.Message):
735
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
736
+
737
+ KEY_FIELD_NUMBER: builtins.int
738
+ VALUE_FIELD_NUMBER: builtins.int
739
+ key: builtins.str
740
+ value: builtins.str
741
+ def __init__(
742
+ self,
743
+ *,
744
+ key: builtins.str = ...,
745
+ value: builtins.str = ...,
746
+ ) -> None: ...
747
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
748
+
749
+ TIMESTAMP_FIELD_NUMBER: builtins.int
750
+ MESSAGE_FIELD_NUMBER: builtins.int
751
+ @property
752
+ def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp:
753
+ """Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
754
+
755
+ @property
756
+ def message(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
757
+ """Contents of the log record."""
758
+
759
+ def __init__(
760
+ self,
761
+ *,
762
+ timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
763
+ message: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
764
+ ) -> None: ...
765
+ def HasField(self, field_name: typing.Literal["timestamp", b"timestamp"]) -> builtins.bool: ...
766
+ def ClearField(self, field_name: typing.Literal["message", b"message", "timestamp", b"timestamp"]) -> None: ...
767
+
768
+ global___LogRecord = LogRecord
769
+
770
+ @typing.final
771
+ class ListClusterLogsRequest(google.protobuf.message.Message):
772
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
773
+
774
+ class _ServiceType:
775
+ ValueType = typing.NewType("ValueType", builtins.int)
776
+ V: typing_extensions.TypeAlias = ValueType
777
+
778
+ class _ServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ListClusterLogsRequest._ServiceType.ValueType], builtins.type):
779
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
780
+ SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest._ServiceType.ValueType # 0
781
+ POSTGRESQL: ListClusterLogsRequest._ServiceType.ValueType # 1
782
+ """Logs of SPQR activity."""
783
+ ROUTER: ListClusterLogsRequest._ServiceType.ValueType # 2
784
+ COORDINATOR: ListClusterLogsRequest._ServiceType.ValueType # 3
785
+
786
+ class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
787
+ SERVICE_TYPE_UNSPECIFIED: ListClusterLogsRequest.ServiceType.ValueType # 0
788
+ POSTGRESQL: ListClusterLogsRequest.ServiceType.ValueType # 1
789
+ """Logs of SPQR activity."""
790
+ ROUTER: ListClusterLogsRequest.ServiceType.ValueType # 2
791
+ COORDINATOR: ListClusterLogsRequest.ServiceType.ValueType # 3
792
+
793
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
794
+ COLUMN_FILTER_FIELD_NUMBER: builtins.int
795
+ SERVICE_TYPE_FIELD_NUMBER: builtins.int
796
+ FROM_TIME_FIELD_NUMBER: builtins.int
797
+ TO_TIME_FIELD_NUMBER: builtins.int
798
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
799
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
800
+ ALWAYS_NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
801
+ FILTER_FIELD_NUMBER: builtins.int
802
+ ORDER_BY_FIELD_NUMBER: builtins.int
803
+ cluster_id: builtins.str
804
+ """ID of the SPQR cluster to request logs for.
805
+ To get the SPQR cluster ID use a [ClusterService.List] request.
806
+ """
807
+ service_type: global___ListClusterLogsRequest.ServiceType.ValueType
808
+ """Type of the service to request logs about."""
809
+ page_size: builtins.int
810
+ """The maximum number of results per page to return. If the number of available
811
+ results is larger than [page_size], the service returns a [ListClusterLogsResponse.next_page_token]
812
+ that can be used to get the next page of results in subsequent list requests.
813
+ Acceptable values are 0 to 1000, inclusive. Default value: 100.
814
+ """
815
+ page_token: builtins.str
816
+ """Page token. To get the next page of results, set [page_token] to the
817
+ [ListClusterLogsResponse.next_page_token] returned by the previous list request.
818
+ """
819
+ always_next_page_token: builtins.bool
820
+ """Always return `next_page_token`, even if current page is empty."""
821
+ filter: builtins.str
822
+ """A filter expression that filters resources listed in the response.
823
+ The expression must specify:
824
+ 1. The field name. Currently filtering can be applied to the [LogRecord.logs.message.hostname], [LogRecord.logs.message.severity] fields.
825
+ 2. A conditional operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values.
826
+ 3. The value. Must be 1-63 characters long and match the regular expression `^[a-z0-9.-]{1,61}$`.
827
+ Examples of a filter: `message.hostname='node1.db.cloud.yandex.net'`, `message.severity IN ('E', 'F')`
828
+ """
829
+ order_by: builtins.str
830
+ @property
831
+ def column_filter(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
832
+ """Columns from the logs table to request.
833
+ If no columns are specified, entire log records are returned.
834
+ """
835
+
836
+ @property
837
+ def from_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
838
+ """Start timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
839
+
840
+ @property
841
+ def to_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
842
+ """End timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
843
+
844
+ def __init__(
845
+ self,
846
+ *,
847
+ cluster_id: builtins.str = ...,
848
+ column_filter: collections.abc.Iterable[builtins.str] | None = ...,
849
+ service_type: global___ListClusterLogsRequest.ServiceType.ValueType = ...,
850
+ from_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
851
+ to_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
852
+ page_size: builtins.int = ...,
853
+ page_token: builtins.str = ...,
854
+ always_next_page_token: builtins.bool = ...,
855
+ filter: builtins.str = ...,
856
+ order_by: builtins.str = ...,
857
+ ) -> None: ...
858
+ def HasField(self, field_name: typing.Literal["from_time", b"from_time", "to_time", b"to_time"]) -> builtins.bool: ...
859
+ def ClearField(self, field_name: typing.Literal["always_next_page_token", b"always_next_page_token", "cluster_id", b"cluster_id", "column_filter", b"column_filter", "filter", b"filter", "from_time", b"from_time", "order_by", b"order_by", "page_size", b"page_size", "page_token", b"page_token", "service_type", b"service_type", "to_time", b"to_time"]) -> None: ...
860
+
861
+ global___ListClusterLogsRequest = ListClusterLogsRequest
862
+
863
+ @typing.final
864
+ class ListClusterLogsResponse(google.protobuf.message.Message):
865
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
866
+
867
+ LOGS_FIELD_NUMBER: builtins.int
868
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
869
+ next_page_token: builtins.str
870
+ """This token allows you to get the next page of results for list requests. If the number of results
871
+ is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value
872
+ for the [ListClusterLogsRequest.page_token] query parameter in the next list request.
873
+ Each subsequent list request will have its own [next_page_token] to continue paging through the results.
874
+ This value is interchangeable with `next_record_token` from StreamLogs method.
875
+ """
876
+ @property
877
+ def logs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogRecord]:
878
+ """Requested log records."""
879
+
880
+ def __init__(
881
+ self,
882
+ *,
883
+ logs: collections.abc.Iterable[global___LogRecord] | None = ...,
884
+ next_page_token: builtins.str = ...,
885
+ ) -> None: ...
886
+ def ClearField(self, field_name: typing.Literal["logs", b"logs", "next_page_token", b"next_page_token"]) -> None: ...
887
+
888
+ global___ListClusterLogsResponse = ListClusterLogsResponse
889
+
890
+ @typing.final
891
+ class StreamLogRecord(google.protobuf.message.Message):
892
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
893
+
894
+ RECORD_FIELD_NUMBER: builtins.int
895
+ NEXT_RECORD_TOKEN_FIELD_NUMBER: builtins.int
896
+ next_record_token: builtins.str
897
+ """This token allows you to continue streaming logs starting from the exact
898
+ same record. To continue streaming, specify value of `next_record_token`
899
+ as value for `record_token` parameter in the next StreamLogs request.
900
+ This value is interchangeable with `next_page_token` from ListLogs method.
901
+ """
902
+ @property
903
+ def record(self) -> global___LogRecord:
904
+ """One of the requested log records."""
905
+
906
+ def __init__(
907
+ self,
908
+ *,
909
+ record: global___LogRecord | None = ...,
910
+ next_record_token: builtins.str = ...,
911
+ ) -> None: ...
912
+ def HasField(self, field_name: typing.Literal["record", b"record"]) -> builtins.bool: ...
913
+ def ClearField(self, field_name: typing.Literal["next_record_token", b"next_record_token", "record", b"record"]) -> None: ...
914
+
915
+ global___StreamLogRecord = StreamLogRecord
916
+
917
+ @typing.final
918
+ class StreamClusterLogsRequest(google.protobuf.message.Message):
919
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
920
+
921
+ class _ServiceType:
922
+ ValueType = typing.NewType("ValueType", builtins.int)
923
+ V: typing_extensions.TypeAlias = ValueType
924
+
925
+ class _ServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StreamClusterLogsRequest._ServiceType.ValueType], builtins.type):
926
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
927
+ SERVICE_TYPE_UNSPECIFIED: StreamClusterLogsRequest._ServiceType.ValueType # 0
928
+ POSTGRESQL: StreamClusterLogsRequest._ServiceType.ValueType # 1
929
+ """Logs of SPQR activity."""
930
+ ROUTER: StreamClusterLogsRequest._ServiceType.ValueType # 2
931
+ COORDINATOR: StreamClusterLogsRequest._ServiceType.ValueType # 3
932
+
933
+ class ServiceType(_ServiceType, metaclass=_ServiceTypeEnumTypeWrapper): ...
934
+ SERVICE_TYPE_UNSPECIFIED: StreamClusterLogsRequest.ServiceType.ValueType # 0
935
+ POSTGRESQL: StreamClusterLogsRequest.ServiceType.ValueType # 1
936
+ """Logs of SPQR activity."""
937
+ ROUTER: StreamClusterLogsRequest.ServiceType.ValueType # 2
938
+ COORDINATOR: StreamClusterLogsRequest.ServiceType.ValueType # 3
939
+
940
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
941
+ COLUMN_FILTER_FIELD_NUMBER: builtins.int
942
+ SERVICE_TYPE_FIELD_NUMBER: builtins.int
943
+ FROM_TIME_FIELD_NUMBER: builtins.int
944
+ TO_TIME_FIELD_NUMBER: builtins.int
945
+ RECORD_TOKEN_FIELD_NUMBER: builtins.int
946
+ FILTER_FIELD_NUMBER: builtins.int
947
+ cluster_id: builtins.str
948
+ """Required. ID of the SPQR cluster."""
949
+ service_type: global___StreamClusterLogsRequest.ServiceType.ValueType
950
+ record_token: builtins.str
951
+ """Record token. Set `record_token` to the `next_record_token` returned by a previous StreamLogs
952
+ request to start streaming from next log record.
953
+ """
954
+ filter: builtins.str
955
+ """A filter expression that filters resources listed in the response.
956
+ The expression must specify:
957
+ 1. The field name. Currently filtering can be applied to the [LogRecord.logs.message.hostname], [LogRecord.logs.message.severity] fields.
958
+ 2. A conditional operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values.
959
+ 3. The value. Must be 1-63 characters long and match the regular expression `^[a-z0-9.-]{1,61}$`.
960
+ Examples of a filter: `message.hostname='node1.db.cloud.yandex.net'`, `message.severity IN ('E', 'F')`
961
+ """
962
+ @property
963
+ def column_filter(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
964
+ """Columns from logs table to get in the response."""
965
+
966
+ @property
967
+ def from_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
968
+ """Start timestamp for the logs request."""
969
+
970
+ @property
971
+ def to_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
972
+ """End timestamp for the logs request.
973
+ If this field is not set, all existing logs will be sent and then the new ones as
974
+ they appear. In essence it has 'tail -f' semantics.
975
+ """
976
+
977
+ def __init__(
978
+ self,
979
+ *,
980
+ cluster_id: builtins.str = ...,
981
+ column_filter: collections.abc.Iterable[builtins.str] | None = ...,
982
+ service_type: global___StreamClusterLogsRequest.ServiceType.ValueType = ...,
983
+ from_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
984
+ to_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
985
+ record_token: builtins.str = ...,
986
+ filter: builtins.str = ...,
987
+ ) -> None: ...
988
+ def HasField(self, field_name: typing.Literal["from_time", b"from_time", "to_time", b"to_time"]) -> builtins.bool: ...
989
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "column_filter", b"column_filter", "filter", b"filter", "from_time", b"from_time", "record_token", b"record_token", "service_type", b"service_type", "to_time", b"to_time"]) -> None: ...
990
+
991
+ global___StreamClusterLogsRequest = StreamClusterLogsRequest
992
+
993
+ @typing.final
994
+ class ListClusterOperationsRequest(google.protobuf.message.Message):
995
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
996
+
997
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
998
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
999
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
1000
+ cluster_id: builtins.str
1001
+ """ID of the SPQR Cluster resource to list operations for."""
1002
+ page_size: builtins.int
1003
+ """The maximum number of results per page to return. If the number of available
1004
+ results is larger than [page_size], the service returns a [ListClusterOperationsResponse.next_page_token]
1005
+ that can be used to get the next page of results in subsequent list requests.
1006
+ Acceptable values are 0 to 1000, inclusive. Default value: 100.
1007
+ """
1008
+ page_token: builtins.str
1009
+ """Page token. To get the next page of results, set [page_token] to the
1010
+ [ListClusterOperationsResponse.next_page_token] returned by the previous list request.
1011
+ """
1012
+ def __init__(
1013
+ self,
1014
+ *,
1015
+ cluster_id: builtins.str = ...,
1016
+ page_size: builtins.int = ...,
1017
+ page_token: builtins.str = ...,
1018
+ ) -> None: ...
1019
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
1020
+
1021
+ global___ListClusterOperationsRequest = ListClusterOperationsRequest
1022
+
1023
+ @typing.final
1024
+ class ListClusterOperationsResponse(google.protobuf.message.Message):
1025
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1026
+
1027
+ OPERATIONS_FIELD_NUMBER: builtins.int
1028
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
1029
+ next_page_token: builtins.str
1030
+ """This token allows you to get the next page of results for list requests. If the number of results
1031
+ is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value
1032
+ for the [ListClusterOperationsRequest.page_token] query parameter in the next list request.
1033
+ Each subsequent list request will have its own [next_page_token] to continue paging through the results.
1034
+ """
1035
+ @property
1036
+ def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
1037
+ """List of Operation resources for the specified SPQR cluster."""
1038
+
1039
+ def __init__(
1040
+ self,
1041
+ *,
1042
+ operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
1043
+ next_page_token: builtins.str = ...,
1044
+ ) -> None: ...
1045
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
1046
+
1047
+ global___ListClusterOperationsResponse = ListClusterOperationsResponse
1048
+
1049
+ @typing.final
1050
+ class BackupListFilter(google.protobuf.message.Message):
1051
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1052
+
1053
+ START_TIME_FIELD_NUMBER: builtins.int
1054
+ END_TIME_FIELD_NUMBER: builtins.int
1055
+ RETENTION_POLICY_ID_FIELD_NUMBER: builtins.int
1056
+ retention_policy_id: builtins.str
1057
+ """Retention ID [Backup.retention_policy_id] of the associated backup policy."""
1058
+ @property
1059
+ def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
1060
+ """Start time for the filter."""
1061
+
1062
+ @property
1063
+ def end_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
1064
+ """End time for the filter."""
1065
+
1066
+ def __init__(
1067
+ self,
1068
+ *,
1069
+ start_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1070
+ end_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1071
+ retention_policy_id: builtins.str = ...,
1072
+ ) -> None: ...
1073
+ def HasField(self, field_name: typing.Literal["end_time", b"end_time", "start_time", b"start_time"]) -> builtins.bool: ...
1074
+ def ClearField(self, field_name: typing.Literal["end_time", b"end_time", "retention_policy_id", b"retention_policy_id", "start_time", b"start_time"]) -> None: ...
1075
+
1076
+ global___BackupListFilter = BackupListFilter
1077
+
1078
+ @typing.final
1079
+ class ListClusterBackupsRequest(google.protobuf.message.Message):
1080
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1081
+
1082
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1083
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
1084
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
1085
+ cluster_id: builtins.str
1086
+ """ID of the SPQR cluster.
1087
+ To get the SPQR cluster ID, use a [ClusterService.List] request.
1088
+ """
1089
+ page_size: builtins.int
1090
+ """The maximum number of results per page to return. If the number of available
1091
+ results is larger than [page_size], the service returns a [ListClusterBackupsResponse.next_page_token]
1092
+ that can be used to get the next page of results in subsequent list requests.
1093
+ Acceptable values are 0 to 1000, inclusive. Default value: 100.
1094
+ """
1095
+ page_token: builtins.str
1096
+ """Page token. To get the next page of results, set [page_token] to the
1097
+ [ListClusterBackupsResponse.next_page_token] returned by the previous list request.
1098
+ """
1099
+ def __init__(
1100
+ self,
1101
+ *,
1102
+ cluster_id: builtins.str = ...,
1103
+ page_size: builtins.int = ...,
1104
+ page_token: builtins.str = ...,
1105
+ ) -> None: ...
1106
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
1107
+
1108
+ global___ListClusterBackupsRequest = ListClusterBackupsRequest
1109
+
1110
+ @typing.final
1111
+ class ListClusterBackupsResponse(google.protobuf.message.Message):
1112
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1113
+
1114
+ BACKUPS_FIELD_NUMBER: builtins.int
1115
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
1116
+ next_page_token: builtins.str
1117
+ """This token allows you to get the next page of results for list requests. If the number of results
1118
+ is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value
1119
+ for the [ListClusterBackupsRequest.page_token] query parameter in the next list request.
1120
+ Each subsequent list request will have its own [next_page_token] to continue paging through the results.
1121
+ """
1122
+ @property
1123
+ def backups(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.backup_pb2.Backup]:
1124
+ """List of SPQR Backup resources."""
1125
+
1126
+ def __init__(
1127
+ self,
1128
+ *,
1129
+ backups: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.backup_pb2.Backup] | None = ...,
1130
+ next_page_token: builtins.str = ...,
1131
+ ) -> None: ...
1132
+ def ClearField(self, field_name: typing.Literal["backups", b"backups", "next_page_token", b"next_page_token"]) -> None: ...
1133
+
1134
+ global___ListClusterBackupsResponse = ListClusterBackupsResponse
1135
+
1136
+ @typing.final
1137
+ class SpqrSpec(google.protobuf.message.Message):
1138
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1139
+
1140
+ @typing.final
1141
+ class Router(google.protobuf.message.Message):
1142
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1143
+
1144
+ CONFIG_FIELD_NUMBER: builtins.int
1145
+ RESOURCES_FIELD_NUMBER: builtins.int
1146
+ @property
1147
+ def config(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.RouterSettings:
1148
+ """Configuration for router hosts."""
1149
+
1150
+ @property
1151
+ def resources(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.Resources:
1152
+ """Resources allocated to each host."""
1153
+
1154
+ def __init__(
1155
+ self,
1156
+ *,
1157
+ config: yandex.cloud.mdb.spqr.v1.config_pb2.RouterSettings | None = ...,
1158
+ resources: yandex.cloud.mdb.spqr.v1.config_pb2.Resources | None = ...,
1159
+ ) -> None: ...
1160
+ def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> builtins.bool: ...
1161
+ def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> None: ...
1162
+
1163
+ @typing.final
1164
+ class Coordinator(google.protobuf.message.Message):
1165
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1166
+
1167
+ CONFIG_FIELD_NUMBER: builtins.int
1168
+ RESOURCES_FIELD_NUMBER: builtins.int
1169
+ @property
1170
+ def config(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.CoordinatorSettings:
1171
+ """Configuration for coordinator hosts."""
1172
+
1173
+ @property
1174
+ def resources(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.Resources:
1175
+ """Resources allocated to each host."""
1176
+
1177
+ def __init__(
1178
+ self,
1179
+ *,
1180
+ config: yandex.cloud.mdb.spqr.v1.config_pb2.CoordinatorSettings | None = ...,
1181
+ resources: yandex.cloud.mdb.spqr.v1.config_pb2.Resources | None = ...,
1182
+ ) -> None: ...
1183
+ def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> builtins.bool: ...
1184
+ def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> None: ...
1185
+
1186
+ @typing.final
1187
+ class PostgreSQL(google.protobuf.message.Message):
1188
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1189
+
1190
+ CONFIG_FIELD_NUMBER: builtins.int
1191
+ RESOURCES_FIELD_NUMBER: builtins.int
1192
+ @property
1193
+ def config(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.PostgreSQLSettings:
1194
+ """Configuration for PostgreSQL hosts."""
1195
+
1196
+ @property
1197
+ def resources(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.Resources:
1198
+ """Resources allocated to each host."""
1199
+
1200
+ def __init__(
1201
+ self,
1202
+ *,
1203
+ config: yandex.cloud.mdb.spqr.v1.config_pb2.PostgreSQLSettings | None = ...,
1204
+ resources: yandex.cloud.mdb.spqr.v1.config_pb2.Resources | None = ...,
1205
+ ) -> None: ...
1206
+ def HasField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> builtins.bool: ...
1207
+ def ClearField(self, field_name: typing.Literal["config", b"config", "resources", b"resources"]) -> None: ...
1208
+
1209
+ @typing.final
1210
+ class Infra(google.protobuf.message.Message):
1211
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1212
+
1213
+ RESOURCES_FIELD_NUMBER: builtins.int
1214
+ ROUTER_FIELD_NUMBER: builtins.int
1215
+ COORDINATOR_FIELD_NUMBER: builtins.int
1216
+ @property
1217
+ def resources(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.Resources:
1218
+ """Resources allocated to each host"""
1219
+
1220
+ @property
1221
+ def router(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.RouterSettings:
1222
+ """Router related configuration"""
1223
+
1224
+ @property
1225
+ def coordinator(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.CoordinatorSettings:
1226
+ """Coordinator related configuration"""
1227
+
1228
+ def __init__(
1229
+ self,
1230
+ *,
1231
+ resources: yandex.cloud.mdb.spqr.v1.config_pb2.Resources | None = ...,
1232
+ router: yandex.cloud.mdb.spqr.v1.config_pb2.RouterSettings | None = ...,
1233
+ coordinator: yandex.cloud.mdb.spqr.v1.config_pb2.CoordinatorSettings | None = ...,
1234
+ ) -> None: ...
1235
+ def HasField(self, field_name: typing.Literal["coordinator", b"coordinator", "resources", b"resources", "router", b"router"]) -> builtins.bool: ...
1236
+ def ClearField(self, field_name: typing.Literal["coordinator", b"coordinator", "resources", b"resources", "router", b"router"]) -> None: ...
1237
+
1238
+ ROUTER_FIELD_NUMBER: builtins.int
1239
+ COORDINATOR_FIELD_NUMBER: builtins.int
1240
+ POSTGRESQL_FIELD_NUMBER: builtins.int
1241
+ INFRA_FIELD_NUMBER: builtins.int
1242
+ CONSOLE_PASSWORD_FIELD_NUMBER: builtins.int
1243
+ LOG_LEVEL_FIELD_NUMBER: builtins.int
1244
+ BALANCER_FIELD_NUMBER: builtins.int
1245
+ console_password: builtins.str
1246
+ """Password of the SPQR console."""
1247
+ log_level: yandex.cloud.mdb.spqr.v1.config_pb2.LogLevel.ValueType
1248
+ @property
1249
+ def router(self) -> global___SpqrSpec.Router:
1250
+ """Configuration and resource allocation for SPQR Router hosts."""
1251
+
1252
+ @property
1253
+ def coordinator(self) -> global___SpqrSpec.Coordinator:
1254
+ """Configuration and resource allocation for SPQR Coordinator hosts."""
1255
+
1256
+ @property
1257
+ def postgresql(self) -> global___SpqrSpec.PostgreSQL:
1258
+ """Configuration and resource allocation for PostgreSQL hosts."""
1259
+
1260
+ @property
1261
+ def infra(self) -> global___SpqrSpec.Infra:
1262
+ """Configuration and resource allocation for SPQR Infra (router+coordinator) hosts."""
1263
+
1264
+ @property
1265
+ def balancer(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.BalancerSettings:
1266
+ """Configuration for SPQR Balancer."""
1267
+
1268
+ def __init__(
1269
+ self,
1270
+ *,
1271
+ router: global___SpqrSpec.Router | None = ...,
1272
+ coordinator: global___SpqrSpec.Coordinator | None = ...,
1273
+ postgresql: global___SpqrSpec.PostgreSQL | None = ...,
1274
+ infra: global___SpqrSpec.Infra | None = ...,
1275
+ console_password: builtins.str = ...,
1276
+ log_level: yandex.cloud.mdb.spqr.v1.config_pb2.LogLevel.ValueType = ...,
1277
+ balancer: yandex.cloud.mdb.spqr.v1.config_pb2.BalancerSettings | None = ...,
1278
+ ) -> None: ...
1279
+ def HasField(self, field_name: typing.Literal["balancer", b"balancer", "coordinator", b"coordinator", "infra", b"infra", "postgresql", b"postgresql", "router", b"router"]) -> builtins.bool: ...
1280
+ def ClearField(self, field_name: typing.Literal["balancer", b"balancer", "console_password", b"console_password", "coordinator", b"coordinator", "infra", b"infra", "log_level", b"log_level", "postgresql", b"postgresql", "router", b"router"]) -> None: ...
1281
+
1282
+ global___SpqrSpec = SpqrSpec
1283
+
1284
+ @typing.final
1285
+ class ConfigSpec(google.protobuf.message.Message):
1286
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1287
+
1288
+ SPQR_SPEC_FIELD_NUMBER: builtins.int
1289
+ BACKUP_WINDOW_START_FIELD_NUMBER: builtins.int
1290
+ BACKUP_RETAIN_PERIOD_DAYS_FIELD_NUMBER: builtins.int
1291
+ ACCESS_FIELD_NUMBER: builtins.int
1292
+ SOX_AUDIT_FIELD_NUMBER: builtins.int
1293
+ @property
1294
+ def spqr_spec(self) -> global___SpqrSpec:
1295
+ """Configuration and resource allocation for a SPQR Beta cluster."""
1296
+
1297
+ @property
1298
+ def backup_window_start(self) -> google.type.timeofday_pb2.TimeOfDay:
1299
+ """Time to start the daily backup, in the UTC timezone."""
1300
+
1301
+ @property
1302
+ def backup_retain_period_days(self) -> google.protobuf.wrappers_pb2.Int64Value:
1303
+ """Retain period of automatically created backup in days"""
1304
+
1305
+ @property
1306
+ def access(self) -> yandex.cloud.mdb.spqr.v1.cluster_pb2.Access:
1307
+ """Access policy to DB"""
1308
+
1309
+ @property
1310
+ def sox_audit(self) -> google.protobuf.wrappers_pb2.BoolValue: ...
1311
+ def __init__(
1312
+ self,
1313
+ *,
1314
+ spqr_spec: global___SpqrSpec | None = ...,
1315
+ backup_window_start: google.type.timeofday_pb2.TimeOfDay | None = ...,
1316
+ backup_retain_period_days: google.protobuf.wrappers_pb2.Int64Value | None = ...,
1317
+ access: yandex.cloud.mdb.spqr.v1.cluster_pb2.Access | None = ...,
1318
+ sox_audit: google.protobuf.wrappers_pb2.BoolValue | None = ...,
1319
+ ) -> None: ...
1320
+ def HasField(self, field_name: typing.Literal["access", b"access", "backup_retain_period_days", b"backup_retain_period_days", "backup_window_start", b"backup_window_start", "sox_audit", b"sox_audit", "spqr_spec", b"spqr_spec"]) -> builtins.bool: ...
1321
+ def ClearField(self, field_name: typing.Literal["access", b"access", "backup_retain_period_days", b"backup_retain_period_days", "backup_window_start", b"backup_window_start", "sox_audit", b"sox_audit", "spqr_spec", b"spqr_spec"]) -> None: ...
1322
+
1323
+ global___ConfigSpec = ConfigSpec
1324
+
1325
+ @typing.final
1326
+ class ListClusterHostsRequest(google.protobuf.message.Message):
1327
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1328
+
1329
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1330
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
1331
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
1332
+ cluster_id: builtins.str
1333
+ """ID of the SPQR cluster.
1334
+ To get the SPQR cluster ID, use a [ClusterService.List] request.
1335
+ """
1336
+ page_size: builtins.int
1337
+ """The maximum number of results per page to return. If the number of available
1338
+ results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token]
1339
+ that can be used to get the next page of results in subsequent list requests.
1340
+ Acceptable values are 0 to 1000, inclusive. Default value: 100.
1341
+ """
1342
+ page_token: builtins.str
1343
+ """Page token. To get the next page of results, set [page_token] to the
1344
+ [ListClusterHostsResponse.next_page_token] returned by the previous list request.
1345
+ """
1346
+ def __init__(
1347
+ self,
1348
+ *,
1349
+ cluster_id: builtins.str = ...,
1350
+ page_size: builtins.int = ...,
1351
+ page_token: builtins.str = ...,
1352
+ ) -> None: ...
1353
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
1354
+
1355
+ global___ListClusterHostsRequest = ListClusterHostsRequest
1356
+
1357
+ @typing.final
1358
+ class ListClusterHostsAtRevisionRequest(google.protobuf.message.Message):
1359
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1360
+
1361
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1362
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
1363
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
1364
+ REVISION_FIELD_NUMBER: builtins.int
1365
+ cluster_id: builtins.str
1366
+ """ID of the SPQR cluster.
1367
+ To get the SPQR cluster ID, use a [ClusterService.List] request.
1368
+ """
1369
+ page_size: builtins.int
1370
+ """The maximum number of results per page to return. If the number of available
1371
+ results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token]
1372
+ that can be used to get the next page of results in subsequent list requests.
1373
+ Acceptable values are 0 to 1000, inclusive. Default value: 100.
1374
+ """
1375
+ page_token: builtins.str
1376
+ """Page token. To get the next page of results, set [page_token] to the
1377
+ [ListClusterHostsResponse.next_page_token] returned by the previous list request.
1378
+ """
1379
+ revision: builtins.int
1380
+ """Cluster revision"""
1381
+ def __init__(
1382
+ self,
1383
+ *,
1384
+ cluster_id: builtins.str = ...,
1385
+ page_size: builtins.int = ...,
1386
+ page_token: builtins.str = ...,
1387
+ revision: builtins.int = ...,
1388
+ ) -> None: ...
1389
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token", "revision", b"revision"]) -> None: ...
1390
+
1391
+ global___ListClusterHostsAtRevisionRequest = ListClusterHostsAtRevisionRequest
1392
+
1393
+ @typing.final
1394
+ class ListClusterHostsResponse(google.protobuf.message.Message):
1395
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1396
+
1397
+ HOSTS_FIELD_NUMBER: builtins.int
1398
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
1399
+ next_page_token: builtins.str
1400
+ """This token allows you to get the next page of results for list requests. If the number of results
1401
+ is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value
1402
+ for the [ListClusterHostsRequest.page_token] query parameter in the next list request.
1403
+ Each subsequent list request will have its own [next_page_token] to continue paging through the results.
1404
+ """
1405
+ @property
1406
+ def hosts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.host_pb2.Host]:
1407
+ """List of Host resources."""
1408
+
1409
+ def __init__(
1410
+ self,
1411
+ *,
1412
+ hosts: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.host_pb2.Host] | None = ...,
1413
+ next_page_token: builtins.str = ...,
1414
+ ) -> None: ...
1415
+ def ClearField(self, field_name: typing.Literal["hosts", b"hosts", "next_page_token", b"next_page_token"]) -> None: ...
1416
+
1417
+ global___ListClusterHostsResponse = ListClusterHostsResponse
1418
+
1419
+ @typing.final
1420
+ class AddClusterHostsRequest(google.protobuf.message.Message):
1421
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1422
+
1423
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1424
+ HOST_SPECS_FIELD_NUMBER: builtins.int
1425
+ cluster_id: builtins.str
1426
+ """ID of the SPQR cluster to add hosts to.
1427
+ To get the SPQR cluster ID use a [ClusterService.List] request.
1428
+ """
1429
+ @property
1430
+ def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec]:
1431
+ """Configurations for SPQR hosts that should be added to the cluster."""
1432
+
1433
+ def __init__(
1434
+ self,
1435
+ *,
1436
+ cluster_id: builtins.str = ...,
1437
+ host_specs: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec] | None = ...,
1438
+ ) -> None: ...
1439
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_specs", b"host_specs"]) -> None: ...
1440
+
1441
+ global___AddClusterHostsRequest = AddClusterHostsRequest
1442
+
1443
+ @typing.final
1444
+ class AddClusterHostsMetadata(google.protobuf.message.Message):
1445
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1446
+
1447
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1448
+ HOST_NAMES_FIELD_NUMBER: builtins.int
1449
+ cluster_id: builtins.str
1450
+ """ID of the SPQR cluster to which the hosts are being added."""
1451
+ @property
1452
+ def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1453
+ """Names of hosts that are being added to the cluster."""
1454
+
1455
+ def __init__(
1456
+ self,
1457
+ *,
1458
+ cluster_id: builtins.str = ...,
1459
+ host_names: collections.abc.Iterable[builtins.str] | None = ...,
1460
+ ) -> None: ...
1461
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
1462
+
1463
+ global___AddClusterHostsMetadata = AddClusterHostsMetadata
1464
+
1465
+ @typing.final
1466
+ class DeleteClusterHostsRequest(google.protobuf.message.Message):
1467
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1468
+
1469
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1470
+ HOST_NAMES_FIELD_NUMBER: builtins.int
1471
+ cluster_id: builtins.str
1472
+ """ID of the SPQR cluster to remove hosts from.
1473
+ To get the SPQR cluster ID, use a [ClusterService.List] request.
1474
+ """
1475
+ @property
1476
+ def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1477
+ """Names of hosts to delete."""
1478
+
1479
+ def __init__(
1480
+ self,
1481
+ *,
1482
+ cluster_id: builtins.str = ...,
1483
+ host_names: collections.abc.Iterable[builtins.str] | None = ...,
1484
+ ) -> None: ...
1485
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
1486
+
1487
+ global___DeleteClusterHostsRequest = DeleteClusterHostsRequest
1488
+
1489
+ @typing.final
1490
+ class DeleteClusterHostsMetadata(google.protobuf.message.Message):
1491
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1492
+
1493
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1494
+ HOST_NAMES_FIELD_NUMBER: builtins.int
1495
+ cluster_id: builtins.str
1496
+ """ID of the SPQR cluster to remove hosts from."""
1497
+ @property
1498
+ def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1499
+ """Names of hosts that are being deleted."""
1500
+
1501
+ def __init__(
1502
+ self,
1503
+ *,
1504
+ cluster_id: builtins.str = ...,
1505
+ host_names: collections.abc.Iterable[builtins.str] | None = ...,
1506
+ ) -> None: ...
1507
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
1508
+
1509
+ global___DeleteClusterHostsMetadata = DeleteClusterHostsMetadata
1510
+
1511
+ @typing.final
1512
+ class ResetupHostsRequest(google.protobuf.message.Message):
1513
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1514
+
1515
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1516
+ HOST_NAMES_FIELD_NUMBER: builtins.int
1517
+ cluster_id: builtins.str
1518
+ """Required. ID of the SPQR cluster."""
1519
+ @property
1520
+ def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1521
+ """Required. Name of the hosts to resetup."""
1522
+
1523
+ def __init__(
1524
+ self,
1525
+ *,
1526
+ cluster_id: builtins.str = ...,
1527
+ host_names: collections.abc.Iterable[builtins.str] | None = ...,
1528
+ ) -> None: ...
1529
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
1530
+
1531
+ global___ResetupHostsRequest = ResetupHostsRequest
1532
+
1533
+ @typing.final
1534
+ class ResetupHostsMetadata(google.protobuf.message.Message):
1535
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1536
+
1537
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1538
+ HOST_NAMES_FIELD_NUMBER: builtins.int
1539
+ cluster_id: builtins.str
1540
+ """Required. ID of the SPQR cluster."""
1541
+ @property
1542
+ def host_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
1543
+ """Required. The name of hosts to resetup."""
1544
+
1545
+ def __init__(
1546
+ self,
1547
+ *,
1548
+ cluster_id: builtins.str = ...,
1549
+ host_names: collections.abc.Iterable[builtins.str] | None = ...,
1550
+ ) -> None: ...
1551
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_names", b"host_names"]) -> None: ...
1552
+
1553
+ global___ResetupHostsMetadata = ResetupHostsMetadata
1554
+
1555
+ @typing.final
1556
+ class GetClusterShardRequest(google.protobuf.message.Message):
1557
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1558
+
1559
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1560
+ SHARD_NAME_FIELD_NUMBER: builtins.int
1561
+ cluster_id: builtins.str
1562
+ """ID of the SPQR cluster that the shard belongs to.
1563
+ To get the cluster ID use a [ClusterService.List] request.
1564
+ """
1565
+ shard_name: builtins.str
1566
+ """Name of the SPQR shard to return.
1567
+ To get the name of the shard use a [ClusterService.ListShards] request.
1568
+ """
1569
+ def __init__(
1570
+ self,
1571
+ *,
1572
+ cluster_id: builtins.str = ...,
1573
+ shard_name: builtins.str = ...,
1574
+ ) -> None: ...
1575
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "shard_name", b"shard_name"]) -> None: ...
1576
+
1577
+ global___GetClusterShardRequest = GetClusterShardRequest
1578
+
1579
+ @typing.final
1580
+ class ListClusterShardsRequest(google.protobuf.message.Message):
1581
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1582
+
1583
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1584
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
1585
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
1586
+ cluster_id: builtins.str
1587
+ """ID of the SPQR cluster to list databases in.
1588
+ To get the cluster ID, use a [ClusterService.List] request.
1589
+ """
1590
+ page_size: builtins.int
1591
+ """The maximum number of results per page to return. If the number of available
1592
+ results is larger than [page_size], the service returns a [ListClusterShardsResponse.next_page_token]
1593
+ that can be used to get the next page of results in subsequent list requests.
1594
+ """
1595
+ page_token: builtins.str
1596
+ """Page token. To get the next page of results, set [page_token] to the
1597
+ [ListClusterShardsResponse.next_page_token] returned by the previous list request.
1598
+ """
1599
+ def __init__(
1600
+ self,
1601
+ *,
1602
+ cluster_id: builtins.str = ...,
1603
+ page_size: builtins.int = ...,
1604
+ page_token: builtins.str = ...,
1605
+ ) -> None: ...
1606
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
1607
+
1608
+ global___ListClusterShardsRequest = ListClusterShardsRequest
1609
+
1610
+ @typing.final
1611
+ class ListClusterShardsAtRevisionRequest(google.protobuf.message.Message):
1612
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1613
+
1614
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1615
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
1616
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
1617
+ REVISION_FIELD_NUMBER: builtins.int
1618
+ cluster_id: builtins.str
1619
+ """ID of the SPQR cluster to list databases in.
1620
+ To get the cluster ID, use a [ClusterService.List] request.
1621
+ """
1622
+ page_size: builtins.int
1623
+ """The maximum number of results per page to return. If the number of available
1624
+ results is larger than [page_size], the service returns a [ListClusterShardsResponse.next_page_token]
1625
+ that can be used to get the next page of results in subsequent list requests.
1626
+ """
1627
+ page_token: builtins.str
1628
+ """Page token. To get the next page of results, set [page_token] to the
1629
+ [ListClusterShardsResponse.next_page_token] returned by the previous list request.
1630
+ """
1631
+ revision: builtins.int
1632
+ """Cluster revision"""
1633
+ def __init__(
1634
+ self,
1635
+ *,
1636
+ cluster_id: builtins.str = ...,
1637
+ page_size: builtins.int = ...,
1638
+ page_token: builtins.str = ...,
1639
+ revision: builtins.int = ...,
1640
+ ) -> None: ...
1641
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token", "revision", b"revision"]) -> None: ...
1642
+
1643
+ global___ListClusterShardsAtRevisionRequest = ListClusterShardsAtRevisionRequest
1644
+
1645
+ @typing.final
1646
+ class ListClusterShardsResponse(google.protobuf.message.Message):
1647
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1648
+
1649
+ SHARDS_FIELD_NUMBER: builtins.int
1650
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
1651
+ next_page_token: builtins.str
1652
+ """This token allows you to get the next page of results for list requests. If the number of results
1653
+ is larger than [ListClusterShardsRequest.page_size], use the [next_page_token] as the value
1654
+ for the [ListClusterShardsRequest.page_token] parameter in the next list request. Each subsequent
1655
+ list request will have its own [next_page_token] to continue paging through the results.
1656
+ """
1657
+ @property
1658
+ def shards(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.shard_pb2.Shard]:
1659
+ """List of SPQR shards."""
1660
+
1661
+ def __init__(
1662
+ self,
1663
+ *,
1664
+ shards: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.shard_pb2.Shard] | None = ...,
1665
+ next_page_token: builtins.str = ...,
1666
+ ) -> None: ...
1667
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "shards", b"shards"]) -> None: ...
1668
+
1669
+ global___ListClusterShardsResponse = ListClusterShardsResponse
1670
+
1671
+ @typing.final
1672
+ class AddClusterShardRequest(google.protobuf.message.Message):
1673
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1674
+
1675
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1676
+ SHARD_NAME_FIELD_NUMBER: builtins.int
1677
+ MDB_POSTGRESQL_FIELD_NUMBER: builtins.int
1678
+ cluster_id: builtins.str
1679
+ """ID of the SPQR cluster to add a shard to.
1680
+ To get the cluster ID, use a [ClusterService.List] request.
1681
+ """
1682
+ shard_name: builtins.str
1683
+ """Name of the SPQR shard to create."""
1684
+ @property
1685
+ def mdb_postgresql(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.MDBPostgreSQL: ...
1686
+ def __init__(
1687
+ self,
1688
+ *,
1689
+ cluster_id: builtins.str = ...,
1690
+ shard_name: builtins.str = ...,
1691
+ mdb_postgresql: yandex.cloud.mdb.spqr.v1.config_pb2.MDBPostgreSQL | None = ...,
1692
+ ) -> None: ...
1693
+ def HasField(self, field_name: typing.Literal["ShardSpec", b"ShardSpec", "mdb_postgresql", b"mdb_postgresql"]) -> builtins.bool: ...
1694
+ def ClearField(self, field_name: typing.Literal["ShardSpec", b"ShardSpec", "cluster_id", b"cluster_id", "mdb_postgresql", b"mdb_postgresql", "shard_name", b"shard_name"]) -> None: ...
1695
+ def WhichOneof(self, oneof_group: typing.Literal["ShardSpec", b"ShardSpec"]) -> typing.Literal["mdb_postgresql"] | None: ...
1696
+
1697
+ global___AddClusterShardRequest = AddClusterShardRequest
1698
+
1699
+ @typing.final
1700
+ class AddClusterShardMetadata(google.protobuf.message.Message):
1701
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1702
+
1703
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1704
+ SHARD_NAME_FIELD_NUMBER: builtins.int
1705
+ cluster_id: builtins.str
1706
+ """ID of the SPQR cluster that a shard is being added to."""
1707
+ shard_name: builtins.str
1708
+ """Name of the shard being added."""
1709
+ def __init__(
1710
+ self,
1711
+ *,
1712
+ cluster_id: builtins.str = ...,
1713
+ shard_name: builtins.str = ...,
1714
+ ) -> None: ...
1715
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "shard_name", b"shard_name"]) -> None: ...
1716
+
1717
+ global___AddClusterShardMetadata = AddClusterShardMetadata
1718
+
1719
+ @typing.final
1720
+ class DeleteClusterShardRequest(google.protobuf.message.Message):
1721
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1722
+
1723
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1724
+ SHARD_NAME_FIELD_NUMBER: builtins.int
1725
+ cluster_id: builtins.str
1726
+ """ID of the SPQR cluster to delete a shard in.
1727
+ To get the cluster ID, use a [ClusterService.List] request.
1728
+ """
1729
+ shard_name: builtins.str
1730
+ """Name of the SPQR shard to delete.
1731
+ To get the name of the shard use a [ClusterService.ListShards] request.
1732
+ """
1733
+ def __init__(
1734
+ self,
1735
+ *,
1736
+ cluster_id: builtins.str = ...,
1737
+ shard_name: builtins.str = ...,
1738
+ ) -> None: ...
1739
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "shard_name", b"shard_name"]) -> None: ...
1740
+
1741
+ global___DeleteClusterShardRequest = DeleteClusterShardRequest
1742
+
1743
+ @typing.final
1744
+ class DeleteClusterShardMetadata(google.protobuf.message.Message):
1745
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1746
+
1747
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1748
+ SHARD_NAME_FIELD_NUMBER: builtins.int
1749
+ cluster_id: builtins.str
1750
+ """ID of the SPQR cluster that a shard is being deleted in."""
1751
+ shard_name: builtins.str
1752
+ """Name of the shard being deleted."""
1753
+ def __init__(
1754
+ self,
1755
+ *,
1756
+ cluster_id: builtins.str = ...,
1757
+ shard_name: builtins.str = ...,
1758
+ ) -> None: ...
1759
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "shard_name", b"shard_name"]) -> None: ...
1760
+
1761
+ global___DeleteClusterShardMetadata = DeleteClusterShardMetadata
1762
+
1763
+ @typing.final
1764
+ class AddSubclusterRequest(google.protobuf.message.Message):
1765
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
1766
+
1767
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
1768
+ HOST_SPECS_FIELD_NUMBER: builtins.int
1769
+ RESOURCES_FIELD_NUMBER: builtins.int
1770
+ cluster_id: builtins.str
1771
+ """ID of the SPQR cluster that subcluster is being added to."""
1772
+ @property
1773
+ def host_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec]:
1774
+ """Configurations for SPQR hosts that should be created"""
1775
+
1776
+ @property
1777
+ def resources(self) -> yandex.cloud.mdb.spqr.v1.config_pb2.Resources:
1778
+ """Resources allocated to each host."""
1779
+
1780
+ def __init__(
1781
+ self,
1782
+ *,
1783
+ cluster_id: builtins.str = ...,
1784
+ host_specs: collections.abc.Iterable[yandex.cloud.mdb.spqr.v1.host_pb2.HostSpec] | None = ...,
1785
+ resources: yandex.cloud.mdb.spqr.v1.config_pb2.Resources | None = ...,
1786
+ ) -> None: ...
1787
+ def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
1788
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "host_specs", b"host_specs", "resources", b"resources"]) -> None: ...
1789
+
1790
+ global___AddSubclusterRequest = AddSubclusterRequest