yandexcloud 0.340.0__py3-none-any.whl → 0.342.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/kafka/v1/cluster_pb2.py +18 -14
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +2 -0
- yandex/cloud/mdb/kafka/v1/topic_pb2.py +12 -8
- yandex/cloud/mdb/kafka/v1/topic_pb2.pyi +2 -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/trino/__init__.py +0 -0
- yandex/cloud/trino/v1/__init__.py +0 -0
- yandex/cloud/trino/v1/cluster_pb2.py +119 -0
- yandex/cloud/trino/v1/cluster_pb2.pyi +576 -0
- yandex/cloud/trino/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/cluster_service_pb2.py +162 -0
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +597 -0
- yandex/cloud/trino/v1/cluster_service_pb2_grpc.py +411 -0
- yandex/cloud/trino/v1/cluster_service_pb2_grpc.pyi +192 -0
- yandex/cloud/trino/v1/maintenance_pb2.py +53 -0
- yandex/cloud/trino/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/trino/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/maintenance_pb2_grpc.pyi +17 -0
- 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/_sdk.py +1 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.342.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.342.0.dist-info}/RECORD +131 -58
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.342.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.342.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.342.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.340.0.dist-info → yandexcloud-0.342.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/mdb/opensearch/v1/extension_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/mdb/opensearch/v1/extension_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
27
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
|
+
from yandex.cloud.mdb.opensearch.v1 import extension_pb2 as yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__pb2
|
|
29
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/mdb/opensearch/v1/extension_service.proto\x12\x1eyandex.cloud.mdb.opensearch.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a.yandex/cloud/mdb/opensearch/v1/extension.proto\x1a&yandex/cloud/operation/operation.proto\"S\n\x13GetExtensionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x0c\x65xtension_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"w\n\x15ListExtensionsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"p\n\x16ListExtensionsResponse\x12=\n\nextensions\x18\x01 \x03(\x0b\x32).yandex.cloud.mdb.opensearch.v1.Extension\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x16\x44\x65leteExtensionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x0c\x65xtension_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"W\n\x17\x44\x65leteExtensionMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x0c\x65xtension_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"f\n\x16UpdateExtensionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x0c\x65xtension_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x0e\n\x06\x61\x63tive\x18\x03 \x01(\x08\"W\n\x17UpdateExtensionMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x0c\x65xtension_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"\x8d\x01\n\x16\x43reateExtensionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12K\n\x0e\x65xtension_spec\x18\x05 \x01(\x0b\x32-.yandex.cloud.mdb.opensearch.v1.ExtensionSpecB\x04\xe8\xc7\x31\x01J\x04\x08\x02\x10\x05\"W\n\x17\x43reateExtensionMetadata\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x0c\x65xtension_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x32\xa1\x08\n\x10\x45xtensionService\x12\xb5\x01\n\x03Get\x12\x33.yandex.cloud.mdb.opensearch.v1.GetExtensionRequest\x1a).yandex.cloud.mdb.opensearch.v1.Extension\"N\x82\xd3\xe4\x93\x02H\x12\x46/managed-opensearch/v1/clusters/{cluster_id}/extensions/{extension_id}\x12\xb6\x01\n\x04List\x12\x35.yandex.cloud.mdb.opensearch.v1.ListExtensionsRequest\x1a\x36.yandex.cloud.mdb.opensearch.v1.ListExtensionsResponse\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/managed-opensearch/v1/clusters/{cluster_id}/extensions\x12\xcf\x01\n\x06\x43reate\x12\x36.yandex.cloud.mdb.opensearch.v1.CreateExtensionRequest\x1a!.yandex.cloud.operation.Operation\"j\xb2\xd2*$\n\x17\x43reateExtensionMetadata\x12\tExtension\x82\xd3\xe4\x93\x02<\"7/managed-opensearch/v1/clusters/{cluster_id}/extensions:\x01*\x12\xde\x01\n\x06Update\x12\x36.yandex.cloud.mdb.opensearch.v1.UpdateExtensionRequest\x1a!.yandex.cloud.operation.Operation\"y\xb2\xd2*$\n\x17UpdateExtensionMetadata\x12\tExtension\x82\xd3\xe4\x93\x02K2F/managed-opensearch/v1/clusters/{cluster_id}/extensions/{extension_id}:\x01*\x12\xe8\x01\n\x06\x44\x65lete\x12\x36.yandex.cloud.mdb.opensearch.v1.DeleteExtensionRequest\x1a!.yandex.cloud.operation.Operation\"\x82\x01\xb2\xd2*0\n\x17\x44\x65leteExtensionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02H*F/managed-opensearch/v1/clusters/{cluster_id}/extensions/{extension_id}Bs\n\"yandex.cloud.api.mdb.opensearch.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1;opensearchb\x06proto3')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.mdb.opensearch.v1.extension_service_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.mdb.opensearch.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1;opensearch'
|
|
40
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
41
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['extension_id']._loaded_options = None
|
|
43
|
+
_globals['_GETEXTENSIONREQUEST'].fields_by_name['extension_id']._serialized_options = b'\350\3071\001'
|
|
44
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
45
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
46
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
47
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
48
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
49
|
+
_globals['_LISTEXTENSIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
50
|
+
_globals['_DELETEEXTENSIONREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
51
|
+
_globals['_DELETEEXTENSIONREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
52
|
+
_globals['_DELETEEXTENSIONREQUEST'].fields_by_name['extension_id']._loaded_options = None
|
|
53
|
+
_globals['_DELETEEXTENSIONREQUEST'].fields_by_name['extension_id']._serialized_options = b'\350\3071\001'
|
|
54
|
+
_globals['_DELETEEXTENSIONMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
55
|
+
_globals['_DELETEEXTENSIONMETADATA'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
|
+
_globals['_DELETEEXTENSIONMETADATA'].fields_by_name['extension_id']._loaded_options = None
|
|
57
|
+
_globals['_DELETEEXTENSIONMETADATA'].fields_by_name['extension_id']._serialized_options = b'\350\3071\001'
|
|
58
|
+
_globals['_UPDATEEXTENSIONREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
59
|
+
_globals['_UPDATEEXTENSIONREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
60
|
+
_globals['_UPDATEEXTENSIONREQUEST'].fields_by_name['extension_id']._loaded_options = None
|
|
61
|
+
_globals['_UPDATEEXTENSIONREQUEST'].fields_by_name['extension_id']._serialized_options = b'\350\3071\001'
|
|
62
|
+
_globals['_UPDATEEXTENSIONMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
63
|
+
_globals['_UPDATEEXTENSIONMETADATA'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
64
|
+
_globals['_UPDATEEXTENSIONMETADATA'].fields_by_name['extension_id']._loaded_options = None
|
|
65
|
+
_globals['_UPDATEEXTENSIONMETADATA'].fields_by_name['extension_id']._serialized_options = b'\350\3071\001'
|
|
66
|
+
_globals['_CREATEEXTENSIONREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
67
|
+
_globals['_CREATEEXTENSIONREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
68
|
+
_globals['_CREATEEXTENSIONREQUEST'].fields_by_name['extension_spec']._loaded_options = None
|
|
69
|
+
_globals['_CREATEEXTENSIONREQUEST'].fields_by_name['extension_spec']._serialized_options = b'\350\3071\001'
|
|
70
|
+
_globals['_CREATEEXTENSIONMETADATA'].fields_by_name['cluster_id']._loaded_options = None
|
|
71
|
+
_globals['_CREATEEXTENSIONMETADATA'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
72
|
+
_globals['_CREATEEXTENSIONMETADATA'].fields_by_name['extension_id']._loaded_options = None
|
|
73
|
+
_globals['_CREATEEXTENSIONMETADATA'].fields_by_name['extension_id']._serialized_options = b'\350\3071\001'
|
|
74
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
75
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002H\022F/managed-opensearch/v1/clusters/{cluster_id}/extensions/{extension_id}'
|
|
76
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['List']._loaded_options = None
|
|
77
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\0029\0227/managed-opensearch/v1/clusters/{cluster_id}/extensions'
|
|
78
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
79
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*$\n\027CreateExtensionMetadata\022\tExtension\202\323\344\223\002<\"7/managed-opensearch/v1/clusters/{cluster_id}/extensions:\001*'
|
|
80
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
81
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*$\n\027UpdateExtensionMetadata\022\tExtension\202\323\344\223\002K2F/managed-opensearch/v1/clusters/{cluster_id}/extensions/{extension_id}:\001*'
|
|
82
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
83
|
+
_globals['_EXTENSIONSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*0\n\027DeleteExtensionMetadata\022\025google.protobuf.Empty\202\323\344\223\002H*F/managed-opensearch/v1/clusters/{cluster_id}/extensions/{extension_id}'
|
|
84
|
+
_globals['_GETEXTENSIONREQUEST']._serialized_start=273
|
|
85
|
+
_globals['_GETEXTENSIONREQUEST']._serialized_end=356
|
|
86
|
+
_globals['_LISTEXTENSIONSREQUEST']._serialized_start=358
|
|
87
|
+
_globals['_LISTEXTENSIONSREQUEST']._serialized_end=477
|
|
88
|
+
_globals['_LISTEXTENSIONSRESPONSE']._serialized_start=479
|
|
89
|
+
_globals['_LISTEXTENSIONSRESPONSE']._serialized_end=591
|
|
90
|
+
_globals['_DELETEEXTENSIONREQUEST']._serialized_start=593
|
|
91
|
+
_globals['_DELETEEXTENSIONREQUEST']._serialized_end=679
|
|
92
|
+
_globals['_DELETEEXTENSIONMETADATA']._serialized_start=681
|
|
93
|
+
_globals['_DELETEEXTENSIONMETADATA']._serialized_end=768
|
|
94
|
+
_globals['_UPDATEEXTENSIONREQUEST']._serialized_start=770
|
|
95
|
+
_globals['_UPDATEEXTENSIONREQUEST']._serialized_end=872
|
|
96
|
+
_globals['_UPDATEEXTENSIONMETADATA']._serialized_start=874
|
|
97
|
+
_globals['_UPDATEEXTENSIONMETADATA']._serialized_end=961
|
|
98
|
+
_globals['_CREATEEXTENSIONREQUEST']._serialized_start=964
|
|
99
|
+
_globals['_CREATEEXTENSIONREQUEST']._serialized_end=1105
|
|
100
|
+
_globals['_CREATEEXTENSIONMETADATA']._serialized_start=1107
|
|
101
|
+
_globals['_CREATEEXTENSIONMETADATA']._serialized_end=1194
|
|
102
|
+
_globals['_EXTENSIONSERVICE']._serialized_start=1197
|
|
103
|
+
_globals['_EXTENSIONSERVICE']._serialized_end=2254
|
|
104
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,215 @@
|
|
|
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.opensearch.v1.extension_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetExtensionRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
EXTENSION_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
cluster_id: builtins.str
|
|
23
|
+
"""Required. ID of the cluster."""
|
|
24
|
+
extension_id: builtins.str
|
|
25
|
+
"""Required. ID of the extension to return."""
|
|
26
|
+
def __init__(
|
|
27
|
+
self,
|
|
28
|
+
*,
|
|
29
|
+
cluster_id: builtins.str = ...,
|
|
30
|
+
extension_id: builtins.str = ...,
|
|
31
|
+
) -> None: ...
|
|
32
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_id", b"extension_id"]) -> None: ...
|
|
33
|
+
|
|
34
|
+
global___GetExtensionRequest = GetExtensionRequest
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class ListExtensionsRequest(google.protobuf.message.Message):
|
|
38
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
39
|
+
|
|
40
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
41
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
42
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
43
|
+
cluster_id: builtins.str
|
|
44
|
+
"""Required. ID of the cluster to list extensions in."""
|
|
45
|
+
page_size: builtins.int
|
|
46
|
+
"""The maximum number of results per page that should be returned. If the number of available
|
|
47
|
+
results is larger than `page_size`, the service returns a `next_page_token` that can be used
|
|
48
|
+
to get the next page of results in subsequent ListBackups requests.
|
|
49
|
+
Acceptable values are 0 to 1000, inclusive. Default value: 100.
|
|
50
|
+
"""
|
|
51
|
+
page_token: builtins.str
|
|
52
|
+
"""Page token. Set `page_token` to the `next_page_token` returned by a previous ListBackups
|
|
53
|
+
request to get the next page of results.
|
|
54
|
+
"""
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
cluster_id: builtins.str = ...,
|
|
59
|
+
page_size: builtins.int = ...,
|
|
60
|
+
page_token: builtins.str = ...,
|
|
61
|
+
) -> None: ...
|
|
62
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
63
|
+
|
|
64
|
+
global___ListExtensionsRequest = ListExtensionsRequest
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class ListExtensionsResponse(google.protobuf.message.Message):
|
|
68
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
69
|
+
|
|
70
|
+
EXTENSIONS_FIELD_NUMBER: builtins.int
|
|
71
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
72
|
+
next_page_token: builtins.str
|
|
73
|
+
"""This token allows you to get the next page of results for ListBackups requests,
|
|
74
|
+
if the number of results is larger than `page_size` specified in the request.
|
|
75
|
+
To get the next page, specify the value of `next_page_token` as a value for
|
|
76
|
+
the `page_token` parameter in the next ListBackups request. Subsequent ListBackups
|
|
77
|
+
requests will have their own `next_page_token` to continue paging through the results.
|
|
78
|
+
"""
|
|
79
|
+
@property
|
|
80
|
+
def extensions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.mdb.opensearch.v1.extension_pb2.Extension]:
|
|
81
|
+
"""Requested list of extensions."""
|
|
82
|
+
|
|
83
|
+
def __init__(
|
|
84
|
+
self,
|
|
85
|
+
*,
|
|
86
|
+
extensions: collections.abc.Iterable[yandex.cloud.mdb.opensearch.v1.extension_pb2.Extension] | None = ...,
|
|
87
|
+
next_page_token: builtins.str = ...,
|
|
88
|
+
) -> None: ...
|
|
89
|
+
def ClearField(self, field_name: typing.Literal["extensions", b"extensions", "next_page_token", b"next_page_token"]) -> None: ...
|
|
90
|
+
|
|
91
|
+
global___ListExtensionsResponse = ListExtensionsResponse
|
|
92
|
+
|
|
93
|
+
@typing.final
|
|
94
|
+
class DeleteExtensionRequest(google.protobuf.message.Message):
|
|
95
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
96
|
+
|
|
97
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
98
|
+
EXTENSION_ID_FIELD_NUMBER: builtins.int
|
|
99
|
+
cluster_id: builtins.str
|
|
100
|
+
"""Required. ID of the cluster."""
|
|
101
|
+
extension_id: builtins.str
|
|
102
|
+
"""Required. ID of the extension to delete."""
|
|
103
|
+
def __init__(
|
|
104
|
+
self,
|
|
105
|
+
*,
|
|
106
|
+
cluster_id: builtins.str = ...,
|
|
107
|
+
extension_id: builtins.str = ...,
|
|
108
|
+
) -> None: ...
|
|
109
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_id", b"extension_id"]) -> None: ...
|
|
110
|
+
|
|
111
|
+
global___DeleteExtensionRequest = DeleteExtensionRequest
|
|
112
|
+
|
|
113
|
+
@typing.final
|
|
114
|
+
class DeleteExtensionMetadata(google.protobuf.message.Message):
|
|
115
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
116
|
+
|
|
117
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
118
|
+
EXTENSION_ID_FIELD_NUMBER: builtins.int
|
|
119
|
+
cluster_id: builtins.str
|
|
120
|
+
"""Required. ID of the cluster."""
|
|
121
|
+
extension_id: builtins.str
|
|
122
|
+
"""Required. ID of the extension to delete."""
|
|
123
|
+
def __init__(
|
|
124
|
+
self,
|
|
125
|
+
*,
|
|
126
|
+
cluster_id: builtins.str = ...,
|
|
127
|
+
extension_id: builtins.str = ...,
|
|
128
|
+
) -> None: ...
|
|
129
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_id", b"extension_id"]) -> None: ...
|
|
130
|
+
|
|
131
|
+
global___DeleteExtensionMetadata = DeleteExtensionMetadata
|
|
132
|
+
|
|
133
|
+
@typing.final
|
|
134
|
+
class UpdateExtensionRequest(google.protobuf.message.Message):
|
|
135
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
136
|
+
|
|
137
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
138
|
+
EXTENSION_ID_FIELD_NUMBER: builtins.int
|
|
139
|
+
ACTIVE_FIELD_NUMBER: builtins.int
|
|
140
|
+
cluster_id: builtins.str
|
|
141
|
+
"""Required. ID of the cluster."""
|
|
142
|
+
extension_id: builtins.str
|
|
143
|
+
"""Required. ID of the extension to update."""
|
|
144
|
+
active: builtins.bool
|
|
145
|
+
def __init__(
|
|
146
|
+
self,
|
|
147
|
+
*,
|
|
148
|
+
cluster_id: builtins.str = ...,
|
|
149
|
+
extension_id: builtins.str = ...,
|
|
150
|
+
active: builtins.bool = ...,
|
|
151
|
+
) -> None: ...
|
|
152
|
+
def ClearField(self, field_name: typing.Literal["active", b"active", "cluster_id", b"cluster_id", "extension_id", b"extension_id"]) -> None: ...
|
|
153
|
+
|
|
154
|
+
global___UpdateExtensionRequest = UpdateExtensionRequest
|
|
155
|
+
|
|
156
|
+
@typing.final
|
|
157
|
+
class UpdateExtensionMetadata(google.protobuf.message.Message):
|
|
158
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
159
|
+
|
|
160
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
161
|
+
EXTENSION_ID_FIELD_NUMBER: builtins.int
|
|
162
|
+
cluster_id: builtins.str
|
|
163
|
+
"""Required. ID of the cluster."""
|
|
164
|
+
extension_id: builtins.str
|
|
165
|
+
"""Required. ID of the extension."""
|
|
166
|
+
def __init__(
|
|
167
|
+
self,
|
|
168
|
+
*,
|
|
169
|
+
cluster_id: builtins.str = ...,
|
|
170
|
+
extension_id: builtins.str = ...,
|
|
171
|
+
) -> None: ...
|
|
172
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_id", b"extension_id"]) -> None: ...
|
|
173
|
+
|
|
174
|
+
global___UpdateExtensionMetadata = UpdateExtensionMetadata
|
|
175
|
+
|
|
176
|
+
@typing.final
|
|
177
|
+
class CreateExtensionRequest(google.protobuf.message.Message):
|
|
178
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
179
|
+
|
|
180
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
181
|
+
EXTENSION_SPEC_FIELD_NUMBER: builtins.int
|
|
182
|
+
cluster_id: builtins.str
|
|
183
|
+
"""Required. ID of the cluster."""
|
|
184
|
+
@property
|
|
185
|
+
def extension_spec(self) -> yandex.cloud.mdb.opensearch.v1.extension_pb2.ExtensionSpec: ...
|
|
186
|
+
def __init__(
|
|
187
|
+
self,
|
|
188
|
+
*,
|
|
189
|
+
cluster_id: builtins.str = ...,
|
|
190
|
+
extension_spec: yandex.cloud.mdb.opensearch.v1.extension_pb2.ExtensionSpec | None = ...,
|
|
191
|
+
) -> None: ...
|
|
192
|
+
def HasField(self, field_name: typing.Literal["extension_spec", b"extension_spec"]) -> builtins.bool: ...
|
|
193
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_spec", b"extension_spec"]) -> None: ...
|
|
194
|
+
|
|
195
|
+
global___CreateExtensionRequest = CreateExtensionRequest
|
|
196
|
+
|
|
197
|
+
@typing.final
|
|
198
|
+
class CreateExtensionMetadata(google.protobuf.message.Message):
|
|
199
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
200
|
+
|
|
201
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
202
|
+
EXTENSION_ID_FIELD_NUMBER: builtins.int
|
|
203
|
+
cluster_id: builtins.str
|
|
204
|
+
"""Required. ID of the cluster."""
|
|
205
|
+
extension_id: builtins.str
|
|
206
|
+
"""Required. ID of the extension."""
|
|
207
|
+
def __init__(
|
|
208
|
+
self,
|
|
209
|
+
*,
|
|
210
|
+
cluster_id: builtins.str = ...,
|
|
211
|
+
extension_id: builtins.str = ...,
|
|
212
|
+
) -> None: ...
|
|
213
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "extension_id", b"extension_id"]) -> None: ...
|
|
214
|
+
|
|
215
|
+
global___CreateExtensionMetadata = CreateExtensionMetadata
|
|
@@ -0,0 +1,276 @@
|
|
|
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.opensearch.v1 import extension_pb2 as yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__pb2
|
|
7
|
+
from yandex.cloud.mdb.opensearch.v1 import extension_service_pb2 as yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_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/opensearch/v1/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 ExtensionServiceStub(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.opensearch.v1.ExtensionService/Get',
|
|
41
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.GetExtensionRequest.SerializeToString,
|
|
42
|
+
response_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__pb2.Extension.FromString,
|
|
43
|
+
_registered_method=True)
|
|
44
|
+
self.List = channel.unary_unary(
|
|
45
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/List',
|
|
46
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.ListExtensionsRequest.SerializeToString,
|
|
47
|
+
response_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.ListExtensionsResponse.FromString,
|
|
48
|
+
_registered_method=True)
|
|
49
|
+
self.Create = channel.unary_unary(
|
|
50
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Create',
|
|
51
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.CreateExtensionRequest.SerializeToString,
|
|
52
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
53
|
+
_registered_method=True)
|
|
54
|
+
self.Update = channel.unary_unary(
|
|
55
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Update',
|
|
56
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.UpdateExtensionRequest.SerializeToString,
|
|
57
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
58
|
+
_registered_method=True)
|
|
59
|
+
self.Delete = channel.unary_unary(
|
|
60
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Delete',
|
|
61
|
+
request_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.DeleteExtensionRequest.SerializeToString,
|
|
62
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
63
|
+
_registered_method=True)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class ExtensionServiceServicer(object):
|
|
67
|
+
"""Missing associated documentation comment in .proto file."""
|
|
68
|
+
|
|
69
|
+
def Get(self, request, context):
|
|
70
|
+
"""Returns the specified extension of OpenSearch cluster.
|
|
71
|
+
"""
|
|
72
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
73
|
+
context.set_details('Method not implemented!')
|
|
74
|
+
raise NotImplementedError('Method not implemented!')
|
|
75
|
+
|
|
76
|
+
def List(self, request, context):
|
|
77
|
+
"""Returns the list of available extensions for the specified OpenSearch cluster.
|
|
78
|
+
"""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
83
|
+
def Create(self, request, context):
|
|
84
|
+
"""Creates new extension version.
|
|
85
|
+
"""
|
|
86
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
|
+
context.set_details('Method not implemented!')
|
|
88
|
+
raise NotImplementedError('Method not implemented!')
|
|
89
|
+
|
|
90
|
+
def Update(self, request, context):
|
|
91
|
+
"""Updates the specified extension.
|
|
92
|
+
"""
|
|
93
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
94
|
+
context.set_details('Method not implemented!')
|
|
95
|
+
raise NotImplementedError('Method not implemented!')
|
|
96
|
+
|
|
97
|
+
def Delete(self, request, context):
|
|
98
|
+
"""Deletes the specified extension.
|
|
99
|
+
"""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
def add_ExtensionServiceServicer_to_server(servicer, server):
|
|
106
|
+
rpc_method_handlers = {
|
|
107
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
108
|
+
servicer.Get,
|
|
109
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.GetExtensionRequest.FromString,
|
|
110
|
+
response_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__pb2.Extension.SerializeToString,
|
|
111
|
+
),
|
|
112
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
113
|
+
servicer.List,
|
|
114
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.ListExtensionsRequest.FromString,
|
|
115
|
+
response_serializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.ListExtensionsResponse.SerializeToString,
|
|
116
|
+
),
|
|
117
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
118
|
+
servicer.Create,
|
|
119
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.CreateExtensionRequest.FromString,
|
|
120
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
121
|
+
),
|
|
122
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
123
|
+
servicer.Update,
|
|
124
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.UpdateExtensionRequest.FromString,
|
|
125
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
126
|
+
),
|
|
127
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
128
|
+
servicer.Delete,
|
|
129
|
+
request_deserializer=yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.DeleteExtensionRequest.FromString,
|
|
130
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
131
|
+
),
|
|
132
|
+
}
|
|
133
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
134
|
+
'yandex.cloud.mdb.opensearch.v1.ExtensionService', rpc_method_handlers)
|
|
135
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
136
|
+
server.add_registered_method_handlers('yandex.cloud.mdb.opensearch.v1.ExtensionService', rpc_method_handlers)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
# This class is part of an EXPERIMENTAL API.
|
|
140
|
+
class ExtensionService(object):
|
|
141
|
+
"""Missing associated documentation comment in .proto file."""
|
|
142
|
+
|
|
143
|
+
@staticmethod
|
|
144
|
+
def Get(request,
|
|
145
|
+
target,
|
|
146
|
+
options=(),
|
|
147
|
+
channel_credentials=None,
|
|
148
|
+
call_credentials=None,
|
|
149
|
+
insecure=False,
|
|
150
|
+
compression=None,
|
|
151
|
+
wait_for_ready=None,
|
|
152
|
+
timeout=None,
|
|
153
|
+
metadata=None):
|
|
154
|
+
return grpc.experimental.unary_unary(
|
|
155
|
+
request,
|
|
156
|
+
target,
|
|
157
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Get',
|
|
158
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.GetExtensionRequest.SerializeToString,
|
|
159
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__pb2.Extension.FromString,
|
|
160
|
+
options,
|
|
161
|
+
channel_credentials,
|
|
162
|
+
insecure,
|
|
163
|
+
call_credentials,
|
|
164
|
+
compression,
|
|
165
|
+
wait_for_ready,
|
|
166
|
+
timeout,
|
|
167
|
+
metadata,
|
|
168
|
+
_registered_method=True)
|
|
169
|
+
|
|
170
|
+
@staticmethod
|
|
171
|
+
def List(request,
|
|
172
|
+
target,
|
|
173
|
+
options=(),
|
|
174
|
+
channel_credentials=None,
|
|
175
|
+
call_credentials=None,
|
|
176
|
+
insecure=False,
|
|
177
|
+
compression=None,
|
|
178
|
+
wait_for_ready=None,
|
|
179
|
+
timeout=None,
|
|
180
|
+
metadata=None):
|
|
181
|
+
return grpc.experimental.unary_unary(
|
|
182
|
+
request,
|
|
183
|
+
target,
|
|
184
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/List',
|
|
185
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.ListExtensionsRequest.SerializeToString,
|
|
186
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.ListExtensionsResponse.FromString,
|
|
187
|
+
options,
|
|
188
|
+
channel_credentials,
|
|
189
|
+
insecure,
|
|
190
|
+
call_credentials,
|
|
191
|
+
compression,
|
|
192
|
+
wait_for_ready,
|
|
193
|
+
timeout,
|
|
194
|
+
metadata,
|
|
195
|
+
_registered_method=True)
|
|
196
|
+
|
|
197
|
+
@staticmethod
|
|
198
|
+
def Create(request,
|
|
199
|
+
target,
|
|
200
|
+
options=(),
|
|
201
|
+
channel_credentials=None,
|
|
202
|
+
call_credentials=None,
|
|
203
|
+
insecure=False,
|
|
204
|
+
compression=None,
|
|
205
|
+
wait_for_ready=None,
|
|
206
|
+
timeout=None,
|
|
207
|
+
metadata=None):
|
|
208
|
+
return grpc.experimental.unary_unary(
|
|
209
|
+
request,
|
|
210
|
+
target,
|
|
211
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Create',
|
|
212
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.CreateExtensionRequest.SerializeToString,
|
|
213
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
214
|
+
options,
|
|
215
|
+
channel_credentials,
|
|
216
|
+
insecure,
|
|
217
|
+
call_credentials,
|
|
218
|
+
compression,
|
|
219
|
+
wait_for_ready,
|
|
220
|
+
timeout,
|
|
221
|
+
metadata,
|
|
222
|
+
_registered_method=True)
|
|
223
|
+
|
|
224
|
+
@staticmethod
|
|
225
|
+
def Update(request,
|
|
226
|
+
target,
|
|
227
|
+
options=(),
|
|
228
|
+
channel_credentials=None,
|
|
229
|
+
call_credentials=None,
|
|
230
|
+
insecure=False,
|
|
231
|
+
compression=None,
|
|
232
|
+
wait_for_ready=None,
|
|
233
|
+
timeout=None,
|
|
234
|
+
metadata=None):
|
|
235
|
+
return grpc.experimental.unary_unary(
|
|
236
|
+
request,
|
|
237
|
+
target,
|
|
238
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Update',
|
|
239
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.UpdateExtensionRequest.SerializeToString,
|
|
240
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
241
|
+
options,
|
|
242
|
+
channel_credentials,
|
|
243
|
+
insecure,
|
|
244
|
+
call_credentials,
|
|
245
|
+
compression,
|
|
246
|
+
wait_for_ready,
|
|
247
|
+
timeout,
|
|
248
|
+
metadata,
|
|
249
|
+
_registered_method=True)
|
|
250
|
+
|
|
251
|
+
@staticmethod
|
|
252
|
+
def Delete(request,
|
|
253
|
+
target,
|
|
254
|
+
options=(),
|
|
255
|
+
channel_credentials=None,
|
|
256
|
+
call_credentials=None,
|
|
257
|
+
insecure=False,
|
|
258
|
+
compression=None,
|
|
259
|
+
wait_for_ready=None,
|
|
260
|
+
timeout=None,
|
|
261
|
+
metadata=None):
|
|
262
|
+
return grpc.experimental.unary_unary(
|
|
263
|
+
request,
|
|
264
|
+
target,
|
|
265
|
+
'/yandex.cloud.mdb.opensearch.v1.ExtensionService/Delete',
|
|
266
|
+
yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension__service__pb2.DeleteExtensionRequest.SerializeToString,
|
|
267
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
268
|
+
options,
|
|
269
|
+
channel_credentials,
|
|
270
|
+
insecure,
|
|
271
|
+
call_credentials,
|
|
272
|
+
compression,
|
|
273
|
+
wait_for_ready,
|
|
274
|
+
timeout,
|
|
275
|
+
metadata,
|
|
276
|
+
_registered_method=True)
|