yandexcloud 0.317.0__py3-none-any.whl → 0.319.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.
- yandex/cloud/ai/assistants/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
- yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
- yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/common/__init__.py +0 -0
- yandex/cloud/ai/common/common_pb2.py +30 -0
- yandex/cloud/ai/common/common_pb2.pyi +69 -0
- yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/__init__.py +0 -0
- yandex/cloud/ai/files/v1/__init__.py +0 -0
- yandex/cloud/ai/files/v1/file_pb2.py +32 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
- yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
- yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
- yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
- yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
- yandex/cloud/cloudrouter/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
- yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
- yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
- yandex/cloud/iam/v1/service_control_pb2.py +5 -5
- yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
- yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
- yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
- yandex/cloud/oauth/claims_pb2.py +8 -7
- yandex/cloud/oauth/claims_pb2.pyi +9 -2
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +1 -1
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +3 -1
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +2 -0
- yandex/cloud/storage/v1/s3api_pb2.py +35 -0
- yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
- yandexcloud/_sdk.py +2 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/RECORD +135 -28
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/top_level.txt +0 -0
|
@@ -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.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import sys
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
if sys.version_info >= (3, 10):
|
|
16
|
+
import typing as typing_extensions
|
|
17
|
+
else:
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class RoutingInstance(google.protobuf.message.Message):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
25
|
+
|
|
26
|
+
class _Status:
|
|
27
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
28
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
29
|
+
|
|
30
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[RoutingInstance._Status.ValueType], builtins.type):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
32
|
+
STATUS_UNSPECIFIED: RoutingInstance._Status.ValueType # 0
|
|
33
|
+
CREATING: RoutingInstance._Status.ValueType # 1
|
|
34
|
+
UPDATING: RoutingInstance._Status.ValueType # 2
|
|
35
|
+
DELETING: RoutingInstance._Status.ValueType # 3
|
|
36
|
+
ACTIVE: RoutingInstance._Status.ValueType # 4
|
|
37
|
+
|
|
38
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
39
|
+
STATUS_UNSPECIFIED: RoutingInstance.Status.ValueType # 0
|
|
40
|
+
CREATING: RoutingInstance.Status.ValueType # 1
|
|
41
|
+
UPDATING: RoutingInstance.Status.ValueType # 2
|
|
42
|
+
DELETING: RoutingInstance.Status.ValueType # 3
|
|
43
|
+
ACTIVE: RoutingInstance.Status.ValueType # 4
|
|
44
|
+
|
|
45
|
+
@typing.final
|
|
46
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
47
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
48
|
+
|
|
49
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
50
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
51
|
+
key: builtins.str
|
|
52
|
+
value: builtins.str
|
|
53
|
+
def __init__(
|
|
54
|
+
self,
|
|
55
|
+
*,
|
|
56
|
+
key: builtins.str = ...,
|
|
57
|
+
value: builtins.str = ...,
|
|
58
|
+
) -> None: ...
|
|
59
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class CicPrivateConnectionInfo(google.protobuf.message.Message):
|
|
63
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
64
|
+
|
|
65
|
+
CIC_PRIVATE_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
66
|
+
cic_private_connection_id: builtins.str
|
|
67
|
+
"""ID of the cicPrivateConnection that is attached to the routingInstance."""
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
*,
|
|
71
|
+
cic_private_connection_id: builtins.str = ...,
|
|
72
|
+
) -> None: ...
|
|
73
|
+
def ClearField(self, field_name: typing.Literal["cic_private_connection_id", b"cic_private_connection_id"]) -> None: ...
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class VpcInfo(google.protobuf.message.Message):
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
|
|
79
|
+
VPC_NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
80
|
+
AZ_INFOS_FIELD_NUMBER: builtins.int
|
|
81
|
+
vpc_network_id: builtins.str
|
|
82
|
+
"""ID of the vpcNetwork that is attached to the routingInstance."""
|
|
83
|
+
@property
|
|
84
|
+
def az_infos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RoutingInstance.VpcAzInfo]:
|
|
85
|
+
"""List of the az-related info about vpcNetworks which are attached to routingInstance"""
|
|
86
|
+
|
|
87
|
+
def __init__(
|
|
88
|
+
self,
|
|
89
|
+
*,
|
|
90
|
+
vpc_network_id: builtins.str = ...,
|
|
91
|
+
az_infos: collections.abc.Iterable[global___RoutingInstance.VpcAzInfo] | None = ...,
|
|
92
|
+
) -> None: ...
|
|
93
|
+
def ClearField(self, field_name: typing.Literal["az_infos", b"az_infos", "vpc_network_id", b"vpc_network_id"]) -> None: ...
|
|
94
|
+
|
|
95
|
+
@typing.final
|
|
96
|
+
class VpcAzInfo(google.protobuf.message.Message):
|
|
97
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
98
|
+
|
|
99
|
+
MANUAL_INFO_FIELD_NUMBER: builtins.int
|
|
100
|
+
AUTOMATIC_INFO_FIELD_NUMBER: builtins.int
|
|
101
|
+
@property
|
|
102
|
+
def manual_info(self) -> global___RoutingInstance.VpcManualInfo:
|
|
103
|
+
"""VpcInfo which is set by user"""
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def automatic_info(self) -> global___RoutingInstance.VpcAutomaticInfo:
|
|
107
|
+
"""VpcInfo which is get from vpc service by attached networks"""
|
|
108
|
+
|
|
109
|
+
def __init__(
|
|
110
|
+
self,
|
|
111
|
+
*,
|
|
112
|
+
manual_info: global___RoutingInstance.VpcManualInfo | None = ...,
|
|
113
|
+
automatic_info: global___RoutingInstance.VpcAutomaticInfo | None = ...,
|
|
114
|
+
) -> None: ...
|
|
115
|
+
def HasField(self, field_name: typing.Literal["automatic_info", b"automatic_info", "manual_info", b"manual_info"]) -> builtins.bool: ...
|
|
116
|
+
def ClearField(self, field_name: typing.Literal["automatic_info", b"automatic_info", "manual_info", b"manual_info"]) -> None: ...
|
|
117
|
+
|
|
118
|
+
@typing.final
|
|
119
|
+
class VpcManualInfo(google.protobuf.message.Message):
|
|
120
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
121
|
+
|
|
122
|
+
AZ_ID_FIELD_NUMBER: builtins.int
|
|
123
|
+
PREFIXES_FIELD_NUMBER: builtins.int
|
|
124
|
+
az_id: builtins.str
|
|
125
|
+
"""ID of the AZ"""
|
|
126
|
+
@property
|
|
127
|
+
def prefixes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
128
|
+
"""List of prefixes to announce"""
|
|
129
|
+
|
|
130
|
+
def __init__(
|
|
131
|
+
self,
|
|
132
|
+
*,
|
|
133
|
+
az_id: builtins.str = ...,
|
|
134
|
+
prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
135
|
+
) -> None: ...
|
|
136
|
+
def ClearField(self, field_name: typing.Literal["az_id", b"az_id", "prefixes", b"prefixes"]) -> None: ...
|
|
137
|
+
|
|
138
|
+
@typing.final
|
|
139
|
+
class VpcAutomaticInfo(google.protobuf.message.Message):
|
|
140
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
141
|
+
|
|
142
|
+
AZ_ID_FIELD_NUMBER: builtins.int
|
|
143
|
+
PREFIXES_FIELD_NUMBER: builtins.int
|
|
144
|
+
az_id: builtins.str
|
|
145
|
+
"""ID of the AZ"""
|
|
146
|
+
@property
|
|
147
|
+
def prefixes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
148
|
+
"""List of prefixes from attached VpcNetwork"""
|
|
149
|
+
|
|
150
|
+
def __init__(
|
|
151
|
+
self,
|
|
152
|
+
*,
|
|
153
|
+
az_id: builtins.str = ...,
|
|
154
|
+
prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
155
|
+
) -> None: ...
|
|
156
|
+
def ClearField(self, field_name: typing.Literal["az_id", b"az_id", "prefixes", b"prefixes"]) -> None: ...
|
|
157
|
+
|
|
158
|
+
ID_FIELD_NUMBER: builtins.int
|
|
159
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
160
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
161
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
162
|
+
REGION_ID_FIELD_NUMBER: builtins.int
|
|
163
|
+
VPC_INFO_FIELD_NUMBER: builtins.int
|
|
164
|
+
CIC_PRIVATE_CONNECTION_INFO_FIELD_NUMBER: builtins.int
|
|
165
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
166
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
167
|
+
id: builtins.str
|
|
168
|
+
"""ID of the routingInstance."""
|
|
169
|
+
name: builtins.str
|
|
170
|
+
"""Name of the routingInstance.
|
|
171
|
+
The name must be unique within the folder.
|
|
172
|
+
Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
|
|
173
|
+
"""
|
|
174
|
+
description: builtins.str
|
|
175
|
+
"""Optional description of the routingInstance. 0-256 characters long."""
|
|
176
|
+
folder_id: builtins.str
|
|
177
|
+
"""ID of the folder that the routingInstance belongs to."""
|
|
178
|
+
region_id: builtins.str
|
|
179
|
+
"""ID of the region that the routingInstance belongs to."""
|
|
180
|
+
status: global___RoutingInstance.Status.ValueType
|
|
181
|
+
"""Status of the routingInstance."""
|
|
182
|
+
@property
|
|
183
|
+
def vpc_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RoutingInstance.VpcInfo]:
|
|
184
|
+
"""List of the info about vpcNetworks which are attached to routingInstance"""
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
def cic_private_connection_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RoutingInstance.CicPrivateConnectionInfo]:
|
|
188
|
+
"""List of the info about privateConnections which are attached to routingInstance"""
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
192
|
+
"""Resource labels, `key:value` pairs.
|
|
193
|
+
No more than 64 per resource.
|
|
194
|
+
The maximum string length in characters for each value is 63.
|
|
195
|
+
Each value must match the regular expression `[-_0-9a-z]*`.
|
|
196
|
+
The string length in characters for each key must be 1-63.
|
|
197
|
+
Each key must match the regular expression `[a-z][-_0-9a-z]*`.
|
|
198
|
+
"""
|
|
199
|
+
|
|
200
|
+
def __init__(
|
|
201
|
+
self,
|
|
202
|
+
*,
|
|
203
|
+
id: builtins.str = ...,
|
|
204
|
+
name: builtins.str = ...,
|
|
205
|
+
description: builtins.str = ...,
|
|
206
|
+
folder_id: builtins.str = ...,
|
|
207
|
+
region_id: builtins.str = ...,
|
|
208
|
+
vpc_info: collections.abc.Iterable[global___RoutingInstance.VpcInfo] | None = ...,
|
|
209
|
+
cic_private_connection_info: collections.abc.Iterable[global___RoutingInstance.CicPrivateConnectionInfo] | None = ...,
|
|
210
|
+
status: global___RoutingInstance.Status.ValueType = ...,
|
|
211
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
212
|
+
) -> None: ...
|
|
213
|
+
def ClearField(self, field_name: typing.Literal["cic_private_connection_info", b"cic_private_connection_info", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "region_id", b"region_id", "status", b"status", "vpc_info", b"vpc_info"]) -> None: ...
|
|
214
|
+
|
|
215
|
+
global___RoutingInstance = RoutingInstance
|
|
@@ -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,57 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cloudrouter/v1/routing_instance_service.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
15
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
|
+
from yandex.cloud.cloudrouter.v1 import routing_instance_pb2 as yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/cloudrouter/v1/routing_instance_service.proto\x12\x1byandex.cloud.cloudrouter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x32yandex/cloud/cloudrouter/v1/routing_instance.proto\"F\n\x19GetRoutingInstanceRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"d\n1GetRoutingInstanceByCicPrivateConnectionIdRequest\x12/\n\x19\x63ic_private_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"O\n\'GetRoutingInstanceByVpcNetworkIdRequest\x12$\n\x0evpc_network_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1bListRoutingInstancesRequest\x12\x1f\n\tfolder_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\"\x80\x01\n\x1cListRoutingInstancesResponse\x12G\n\x11routing_instances\x18\x01 \x03(\x0b\x32,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xfd\x04\n\x16RoutingInstanceService\x12\x9e\x01\n\x03Get\x12\x36.yandex.cloud.cloudrouter.v1.GetRoutingInstanceRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\"1\x82\xd3\xe4\x93\x02+\x12)/vpc/v1/cloudrouter/{routing_instance_id}\x12\x87\x01\n\x11GetByVpcNetworkId\x12\x44.yandex.cloud.cloudrouter.v1.GetRoutingInstanceByVpcNetworkIdRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x9b\x01\n\x1bGetByCicPrivateConnectionId\x12N.yandex.cloud.cloudrouter.v1.GetRoutingInstanceByCicPrivateConnectionIdRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x99\x01\n\x04List\x12\x38.yandex.cloud.cloudrouter.v1.ListRoutingInstancesRequest\x1a\x39.yandex.cloud.cloudrouter.v1.ListRoutingInstancesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/vpc/v1/cloudroutersBn\n\x1fyandex.cloud.api.cloudrouter.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudrouter/v1;cloudrouterb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudrouter.v1.routing_instance_service_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n\037yandex.cloud.api.cloudrouter.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudrouter/v1;cloudrouter'
|
|
27
|
+
_GETROUTINGINSTANCEREQUEST.fields_by_name['routing_instance_id']._options = None
|
|
28
|
+
_GETROUTINGINSTANCEREQUEST.fields_by_name['routing_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
29
|
+
_GETROUTINGINSTANCEBYCICPRIVATECONNECTIONIDREQUEST.fields_by_name['cic_private_connection_id']._options = None
|
|
30
|
+
_GETROUTINGINSTANCEBYCICPRIVATECONNECTIONIDREQUEST.fields_by_name['cic_private_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
31
|
+
_GETROUTINGINSTANCEBYVPCNETWORKIDREQUEST.fields_by_name['vpc_network_id']._options = None
|
|
32
|
+
_GETROUTINGINSTANCEBYVPCNETWORKIDREQUEST.fields_by_name['vpc_network_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
33
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['folder_id']._options = None
|
|
34
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
35
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['page_size']._options = None
|
|
36
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
37
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['page_token']._options = None
|
|
38
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
39
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['filter']._options = None
|
|
40
|
+
_LISTROUTINGINSTANCESREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
41
|
+
_ROUTINGINSTANCESERVICE.methods_by_name['Get']._options = None
|
|
42
|
+
_ROUTINGINSTANCESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002+\022)/vpc/v1/cloudrouter/{routing_instance_id}'
|
|
43
|
+
_ROUTINGINSTANCESERVICE.methods_by_name['List']._options = None
|
|
44
|
+
_ROUTINGINSTANCESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\026\022\024/vpc/v1/cloudrouters'
|
|
45
|
+
_globals['_GETROUTINGINSTANCEREQUEST']._serialized_start=204
|
|
46
|
+
_globals['_GETROUTINGINSTANCEREQUEST']._serialized_end=274
|
|
47
|
+
_globals['_GETROUTINGINSTANCEBYCICPRIVATECONNECTIONIDREQUEST']._serialized_start=276
|
|
48
|
+
_globals['_GETROUTINGINSTANCEBYCICPRIVATECONNECTIONIDREQUEST']._serialized_end=376
|
|
49
|
+
_globals['_GETROUTINGINSTANCEBYVPCNETWORKIDREQUEST']._serialized_start=378
|
|
50
|
+
_globals['_GETROUTINGINSTANCEBYVPCNETWORKIDREQUEST']._serialized_end=457
|
|
51
|
+
_globals['_LISTROUTINGINSTANCESREQUEST']._serialized_start=460
|
|
52
|
+
_globals['_LISTROUTINGINSTANCESREQUEST']._serialized_end=612
|
|
53
|
+
_globals['_LISTROUTINGINSTANCESRESPONSE']._serialized_start=615
|
|
54
|
+
_globals['_LISTROUTINGINSTANCESRESPONSE']._serialized_end=743
|
|
55
|
+
_globals['_ROUTINGINSTANCESERVICE']._serialized_start=746
|
|
56
|
+
_globals['_ROUTINGINSTANCESERVICE']._serialized_end=1383
|
|
57
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,137 @@
|
|
|
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.cloudrouter.v1.routing_instance_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetRoutingInstanceRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
ROUTING_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
routing_instance_id: builtins.str
|
|
22
|
+
"""ID of the RoutingInstance resource to return.
|
|
23
|
+
To get the routingInstance ID use a [RoutingInstanceService.List] request.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
routing_instance_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["routing_instance_id", b"routing_instance_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetRoutingInstanceRequest = GetRoutingInstanceRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class GetRoutingInstanceByCicPrivateConnectionIdRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
CIC_PRIVATE_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
cic_private_connection_id: builtins.str
|
|
40
|
+
"""ID of the PrivateConnection resource to return by.
|
|
41
|
+
To get the routingInstance ID use a [RoutingInstanceService.List] request.
|
|
42
|
+
"""
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
cic_private_connection_id: builtins.str = ...,
|
|
47
|
+
) -> None: ...
|
|
48
|
+
def ClearField(self, field_name: typing.Literal["cic_private_connection_id", b"cic_private_connection_id"]) -> None: ...
|
|
49
|
+
|
|
50
|
+
global___GetRoutingInstanceByCicPrivateConnectionIdRequest = GetRoutingInstanceByCicPrivateConnectionIdRequest
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class GetRoutingInstanceByVpcNetworkIdRequest(google.protobuf.message.Message):
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
55
|
+
|
|
56
|
+
VPC_NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
57
|
+
vpc_network_id: builtins.str
|
|
58
|
+
"""ID of the VpcNetwork resource to return by.
|
|
59
|
+
To get the routingInstance ID use a [RoutingInstanceService.List] request.
|
|
60
|
+
"""
|
|
61
|
+
def __init__(
|
|
62
|
+
self,
|
|
63
|
+
*,
|
|
64
|
+
vpc_network_id: builtins.str = ...,
|
|
65
|
+
) -> None: ...
|
|
66
|
+
def ClearField(self, field_name: typing.Literal["vpc_network_id", b"vpc_network_id"]) -> None: ...
|
|
67
|
+
|
|
68
|
+
global___GetRoutingInstanceByVpcNetworkIdRequest = GetRoutingInstanceByVpcNetworkIdRequest
|
|
69
|
+
|
|
70
|
+
@typing.final
|
|
71
|
+
class ListRoutingInstancesRequest(google.protobuf.message.Message):
|
|
72
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
73
|
+
|
|
74
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
75
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
76
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
77
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
78
|
+
folder_id: builtins.str
|
|
79
|
+
"""ID of the folder to list routingInstance in.
|
|
80
|
+
To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
81
|
+
"""
|
|
82
|
+
page_size: builtins.int
|
|
83
|
+
"""The maximum number of results per page to return. If the number of available
|
|
84
|
+
results is larger than [page_size],
|
|
85
|
+
the service returns a [ListRoutingInstancesResponse.next_page_token]
|
|
86
|
+
that can be used to get the next page of results in subsequent list requests. Default value: 100.
|
|
87
|
+
"""
|
|
88
|
+
page_token: builtins.str
|
|
89
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
90
|
+
[ListRoutingInstanceResponse.next_page_token] returned by a previous list request.
|
|
91
|
+
"""
|
|
92
|
+
filter: builtins.str
|
|
93
|
+
"""A filter expression that filters resources listed in the response.
|
|
94
|
+
The expression must specify:
|
|
95
|
+
1. The field name. Currently you can use filtering only on [RoutingInstance.name] field.
|
|
96
|
+
2. An `=` operator.
|
|
97
|
+
3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
|
|
98
|
+
"""
|
|
99
|
+
def __init__(
|
|
100
|
+
self,
|
|
101
|
+
*,
|
|
102
|
+
folder_id: builtins.str = ...,
|
|
103
|
+
page_size: builtins.int = ...,
|
|
104
|
+
page_token: builtins.str = ...,
|
|
105
|
+
filter: builtins.str = ...,
|
|
106
|
+
) -> None: ...
|
|
107
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
108
|
+
|
|
109
|
+
global___ListRoutingInstancesRequest = ListRoutingInstancesRequest
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class ListRoutingInstancesResponse(google.protobuf.message.Message):
|
|
113
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
114
|
+
|
|
115
|
+
ROUTING_INSTANCES_FIELD_NUMBER: builtins.int
|
|
116
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
117
|
+
next_page_token: builtins.str
|
|
118
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
119
|
+
is larger than [ListRoutingInstancesResponse.page_size], use
|
|
120
|
+
the [next_page_token] as the value
|
|
121
|
+
for the [ListRoutingInstanceResponses.page_token] query parameter
|
|
122
|
+
in the next list request. Subsequent list requests will have their own
|
|
123
|
+
[next_page_token] to continue paging through the results.
|
|
124
|
+
"""
|
|
125
|
+
@property
|
|
126
|
+
def routing_instances(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.cloudrouter.v1.routing_instance_pb2.RoutingInstance]:
|
|
127
|
+
"""List of RoutingInstance resources."""
|
|
128
|
+
|
|
129
|
+
def __init__(
|
|
130
|
+
self,
|
|
131
|
+
*,
|
|
132
|
+
routing_instances: collections.abc.Iterable[yandex.cloud.cloudrouter.v1.routing_instance_pb2.RoutingInstance] | None = ...,
|
|
133
|
+
next_page_token: builtins.str = ...,
|
|
134
|
+
) -> None: ...
|
|
135
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "routing_instances", b"routing_instances"]) -> None: ...
|
|
136
|
+
|
|
137
|
+
global___ListRoutingInstancesResponse = ListRoutingInstancesResponse
|
|
@@ -0,0 +1,179 @@
|
|
|
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
|
+
|
|
5
|
+
from yandex.cloud.cloudrouter.v1 import routing_instance_pb2 as yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2
|
|
6
|
+
from yandex.cloud.cloudrouter.v1 import routing_instance_service_pb2 as yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class RoutingInstanceServiceStub(object):
|
|
10
|
+
"""A set of methods for managing RoutingInstance resources.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
def __init__(self, channel):
|
|
14
|
+
"""Constructor.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
channel: A grpc.Channel.
|
|
18
|
+
"""
|
|
19
|
+
self.Get = channel.unary_unary(
|
|
20
|
+
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/Get',
|
|
21
|
+
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceRequest.SerializeToString,
|
|
22
|
+
response_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.FromString,
|
|
23
|
+
)
|
|
24
|
+
self.GetByVpcNetworkId = channel.unary_unary(
|
|
25
|
+
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/GetByVpcNetworkId',
|
|
26
|
+
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceByVpcNetworkIdRequest.SerializeToString,
|
|
27
|
+
response_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.FromString,
|
|
28
|
+
)
|
|
29
|
+
self.GetByCicPrivateConnectionId = channel.unary_unary(
|
|
30
|
+
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/GetByCicPrivateConnectionId',
|
|
31
|
+
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceByCicPrivateConnectionIdRequest.SerializeToString,
|
|
32
|
+
response_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.FromString,
|
|
33
|
+
)
|
|
34
|
+
self.List = channel.unary_unary(
|
|
35
|
+
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/List',
|
|
36
|
+
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.ListRoutingInstancesRequest.SerializeToString,
|
|
37
|
+
response_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.ListRoutingInstancesResponse.FromString,
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class RoutingInstanceServiceServicer(object):
|
|
42
|
+
"""A set of methods for managing RoutingInstance resources.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
def Get(self, request, context):
|
|
46
|
+
"""Returns the specified RoutingInstance resource.
|
|
47
|
+
|
|
48
|
+
To get the list of available RoutingInstance resources, make a [List] request.
|
|
49
|
+
"""
|
|
50
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
51
|
+
context.set_details('Method not implemented!')
|
|
52
|
+
raise NotImplementedError('Method not implemented!')
|
|
53
|
+
|
|
54
|
+
def GetByVpcNetworkId(self, request, context):
|
|
55
|
+
"""Returns the RoutingInstance resource by vpcNetworkId
|
|
56
|
+
|
|
57
|
+
To get the list of available RoutingInstance resources, make a [List] request.
|
|
58
|
+
"""
|
|
59
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
60
|
+
context.set_details('Method not implemented!')
|
|
61
|
+
raise NotImplementedError('Method not implemented!')
|
|
62
|
+
|
|
63
|
+
def GetByCicPrivateConnectionId(self, request, context):
|
|
64
|
+
"""Returns the RoutingInstance resource by cicPrivateConnectionId
|
|
65
|
+
|
|
66
|
+
To get the list of available RoutingInstance resources, make a [List] request.
|
|
67
|
+
"""
|
|
68
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
69
|
+
context.set_details('Method not implemented!')
|
|
70
|
+
raise NotImplementedError('Method not implemented!')
|
|
71
|
+
|
|
72
|
+
def List(self, request, context):
|
|
73
|
+
"""Retrieves the list of RoutingInstance resources in the specified folder.
|
|
74
|
+
"""
|
|
75
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
76
|
+
context.set_details('Method not implemented!')
|
|
77
|
+
raise NotImplementedError('Method not implemented!')
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def add_RoutingInstanceServiceServicer_to_server(servicer, server):
|
|
81
|
+
rpc_method_handlers = {
|
|
82
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
83
|
+
servicer.Get,
|
|
84
|
+
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceRequest.FromString,
|
|
85
|
+
response_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.SerializeToString,
|
|
86
|
+
),
|
|
87
|
+
'GetByVpcNetworkId': grpc.unary_unary_rpc_method_handler(
|
|
88
|
+
servicer.GetByVpcNetworkId,
|
|
89
|
+
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceByVpcNetworkIdRequest.FromString,
|
|
90
|
+
response_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.SerializeToString,
|
|
91
|
+
),
|
|
92
|
+
'GetByCicPrivateConnectionId': grpc.unary_unary_rpc_method_handler(
|
|
93
|
+
servicer.GetByCicPrivateConnectionId,
|
|
94
|
+
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceByCicPrivateConnectionIdRequest.FromString,
|
|
95
|
+
response_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.SerializeToString,
|
|
96
|
+
),
|
|
97
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
98
|
+
servicer.List,
|
|
99
|
+
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.ListRoutingInstancesRequest.FromString,
|
|
100
|
+
response_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.ListRoutingInstancesResponse.SerializeToString,
|
|
101
|
+
),
|
|
102
|
+
}
|
|
103
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
104
|
+
'yandex.cloud.cloudrouter.v1.RoutingInstanceService', rpc_method_handlers)
|
|
105
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
# This class is part of an EXPERIMENTAL API.
|
|
109
|
+
class RoutingInstanceService(object):
|
|
110
|
+
"""A set of methods for managing RoutingInstance resources.
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
@staticmethod
|
|
114
|
+
def Get(request,
|
|
115
|
+
target,
|
|
116
|
+
options=(),
|
|
117
|
+
channel_credentials=None,
|
|
118
|
+
call_credentials=None,
|
|
119
|
+
insecure=False,
|
|
120
|
+
compression=None,
|
|
121
|
+
wait_for_ready=None,
|
|
122
|
+
timeout=None,
|
|
123
|
+
metadata=None):
|
|
124
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudrouter.v1.RoutingInstanceService/Get',
|
|
125
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceRequest.SerializeToString,
|
|
126
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.FromString,
|
|
127
|
+
options, channel_credentials,
|
|
128
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
129
|
+
|
|
130
|
+
@staticmethod
|
|
131
|
+
def GetByVpcNetworkId(request,
|
|
132
|
+
target,
|
|
133
|
+
options=(),
|
|
134
|
+
channel_credentials=None,
|
|
135
|
+
call_credentials=None,
|
|
136
|
+
insecure=False,
|
|
137
|
+
compression=None,
|
|
138
|
+
wait_for_ready=None,
|
|
139
|
+
timeout=None,
|
|
140
|
+
metadata=None):
|
|
141
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudrouter.v1.RoutingInstanceService/GetByVpcNetworkId',
|
|
142
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceByVpcNetworkIdRequest.SerializeToString,
|
|
143
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.FromString,
|
|
144
|
+
options, channel_credentials,
|
|
145
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
146
|
+
|
|
147
|
+
@staticmethod
|
|
148
|
+
def GetByCicPrivateConnectionId(request,
|
|
149
|
+
target,
|
|
150
|
+
options=(),
|
|
151
|
+
channel_credentials=None,
|
|
152
|
+
call_credentials=None,
|
|
153
|
+
insecure=False,
|
|
154
|
+
compression=None,
|
|
155
|
+
wait_for_ready=None,
|
|
156
|
+
timeout=None,
|
|
157
|
+
metadata=None):
|
|
158
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudrouter.v1.RoutingInstanceService/GetByCicPrivateConnectionId',
|
|
159
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.GetRoutingInstanceByCicPrivateConnectionIdRequest.SerializeToString,
|
|
160
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2.RoutingInstance.FromString,
|
|
161
|
+
options, channel_credentials,
|
|
162
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
163
|
+
|
|
164
|
+
@staticmethod
|
|
165
|
+
def List(request,
|
|
166
|
+
target,
|
|
167
|
+
options=(),
|
|
168
|
+
channel_credentials=None,
|
|
169
|
+
call_credentials=None,
|
|
170
|
+
insecure=False,
|
|
171
|
+
compression=None,
|
|
172
|
+
wait_for_ready=None,
|
|
173
|
+
timeout=None,
|
|
174
|
+
metadata=None):
|
|
175
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cloudrouter.v1.RoutingInstanceService/List',
|
|
176
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.ListRoutingInstancesRequest.SerializeToString,
|
|
177
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.ListRoutingInstancesResponse.FromString,
|
|
178
|
+
options, channel_credentials,
|
|
179
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|