yandexcloud 0.345.0__py3-none-any.whl → 0.347.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/common_pb2.py +18 -10
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +67 -2
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +16 -16
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +7 -7
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.py +16 -16
- yandex/cloud/clouddesktop/v1/desktop_group_service_pb2.pyi +14 -2
- yandex/cloud/gitlab/__init__.py +0 -0
- yandex/cloud/gitlab/v1/__init__.py +0 -0
- yandex/cloud/gitlab/v1/instance_pb2.py +54 -0
- yandex/cloud/gitlab/v1/instance_pb2.pyi +158 -0
- yandex/cloud/gitlab/v1/instance_pb2_grpc.py +24 -0
- yandex/cloud/gitlab/v1/instance_pb2_grpc.pyi +17 -0
- yandex/cloud/gitlab/v1/instance_service_pb2.py +118 -0
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +257 -0
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.py +314 -0
- yandex/cloud/gitlab/v1/instance_service_pb2_grpc.pyi +128 -0
- yandex/cloud/gitlab/v1/maintenance_pb2.py +41 -0
- yandex/cloud/gitlab/v1/maintenance_pb2.pyi +40 -0
- yandex/cloud/gitlab/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/gitlab/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.py +11 -3
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.pyi +20 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.py +44 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.pyi +20 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2.pyi +35 -4
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.pyi +9 -1
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.py +10 -5
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.pyi +14 -2
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +74 -74
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +64 -64
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +64 -52
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +75 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/monitoring/v3/thresholds_pb2.py +5 -5
- yandex/cloud/monitoring/v3/thresholds_pb2.pyi +4 -2
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +7 -12
- yandex/cloud/spark/v1/job_pb2.py +12 -16
- yandex/cloud/spark/v1/job_pb2.pyi +3 -51
- yandex/cloud/trino/v1/catalog_pb2.py +252 -0
- yandex/cloud/trino/v1/catalog_pb2.pyi +965 -0
- yandex/cloud/trino/v1/catalog_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/catalog_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/catalog_service_pb2.py +94 -0
- yandex/cloud/trino/v1/catalog_service_pb2.pyi +235 -0
- yandex/cloud/trino/v1/catalog_service_pb2_grpc.py +279 -0
- yandex/cloud/trino/v1/catalog_service_pb2_grpc.pyi +132 -0
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +10 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/RECORD +58 -36
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.345.0.dist-info → yandexcloud-0.347.0.dist-info}/top_level.txt +0 -0
|
@@ -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/trino/v1/catalog_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,94 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/trino/v1/catalog_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/trino/v1/catalog_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
26
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
27
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
28
|
+
from yandex.cloud.trino.v1 import catalog_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__pb2
|
|
29
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/trino/v1/catalog_service.proto\x12\x15yandex.cloud.trino.v1\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a#yandex/cloud/trino/v1/catalog.proto\x1a\x1dyandex/cloud/validation.proto\"W\n\x11GetCatalogRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\ncatalog_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x91\x01\n\x13ListCatalogsRequest\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<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"a\n\x14ListCatalogsResponse\x12\x30\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.trino.v1.Catalog\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"s\n\x14\x43reateCatalogRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x39\n\x07\x63\x61talog\x18\x02 \x01(\x0b\x32\".yandex.cloud.trino.v1.CatalogSpecB\x04\xe8\xc7\x31\x01\"?\n\x15\x43reateCatalogMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x12\n\ncatalog_id\x18\x02 \x01(\t\"\xd2\x01\n\x14UpdateCatalogRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\ncatalog_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12?\n\x07\x63\x61talog\x18\x04 \x01(\x0b\x32(.yandex.cloud.trino.v1.CatalogUpdateSpecB\x04\xe8\xc7\x31\x01\"?\n\x15UpdateCatalogMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x12\n\ncatalog_id\x18\x02 \x01(\t\"Z\n\x14\x44\x65leteCatalogRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\ncatalog_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"?\n\x15\x44\x65leteCatalogMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x12\n\ncatalog_id\x18\x02 \x01(\t2\xd5\x04\n\x0e\x43\x61talogService\x12Q\n\x03Get\x12(.yandex.cloud.trino.v1.GetCatalogRequest\x1a\x1e.yandex.cloud.trino.v1.Catalog\"\x00\x12\x61\n\x04List\x12*.yandex.cloud.trino.v1.ListCatalogsRequest\x1a+.yandex.cloud.trino.v1.ListCatalogsResponse\"\x00\x12~\n\x06\x43reate\x12+.yandex.cloud.trino.v1.CreateCatalogRequest\x1a!.yandex.cloud.operation.Operation\"$\xb2\xd2* \n\x15\x43reateCatalogMetadata\x12\x07\x43\x61talog\x12~\n\x06Update\x12+.yandex.cloud.trino.v1.UpdateCatalogRequest\x1a!.yandex.cloud.operation.Operation\"$\xb2\xd2* \n\x15UpdateCatalogMetadata\x12\x07\x43\x61talog\x12\x8c\x01\n\x06\x44\x65lete\x12+.yandex.cloud.trino.v1.DeleteCatalogRequest\x1a!.yandex.cloud.operation.Operation\"2\xb2\xd2*.\n\x15\x44\x65leteCatalogMetadata\x12\x15google.protobuf.EmptyB\\\n\x19yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trinob\x06proto3')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.trino.v1.catalog_service_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\031yandex.cloud.api.trino.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/trino/v1;trino'
|
|
40
|
+
_globals['_GETCATALOGREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
41
|
+
_globals['_GETCATALOGREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
42
|
+
_globals['_GETCATALOGREQUEST'].fields_by_name['catalog_id']._loaded_options = None
|
|
43
|
+
_globals['_GETCATALOGREQUEST'].fields_by_name['catalog_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
44
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
45
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
46
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
47
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
48
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
49
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
50
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
51
|
+
_globals['_LISTCATALOGSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
52
|
+
_globals['_CREATECATALOGREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
53
|
+
_globals['_CREATECATALOGREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
54
|
+
_globals['_CREATECATALOGREQUEST'].fields_by_name['catalog']._loaded_options = None
|
|
55
|
+
_globals['_CREATECATALOGREQUEST'].fields_by_name['catalog']._serialized_options = b'\350\3071\001'
|
|
56
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
57
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
58
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['catalog_id']._loaded_options = None
|
|
59
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['catalog_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
60
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['update_mask']._loaded_options = None
|
|
61
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['update_mask']._serialized_options = b'\350\3071\001'
|
|
62
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['catalog']._loaded_options = None
|
|
63
|
+
_globals['_UPDATECATALOGREQUEST'].fields_by_name['catalog']._serialized_options = b'\350\3071\001'
|
|
64
|
+
_globals['_DELETECATALOGREQUEST'].fields_by_name['cluster_id']._loaded_options = None
|
|
65
|
+
_globals['_DELETECATALOGREQUEST'].fields_by_name['cluster_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
66
|
+
_globals['_DELETECATALOGREQUEST'].fields_by_name['catalog_id']._loaded_options = None
|
|
67
|
+
_globals['_DELETECATALOGREQUEST'].fields_by_name['catalog_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
68
|
+
_globals['_CATALOGSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
69
|
+
_globals['_CATALOGSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322* \n\025CreateCatalogMetadata\022\007Catalog'
|
|
70
|
+
_globals['_CATALOGSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
71
|
+
_globals['_CATALOGSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322* \n\025UpdateCatalogMetadata\022\007Catalog'
|
|
72
|
+
_globals['_CATALOGSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
73
|
+
_globals['_CATALOGSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*.\n\025DeleteCatalogMetadata\022\025google.protobuf.Empty'
|
|
74
|
+
_globals['_GETCATALOGREQUEST']._serialized_start=246
|
|
75
|
+
_globals['_GETCATALOGREQUEST']._serialized_end=333
|
|
76
|
+
_globals['_LISTCATALOGSREQUEST']._serialized_start=336
|
|
77
|
+
_globals['_LISTCATALOGSREQUEST']._serialized_end=481
|
|
78
|
+
_globals['_LISTCATALOGSRESPONSE']._serialized_start=483
|
|
79
|
+
_globals['_LISTCATALOGSRESPONSE']._serialized_end=580
|
|
80
|
+
_globals['_CREATECATALOGREQUEST']._serialized_start=582
|
|
81
|
+
_globals['_CREATECATALOGREQUEST']._serialized_end=697
|
|
82
|
+
_globals['_CREATECATALOGMETADATA']._serialized_start=699
|
|
83
|
+
_globals['_CREATECATALOGMETADATA']._serialized_end=762
|
|
84
|
+
_globals['_UPDATECATALOGREQUEST']._serialized_start=765
|
|
85
|
+
_globals['_UPDATECATALOGREQUEST']._serialized_end=975
|
|
86
|
+
_globals['_UPDATECATALOGMETADATA']._serialized_start=977
|
|
87
|
+
_globals['_UPDATECATALOGMETADATA']._serialized_end=1040
|
|
88
|
+
_globals['_DELETECATALOGREQUEST']._serialized_start=1042
|
|
89
|
+
_globals['_DELETECATALOGREQUEST']._serialized_end=1132
|
|
90
|
+
_globals['_DELETECATALOGMETADATA']._serialized_start=1134
|
|
91
|
+
_globals['_DELETECATALOGMETADATA']._serialized_end=1197
|
|
92
|
+
_globals['_CATALOGSERVICE']._serialized_start=1200
|
|
93
|
+
_globals['_CATALOGSERVICE']._serialized_end=1797
|
|
94
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.field_mask_pb2
|
|
10
|
+
import google.protobuf.internal.containers
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import typing
|
|
13
|
+
import yandex.cloud.trino.v1.catalog_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class GetCatalogRequest(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
CATALOG_ID_FIELD_NUMBER: builtins.int
|
|
23
|
+
cluster_id: builtins.str
|
|
24
|
+
"""ID of the Trino Cluster resource which contains the requested catalog."""
|
|
25
|
+
catalog_id: builtins.str
|
|
26
|
+
"""ID of the Trino Catalog resource."""
|
|
27
|
+
def __init__(
|
|
28
|
+
self,
|
|
29
|
+
*,
|
|
30
|
+
cluster_id: builtins.str = ...,
|
|
31
|
+
catalog_id: builtins.str = ...,
|
|
32
|
+
) -> None: ...
|
|
33
|
+
def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
34
|
+
|
|
35
|
+
global___GetCatalogRequest = GetCatalogRequest
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class ListCatalogsRequest(google.protobuf.message.Message):
|
|
39
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
40
|
+
|
|
41
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
42
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
43
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
44
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
45
|
+
cluster_id: builtins.str
|
|
46
|
+
"""ID of the cluster to list Trino Catalogs in."""
|
|
47
|
+
page_size: builtins.int
|
|
48
|
+
"""The maximum number of results per page to return. If the number of available
|
|
49
|
+
results is larger than [page_size], the service returns a [ListCatalogsResponse.next_page_token]
|
|
50
|
+
that can be used to get the next page of results in subsequent list requests.
|
|
51
|
+
"""
|
|
52
|
+
page_token: builtins.str
|
|
53
|
+
"""Page token. To get the next page of results, set [page_token] to the [ListCatalogsResponse.next_page_token]
|
|
54
|
+
returned by the previous list request.
|
|
55
|
+
"""
|
|
56
|
+
filter: builtins.str
|
|
57
|
+
"""A filter expression that filters resources listed in the response.
|
|
58
|
+
The expression must specify:
|
|
59
|
+
1. The field name. Currently you can only use filtering with the [Catalog.name] field.
|
|
60
|
+
2. An `=` operator.
|
|
61
|
+
3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`.
|
|
62
|
+
"""
|
|
63
|
+
def __init__(
|
|
64
|
+
self,
|
|
65
|
+
*,
|
|
66
|
+
cluster_id: builtins.str = ...,
|
|
67
|
+
page_size: builtins.int = ...,
|
|
68
|
+
page_token: builtins.str = ...,
|
|
69
|
+
filter: builtins.str = ...,
|
|
70
|
+
) -> None: ...
|
|
71
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
72
|
+
|
|
73
|
+
global___ListCatalogsRequest = ListCatalogsRequest
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class ListCatalogsResponse(google.protobuf.message.Message):
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
|
|
79
|
+
CATALOGS_FIELD_NUMBER: builtins.int
|
|
80
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
81
|
+
next_page_token: builtins.str
|
|
82
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
83
|
+
is larger than [ListCatalogsRequest.page_size], use the [next_page_token] as the value
|
|
84
|
+
for the [ListCatalogsRequest.page_token] parameter in the next list request. Each subsequent
|
|
85
|
+
list request will have its own [next_page_token] to continue paging through the results.
|
|
86
|
+
"""
|
|
87
|
+
@property
|
|
88
|
+
def catalogs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.trino.v1.catalog_pb2.Catalog]:
|
|
89
|
+
"""List of Trino Catalog resources."""
|
|
90
|
+
|
|
91
|
+
def __init__(
|
|
92
|
+
self,
|
|
93
|
+
*,
|
|
94
|
+
catalogs: collections.abc.Iterable[yandex.cloud.trino.v1.catalog_pb2.Catalog] | None = ...,
|
|
95
|
+
next_page_token: builtins.str = ...,
|
|
96
|
+
) -> None: ...
|
|
97
|
+
def ClearField(self, field_name: typing.Literal["catalogs", b"catalogs", "next_page_token", b"next_page_token"]) -> None: ...
|
|
98
|
+
|
|
99
|
+
global___ListCatalogsResponse = ListCatalogsResponse
|
|
100
|
+
|
|
101
|
+
@typing.final
|
|
102
|
+
class CreateCatalogRequest(google.protobuf.message.Message):
|
|
103
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
104
|
+
|
|
105
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
106
|
+
CATALOG_FIELD_NUMBER: builtins.int
|
|
107
|
+
cluster_id: builtins.str
|
|
108
|
+
"""ID of the Trino Cluster where the catalog should be created."""
|
|
109
|
+
@property
|
|
110
|
+
def catalog(self) -> yandex.cloud.trino.v1.catalog_pb2.CatalogSpec:
|
|
111
|
+
"""Specification of the catalog to be created."""
|
|
112
|
+
|
|
113
|
+
def __init__(
|
|
114
|
+
self,
|
|
115
|
+
*,
|
|
116
|
+
cluster_id: builtins.str = ...,
|
|
117
|
+
catalog: yandex.cloud.trino.v1.catalog_pb2.CatalogSpec | None = ...,
|
|
118
|
+
) -> None: ...
|
|
119
|
+
def HasField(self, field_name: typing.Literal["catalog", b"catalog"]) -> builtins.bool: ...
|
|
120
|
+
def ClearField(self, field_name: typing.Literal["catalog", b"catalog", "cluster_id", b"cluster_id"]) -> None: ...
|
|
121
|
+
|
|
122
|
+
global___CreateCatalogRequest = CreateCatalogRequest
|
|
123
|
+
|
|
124
|
+
@typing.final
|
|
125
|
+
class CreateCatalogMetadata(google.protobuf.message.Message):
|
|
126
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
127
|
+
|
|
128
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
129
|
+
CATALOG_ID_FIELD_NUMBER: builtins.int
|
|
130
|
+
cluster_id: builtins.str
|
|
131
|
+
"""ID of the Trino cluster where a catalog is being created."""
|
|
132
|
+
catalog_id: builtins.str
|
|
133
|
+
"""ID of the catalog that is being created."""
|
|
134
|
+
def __init__(
|
|
135
|
+
self,
|
|
136
|
+
*,
|
|
137
|
+
cluster_id: builtins.str = ...,
|
|
138
|
+
catalog_id: builtins.str = ...,
|
|
139
|
+
) -> None: ...
|
|
140
|
+
def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
141
|
+
|
|
142
|
+
global___CreateCatalogMetadata = CreateCatalogMetadata
|
|
143
|
+
|
|
144
|
+
@typing.final
|
|
145
|
+
class UpdateCatalogRequest(google.protobuf.message.Message):
|
|
146
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
147
|
+
|
|
148
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
149
|
+
CATALOG_ID_FIELD_NUMBER: builtins.int
|
|
150
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
151
|
+
CATALOG_FIELD_NUMBER: builtins.int
|
|
152
|
+
cluster_id: builtins.str
|
|
153
|
+
"""ID of the Trino Cluster that contains the catalog to update."""
|
|
154
|
+
catalog_id: builtins.str
|
|
155
|
+
"""ID of the catalog to update."""
|
|
156
|
+
@property
|
|
157
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
158
|
+
"""Field mask that specifies which fields of the catalog should be updated."""
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def catalog(self) -> yandex.cloud.trino.v1.catalog_pb2.CatalogUpdateSpec:
|
|
162
|
+
"""New values for the specified fields."""
|
|
163
|
+
|
|
164
|
+
def __init__(
|
|
165
|
+
self,
|
|
166
|
+
*,
|
|
167
|
+
cluster_id: builtins.str = ...,
|
|
168
|
+
catalog_id: builtins.str = ...,
|
|
169
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
170
|
+
catalog: yandex.cloud.trino.v1.catalog_pb2.CatalogUpdateSpec | None = ...,
|
|
171
|
+
) -> None: ...
|
|
172
|
+
def HasField(self, field_name: typing.Literal["catalog", b"catalog", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
173
|
+
def ClearField(self, field_name: typing.Literal["catalog", b"catalog", "catalog_id", b"catalog_id", "cluster_id", b"cluster_id", "update_mask", b"update_mask"]) -> None: ...
|
|
174
|
+
|
|
175
|
+
global___UpdateCatalogRequest = UpdateCatalogRequest
|
|
176
|
+
|
|
177
|
+
@typing.final
|
|
178
|
+
class UpdateCatalogMetadata(google.protobuf.message.Message):
|
|
179
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
180
|
+
|
|
181
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
182
|
+
CATALOG_ID_FIELD_NUMBER: builtins.int
|
|
183
|
+
cluster_id: builtins.str
|
|
184
|
+
"""ID of the Trino cluster where a catalog is being updated."""
|
|
185
|
+
catalog_id: builtins.str
|
|
186
|
+
"""ID of the catalog that is being updated."""
|
|
187
|
+
def __init__(
|
|
188
|
+
self,
|
|
189
|
+
*,
|
|
190
|
+
cluster_id: builtins.str = ...,
|
|
191
|
+
catalog_id: builtins.str = ...,
|
|
192
|
+
) -> None: ...
|
|
193
|
+
def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
194
|
+
|
|
195
|
+
global___UpdateCatalogMetadata = UpdateCatalogMetadata
|
|
196
|
+
|
|
197
|
+
@typing.final
|
|
198
|
+
class DeleteCatalogRequest(google.protobuf.message.Message):
|
|
199
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
200
|
+
|
|
201
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
202
|
+
CATALOG_ID_FIELD_NUMBER: builtins.int
|
|
203
|
+
cluster_id: builtins.str
|
|
204
|
+
"""ID of the Trino Cluster resource which contains the requested catalog."""
|
|
205
|
+
catalog_id: builtins.str
|
|
206
|
+
"""ID of the Trino Catalog resource."""
|
|
207
|
+
def __init__(
|
|
208
|
+
self,
|
|
209
|
+
*,
|
|
210
|
+
cluster_id: builtins.str = ...,
|
|
211
|
+
catalog_id: builtins.str = ...,
|
|
212
|
+
) -> None: ...
|
|
213
|
+
def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
214
|
+
|
|
215
|
+
global___DeleteCatalogRequest = DeleteCatalogRequest
|
|
216
|
+
|
|
217
|
+
@typing.final
|
|
218
|
+
class DeleteCatalogMetadata(google.protobuf.message.Message):
|
|
219
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
220
|
+
|
|
221
|
+
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
222
|
+
CATALOG_ID_FIELD_NUMBER: builtins.int
|
|
223
|
+
cluster_id: builtins.str
|
|
224
|
+
"""ID of the Trino cluster where a catalog is being deleted."""
|
|
225
|
+
catalog_id: builtins.str
|
|
226
|
+
"""ID of the catalog that is being deleted."""
|
|
227
|
+
def __init__(
|
|
228
|
+
self,
|
|
229
|
+
*,
|
|
230
|
+
cluster_id: builtins.str = ...,
|
|
231
|
+
catalog_id: builtins.str = ...,
|
|
232
|
+
) -> None: ...
|
|
233
|
+
def ClearField(self, field_name: typing.Literal["catalog_id", b"catalog_id", "cluster_id", b"cluster_id"]) -> None: ...
|
|
234
|
+
|
|
235
|
+
global___DeleteCatalogMetadata = DeleteCatalogMetadata
|
|
@@ -0,0 +1,279 @@
|
|
|
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.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
7
|
+
from yandex.cloud.trino.v1 import catalog_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__pb2
|
|
8
|
+
from yandex.cloud.trino.v1 import catalog_service_pb2 as yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__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/trino/v1/catalog_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 CatalogServiceStub(object):
|
|
31
|
+
"""A set of methods for managing Trino Cluster Catalog resources.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
def __init__(self, channel):
|
|
35
|
+
"""Constructor.
|
|
36
|
+
|
|
37
|
+
Args:
|
|
38
|
+
channel: A grpc.Channel.
|
|
39
|
+
"""
|
|
40
|
+
self.Get = channel.unary_unary(
|
|
41
|
+
'/yandex.cloud.trino.v1.CatalogService/Get',
|
|
42
|
+
request_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.GetCatalogRequest.SerializeToString,
|
|
43
|
+
response_deserializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__pb2.Catalog.FromString,
|
|
44
|
+
_registered_method=True)
|
|
45
|
+
self.List = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.trino.v1.CatalogService/List',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.ListCatalogsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.ListCatalogsResponse.FromString,
|
|
49
|
+
_registered_method=True)
|
|
50
|
+
self.Create = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.trino.v1.CatalogService/Create',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.CreateCatalogRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
54
|
+
_registered_method=True)
|
|
55
|
+
self.Update = channel.unary_unary(
|
|
56
|
+
'/yandex.cloud.trino.v1.CatalogService/Update',
|
|
57
|
+
request_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.UpdateCatalogRequest.SerializeToString,
|
|
58
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
59
|
+
_registered_method=True)
|
|
60
|
+
self.Delete = channel.unary_unary(
|
|
61
|
+
'/yandex.cloud.trino.v1.CatalogService/Delete',
|
|
62
|
+
request_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.DeleteCatalogRequest.SerializeToString,
|
|
63
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
64
|
+
_registered_method=True)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class CatalogServiceServicer(object):
|
|
68
|
+
"""A set of methods for managing Trino Cluster Catalog resources.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
def Get(self, request, context):
|
|
72
|
+
"""Returns the specified Trino Catalog resource.
|
|
73
|
+
"""
|
|
74
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
75
|
+
context.set_details('Method not implemented!')
|
|
76
|
+
raise NotImplementedError('Method not implemented!')
|
|
77
|
+
|
|
78
|
+
def List(self, request, context):
|
|
79
|
+
"""Retrieves a list of Trino Catalog resources.
|
|
80
|
+
"""
|
|
81
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
82
|
+
context.set_details('Method not implemented!')
|
|
83
|
+
raise NotImplementedError('Method not implemented!')
|
|
84
|
+
|
|
85
|
+
def Create(self, request, context):
|
|
86
|
+
"""Creates a new Trino Catalog.
|
|
87
|
+
"""
|
|
88
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
|
+
context.set_details('Method not implemented!')
|
|
90
|
+
raise NotImplementedError('Method not implemented!')
|
|
91
|
+
|
|
92
|
+
def Update(self, request, context):
|
|
93
|
+
"""Updates the specified Trino Catalog.
|
|
94
|
+
"""
|
|
95
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
96
|
+
context.set_details('Method not implemented!')
|
|
97
|
+
raise NotImplementedError('Method not implemented!')
|
|
98
|
+
|
|
99
|
+
def Delete(self, request, context):
|
|
100
|
+
"""Deletes the specified Trino Catalog.
|
|
101
|
+
"""
|
|
102
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
103
|
+
context.set_details('Method not implemented!')
|
|
104
|
+
raise NotImplementedError('Method not implemented!')
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def add_CatalogServiceServicer_to_server(servicer, server):
|
|
108
|
+
rpc_method_handlers = {
|
|
109
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.Get,
|
|
111
|
+
request_deserializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.GetCatalogRequest.FromString,
|
|
112
|
+
response_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__pb2.Catalog.SerializeToString,
|
|
113
|
+
),
|
|
114
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.List,
|
|
116
|
+
request_deserializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.ListCatalogsRequest.FromString,
|
|
117
|
+
response_serializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.ListCatalogsResponse.SerializeToString,
|
|
118
|
+
),
|
|
119
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.Create,
|
|
121
|
+
request_deserializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.CreateCatalogRequest.FromString,
|
|
122
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
123
|
+
),
|
|
124
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
125
|
+
servicer.Update,
|
|
126
|
+
request_deserializer=yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.UpdateCatalogRequest.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_trino_dot_v1_dot_catalog__service__pb2.DeleteCatalogRequest.FromString,
|
|
132
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
133
|
+
),
|
|
134
|
+
}
|
|
135
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
136
|
+
'yandex.cloud.trino.v1.CatalogService', rpc_method_handlers)
|
|
137
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
138
|
+
server.add_registered_method_handlers('yandex.cloud.trino.v1.CatalogService', rpc_method_handlers)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
# This class is part of an EXPERIMENTAL API.
|
|
142
|
+
class CatalogService(object):
|
|
143
|
+
"""A set of methods for managing Trino Cluster Catalog resources.
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
@staticmethod
|
|
147
|
+
def Get(request,
|
|
148
|
+
target,
|
|
149
|
+
options=(),
|
|
150
|
+
channel_credentials=None,
|
|
151
|
+
call_credentials=None,
|
|
152
|
+
insecure=False,
|
|
153
|
+
compression=None,
|
|
154
|
+
wait_for_ready=None,
|
|
155
|
+
timeout=None,
|
|
156
|
+
metadata=None):
|
|
157
|
+
return grpc.experimental.unary_unary(
|
|
158
|
+
request,
|
|
159
|
+
target,
|
|
160
|
+
'/yandex.cloud.trino.v1.CatalogService/Get',
|
|
161
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.GetCatalogRequest.SerializeToString,
|
|
162
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__pb2.Catalog.FromString,
|
|
163
|
+
options,
|
|
164
|
+
channel_credentials,
|
|
165
|
+
insecure,
|
|
166
|
+
call_credentials,
|
|
167
|
+
compression,
|
|
168
|
+
wait_for_ready,
|
|
169
|
+
timeout,
|
|
170
|
+
metadata,
|
|
171
|
+
_registered_method=True)
|
|
172
|
+
|
|
173
|
+
@staticmethod
|
|
174
|
+
def List(request,
|
|
175
|
+
target,
|
|
176
|
+
options=(),
|
|
177
|
+
channel_credentials=None,
|
|
178
|
+
call_credentials=None,
|
|
179
|
+
insecure=False,
|
|
180
|
+
compression=None,
|
|
181
|
+
wait_for_ready=None,
|
|
182
|
+
timeout=None,
|
|
183
|
+
metadata=None):
|
|
184
|
+
return grpc.experimental.unary_unary(
|
|
185
|
+
request,
|
|
186
|
+
target,
|
|
187
|
+
'/yandex.cloud.trino.v1.CatalogService/List',
|
|
188
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.ListCatalogsRequest.SerializeToString,
|
|
189
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.ListCatalogsResponse.FromString,
|
|
190
|
+
options,
|
|
191
|
+
channel_credentials,
|
|
192
|
+
insecure,
|
|
193
|
+
call_credentials,
|
|
194
|
+
compression,
|
|
195
|
+
wait_for_ready,
|
|
196
|
+
timeout,
|
|
197
|
+
metadata,
|
|
198
|
+
_registered_method=True)
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def Create(request,
|
|
202
|
+
target,
|
|
203
|
+
options=(),
|
|
204
|
+
channel_credentials=None,
|
|
205
|
+
call_credentials=None,
|
|
206
|
+
insecure=False,
|
|
207
|
+
compression=None,
|
|
208
|
+
wait_for_ready=None,
|
|
209
|
+
timeout=None,
|
|
210
|
+
metadata=None):
|
|
211
|
+
return grpc.experimental.unary_unary(
|
|
212
|
+
request,
|
|
213
|
+
target,
|
|
214
|
+
'/yandex.cloud.trino.v1.CatalogService/Create',
|
|
215
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.CreateCatalogRequest.SerializeToString,
|
|
216
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
217
|
+
options,
|
|
218
|
+
channel_credentials,
|
|
219
|
+
insecure,
|
|
220
|
+
call_credentials,
|
|
221
|
+
compression,
|
|
222
|
+
wait_for_ready,
|
|
223
|
+
timeout,
|
|
224
|
+
metadata,
|
|
225
|
+
_registered_method=True)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def Update(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(
|
|
239
|
+
request,
|
|
240
|
+
target,
|
|
241
|
+
'/yandex.cloud.trino.v1.CatalogService/Update',
|
|
242
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.UpdateCatalogRequest.SerializeToString,
|
|
243
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
244
|
+
options,
|
|
245
|
+
channel_credentials,
|
|
246
|
+
insecure,
|
|
247
|
+
call_credentials,
|
|
248
|
+
compression,
|
|
249
|
+
wait_for_ready,
|
|
250
|
+
timeout,
|
|
251
|
+
metadata,
|
|
252
|
+
_registered_method=True)
|
|
253
|
+
|
|
254
|
+
@staticmethod
|
|
255
|
+
def Delete(request,
|
|
256
|
+
target,
|
|
257
|
+
options=(),
|
|
258
|
+
channel_credentials=None,
|
|
259
|
+
call_credentials=None,
|
|
260
|
+
insecure=False,
|
|
261
|
+
compression=None,
|
|
262
|
+
wait_for_ready=None,
|
|
263
|
+
timeout=None,
|
|
264
|
+
metadata=None):
|
|
265
|
+
return grpc.experimental.unary_unary(
|
|
266
|
+
request,
|
|
267
|
+
target,
|
|
268
|
+
'/yandex.cloud.trino.v1.CatalogService/Delete',
|
|
269
|
+
yandex_dot_cloud_dot_trino_dot_v1_dot_catalog__service__pb2.DeleteCatalogRequest.SerializeToString,
|
|
270
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
271
|
+
options,
|
|
272
|
+
channel_credentials,
|
|
273
|
+
insecure,
|
|
274
|
+
call_credentials,
|
|
275
|
+
compression,
|
|
276
|
+
wait_for_ready,
|
|
277
|
+
timeout,
|
|
278
|
+
metadata,
|
|
279
|
+
_registered_method=True)
|