yandexcloud 0.339.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/_sdk.py +1 -0
- yandexcloud/_wrappers/__init__.py +15 -0
- yandexcloud/_wrappers/spark/__init__.py +603 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/RECORD +115 -55
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/top_level.txt +0 -0
|
@@ -49,6 +49,8 @@ class _GlobalPermissionEnumTypeWrapper(google.protobuf.internal.enum_type_wrappe
|
|
|
49
49
|
The `SHOW FUNCTION CODE` and `SHOW PROCEDURE CODE` statements.
|
|
50
50
|
The SHOW `FUNCTION STATUS` and `SHOW PROCEDURE STATUS` statements.
|
|
51
51
|
"""
|
|
52
|
+
MDB_ADMIN: _GlobalPermission.ValueType # 6
|
|
53
|
+
"""Enables use of the KILL command, creating and dropping databases and users, granting privileges to tables and databases."""
|
|
52
54
|
|
|
53
55
|
class GlobalPermission(_GlobalPermission, metaclass=_GlobalPermissionEnumTypeWrapper): ...
|
|
54
56
|
|
|
@@ -75,6 +77,8 @@ The `SHOW CREATE FUNCTION` and `SHOW CREATE PROCEDURE` statements.
|
|
|
75
77
|
The `SHOW FUNCTION CODE` and `SHOW PROCEDURE CODE` statements.
|
|
76
78
|
The SHOW `FUNCTION STATUS` and `SHOW PROCEDURE STATUS` statements.
|
|
77
79
|
"""
|
|
80
|
+
MDB_ADMIN: GlobalPermission.ValueType # 6
|
|
81
|
+
"""Enables use of the KILL command, creating and dropping databases and users, granting privileges to tables and databases."""
|
|
78
82
|
global___GlobalPermission = GlobalPermission
|
|
79
83
|
|
|
80
84
|
class _AuthPlugin:
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
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/extension_type.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/extension_type.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=yandex/cloud/mdb/opensearch/v1/extension/extension_type.proto\x12(yandex.cloud.mdb.opensearch.v1.extension*j\n\rExtensionType\x12\x1e\n\x1a\x45XTENSION_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x45XTENSION_TYPE_SYNONYMS\x10\x01\x12\x1c\n\x18\x45XTENSION_TYPE_STOPWORDS\x10\x02\x42\x87\x01\n,yandex.cloud.api.mdb.opensearch.v1.extensionZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1/extension;opensearchb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.mdb.opensearch.v1.extension.extension_type_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n,yandex.cloud.api.mdb.opensearch.v1.extensionZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1/extension;opensearch'
|
|
35
|
+
_globals['_EXTENSIONTYPE']._serialized_start=107
|
|
36
|
+
_globals['_EXTENSIONTYPE']._serialized_end=213
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
9
|
+
import sys
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
if sys.version_info >= (3, 10):
|
|
13
|
+
import typing as typing_extensions
|
|
14
|
+
else:
|
|
15
|
+
import typing_extensions
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
18
|
+
|
|
19
|
+
class _ExtensionType:
|
|
20
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
21
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
22
|
+
|
|
23
|
+
class _ExtensionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ExtensionType.ValueType], builtins.type):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
25
|
+
EXTENSION_TYPE_UNSPECIFIED: _ExtensionType.ValueType # 0
|
|
26
|
+
EXTENSION_TYPE_SYNONYMS: _ExtensionType.ValueType # 1
|
|
27
|
+
EXTENSION_TYPE_STOPWORDS: _ExtensionType.ValueType # 2
|
|
28
|
+
|
|
29
|
+
class ExtensionType(_ExtensionType, metaclass=_ExtensionTypeEnumTypeWrapper): ...
|
|
30
|
+
|
|
31
|
+
EXTENSION_TYPE_UNSPECIFIED: ExtensionType.ValueType # 0
|
|
32
|
+
EXTENSION_TYPE_SYNONYMS: ExtensionType.ValueType # 1
|
|
33
|
+
EXTENSION_TYPE_STOPWORDS: ExtensionType.ValueType # 2
|
|
34
|
+
global___ExtensionType = ExtensionType
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,47 @@
|
|
|
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.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.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
|
+
from yandex.cloud.mdb.opensearch.v1.extension import extension_type_pb2 as yandex_dot_cloud_dot_mdb_dot_opensearch_dot_v1_dot_extension_dot_extension__type__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/mdb/opensearch/v1/extension.proto\x12\x1eyandex.cloud.mdb.opensearch.v1\x1a\x1dyandex/cloud/validation.proto\x1a=yandex/cloud/mdb/opensearch/v1/extension/extension_type.proto\"\xa1\x01\n\tExtension\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x12\n\ncluster_id\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x05 \x01(\x08\x12\x45\n\x04type\x18\x06 \x01(\x0e\x32\x37.yandex.cloud.mdb.opensearch.v1.extension.ExtensionType\"\xa5\x01\n\rExtensionSpec\x12\x1a\n\x04name\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x19\n\x03uri\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x10\n\x08\x64isabled\x18\x03 \x01(\x08\x12K\n\x04type\x18\x04 \x01(\x0e\x32\x37.yandex.cloud.mdb.opensearch.v1.extension.ExtensionTypeB\x04\xe8\xc7\x31\x01\x42s\n\"yandex.cloud.api.mdb.opensearch.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1;opensearchb\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.mdb.opensearch.v1.extension_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.mdb.opensearch.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/opensearch/v1;opensearch'
|
|
37
|
+
_globals['_EXTENSIONSPEC'].fields_by_name['name']._loaded_options = None
|
|
38
|
+
_globals['_EXTENSIONSPEC'].fields_by_name['name']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
39
|
+
_globals['_EXTENSIONSPEC'].fields_by_name['uri']._loaded_options = None
|
|
40
|
+
_globals['_EXTENSIONSPEC'].fields_by_name['uri']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
41
|
+
_globals['_EXTENSIONSPEC'].fields_by_name['type']._loaded_options = None
|
|
42
|
+
_globals['_EXTENSIONSPEC'].fields_by_name['type']._serialized_options = b'\350\3071\001'
|
|
43
|
+
_globals['_EXTENSION']._serialized_start=177
|
|
44
|
+
_globals['_EXTENSION']._serialized_end=338
|
|
45
|
+
_globals['_EXTENSIONSPEC']._serialized_start=341
|
|
46
|
+
_globals['_EXTENSIONSPEC']._serialized_end=506
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import typing
|
|
10
|
+
import yandex.cloud.mdb.opensearch.v1.extension.extension_type_pb2
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class Extension(google.protobuf.message.Message):
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17
|
+
|
|
18
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
19
|
+
ID_FIELD_NUMBER: builtins.int
|
|
20
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
VERSION_FIELD_NUMBER: builtins.int
|
|
22
|
+
ACTIVE_FIELD_NUMBER: builtins.int
|
|
23
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
24
|
+
name: builtins.str
|
|
25
|
+
"""Name of the extension."""
|
|
26
|
+
id: builtins.str
|
|
27
|
+
"""Extension unique ID"""
|
|
28
|
+
cluster_id: builtins.str
|
|
29
|
+
"""ID of the OpenSearch cluster the extension belongs to."""
|
|
30
|
+
version: builtins.int
|
|
31
|
+
"""Extension version"""
|
|
32
|
+
active: builtins.bool
|
|
33
|
+
"""Flag is extension active now"""
|
|
34
|
+
type: yandex.cloud.mdb.opensearch.v1.extension.extension_type_pb2.ExtensionType.ValueType
|
|
35
|
+
"""Extension type"""
|
|
36
|
+
def __init__(
|
|
37
|
+
self,
|
|
38
|
+
*,
|
|
39
|
+
name: builtins.str = ...,
|
|
40
|
+
id: builtins.str = ...,
|
|
41
|
+
cluster_id: builtins.str = ...,
|
|
42
|
+
version: builtins.int = ...,
|
|
43
|
+
active: builtins.bool = ...,
|
|
44
|
+
type: yandex.cloud.mdb.opensearch.v1.extension.extension_type_pb2.ExtensionType.ValueType = ...,
|
|
45
|
+
) -> None: ...
|
|
46
|
+
def ClearField(self, field_name: typing.Literal["active", b"active", "cluster_id", b"cluster_id", "id", b"id", "name", b"name", "type", b"type", "version", b"version"]) -> None: ...
|
|
47
|
+
|
|
48
|
+
global___Extension = Extension
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class ExtensionSpec(google.protobuf.message.Message):
|
|
52
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
53
|
+
|
|
54
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
55
|
+
URI_FIELD_NUMBER: builtins.int
|
|
56
|
+
DISABLED_FIELD_NUMBER: builtins.int
|
|
57
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
58
|
+
name: builtins.str
|
|
59
|
+
"""Name of the extension."""
|
|
60
|
+
uri: builtins.str
|
|
61
|
+
"""URI of the extension file
|
|
62
|
+
Currently only supports links that are stored in Yandex Object Storage.
|
|
63
|
+
"""
|
|
64
|
+
disabled: builtins.bool
|
|
65
|
+
type: yandex.cloud.mdb.opensearch.v1.extension.extension_type_pb2.ExtensionType.ValueType
|
|
66
|
+
"""Extension type"""
|
|
67
|
+
def __init__(
|
|
68
|
+
self,
|
|
69
|
+
*,
|
|
70
|
+
name: builtins.str = ...,
|
|
71
|
+
uri: builtins.str = ...,
|
|
72
|
+
disabled: builtins.bool = ...,
|
|
73
|
+
type: yandex.cloud.mdb.opensearch.v1.extension.extension_type_pb2.ExtensionType.ValueType = ...,
|
|
74
|
+
) -> None: ...
|
|
75
|
+
def ClearField(self, field_name: typing.Literal["disabled", b"disabled", "name", b"name", "type", b"type", "uri", b"uri"]) -> None: ...
|
|
76
|
+
|
|
77
|
+
global___ExtensionSpec = ExtensionSpec
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -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
|