yandexcloud 0.340.0__py3-none-any.whl → 0.341.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +9 -3
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +46 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +8 -6
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +26 -3
- yandex/cloud/ai/batch_inference/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.py +67 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.pyi +195 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.py +230 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.pyi +104 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.py +45 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.pyi +119 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.py +52 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.pyi +126 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.py +8 -8
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +15 -7
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +2 -2
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +6 -6
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +16 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +8 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +16 -4
- yandex/cloud/ai/vision/v1/vision_service_pb2.pyi +1 -1
- yandex/cloud/billing/v1/budget_pb2.pyi +4 -4
- yandex/cloud/cdn/v1/shielding_pb2.py +37 -0
- yandex/cloud/cdn/v1/shielding_pb2.pyi +41 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.py +24 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.pyi +17 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.py +89 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +201 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.py +281 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.pyi +141 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +6 -8
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +40 -24
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +72 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +90 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +52 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +1 -1
- yandex/cloud/compute/v1/instancegroup/instance_group_service_pb2.py +4 -4
- yandex/cloud/dataproc/v1/cluster_pb2.py +10 -10
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/k8s/v1/cluster_service_pb2.py +80 -73
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/kms/v1/symmetric_key_service_pb2.py +50 -48
- yandex/cloud/logging/v1/log_entry_pb2.py +12 -12
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.py +46 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.pyi +53 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.py +106 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.pyi +248 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.py +315 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.pyi +131 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.py +44 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.pyi +59 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.py +60 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.pyi +72 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.py +141 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.pyi +59 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +59 -43
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +67 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.py +44 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.pyi +35 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.py +101 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.py +231 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.pyi +105 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/opensearch/v1/extension/__init__.py +0 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.py +37 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.pyi +34 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.py +47 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.pyi +77 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.py +104 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.pyi +215 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +120 -120
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/monitoring/v3/timeline_pb2.py +2 -2
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +4 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +1 -1
- yandex/cloud/video/v1/channel_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/episode_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/playlist_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/video_service_pb2.pyi +5 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.341.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.341.0.dist-info}/RECORD +112 -53
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.341.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.341.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.341.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.341.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
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.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetClusterExtensionRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
EXTENSION_NAME_FIELD_NUMBER: builtins.int
|
|
22
|
+
cluster_id: builtins.str
|
|
23
|
+
extension_name: builtins.str
|
|
24
|
+
def __init__(
|
|
25
|
+
self,
|
|
26
|
+
*,
|
|
27
|
+
cluster_id: builtins.str = ...,
|
|
28
|
+
extension_name: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_name", b"extension_name"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetClusterExtensionRequest = GetClusterExtensionRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListClusterExtensionsRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
40
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
41
|
+
cluster_id: builtins.str
|
|
42
|
+
page_size: builtins.int
|
|
43
|
+
page_token: builtins.str
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
*,
|
|
47
|
+
cluster_id: builtins.str = ...,
|
|
48
|
+
page_size: builtins.int = ...,
|
|
49
|
+
page_token: builtins.str = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
52
|
+
|
|
53
|
+
global___ListClusterExtensionsRequest = ListClusterExtensionsRequest
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class ListClusterExtensionsResponse(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
EXTENSIONS_FIELD_NUMBER: builtins.int
|
|
60
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
61
|
+
next_page_token: builtins.str
|
|
62
|
+
@property
|
|
63
|
+
def extensions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2.ClusterExtension]: ...
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
extensions: collections.abc.Iterable[yandex.cloud.mdb.clickhouse.v1.cluster_extension_pb2.ClusterExtension] | None = ...,
|
|
68
|
+
next_page_token: builtins.str = ...,
|
|
69
|
+
) -> None: ...
|
|
70
|
+
def ClearField(self, field_name: typing.Literal["extensions", b"extensions", "next_page_token", b"next_page_token"]) -> None: ...
|
|
71
|
+
|
|
72
|
+
global___ListClusterExtensionsResponse = ListClusterExtensionsResponse
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class CreateClusterExtensionRequest(google.protobuf.message.Message):
|
|
76
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
77
|
+
|
|
78
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
79
|
+
EXTENSION_SPEC_FIELD_NUMBER: builtins.int
|
|
80
|
+
cluster_id: builtins.str
|
|
81
|
+
@property
|
|
82
|
+
def extension_spec(self) -> global___ExtensionSpec: ...
|
|
83
|
+
def __init__(
|
|
84
|
+
self,
|
|
85
|
+
*,
|
|
86
|
+
cluster_id: builtins.str = ...,
|
|
87
|
+
extension_spec: global___ExtensionSpec | None = ...,
|
|
88
|
+
) -> None: ...
|
|
89
|
+
def HasField(self, field_name: typing.Literal["extension_spec", b"extension_spec"]) -> builtins.bool: ...
|
|
90
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_spec", b"extension_spec"]) -> None: ...
|
|
91
|
+
|
|
92
|
+
global___CreateClusterExtensionRequest = CreateClusterExtensionRequest
|
|
93
|
+
|
|
94
|
+
@typing.final
|
|
95
|
+
class CreateClusterExtensionMetadata(google.protobuf.message.Message):
|
|
96
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
97
|
+
|
|
98
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
99
|
+
EXTENSION_NAME_FIELD_NUMBER: builtins.int
|
|
100
|
+
cluster_id: builtins.str
|
|
101
|
+
extension_name: builtins.str
|
|
102
|
+
def __init__(
|
|
103
|
+
self,
|
|
104
|
+
*,
|
|
105
|
+
cluster_id: builtins.str = ...,
|
|
106
|
+
extension_name: builtins.str = ...,
|
|
107
|
+
) -> None: ...
|
|
108
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_name", b"extension_name"]) -> None: ...
|
|
109
|
+
|
|
110
|
+
global___CreateClusterExtensionMetadata = CreateClusterExtensionMetadata
|
|
111
|
+
|
|
112
|
+
@typing.final
|
|
113
|
+
class DeleteClusterExtensionRequest(google.protobuf.message.Message):
|
|
114
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
115
|
+
|
|
116
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
117
|
+
EXTENSION_NAME_FIELD_NUMBER: builtins.int
|
|
118
|
+
cluster_id: builtins.str
|
|
119
|
+
extension_name: builtins.str
|
|
120
|
+
def __init__(
|
|
121
|
+
self,
|
|
122
|
+
*,
|
|
123
|
+
cluster_id: builtins.str = ...,
|
|
124
|
+
extension_name: builtins.str = ...,
|
|
125
|
+
) -> None: ...
|
|
126
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_name", b"extension_name"]) -> None: ...
|
|
127
|
+
|
|
128
|
+
global___DeleteClusterExtensionRequest = DeleteClusterExtensionRequest
|
|
129
|
+
|
|
130
|
+
@typing.final
|
|
131
|
+
class DeleteClusterExtensionMetadata(google.protobuf.message.Message):
|
|
132
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
133
|
+
|
|
134
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
135
|
+
EXTENSION_NAME_FIELD_NUMBER: builtins.int
|
|
136
|
+
cluster_id: builtins.str
|
|
137
|
+
extension_name: builtins.str
|
|
138
|
+
def __init__(
|
|
139
|
+
self,
|
|
140
|
+
*,
|
|
141
|
+
cluster_id: builtins.str = ...,
|
|
142
|
+
extension_name: builtins.str = ...,
|
|
143
|
+
) -> None: ...
|
|
144
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_name", b"extension_name"]) -> None: ...
|
|
145
|
+
|
|
146
|
+
global___DeleteClusterExtensionMetadata = DeleteClusterExtensionMetadata
|
|
147
|
+
|
|
148
|
+
@typing.final
|
|
149
|
+
class UpdateClusterExtensionRequest(google.protobuf.message.Message):
|
|
150
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
151
|
+
|
|
152
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
153
|
+
EXTENSION_SPEC_FIELD_NUMBER: builtins.int
|
|
154
|
+
cluster_id: builtins.str
|
|
155
|
+
@property
|
|
156
|
+
def extension_spec(self) -> global___ExtensionSpec: ...
|
|
157
|
+
def __init__(
|
|
158
|
+
self,
|
|
159
|
+
*,
|
|
160
|
+
cluster_id: builtins.str = ...,
|
|
161
|
+
extension_spec: global___ExtensionSpec | None = ...,
|
|
162
|
+
) -> None: ...
|
|
163
|
+
def HasField(self, field_name: typing.Literal["extension_spec", b"extension_spec"]) -> builtins.bool: ...
|
|
164
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_spec", b"extension_spec"]) -> None: ...
|
|
165
|
+
|
|
166
|
+
global___UpdateClusterExtensionRequest = UpdateClusterExtensionRequest
|
|
167
|
+
|
|
168
|
+
@typing.final
|
|
169
|
+
class UpdateClusterExtensionMetadata(google.protobuf.message.Message):
|
|
170
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
171
|
+
|
|
172
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
173
|
+
EXTENSION_NAME_FIELD_NUMBER: builtins.int
|
|
174
|
+
cluster_id: builtins.str
|
|
175
|
+
extension_name: builtins.str
|
|
176
|
+
def __init__(
|
|
177
|
+
self,
|
|
178
|
+
*,
|
|
179
|
+
cluster_id: builtins.str = ...,
|
|
180
|
+
extension_name: builtins.str = ...,
|
|
181
|
+
) -> None: ...
|
|
182
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_name", b"extension_name"]) -> None: ...
|
|
183
|
+
|
|
184
|
+
global___UpdateClusterExtensionMetadata = UpdateClusterExtensionMetadata
|
|
185
|
+
|
|
186
|
+
@typing.final
|
|
187
|
+
class SetClusterExtensionsRequest(google.protobuf.message.Message):
|
|
188
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
189
|
+
|
|
190
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
191
|
+
EXTENSION_SPECS_FIELD_NUMBER: builtins.int
|
|
192
|
+
cluster_id: builtins.str
|
|
193
|
+
@property
|
|
194
|
+
def extension_specs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ExtensionSpec]: ...
|
|
195
|
+
def __init__(
|
|
196
|
+
self,
|
|
197
|
+
*,
|
|
198
|
+
cluster_id: builtins.str = ...,
|
|
199
|
+
extension_specs: collections.abc.Iterable[global___ExtensionSpec] | None = ...,
|
|
200
|
+
) -> None: ...
|
|
201
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_specs", b"extension_specs"]) -> None: ...
|
|
202
|
+
|
|
203
|
+
global___SetClusterExtensionsRequest = SetClusterExtensionsRequest
|
|
204
|
+
|
|
205
|
+
@typing.final
|
|
206
|
+
class SetClusterExtensionsMetadata(google.protobuf.message.Message):
|
|
207
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
208
|
+
|
|
209
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
210
|
+
ADDED_EXTENSION_NAMES_FIELD_NUMBER: builtins.int
|
|
211
|
+
UPDATED_EXTENSION_NAMES_FIELD_NUMBER: builtins.int
|
|
212
|
+
DELETED_EXTENSION_NAMES_FIELD_NUMBER: builtins.int
|
|
213
|
+
cluster_id: builtins.str
|
|
214
|
+
@property
|
|
215
|
+
def added_extension_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
216
|
+
@property
|
|
217
|
+
def updated_extension_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
218
|
+
@property
|
|
219
|
+
def deleted_extension_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
220
|
+
def __init__(
|
|
221
|
+
self,
|
|
222
|
+
*,
|
|
223
|
+
cluster_id: builtins.str = ...,
|
|
224
|
+
added_extension_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
225
|
+
updated_extension_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
226
|
+
deleted_extension_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
227
|
+
) -> None: ...
|
|
228
|
+
def ClearField(self, field_name: typing.Literal["added_extension_names", b"added_extension_names", "cluster_id", b"cluster_id", "deleted_extension_names", b"deleted_extension_names", "updated_extension_names", b"updated_extension_names"]) -> None: ...
|
|
229
|
+
|
|
230
|
+
global___SetClusterExtensionsMetadata = SetClusterExtensionsMetadata
|
|
231
|
+
|
|
232
|
+
@typing.final
|
|
233
|
+
class ExtensionSpec(google.protobuf.message.Message):
|
|
234
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
235
|
+
|
|
236
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
237
|
+
VERSION_FIELD_NUMBER: builtins.int
|
|
238
|
+
name: builtins.str
|
|
239
|
+
version: builtins.str
|
|
240
|
+
def __init__(
|
|
241
|
+
self,
|
|
242
|
+
*,
|
|
243
|
+
name: builtins.str = ...,
|
|
244
|
+
version: builtins.str = ...,
|
|
245
|
+
) -> None: ...
|
|
246
|
+
def ClearField(self, field_name: typing.Literal["name", b"name", "version", b"version"]) -> None: ...
|
|
247
|
+
|
|
248
|
+
global___ExtensionSpec = ExtensionSpec
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from yandex.cloud.mdb.clickhouse.v1 import cluster_extension_pb2 as yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__pb2
|
|
7
|
+
from yandex.cloud.mdb.clickhouse.v1 import cluster_extension_service_pb2 as yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2
|
|
8
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
9
|
+
|
|
10
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
11
|
+
GRPC_VERSION = grpc.__version__
|
|
12
|
+
_version_not_supported = False
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from grpc._utilities import first_version_is_lower
|
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
17
|
+
except ImportError:
|
|
18
|
+
_version_not_supported = True
|
|
19
|
+
|
|
20
|
+
if _version_not_supported:
|
|
21
|
+
raise RuntimeError(
|
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
23
|
+
+ f' but the generated code in yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.py depends on'
|
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class ClusterExtensionServiceStub(object):
|
|
31
|
+
"""Missing associated documentation comment in .proto file."""
|
|
32
|
+
|
|
33
|
+
def __init__(self, channel):
|
|
34
|
+
"""Constructor.
|
|
35
|
+
|
|
36
|
+
Args:
|
|
37
|
+
channel: A grpc.Channel.
|
|
38
|
+
"""
|
|
39
|
+
self.Get = channel.unary_unary(
|
|
40
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Get',
|
|
41
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.GetClusterExtensionRequest.SerializeToString,
|
|
42
|
+
response_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__pb2.ClusterExtension.FromString,
|
|
43
|
+
_registered_method=True)
|
|
44
|
+
self.List = channel.unary_unary(
|
|
45
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/List',
|
|
46
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.ListClusterExtensionsRequest.SerializeToString,
|
|
47
|
+
response_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.ListClusterExtensionsResponse.FromString,
|
|
48
|
+
_registered_method=True)
|
|
49
|
+
self.Create = channel.unary_unary(
|
|
50
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Create',
|
|
51
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.CreateClusterExtensionRequest.SerializeToString,
|
|
52
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
53
|
+
_registered_method=True)
|
|
54
|
+
self.Delete = channel.unary_unary(
|
|
55
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Delete',
|
|
56
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.DeleteClusterExtensionRequest.SerializeToString,
|
|
57
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
58
|
+
_registered_method=True)
|
|
59
|
+
self.Update = channel.unary_unary(
|
|
60
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Update',
|
|
61
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.UpdateClusterExtensionRequest.SerializeToString,
|
|
62
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
63
|
+
_registered_method=True)
|
|
64
|
+
self.SetExtensions = channel.unary_unary(
|
|
65
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/SetExtensions',
|
|
66
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.SetClusterExtensionsRequest.SerializeToString,
|
|
67
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
68
|
+
_registered_method=True)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class ClusterExtensionServiceServicer(object):
|
|
72
|
+
"""Missing associated documentation comment in .proto file."""
|
|
73
|
+
|
|
74
|
+
def Get(self, request, context):
|
|
75
|
+
"""Missing associated documentation comment in .proto file."""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
def List(self, request, context):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
86
|
+
def Create(self, request, context):
|
|
87
|
+
"""Missing associated documentation comment in .proto file."""
|
|
88
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
|
+
context.set_details('Method not implemented!')
|
|
90
|
+
raise NotImplementedError('Method not implemented!')
|
|
91
|
+
|
|
92
|
+
def Delete(self, request, context):
|
|
93
|
+
"""Missing associated documentation comment in .proto file."""
|
|
94
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
95
|
+
context.set_details('Method not implemented!')
|
|
96
|
+
raise NotImplementedError('Method not implemented!')
|
|
97
|
+
|
|
98
|
+
def Update(self, request, context):
|
|
99
|
+
"""Missing associated documentation comment in .proto file."""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
def SetExtensions(self, request, context):
|
|
105
|
+
"""Set the list of cluster extensions. Not specified extensions will be deleted.
|
|
106
|
+
"""
|
|
107
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
108
|
+
context.set_details('Method not implemented!')
|
|
109
|
+
raise NotImplementedError('Method not implemented!')
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def add_ClusterExtensionServiceServicer_to_server(servicer, server):
|
|
113
|
+
rpc_method_handlers = {
|
|
114
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.Get,
|
|
116
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.GetClusterExtensionRequest.FromString,
|
|
117
|
+
response_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__pb2.ClusterExtension.SerializeToString,
|
|
118
|
+
),
|
|
119
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.List,
|
|
121
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.ListClusterExtensionsRequest.FromString,
|
|
122
|
+
response_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.ListClusterExtensionsResponse.SerializeToString,
|
|
123
|
+
),
|
|
124
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
125
|
+
servicer.Create,
|
|
126
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.CreateClusterExtensionRequest.FromString,
|
|
127
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
128
|
+
),
|
|
129
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
130
|
+
servicer.Delete,
|
|
131
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.DeleteClusterExtensionRequest.FromString,
|
|
132
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
133
|
+
),
|
|
134
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
135
|
+
servicer.Update,
|
|
136
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.UpdateClusterExtensionRequest.FromString,
|
|
137
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
138
|
+
),
|
|
139
|
+
'SetExtensions': grpc.unary_unary_rpc_method_handler(
|
|
140
|
+
servicer.SetExtensions,
|
|
141
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.SetClusterExtensionsRequest.FromString,
|
|
142
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
143
|
+
),
|
|
144
|
+
}
|
|
145
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
146
|
+
'yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService', rpc_method_handlers)
|
|
147
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
148
|
+
server.add_registered_method_handlers('yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService', rpc_method_handlers)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
# This class is part of an EXPERIMENTAL API.
|
|
152
|
+
class ClusterExtensionService(object):
|
|
153
|
+
"""Missing associated documentation comment in .proto file."""
|
|
154
|
+
|
|
155
|
+
@staticmethod
|
|
156
|
+
def Get(request,
|
|
157
|
+
target,
|
|
158
|
+
options=(),
|
|
159
|
+
channel_credentials=None,
|
|
160
|
+
call_credentials=None,
|
|
161
|
+
insecure=False,
|
|
162
|
+
compression=None,
|
|
163
|
+
wait_for_ready=None,
|
|
164
|
+
timeout=None,
|
|
165
|
+
metadata=None):
|
|
166
|
+
return grpc.experimental.unary_unary(
|
|
167
|
+
request,
|
|
168
|
+
target,
|
|
169
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Get',
|
|
170
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.GetClusterExtensionRequest.SerializeToString,
|
|
171
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__pb2.ClusterExtension.FromString,
|
|
172
|
+
options,
|
|
173
|
+
channel_credentials,
|
|
174
|
+
insecure,
|
|
175
|
+
call_credentials,
|
|
176
|
+
compression,
|
|
177
|
+
wait_for_ready,
|
|
178
|
+
timeout,
|
|
179
|
+
metadata,
|
|
180
|
+
_registered_method=True)
|
|
181
|
+
|
|
182
|
+
@staticmethod
|
|
183
|
+
def List(request,
|
|
184
|
+
target,
|
|
185
|
+
options=(),
|
|
186
|
+
channel_credentials=None,
|
|
187
|
+
call_credentials=None,
|
|
188
|
+
insecure=False,
|
|
189
|
+
compression=None,
|
|
190
|
+
wait_for_ready=None,
|
|
191
|
+
timeout=None,
|
|
192
|
+
metadata=None):
|
|
193
|
+
return grpc.experimental.unary_unary(
|
|
194
|
+
request,
|
|
195
|
+
target,
|
|
196
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/List',
|
|
197
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.ListClusterExtensionsRequest.SerializeToString,
|
|
198
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.ListClusterExtensionsResponse.FromString,
|
|
199
|
+
options,
|
|
200
|
+
channel_credentials,
|
|
201
|
+
insecure,
|
|
202
|
+
call_credentials,
|
|
203
|
+
compression,
|
|
204
|
+
wait_for_ready,
|
|
205
|
+
timeout,
|
|
206
|
+
metadata,
|
|
207
|
+
_registered_method=True)
|
|
208
|
+
|
|
209
|
+
@staticmethod
|
|
210
|
+
def Create(request,
|
|
211
|
+
target,
|
|
212
|
+
options=(),
|
|
213
|
+
channel_credentials=None,
|
|
214
|
+
call_credentials=None,
|
|
215
|
+
insecure=False,
|
|
216
|
+
compression=None,
|
|
217
|
+
wait_for_ready=None,
|
|
218
|
+
timeout=None,
|
|
219
|
+
metadata=None):
|
|
220
|
+
return grpc.experimental.unary_unary(
|
|
221
|
+
request,
|
|
222
|
+
target,
|
|
223
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Create',
|
|
224
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.CreateClusterExtensionRequest.SerializeToString,
|
|
225
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
226
|
+
options,
|
|
227
|
+
channel_credentials,
|
|
228
|
+
insecure,
|
|
229
|
+
call_credentials,
|
|
230
|
+
compression,
|
|
231
|
+
wait_for_ready,
|
|
232
|
+
timeout,
|
|
233
|
+
metadata,
|
|
234
|
+
_registered_method=True)
|
|
235
|
+
|
|
236
|
+
@staticmethod
|
|
237
|
+
def Delete(request,
|
|
238
|
+
target,
|
|
239
|
+
options=(),
|
|
240
|
+
channel_credentials=None,
|
|
241
|
+
call_credentials=None,
|
|
242
|
+
insecure=False,
|
|
243
|
+
compression=None,
|
|
244
|
+
wait_for_ready=None,
|
|
245
|
+
timeout=None,
|
|
246
|
+
metadata=None):
|
|
247
|
+
return grpc.experimental.unary_unary(
|
|
248
|
+
request,
|
|
249
|
+
target,
|
|
250
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Delete',
|
|
251
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.DeleteClusterExtensionRequest.SerializeToString,
|
|
252
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
253
|
+
options,
|
|
254
|
+
channel_credentials,
|
|
255
|
+
insecure,
|
|
256
|
+
call_credentials,
|
|
257
|
+
compression,
|
|
258
|
+
wait_for_ready,
|
|
259
|
+
timeout,
|
|
260
|
+
metadata,
|
|
261
|
+
_registered_method=True)
|
|
262
|
+
|
|
263
|
+
@staticmethod
|
|
264
|
+
def Update(request,
|
|
265
|
+
target,
|
|
266
|
+
options=(),
|
|
267
|
+
channel_credentials=None,
|
|
268
|
+
call_credentials=None,
|
|
269
|
+
insecure=False,
|
|
270
|
+
compression=None,
|
|
271
|
+
wait_for_ready=None,
|
|
272
|
+
timeout=None,
|
|
273
|
+
metadata=None):
|
|
274
|
+
return grpc.experimental.unary_unary(
|
|
275
|
+
request,
|
|
276
|
+
target,
|
|
277
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/Update',
|
|
278
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.UpdateClusterExtensionRequest.SerializeToString,
|
|
279
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
280
|
+
options,
|
|
281
|
+
channel_credentials,
|
|
282
|
+
insecure,
|
|
283
|
+
call_credentials,
|
|
284
|
+
compression,
|
|
285
|
+
wait_for_ready,
|
|
286
|
+
timeout,
|
|
287
|
+
metadata,
|
|
288
|
+
_registered_method=True)
|
|
289
|
+
|
|
290
|
+
@staticmethod
|
|
291
|
+
def SetExtensions(request,
|
|
292
|
+
target,
|
|
293
|
+
options=(),
|
|
294
|
+
channel_credentials=None,
|
|
295
|
+
call_credentials=None,
|
|
296
|
+
insecure=False,
|
|
297
|
+
compression=None,
|
|
298
|
+
wait_for_ready=None,
|
|
299
|
+
timeout=None,
|
|
300
|
+
metadata=None):
|
|
301
|
+
return grpc.experimental.unary_unary(
|
|
302
|
+
request,
|
|
303
|
+
target,
|
|
304
|
+
'/yandex.cloud.mdb.clickhouse.v1.ClusterExtensionService/SetExtensions',
|
|
305
|
+
yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__extension__service__pb2.SetClusterExtensionsRequest.SerializeToString,
|
|
306
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
307
|
+
options,
|
|
308
|
+
channel_credentials,
|
|
309
|
+
insecure,
|
|
310
|
+
call_credentials,
|
|
311
|
+
compression,
|
|
312
|
+
wait_for_ready,
|
|
313
|
+
timeout,
|
|
314
|
+
metadata,
|
|
315
|
+
_registered_method=True)
|