yandexcloud 0.318.0__py3-none-any.whl → 0.320.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/ocr/v1/ocr_pb2.pyi +2 -2
- yandex/cloud/ai/ocr/v1/ocr_service_pb2.pyi +5 -5
- yandex/cloud/cic/__init__.py +0 -0
- yandex/cloud/cic/v1/__init__.py +0 -0
- yandex/cloud/cic/v1/common/__init__.py +0 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +29 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +61 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/common/lag_info_pb2.py +27 -0
- yandex/cloud/cic/v1/common/lag_info_pb2.pyi +42 -0
- yandex/cloud/cic/v1/common/lag_info_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/common/lag_info_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2.py +26 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2.pyi +40 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/partner_pb2.py +28 -0
- yandex/cloud/cic/v1/partner_pb2.pyi +59 -0
- yandex/cloud/cic/v1/partner_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/partner_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/partner_service_pb2.py +47 -0
- yandex/cloud/cic/v1/partner_service_pb2.pyi +95 -0
- yandex/cloud/cic/v1/partner_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/partner_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/peering_pb2.py +26 -0
- yandex/cloud/cic/v1/peering_pb2.pyi +57 -0
- yandex/cloud/cic/v1/peering_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/peering_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/point_of_presence_pb2.py +26 -0
- yandex/cloud/cic/v1/point_of_presence_pb2.pyi +33 -0
- yandex/cloud/cic/v1/point_of_presence_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/point_of_presence_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2.py +47 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2.pyi +95 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/private_connection_pb2.py +34 -0
- yandex/cloud/cic/v1/private_connection_pb2.pyi +130 -0
- yandex/cloud/cic/v1/private_connection_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/private_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/private_connection_service_pb2.py +49 -0
- yandex/cloud/cic/v1/private_connection_service_pb2.pyi +101 -0
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/public_connection_pb2.py +36 -0
- yandex/cloud/cic/v1/public_connection_pb2.pyi +154 -0
- yandex/cloud/cic/v1/public_connection_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/public_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/public_connection_service_pb2.py +49 -0
- yandex/cloud/cic/v1/public_connection_service_pb2.pyi +101 -0
- yandex/cloud/cic/v1/public_connection_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/public_connection_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/trunk_connection_pb2.py +41 -0
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +240 -0
- yandex/cloud/cic/v1/trunk_connection_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/trunk_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +49 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +101 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudapps/__init__.py +0 -0
- yandex/cloud/cloudapps/workload/__init__.py +0 -0
- yandex/cloud/cloudapps/workload/v1/__init__.py +0 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.py +47 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.pyi +127 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.py +4 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +39 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.pyi +73 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.py +106 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.pyi +72 -0
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +27 -25
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +62 -10
- yandex/cloud/k8s/marketplace/__init__.py +0 -0
- yandex/cloud/k8s/marketplace/v1/__init__.py +0 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2.py +29 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2.pyi +119 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.py +4 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.pyi +17 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.py +83 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.pyi +253 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.py +208 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.pyi +132 -0
- yandex/cloud/marketplace/licensemanager/saas/__init__.py +0 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/__init__.py +0 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +35 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +27 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +71 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +51 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.py +47 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.pyi +63 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.py +107 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.pyi +78 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2.py +19 -9
- yandex/cloud/mdb/redis/v1/backup_service_pb2.pyi +32 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.py +35 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.pyi +21 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +14 -10
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +41 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +7 -3
- yandex/cloud/storage/v1/s3api_pb2.py +31 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +359 -0
- yandexcloud/_sdk.py +1 -0
- {yandexcloud-0.318.0.dist-info → yandexcloud-0.320.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.318.0.dist-info → yandexcloud-0.320.0.dist-info}/RECORD +110 -20
- {yandexcloud-0.318.0.dist-info → yandexcloud-0.320.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.318.0.dist-info → yandexcloud-0.320.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.318.0.dist-info → yandexcloud-0.320.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.318.0.dist-info → yandexcloud-0.320.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
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 google.protobuf.wrappers_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
import yandex.cloud.cic.v1.peering_pb2
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
import typing as typing_extensions
|
|
19
|
+
else:
|
|
20
|
+
import typing_extensions
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class PublicConnection(google.protobuf.message.Message):
|
|
26
|
+
"""A PublicConnection resource."""
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
29
|
+
|
|
30
|
+
class _CloudServiceType:
|
|
31
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
32
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
33
|
+
|
|
34
|
+
class _CloudServiceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PublicConnection._CloudServiceType.ValueType], builtins.type):
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
36
|
+
CLOUD_SERVICE_TYPE_UNSPECIFIED: PublicConnection._CloudServiceType.ValueType # 0
|
|
37
|
+
CLOUD_SERVICE_YANDEX: PublicConnection._CloudServiceType.ValueType # 1
|
|
38
|
+
CLOUD_SERVICE_ALL_PUBLIC: PublicConnection._CloudServiceType.ValueType # 2
|
|
39
|
+
CLOUD_SERVICE_S3: PublicConnection._CloudServiceType.ValueType # 3
|
|
40
|
+
CLOUD_SERVICE_ML: PublicConnection._CloudServiceType.ValueType # 4
|
|
41
|
+
CLOUD_SERVICE_APIGW: PublicConnection._CloudServiceType.ValueType # 5
|
|
42
|
+
CLOUD_SERVICE_CONTAINER_REGISTRY: PublicConnection._CloudServiceType.ValueType # 6
|
|
43
|
+
CLOUD_SERVICE_CONSOLE: PublicConnection._CloudServiceType.ValueType # 7
|
|
44
|
+
CLOUD_SERVICE_MONITORING: PublicConnection._CloudServiceType.ValueType # 8
|
|
45
|
+
CLOUD_SERVICE_YANDEX_GPT: PublicConnection._CloudServiceType.ValueType # 9
|
|
46
|
+
CLOUD_SERVICES_ALL_API_ENDPOINT: PublicConnection._CloudServiceType.ValueType # 10
|
|
47
|
+
CLOUD_SERVICE_YMQ: PublicConnection._CloudServiceType.ValueType # 11
|
|
48
|
+
|
|
49
|
+
class CloudServiceType(_CloudServiceType, metaclass=_CloudServiceTypeEnumTypeWrapper): ...
|
|
50
|
+
CLOUD_SERVICE_TYPE_UNSPECIFIED: PublicConnection.CloudServiceType.ValueType # 0
|
|
51
|
+
CLOUD_SERVICE_YANDEX: PublicConnection.CloudServiceType.ValueType # 1
|
|
52
|
+
CLOUD_SERVICE_ALL_PUBLIC: PublicConnection.CloudServiceType.ValueType # 2
|
|
53
|
+
CLOUD_SERVICE_S3: PublicConnection.CloudServiceType.ValueType # 3
|
|
54
|
+
CLOUD_SERVICE_ML: PublicConnection.CloudServiceType.ValueType # 4
|
|
55
|
+
CLOUD_SERVICE_APIGW: PublicConnection.CloudServiceType.ValueType # 5
|
|
56
|
+
CLOUD_SERVICE_CONTAINER_REGISTRY: PublicConnection.CloudServiceType.ValueType # 6
|
|
57
|
+
CLOUD_SERVICE_CONSOLE: PublicConnection.CloudServiceType.ValueType # 7
|
|
58
|
+
CLOUD_SERVICE_MONITORING: PublicConnection.CloudServiceType.ValueType # 8
|
|
59
|
+
CLOUD_SERVICE_YANDEX_GPT: PublicConnection.CloudServiceType.ValueType # 9
|
|
60
|
+
CLOUD_SERVICES_ALL_API_ENDPOINT: PublicConnection.CloudServiceType.ValueType # 10
|
|
61
|
+
CLOUD_SERVICE_YMQ: PublicConnection.CloudServiceType.ValueType # 11
|
|
62
|
+
|
|
63
|
+
@typing.final
|
|
64
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
65
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
66
|
+
|
|
67
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
68
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
69
|
+
key: builtins.str
|
|
70
|
+
value: builtins.str
|
|
71
|
+
def __init__(
|
|
72
|
+
self,
|
|
73
|
+
*,
|
|
74
|
+
key: builtins.str = ...,
|
|
75
|
+
value: builtins.str = ...,
|
|
76
|
+
) -> None: ...
|
|
77
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
78
|
+
|
|
79
|
+
ID_FIELD_NUMBER: builtins.int
|
|
80
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
81
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
82
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
83
|
+
REGION_ID_FIELD_NUMBER: builtins.int
|
|
84
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
85
|
+
VLAN_ID_FIELD_NUMBER: builtins.int
|
|
86
|
+
IPV4_PEERING_FIELD_NUMBER: builtins.int
|
|
87
|
+
IPV4_ALLOWED_SERVICE_TYPES_FIELD_NUMBER: builtins.int
|
|
88
|
+
IPV4_PEER_ANNOUNCED_PREFIXES_FIELD_NUMBER: builtins.int
|
|
89
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
90
|
+
id: builtins.str
|
|
91
|
+
"""ID of the publicConnection."""
|
|
92
|
+
name: builtins.str
|
|
93
|
+
"""Name of the publicConnection.
|
|
94
|
+
The name must be unique within the folder.
|
|
95
|
+
Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
|
|
96
|
+
"""
|
|
97
|
+
description: builtins.str
|
|
98
|
+
"""Optional description of the publicConnection. 0-256 characters long."""
|
|
99
|
+
folder_id: builtins.str
|
|
100
|
+
"""ID of the folder that the publicConnection belongs to."""
|
|
101
|
+
region_id: builtins.str
|
|
102
|
+
"""ID of the region that the publicConnection belongs to."""
|
|
103
|
+
trunk_connection_id: builtins.str
|
|
104
|
+
"""ID of the trunk_connection that the publicConnection belongs to."""
|
|
105
|
+
@property
|
|
106
|
+
def vlan_id(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
107
|
+
"""VLAN_ID that the privateConnection uses in multiplexing.
|
|
108
|
+
Not used in connections over partners-II
|
|
109
|
+
Value range: [1, 4095]
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def ipv4_peering(self) -> yandex.cloud.cic.v1.peering_pb2.Peering:
|
|
114
|
+
"""IPv4 peering config of connection"""
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def ipv4_allowed_service_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___PublicConnection.CloudServiceType.ValueType]:
|
|
118
|
+
"""Cloud services that the publicConnection connects to."""
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def ipv4_peer_announced_prefixes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
122
|
+
"""IPv4 Peer Announced Prefixes
|
|
123
|
+
It's an list of ip with format ipPrefix/length where address part of ipPrefix is 0
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
128
|
+
"""Resource labels, `key:value` pairs.
|
|
129
|
+
No more than 64 per resource.
|
|
130
|
+
The maximum string length in characters for each value is 63.
|
|
131
|
+
Each value must match the regular expression `[-_0-9a-z]*`.
|
|
132
|
+
The string length in characters for each key must be 1-63.
|
|
133
|
+
Each key must match the regular expression `[a-z][-_0-9a-z]*`.
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
def __init__(
|
|
137
|
+
self,
|
|
138
|
+
*,
|
|
139
|
+
id: builtins.str = ...,
|
|
140
|
+
name: builtins.str = ...,
|
|
141
|
+
description: builtins.str = ...,
|
|
142
|
+
folder_id: builtins.str = ...,
|
|
143
|
+
region_id: builtins.str = ...,
|
|
144
|
+
trunk_connection_id: builtins.str = ...,
|
|
145
|
+
vlan_id: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
146
|
+
ipv4_peering: yandex.cloud.cic.v1.peering_pb2.Peering | None = ...,
|
|
147
|
+
ipv4_allowed_service_types: collections.abc.Iterable[global___PublicConnection.CloudServiceType.ValueType] | None = ...,
|
|
148
|
+
ipv4_peer_announced_prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
149
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
150
|
+
) -> None: ...
|
|
151
|
+
def HasField(self, field_name: typing.Literal["ipv4_peering", b"ipv4_peering", "vlan_id", b"vlan_id"]) -> builtins.bool: ...
|
|
152
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "folder_id", b"folder_id", "id", b"id", "ipv4_allowed_service_types", b"ipv4_allowed_service_types", "ipv4_peer_announced_prefixes", b"ipv4_peer_announced_prefixes", "ipv4_peering", b"ipv4_peering", "labels", b"labels", "name", b"name", "region_id", b"region_id", "trunk_connection_id", b"trunk_connection_id", "vlan_id", b"vlan_id"]) -> None: ...
|
|
153
|
+
|
|
154
|
+
global___PublicConnection = PublicConnection
|
|
@@ -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,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/public_connection_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.cic.v1 import public_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/cic/v1/public_connection_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a+yandex/cloud/cic/v1/public_connection.proto\"H\n\x1aGetPublicConnectionRequest\x12*\n\x14public_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x99\x01\n\x1cListPublicConnectionsRequest\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\"{\n\x1dListPublicConnectionsResponse\x12\x41\n\x12public_connections\x18\x01 \x03(\x0b\x32%.yandex.cloud.cic.v1.PublicConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xc6\x02\n\x17PublicConnectionService\x12\x97\x01\n\x03Get\x12/.yandex.cloud.cic.v1.GetPublicConnectionRequest\x1a%.yandex.cloud.cic.v1.PublicConnection\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/cic/v1/publicConnections/{public_connection_id}\x12\x90\x01\n\x04List\x12\x31.yandex.cloud.cic.v1.ListPublicConnectionsRequest\x1a\x32.yandex.cloud.cic.v1.ListPublicConnectionsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/cic/v1/publicConnectionsBV\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.public_connection_service_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n\027yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cic'
|
|
27
|
+
_GETPUBLICCONNECTIONREQUEST.fields_by_name['public_connection_id']._options = None
|
|
28
|
+
_GETPUBLICCONNECTIONREQUEST.fields_by_name['public_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
29
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['folder_id']._options = None
|
|
30
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
31
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['page_size']._options = None
|
|
32
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
33
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['page_token']._options = None
|
|
34
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
35
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['filter']._options = None
|
|
36
|
+
_LISTPUBLICCONNECTIONSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
37
|
+
_PUBLICCONNECTIONSERVICE.methods_by_name['Get']._options = None
|
|
38
|
+
_PUBLICCONNECTIONSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\0022\0220/cic/v1/publicConnections/{public_connection_id}'
|
|
39
|
+
_PUBLICCONNECTIONSERVICE.methods_by_name['List']._options = None
|
|
40
|
+
_PUBLICCONNECTIONSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\033\022\031/cic/v1/publicConnections'
|
|
41
|
+
_globals['_GETPUBLICCONNECTIONREQUEST']._serialized_start=182
|
|
42
|
+
_globals['_GETPUBLICCONNECTIONREQUEST']._serialized_end=254
|
|
43
|
+
_globals['_LISTPUBLICCONNECTIONSREQUEST']._serialized_start=257
|
|
44
|
+
_globals['_LISTPUBLICCONNECTIONSREQUEST']._serialized_end=410
|
|
45
|
+
_globals['_LISTPUBLICCONNECTIONSRESPONSE']._serialized_start=412
|
|
46
|
+
_globals['_LISTPUBLICCONNECTIONSRESPONSE']._serialized_end=535
|
|
47
|
+
_globals['_PUBLICCONNECTIONSERVICE']._serialized_start=538
|
|
48
|
+
_globals['_PUBLICCONNECTIONSERVICE']._serialized_end=864
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,101 @@
|
|
|
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.cic.v1.public_connection_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetPublicConnectionRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
PUBLIC_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
public_connection_id: builtins.str
|
|
22
|
+
"""ID of the PublicConnection resource to return.
|
|
23
|
+
To get the publicConnection ID use a [PublicConnectionService.List] request.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
public_connection_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["public_connection_id", b"public_connection_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetPublicConnectionRequest = GetPublicConnectionRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListPublicConnectionsRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
40
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
41
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
42
|
+
folder_id: builtins.str
|
|
43
|
+
"""ID of the folder to list publicConnections in.
|
|
44
|
+
To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
45
|
+
"""
|
|
46
|
+
page_size: builtins.int
|
|
47
|
+
"""The maximum number of results per page to return. If the number of available
|
|
48
|
+
results is larger than [page_size],
|
|
49
|
+
the service returns a [ListPublicConnectionsResponse.next_page_token]
|
|
50
|
+
that can be used to get the next page of results in subsequent list requests. Default value: 100.
|
|
51
|
+
"""
|
|
52
|
+
page_token: builtins.str
|
|
53
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
54
|
+
[ListPublicConnectionsResponse.next_page_token] returned by a 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 use filtering only on [Subnet.name] field.
|
|
60
|
+
2. An `=` operator.
|
|
61
|
+
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]`.
|
|
62
|
+
"""
|
|
63
|
+
def __init__(
|
|
64
|
+
self,
|
|
65
|
+
*,
|
|
66
|
+
folder_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["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
72
|
+
|
|
73
|
+
global___ListPublicConnectionsRequest = ListPublicConnectionsRequest
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class ListPublicConnectionsResponse(google.protobuf.message.Message):
|
|
77
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
78
|
+
|
|
79
|
+
PUBLIC_CONNECTIONS_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 [ListPublicConnectionsRequest.page_size], use
|
|
84
|
+
the [next_page_token] as the value
|
|
85
|
+
for the [ListPublicConnectionsRequest.page_token] query parameter
|
|
86
|
+
in the next list request. Subsequent list requests will have their own
|
|
87
|
+
[next_page_token] to continue paging through the results.
|
|
88
|
+
"""
|
|
89
|
+
@property
|
|
90
|
+
def public_connections(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.cic.v1.public_connection_pb2.PublicConnection]:
|
|
91
|
+
"""List of PublicConnection resources."""
|
|
92
|
+
|
|
93
|
+
def __init__(
|
|
94
|
+
self,
|
|
95
|
+
*,
|
|
96
|
+
public_connections: collections.abc.Iterable[yandex.cloud.cic.v1.public_connection_pb2.PublicConnection] | None = ...,
|
|
97
|
+
next_page_token: builtins.str = ...,
|
|
98
|
+
) -> None: ...
|
|
99
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "public_connections", b"public_connections"]) -> None: ...
|
|
100
|
+
|
|
101
|
+
global___ListPublicConnectionsResponse = ListPublicConnectionsResponse
|
|
@@ -0,0 +1,107 @@
|
|
|
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.cic.v1 import public_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__pb2
|
|
6
|
+
from yandex.cloud.cic.v1 import public_connection_service_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class PublicConnectionServiceStub(object):
|
|
10
|
+
"""A set of methods for managing PublicConnection 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.cic.v1.PublicConnectionService/Get',
|
|
21
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.GetPublicConnectionRequest.SerializeToString,
|
|
22
|
+
response_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__pb2.PublicConnection.FromString,
|
|
23
|
+
)
|
|
24
|
+
self.List = channel.unary_unary(
|
|
25
|
+
'/yandex.cloud.cic.v1.PublicConnectionService/List',
|
|
26
|
+
request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.ListPublicConnectionsRequest.SerializeToString,
|
|
27
|
+
response_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.ListPublicConnectionsResponse.FromString,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class PublicConnectionServiceServicer(object):
|
|
32
|
+
"""A set of methods for managing PublicConnection resources.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
def Get(self, request, context):
|
|
36
|
+
"""Returns the specified PublicConnection resource.
|
|
37
|
+
|
|
38
|
+
To get the list of available PublicConnection resources, make a [List] request.
|
|
39
|
+
"""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details('Method not implemented!')
|
|
42
|
+
raise NotImplementedError('Method not implemented!')
|
|
43
|
+
|
|
44
|
+
def List(self, request, context):
|
|
45
|
+
"""Retrieves the list of PublicConnection resources in the specified folder.
|
|
46
|
+
"""
|
|
47
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
48
|
+
context.set_details('Method not implemented!')
|
|
49
|
+
raise NotImplementedError('Method not implemented!')
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def add_PublicConnectionServiceServicer_to_server(servicer, server):
|
|
53
|
+
rpc_method_handlers = {
|
|
54
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
55
|
+
servicer.Get,
|
|
56
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.GetPublicConnectionRequest.FromString,
|
|
57
|
+
response_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__pb2.PublicConnection.SerializeToString,
|
|
58
|
+
),
|
|
59
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
60
|
+
servicer.List,
|
|
61
|
+
request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.ListPublicConnectionsRequest.FromString,
|
|
62
|
+
response_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.ListPublicConnectionsResponse.SerializeToString,
|
|
63
|
+
),
|
|
64
|
+
}
|
|
65
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
66
|
+
'yandex.cloud.cic.v1.PublicConnectionService', rpc_method_handlers)
|
|
67
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
# This class is part of an EXPERIMENTAL API.
|
|
71
|
+
class PublicConnectionService(object):
|
|
72
|
+
"""A set of methods for managing PublicConnection resources.
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
@staticmethod
|
|
76
|
+
def Get(request,
|
|
77
|
+
target,
|
|
78
|
+
options=(),
|
|
79
|
+
channel_credentials=None,
|
|
80
|
+
call_credentials=None,
|
|
81
|
+
insecure=False,
|
|
82
|
+
compression=None,
|
|
83
|
+
wait_for_ready=None,
|
|
84
|
+
timeout=None,
|
|
85
|
+
metadata=None):
|
|
86
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cic.v1.PublicConnectionService/Get',
|
|
87
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.GetPublicConnectionRequest.SerializeToString,
|
|
88
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__pb2.PublicConnection.FromString,
|
|
89
|
+
options, channel_credentials,
|
|
90
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
91
|
+
|
|
92
|
+
@staticmethod
|
|
93
|
+
def List(request,
|
|
94
|
+
target,
|
|
95
|
+
options=(),
|
|
96
|
+
channel_credentials=None,
|
|
97
|
+
call_credentials=None,
|
|
98
|
+
insecure=False,
|
|
99
|
+
compression=None,
|
|
100
|
+
wait_for_ready=None,
|
|
101
|
+
timeout=None,
|
|
102
|
+
metadata=None):
|
|
103
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cic.v1.PublicConnectionService/List',
|
|
104
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.ListPublicConnectionsRequest.SerializeToString,
|
|
105
|
+
yandex_dot_cloud_dot_cic_dot_v1_dot_public__connection__service__pb2.ListPublicConnectionsResponse.FromString,
|
|
106
|
+
options, channel_credentials,
|
|
107
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
import yandex.cloud.cic.v1.public_connection_pb2
|
|
12
|
+
import yandex.cloud.cic.v1.public_connection_service_pb2
|
|
13
|
+
|
|
14
|
+
_T = typing.TypeVar("_T")
|
|
15
|
+
|
|
16
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
17
|
+
|
|
18
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
19
|
+
...
|
|
20
|
+
|
|
21
|
+
class PublicConnectionServiceStub:
|
|
22
|
+
"""A set of methods for managing PublicConnection resources."""
|
|
23
|
+
|
|
24
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
25
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
yandex.cloud.cic.v1.public_connection_service_pb2.GetPublicConnectionRequest,
|
|
27
|
+
yandex.cloud.cic.v1.public_connection_pb2.PublicConnection,
|
|
28
|
+
]
|
|
29
|
+
"""Returns the specified PublicConnection resource.
|
|
30
|
+
|
|
31
|
+
To get the list of available PublicConnection resources, make a [List] request.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
35
|
+
yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsRequest,
|
|
36
|
+
yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsResponse,
|
|
37
|
+
]
|
|
38
|
+
"""Retrieves the list of PublicConnection resources in the specified folder."""
|
|
39
|
+
|
|
40
|
+
class PublicConnectionServiceAsyncStub:
|
|
41
|
+
"""A set of methods for managing PublicConnection resources."""
|
|
42
|
+
|
|
43
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
44
|
+
yandex.cloud.cic.v1.public_connection_service_pb2.GetPublicConnectionRequest,
|
|
45
|
+
yandex.cloud.cic.v1.public_connection_pb2.PublicConnection,
|
|
46
|
+
]
|
|
47
|
+
"""Returns the specified PublicConnection resource.
|
|
48
|
+
|
|
49
|
+
To get the list of available PublicConnection resources, make a [List] request.
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
53
|
+
yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsRequest,
|
|
54
|
+
yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsResponse,
|
|
55
|
+
]
|
|
56
|
+
"""Retrieves the list of PublicConnection resources in the specified folder."""
|
|
57
|
+
|
|
58
|
+
class PublicConnectionServiceServicer(metaclass=abc.ABCMeta):
|
|
59
|
+
"""A set of methods for managing PublicConnection resources."""
|
|
60
|
+
|
|
61
|
+
@abc.abstractmethod
|
|
62
|
+
def Get(
|
|
63
|
+
self,
|
|
64
|
+
request: yandex.cloud.cic.v1.public_connection_service_pb2.GetPublicConnectionRequest,
|
|
65
|
+
context: _ServicerContext,
|
|
66
|
+
) -> typing.Union[yandex.cloud.cic.v1.public_connection_pb2.PublicConnection, collections.abc.Awaitable[yandex.cloud.cic.v1.public_connection_pb2.PublicConnection]]:
|
|
67
|
+
"""Returns the specified PublicConnection resource.
|
|
68
|
+
|
|
69
|
+
To get the list of available PublicConnection resources, make a [List] request.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
@abc.abstractmethod
|
|
73
|
+
def List(
|
|
74
|
+
self,
|
|
75
|
+
request: yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsRequest,
|
|
76
|
+
context: _ServicerContext,
|
|
77
|
+
) -> typing.Union[yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsResponse, collections.abc.Awaitable[yandex.cloud.cic.v1.public_connection_service_pb2.ListPublicConnectionsResponse]]:
|
|
78
|
+
"""Retrieves the list of PublicConnection resources in the specified folder."""
|
|
79
|
+
|
|
80
|
+
def add_PublicConnectionServiceServicer_to_server(servicer: PublicConnectionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/trunk_connection.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.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
15
|
+
from yandex.cloud.cic.v1.common import transceiver_type_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_transceiver__type__pb2
|
|
16
|
+
from yandex.cloud.cic.v1.common import lag_allocation_settings_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_lag__allocation__settings__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/cic/v1/trunk_connection.proto\x12\x13yandex.cloud.cic.v1\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x31yandex/cloud/cic/v1/common/transceiver_type.proto\x1a\x38yandex/cloud/cic/v1/common/lag_allocation_settings.proto\"\xf8\x0b\n\x0fTrunkConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x11\n\tregion_id\x18\x06 \x01(\t\x12^\n\x18single_port_direct_joint\x18\t \x01(\x0b\x32:.yandex.cloud.cic.v1.TrunkConnection.SinglePortDirectJointH\x00\x12O\n\x10lag_direct_joint\x18\n \x01(\x0b\x32\x33.yandex.cloud.cic.v1.TrunkConnection.LagDirectJointH\x00\x12S\n\x12partner_joint_info\x18\x0b \x01(\x0b\x32\x35.yandex.cloud.cic.v1.TrunkConnection.PartnerJointInfoH\x00\x12:\n\x14point_of_presence_id\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x08\x63\x61pacity\x18\x16 \x01(\x0e\x32-.yandex.cloud.cic.v1.TrunkConnection.Capacity\x12@\n\x06labels\x18\x17 \x03(\x0b\x32\x30.yandex.cloud.cic.v1.TrunkConnection.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a_\n\x10PartnerJointInfo\x12\x13\n\x0bservice_key\x18\x03 \x01(\t\x12\x30\n\npartner_id\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueJ\x04\x08\x01\x10\x03\x1a\xb1\x01\n\x15SinglePortDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverType\x12/\n\tport_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x1a\n\x12\x61\x63\x63\x65ss_device_name\x18\x04 \x01(\tJ\x04\x08\x02\x10\x03\x1a\xcd\x01\n\x0eLagDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverType\x12R\n\x17lag_allocation_settings\x18\x03 \x01(\x0b\x32\x31.yandex.cloud.cic.v1.common.LagAllocationSettings\x12\x1a\n\x12\x61\x63\x63\x65ss_device_name\x18\x04 \x01(\tJ\x04\x08\x02\x10\x03\"\x9b\x03\n\x08\x43\x61pacity\x12\x18\n\x14\x43\x41PACITY_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43\x41PACITY_50_MBPS\x10\x01\x12\x15\n\x11\x43\x41PACITY_100_MBPS\x10\x02\x12\x15\n\x11\x43\x41PACITY_200_MBPS\x10\x03\x12\x15\n\x11\x43\x41PACITY_300_MBPS\x10\x04\x12\x15\n\x11\x43\x41PACITY_400_MBPS\x10\x05\x12\x15\n\x11\x43\x41PACITY_500_MBPS\x10\x06\x12\x13\n\x0f\x43\x41PACITY_1_GBPS\x10\x07\x12\x13\n\x0f\x43\x41PACITY_2_GBPS\x10\x08\x12\x13\n\x0f\x43\x41PACITY_3_GBPS\x10\t\x12\x13\n\x0f\x43\x41PACITY_4_GBPS\x10\n\x12\x13\n\x0f\x43\x41PACITY_5_GBPS\x10\x0b\x12\x14\n\x10\x43\x41PACITY_10_GBPS\x10\x0c\x12\x14\n\x10\x43\x41PACITY_20_GBPS\x10\r\x12\x14\n\x10\x43\x41PACITY_30_GBPS\x10\x0e\x12\x14\n\x10\x43\x41PACITY_40_GBPS\x10\x0f\x12\x14\n\x10\x43\x41PACITY_50_GBPS\x10\x10\x12\x15\n\x11\x43\x41PACITY_100_GBPS\x10\x11\x42\x07\n\x05jointJ\x04\x08\x04\x10\x05J\x04\x08\x07\x10\tJ\x04\x08\r\x10\x16\x42V\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.trunk_connection_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n\027yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cic'
|
|
27
|
+
_TRUNKCONNECTION_LABELSENTRY._options = None
|
|
28
|
+
_TRUNKCONNECTION_LABELSENTRY._serialized_options = b'8\001'
|
|
29
|
+
_globals['_TRUNKCONNECTION']._serialized_start=209
|
|
30
|
+
_globals['_TRUNKCONNECTION']._serialized_end=1737
|
|
31
|
+
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_start=766
|
|
32
|
+
_globals['_TRUNKCONNECTION_LABELSENTRY']._serialized_end=811
|
|
33
|
+
_globals['_TRUNKCONNECTION_PARTNERJOINTINFO']._serialized_start=813
|
|
34
|
+
_globals['_TRUNKCONNECTION_PARTNERJOINTINFO']._serialized_end=908
|
|
35
|
+
_globals['_TRUNKCONNECTION_SINGLEPORTDIRECTJOINT']._serialized_start=911
|
|
36
|
+
_globals['_TRUNKCONNECTION_SINGLEPORTDIRECTJOINT']._serialized_end=1088
|
|
37
|
+
_globals['_TRUNKCONNECTION_LAGDIRECTJOINT']._serialized_start=1091
|
|
38
|
+
_globals['_TRUNKCONNECTION_LAGDIRECTJOINT']._serialized_end=1296
|
|
39
|
+
_globals['_TRUNKCONNECTION_CAPACITY']._serialized_start=1299
|
|
40
|
+
_globals['_TRUNKCONNECTION_CAPACITY']._serialized_end=1710
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|